[03:22:34]OFD Sender: No OFD packet to send [03:22:39]OFD Sender: No OFD packet to send [03:22:44]OFD Sender: No OFD packet to send [03:22:49]OFD Sender: No OFD packet to send [03:22:54]OFD Sender: No OFD packet to send [03:22:59]OFD Sender: No OFD packet to send [03:23:04]OFD Sender: No OFD packet to send [03:23:08]accept exits with 9 [03:23:08]New connection [03:23:08]New thread 3067129188 created [03:23:08]Thread 3067272548 joined [03:23:08]Waiting for new connection... [03:23:08] Sock 9.Parse request [03:23:08]Sock 9.Check first char [03:23:08]Sock 9.First char is OK [03:23:08]request: POST /json_proto HTTP/1.0 [03:23:08]Method: POST [03:23:08]URL: /json_proto [03:23:08]Method is POST - this is cgi request [03:23:08]url: /json_proto [03:23:08]query_string will be loaded in cgi processing [03:23:08]execute_cgi json_proto POST (null) [03:23:08]execute_cgi path=json_proto method=POST [03:23:08]POST find Content-Length [03:23:08]Host: 172.17.39.4:8080 [03:23:08]Content-Length: 1084 [03:23:08]Content-Type: application/json [03:23:08] [03:23:08]POST finish read [03:23:08]Found Content-Length = 1084 [03:23:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129480", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 445.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:23:08]execute_script... [03:23: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)129480", "tax_sys" : 0, "items" : [ { "code": "4700002082191", "name": "\u0412\u043E\u0434\u043A\u0430 \u0411\u0435\u043B\u043E\u0435 \u0437\u043E\u043B\u043E\u0442\u043E 0,46\u043B", "price" : 350.00, "quantity" : 1.000, "sum" : 350.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 445.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:23:08]POST & json_proto [03:23:08]process_json_proto [03:23:08]json parsed OK: [03:23:08]protocol is kg_v1.0 [03:23:08]action value=close_receipt [03:23:08]process_action close_receipt [03:23:08]cmd_close_receipt [03:23:08]MH_GetDate [03:23:08]Write to MH i2c: F0 00 00 D4 31 F4 [03:23:08]Write i2c OK [03:23:08]MH_I2C_Read... [03:23:08]Read from MH i2c: F0 [03:23:08]MH_I2C_Read... [03:23:08]Read from MH i2c: F0 09 00 [03:23:08]MH_I2C_Read... [03:23:08]Read from MH i2c: F0 09 00 D4 31 00 A2 44 93 66 2D 25 5D 64 EF [03:23:08]GetLastDocTimeStamp 1720927272 [03:23:08]current date 1720927394 [03:23:08]FM_GetShiftState [03:23:08]SAM_PROTO_GetShiftState [03:23:08]wFMCommunicate request_size=4 [03:23:08]MH_SAM_APDU [03:23:08]CAPDU: 80 13 01 00 [03:23:08]Write to MH i2c: E2 08 00 D5 31 80 13 01 00 00 00 00 00 83 [03:23:08]Write i2c OK [03:23:08]MH_I2C_Read... [03:23:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:23:08]Read from MH i2c: E2 [03:23:08]MH_I2C_Read... [03:23:08]Read from MH i2c: E2 0E 00 [03:23:08]MH_I2C_Read... [03:23:08]Read from MH i2c: E2 0E 00 D5 31 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 2A [03:23:08]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:23:08]wFMCommunicate OK [03:23:08]SAM_PROTO_GetShiftState done [03:23:08]FM_GetShiftState done [03:23:08]opened in 1720917126 [03:23:08]opened+sec_in_day 1721003526 [03:23:08]quantity*price = 35000 [03:23:08]sum+1 = 35001 [03:23:08]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000480364 Напиток энерг Nitro экзотик 0.45 ж/б 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 445.00 НСП 1% : 3.94 НДС 12% : 47.26 Наличными: 445.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 28 14.07.2024 03:23 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57011 ФПД: 49942407222575 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T032314&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57011&fm=49942407222575&tin=02508201610067®Number=0000000000091208&sum=44500 0 [03:23:09]StoreToDocumentArchive [03:23:09]shift 496 fd 57011 [03:23:09]save to /storage/0496/doc_00057011 [03:23:09]save last doc name /storage/0496/doc_00057011 to /storage/kkm_last_doc_name [03:23:09]save OK [03:23:09]Clear old archive folders... [03:23:09]ProcessDocumentItem done err = 0, tmpTLVsize=412 [03:23:09]tlvbuf is 01D7B7C0 [03:23:09]SAM_PROTO_ClearQueue [03:23:09]wFMCommunicate request_size=4 [03:23:09]MH_SAM_APDU [03:23:09]CAPDU: 80 09 00 00 [03:23:09]Write to MH i2c: E2 08 00 E2 31 80 09 00 00 00 00 00 00 85 [03:23:09]Write i2c OK [03:23:09]MH_I2C_Read... [03:23:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:23:09]Read from MH i2c: E2 [03:23:09]MH_I2C_Read... [03:23:09]Read from MH i2c: E2 03 00 [03:23:09]MH_I2C_Read... [03:23:09]Read from MH i2c: E2 03 00 E2 31 00 90 00 87 [03:23:09]RAPDU: 90 00 [03:23:09]wFMCommunicate OK [03:23:09]SAM_PROTO_ClearQueue done [03:23:09]KKMCreateOFDPacket [03:23:09]OFDProtocolAddRootSTLVToBuf [03:23:09]FM_MakeSignedData [03:23:09]FM_MakeSignedData [03:23:09]SAM_PROTO_SignData [03:23:09]wFMCommunicate request_size=4 [03:23:09]MH_SAM_APDU [03:23:09]CAPDU: 80 0D 01 02 [03:23:09]Write to MH i2c: E2 08 00 E3 31 80 0D 01 02 00 00 00 00 8D [03:23:09]Write i2c OK [03:23:09]MH_I2C_Read... [03:23:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:23:09]Read from MH i2c: E2 [03:23:09]MH_I2C_Read... [03:23:09]Read from MH i2c: E2 03 00 [03:23:09]MH_I2C_Read... [03:23:09]Read from MH i2c: E2 03 00 E3 31 00 90 00 88 [03:23:09]RAPDU: 90 00 [03:23:09]wFMCommunicate OK [03:23:09]wFMCommunicate request_size=255 [03:23:09]MH_SAM_APDU [03:23:09]CAPDU: 80 0D 02 02 FA 03 00 9C 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [03:23:09]Write to MH i2c: E2 02 01 E4 31 80 0D 02 02 FA 00 03 00 9C 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 E7 [03:23:09]Write i2c OK [03:23:09]MH_I2C_Read... [03:23:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:23:10]Read from MH i2c: E2 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: E2 03 00 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: E2 03 00 E4 31 00 90 00 89 [03:23:10]RAPDU: 90 00 [03:23:10]wFMCommunicate OK [03:23:10]wFMCommunicate request_size=171 [03:23:10]MH_SAM_APDU [03:23:10]CAPDU: 80 0D 02 02 A6 01 FC 03 06 00 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 12 00 00 00 00 07 04 06 00 D4 AD 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 A2 44 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DE 00 00 35 04 06 00 2D 6C 1F 71 15 2F [03:23:10]Write to MH i2c: E2 AE 00 E5 31 80 0D 02 02 A6 00 01 FC 03 06 00 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 12 00 00 00 00 07 04 06 00 D4 AD 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 A2 44 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DE 00 00 35 04 06 00 2D 6C 1F 71 15 2F 00 00 20 [03:23:10]Write i2c OK [03:23:10]MH_I2C_Read... [03:23:10]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:23:10]Read from MH i2c: E2 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: E2 03 00 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: E2 03 00 E5 31 00 90 00 8A [03:23:10]RAPDU: 90 00 [03:23:10]wFMCommunicate OK [03:23:10]wFMCommunicate request_size=4 [03:23:10]MH_SAM_APDU [03:23:10]CAPDU: 80 0D 03 02 [03:23:10]Write to MH i2c: E2 08 00 E6 31 80 0D 03 02 00 00 00 00 92 [03:23:10]Write i2c OK [03:23:10]MH_I2C_Read... [03:23:10]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:23:10]Read from MH i2c: E2 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: E2 0B 00 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: E2 0B 00 E6 31 00 21 46 1F E1 D1 15 1E 5F 90 00 5D [03:23:10]RAPDU: 21 46 1F E1 D1 15 1E 5F 90 00 [03:23:10]wFMCommunicate OK [03:23:10]SAM_PROTO_SignData done [03:23:10]FM_MakeSignedData done [03:23:10]CreateOFDProtocolMessage [03:23:10]wFMCommunicate request_size=4 [03:23:10]MH_SAM_APDU [03:23:10]CAPDU: 80 11 00 00 [03:23:10]Write to MH i2c: E2 08 00 E7 31 80 11 00 00 00 00 00 00 92 [03:23:10]Write i2c OK [03:23:10]MH_I2C_Read... [03:23:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:23:10]Read from MH i2c: E2 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: E2 17 00 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: E2 17 00 E7 31 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EC [03:23:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:23:10]wFMCommunicate OK [03:23:10]CreateOFDProtocolMessage done [03:23:10]OFDSenderStorePacket 57011 [03:23:10]StoreOFDPacket docnum=57011 [03:23:10]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B0 01 00 00 CF 5C A8 01 BA 7E 5A 03 01 00 03 00 9C 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 12 00 00 00 00 07 04 06 00 D4 AD 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 A2 44 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DE 00 00 35 04 06 00 2D 6C 1F 71 15 2F 21 46 1F E1 D1 15 1E 5F [03:23:10]CheckFolder [03:23:10]dirname=/storage/ofd_packets [03:23:10]CheckFolder done [03:23:10]ProducePacketName [03:23:10]name=ofd_packets/00057011 [03:23:10]NVStorageSaveData ofd_packets/00057011 [03:23:10]File name is /storage/ofd_packets/00057011 [03:23:10]Write 462 bytes [03:23:10]NVStorageSaveData done [03:23:10]OFDSenderStorePacket done [03:23:10]KKMCreateOFDPacket done [03:23:10]NVStorageSaveData kkm_last_timestamp [03:23:10]File name is /storage/kkm_last_timestamp [03:23:10]Write 4 bytes [03:23:10]NVStorageSaveData done [03:23:10]ExternCall_PrintAddStr [03:23:10]wPrintStart [03:23:10]Write to MH i2c: 01 00 00 E8 31 19 [03:23:10]OFD Sender: Processing packet 57011 [packets to send 38, broken 37] [03:23:10]ProducePacketName [03:23:10]name=ofd_packets/00057011 [03:23:10]OFD Sender: To server: pG, [03:23:10]CommunicateWithHost lk.salyk.kg:30040 [03:23:10]ConnectInit lk.salyk.kg [03:23:10]Write i2c OK [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: 01 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: 01 07 00 [03:23:10]MH_I2C_Read... [03:23:10]Read from MH i2c: 01 07 00 E8 31 00 00 00 00 00 FF 0F 2E [03:23:10]RasterBufferAndPrint [03:23:10]line Счет N : (3)129480 [03:23:10]line ИНН: 02508201610067 [03:23:10]line Контрольно-Кассовый Чек [03:23:10]line ПРОДАЖА [03:23:10]line Товар: 4700002082191 [03:23:10]line Водка Белое золото 0,46л [03:23:10]line 1.000 * 350.00 [03:23:10]line = 350.00 [03:23:10]line НДС 12% НСП 1% [03:23:10]line > о реализуемом товаре [03:23:10]line Товар: 4700000480364 [03:23:10]line Напиток энерг Nitro экзотик 0.45 ж/б [03:23:10]line 1.000 * 95.00 [03:23:10]line = 95.00 [03:23:10]line НДС 12% НСП 1% [03:23:10]line > о реализуемом товаре [03:23:10]line ИТОГО: 445.00 [03:23:10]line НСП 1% : 3.94 [03:23:10]line НДС 12% : 47.26 [03:23:10]line Наличными: 445.00 [03:23:10]line Безнал.: 0.00 [03:23:10]line Место: АЗС № 132 "Партнер Нефть" [03:23:10]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:23:10]line СНО: Общий режим [03:23:10]line Чек 28 14.07.2024 03:23 [03:23:10]line Смена: 496 ФФД: 1.0 [03:23:10]line ЗНМ: 0300000132 [03:23:10]line РНМ: 0000000000091208 [03:23:10]line Версия ККМ: 001 [03:23:10]line ФМ: 0000000000874857 [03:23:10]line ФД: 57011 [03:23:10]line ФПД: 49942407222575 [03:23:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T032314&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57011&fm=49942407222575&tin=02508201610067®Number=0000000000091208&sum=44500 [03:23:10]line 0 [03:23:10]written 0, free lines is 4095 [03:23:10]Connected sock=8 [03:23:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B0 01 00 00 CF 5C A8 01 BA 7E 5A 03 01 00 03 00 9C 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 32 31 39 31 06 04 29 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 91 D0 B5 D0 BB D0 BE D0 B5 20 D0 B7 D0 BE D0 BB D0 BE D1 82 D0 BE 20 30 2C 34 36 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B8 88 00 00 00 00 13 04 06 00 B8 88 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 AD 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 12 00 00 00 00 07 04 06 00 D4 AD 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 A2 44 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DE 00 00 35 04 06 00 2D 6C 1F 71 15 2F 21 46 1F E1 D1 15 1E 5F [03:23:11]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F3 EF 47 00 5A E9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B3 DE 00 00 F4 03 04 00 F4 EA 92 66 B6 04 01 00 00 FD D0 C8 C4 01 64 01 D6 [03:23:11]CommunicateWithHost err = 0 [03:23:11]CheckOFDResponse [03:23:11]1017 (14) - 77093643461234 [03:23:11]1041 (16) - 0000000000874857 [03:23:11]1040 (4) - 57011 [03:23:11]1012 (4) - 13.07.2024 21:00 [03:23:11]1206 (1) - 0 [03:23:11]OFD Sender: Remove packet 57011 [03:23:11]ProducePacketName [03:23:11]name=ofd_packets/00057011 [03:23:11]NVStorageDeleteData [03:23:11]Write to MH i2c: 01 00 00 17 32 49 [03:23:11]Write i2c OK [03:23:11]MH_I2C_Read... [03:23:11]Read from MH i2c: 01 [03:23:11]MH_I2C_Read... [03:23:11]Read from MH i2c: 01 07 00 [03:23:11]MH_I2C_Read... [03:23:11]Read from MH i2c: 01 07 00 17 32 00 00 00 00 00 A7 0C 03 [03:23:11]RasterBufferAndPrint [03:23:11]line [03:23:11]line [03:23:11]line [03:23:11]line [03:23:11]line [03:23:11]written 0, free lines is 3247 [03:23:11]MH_Cut [03:23:11]Write to MH i2c: D1 01 00 1E 32 01 22 [03:23:11]Write i2c OK [03:23:11]MH_I2C_Read... [03:23:11]Read from MH i2c: D1 [03:23:11]MH_I2C_Read... [03:23:11]Read from MH i2c: D1 01 00 [03:23:11]MH_I2C_Read... [03:23:11]Read from MH i2c: D1 01 00 1E 32 00 21 [03:23:11]Write to MH i2c: 01 00 00 1F 32 51 [03:23:11]Write i2c OK [03:23:11]MH_I2C_Read... [03:23:11]OFD Sender: No OFD packet to send [03:23:12]*** Cut start [03:23:12]*** Partial cut [03:23:12]*** CUTSNS_PIN = 1 [03:23:12]*** CUTSNS_PIN = 0 [03:23:12]*** Brake cut motor [03:23:12]Read from MH i2c: 01 [03:23:12]MH_I2C_Read... [03:23:12]*** Stop cut motor [03:23:12]*** Cut end [03:23:12]Read from MH i2c: 01 07 00 [03:23:12]MH_I2C_Read... [03:23:12]Read from MH i2c: 01 07 00 1F 32 00 00 00 00 00 FF 0F 66 [03:23:12]process_action close_receipt done [03:23:12]requested_data is exist [03:23:12]produce_requested_data [03:23:12]requested_item fm.sn is exist - process it [03:23:12]wFMCommunicate request_size=4 [03:23:12]MH_SAM_APDU [03:23:12]CAPDU: 80 11 00 00 [03:23:12]Write to MH i2c: E2 08 00 20 32 80 11 00 00 00 00 00 00 CC [03:23:12]Write i2c OK [03:23:12]MH_I2C_Read... [03:23:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:23:12]Read from MH i2c: E2 [03:23:12]MH_I2C_Read... [03:23:12]Read from MH i2c: E2 17 00 [03:23:12]MH_I2C_Read... [03:23:12]Read from MH i2c: E2 17 00 20 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 26 [03:23:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:23:12]wFMCommunicate OK [03:23:12]requested_item fd.num is exist - process it [03:23:12]SAM_PROTO_GetFieldsCounters [03:23:12]wFMCommunicate request_size=4 [03:23:12]MH_SAM_APDU [03:23:12]CAPDU: 80 13 00 00 [03:23:12]Write to MH i2c: E2 08 00 21 32 80 13 00 00 00 00 00 00 CF [03:23:12]Write i2c OK [03:23:12]MH_I2C_Read... [03:23:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:23:12]Read from MH i2c: E2 [03:23:12]MH_I2C_Read... [03:23:12]Read from MH i2c: E2 62 00 [03:23:12]MH_I2C_Read... [03:23:12]Read from MH i2c: E2 62 00 21 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B3 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 C8 [03:23:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B3 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 1C 00 00 00 5E 04 04 00 1C 00 00 00 57 04 04 00 1D 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:23:12]wFMCommunicate OK [03:23:12]SAM_PROTO_GetFieldsCounters done [03:23:12]requested_item shift.num is exist - process it [03:23:12]requested_item shift.opened is exist - process it [03:23:12]req_shift_opened [03:23:12]FM_GetShiftState [03:23:12]SAM_PROTO_GetShiftState [03:23:12]wFMCommunicate request_size=4 [03:23:12]MH_SAM_APDU [03:23:12]CAPDU: 80 13 01 00 [03:23:12]Write to MH i2c: E2 08 00 22 32 80 13 01 00 00 00 00 00 D1 [03:23:12]Write i2c OK [03:23:12]MH_I2C_Read... [03:23:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:23:12]Read from MH i2c: E2 [03:23:12]MH_I2C_Read... [03:23:12]Read from MH i2c: E2 0E 00 [03:23:12]MH_I2C_Read... [03:23:12]Read from MH i2c: E2 0E 00 22 32 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 78 [03:23:12]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:23:12]wFMCommunicate OK [03:23:12]SAM_PROTO_GetShiftState done [03:23:12]FM_GetShiftState done [03:23:12]req_shift_opened done [03:23:12]requested_item shift.open_date is exist - process it [03:23:12]req_shift_open_date [03:23:12]req_shift_open_date done [03:23:12]requested_item shift.sale.total is exist - process it [03:23:12]SAM_PROTO_GetShiftData [03:23:12]wFMCommunicate request_size=4 [03:23:12]MH_SAM_APDU [03:23:12]CAPDU: 80 13 02 00 [03:23:12]Write to MH i2c: E2 08 00 23 32 80 13 02 00 00 00 00 00 D3 [03:23:12]Write i2c OK [03:23:12]MH_I2C_Read... [03:23:13]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:23:13]Read from MH i2c: E2 [03:23:13]MH_I2C_Read... [03:23:13]Read from MH i2c: E2 FD 00 [03:23:13]MH_I2C_Read... [03:23:13]Read from MH i2c: E2 FD 00 23 32 00 BB 04 AA 04 B7 04 6E 04 04 00 1C 00 00 00 69 04 9B 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 E0 83 0F 70 04 03 00 E8 51 0C 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C7 A5 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 21 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 16 [03:23:13]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 1C 00 00 00 69 04 9B 00 6F 04 04 00 1A 00 00 00 B1 04 03 00 E0 83 0F 70 04 03 00 E8 51 0C 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C7 A5 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 21 23 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [03:23:13]wFMCommunicate OK [03:23:13]wFMCommunicate request_size=4 [03:23:13]MH_SAM_APDU [03:23:13]CAPDU: 80 17 00 00 [03:23:13]Write to MH i2c: E2 08 00 24 32 80 17 00 00 00 00 00 00 D6 [03:23:13]Write i2c OK [03:23:13]MH_I2C_Read... [03:23:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:23:13]Read from MH i2c: E2 [03:23:13]MH_I2C_Read... [03:23:13]Read from MH i2c: E2 FD 00 [03:23:13]MH_I2C_Read... [03:23:13]Read from MH i2c: E2 FD 00 24 32 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 69 [03:23:13]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:23:13]wFMCommunicate OK [03:23:13]wFMCommunicate request_size=4 [03:23:13]MH_SAM_APDU [03:23:13]CAPDU: 80 17 00 00 [03:23:13]Write to MH i2c: E2 08 00 25 32 80 17 00 00 00 00 00 00 D7 [03:23:13]Write i2c OK [03:23:13]MH_I2C_Read... [03:23:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:23:14]Read from MH i2c: E2 [03:23:14]MH_I2C_Read... [03:23:14]Read from MH i2c: E2 FD 00 [03:23:14]MH_I2C_Read... [03:23:14]Read from MH i2c: E2 FD 00 25 32 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 03 [03:23:14]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:23:14]wFMCommunicate OK [03:23:14]wFMCommunicate request_size=4 [03:23:14]MH_SAM_APDU [03:23:14]CAPDU: 80 17 00 00 [03:23:14]Write to MH i2c: E2 08 00 26 32 80 17 00 00 00 00 00 00 D8 [03:23:14]Write i2c OK [03:23:14]MH_I2C_Read... [03:23:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:23:14]Read from MH i2c: E2 [03:23:14]MH_I2C_Read... [03:23:14]Read from MH i2c: E2 FD 00 [03:23:14]MH_I2C_Read... [03:23:14]Read from MH i2c: E2 FD 00 26 32 00 00 00 EF 03 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 90 00 4D [03:23:14]RAPDU: 00 00 EF 03 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 90 00 [03:23:14]wFMCommunicate OK [03:23:14]wFMCommunicate request_size=4 [03:23:14]MH_SAM_APDU [03:23:14]CAPDU: 80 17 00 00 [03:23:14]Write to MH i2c: E2 08 00 27 32 80 17 00 00 00 00 00 00 D9 [03:23:14]Write i2c OK [03:23:14]MH_I2C_Read... [03:23:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [03:23:14]Read from MH i2c: E2 [03:23:14]MH_I2C_Read... [03:23:14]Read from MH i2c: E2 D8 00 [03:23:14]MH_I2C_Read... [03:23:14]Read from MH i2c: E2 D8 00 27 32 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 C0 [03:23:14]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:23:14]wFMCommunicate OK [03:23:14]SAM_PROTO_GetShiftData done [03:23:14]requested_item shift.sale.total_cash is exist - process it [03:23:14]requested_item shift.sale_refund.total is exist - process it [03:23:14]requested_item shift.sale_refund.total_cash is exist - process it [03:23:14]produce_requested_data done [03:23:14]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57011,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":10168.00,"shift.sale.total_cash":8074.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [03:23:14]process_action_free close_receipt [03:23:14]json_value_free [03:23:14]json_value_free done [03:23:14]process_json_proto returns [03:23:14]Send response to host [03:23:14]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57011,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":10168.00,"shift.sale.total_cash":8074.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [03:23:14]free response buf [03:23:14]execute_script done [03:23:14]execute_script returns [03:23:14]free content buf [03:23:14]Sock 9.Close socket [03:23:14]Sock 9.Thread stoped [03:23:16]OFD Sender: No OFD packet to send [03:23:21]OFD Sender: No OFD packet to send [03:23:26]OFD Sender: No OFD packet to send [03:23:31]OFD Sender: No OFD packet to send [03:23:36]OFD Sender: No OFD packet to send [03:23:41]OFD Sender: No OFD packet to send [03:23:46]OFD Sender: No OFD packet to send [03:23:51]OFD Sender: No OFD packet to send [03:23:56]OFD Sender: No OFD packet to send [03:24:01]OFD Sender: No OFD packet to send [03:24:06]OFD Sender: No OFD packet to send [03:24:11]OFD Sender: No OFD packet to send [03:24:16]OFD Sender: No OFD packet to send [03:24:21]OFD Sender: No OFD packet to send [03:24:26]OFD Sender: No OFD packet to send [03:24:31]OFD Sender: No OFD packet to send [03:24:36]OFD Sender: No OFD packet to send [03:24:41]OFD Sender: No OFD packet to send [03:24:46]OFD Sender: No OFD packet to send [03:24:51]OFD Sender: No OFD packet to send [03:24:56]OFD Sender: No OFD packet to send [03:25:01]OFD Sender: No OFD packet to send [03:25:06]OFD Sender: No OFD packet to send [03:25:11]OFD Sender: No OFD packet to send [03:25:16]OFD Sender: No OFD packet to send [03:25:21]OFD Sender: No OFD packet to send [03:25:26]OFD Sender: No OFD packet to send [03:25:31]OFD Sender: No OFD packet to send [03:25:36]OFD Sender: No OFD packet to send [03:25:41]OFD Sender: No OFD packet to send [03:25:46]OFD Sender: No OFD packet to send [03:25:51]OFD Sender: No OFD packet to send [03:25:56]OFD Sender: No OFD packet to send [03:26:01]OFD Sender: No OFD packet to send [03:26:06]OFD Sender: No OFD packet to send [03:26:11]OFD Sender: No OFD packet to send [03:26:16]OFD Sender: No OFD packet to send [03:26:21]OFD Sender: No OFD packet to send [03:26:26]OFD Sender: No OFD packet to send [03:26:31]OFD Sender: No OFD packet to send [03:26:36]OFD Sender: No OFD packet to send [03:26:41]OFD Sender: No OFD packet to send [03:26:44]accept exits with 10 [03:26:44]New connection [03:26:44]New thread 3067272548 created [03:26:44] Sock 10.Parse request [03:26:44]Sock 10.Check first char [03:26:44]Thread 3067129188 joined [03:26:44]Sock 10.First char is OK [03:26:44]Waiting for new connection... [03:26:44]request: POST /json_proto HTTP/1.0 [03:26:44]Method: POST [03:26:44]URL: /json_proto [03:26:44]Method is POST - this is cgi request [03:26:44]url: /json_proto [03:26:44]query_string will be loaded in cgi processing [03:26:44]execute_cgi json_proto POST (null) [03:26:44]execute_cgi path=json_proto method=POST [03:26:44]POST find Content-Length [03:26:44]Host: 172.17.39.4:8080 [03:26:44]Content-Length: 1615 [03:26:44]Content-Type: application/json [03:26:44] [03:26:44]POST finish read [03:26:44]Found Content-Length = 1615 [03:26:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129481", "tax_sys" : 0, "items" : [ { "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 1.000, "sum" : 560.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 910.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:26:44]execute_script... [03:26: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)129481", "tax_sys" : 0, "items" : [ { "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 1.000, "sum" : 560.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 910.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:26:44]POST & json_proto [03:26:44]process_json_proto [03:26:44]json parsed OK: [03:26:44]protocol is kg_v1.0 [03:26:44]action value=close_receipt [03:26:44]process_action close_receipt [03:26:44]cmd_close_receipt [03:26:44]MH_GetDate [03:26:44]Write to MH i2c: F0 00 00 28 32 49 [03:26:44]Write i2c OK [03:26:44]MH_I2C_Read... [03:26:44]Read from MH i2c: F0 [03:26:44]MH_I2C_Read... [03:26:44]Read from MH i2c: F0 09 00 [03:26:44]MH_I2C_Read... [03:26:44]Read from MH i2c: F0 09 00 28 32 00 79 45 93 66 2D 25 5D 64 1C [03:26:44]GetLastDocTimeStamp 1720927394 [03:26:44]current date 1720927609 [03:26:44]FM_GetShiftState [03:26:44]SAM_PROTO_GetShiftState [03:26:44]wFMCommunicate request_size=4 [03:26:44]MH_SAM_APDU [03:26:44]CAPDU: 80 13 01 00 [03:26:44]Write to MH i2c: E2 08 00 29 32 80 13 01 00 00 00 00 00 D8 [03:26:44]Write i2c OK [03:26:44]MH_I2C_Read... [03:26:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:26:44]Read from MH i2c: E2 [03:26:44]MH_I2C_Read... [03:26:44]Read from MH i2c: E2 0E 00 [03:26:44]MH_I2C_Read... [03:26:44]Read from MH i2c: E2 0E 00 29 32 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 7F [03:26:44]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:26:44]wFMCommunicate OK [03:26:44]SAM_PROTO_GetShiftState done [03:26:44]FM_GetShiftState done [03:26:44]opened in 1720917126 [03:26:44]opened+sec_in_day 1721003526 [03:26:44]quantity*price = 56000 [03:26:44]sum+1 = 56001 [03:26:44]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002326172 Вода ASU пит н.газ лимон ПЭТ 1л 1.000 * 100.00 = 100.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521216 Напиток MAXI чай 1,2 зел.лимон (новый) 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 910.00 НСП 1% : 8.05 НДС 12% : 96.64 Наличными: 910.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 29 14.07.2024 03:26 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57012 ФПД: 200977045245039 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T032649&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57012&fm=200977045245039&tin=02508201610067®Number=0000000000091208&sum=91000 0 [03:26:45]StoreToDocumentArchive [03:26:45]shift 496 fd 57012 [03:26:45]save to /storage/0496/doc_00057012 [03:26:45]save last doc name /storage/0496/doc_00057012 to /storage/kkm_last_doc_name [03:26:45]save OK [03:26:45]Clear old archive folders... [03:26:45]ProcessDocumentItem done err = 0, tmpTLVsize=641 [03:26:45]tlvbuf is 01D0B520 [03:26:45]SAM_PROTO_ClearQueue [03:26:45]wFMCommunicate request_size=4 [03:26:45]MH_SAM_APDU [03:26:45]CAPDU: 80 09 00 00 [03:26:45]Write to MH i2c: E2 08 00 36 32 80 09 00 00 00 00 00 00 DA [03:26:45]Write i2c OK [03:26:45]MH_I2C_Read... [03:26:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:26:45]Read from MH i2c: E2 [03:26:45]MH_I2C_Read... [03:26:45]Read from MH i2c: E2 03 00 [03:26:45]MH_I2C_Read... [03:26:45]Read from MH i2c: E2 03 00 36 32 00 90 00 DC [03:26:45]RAPDU: 90 00 [03:26:45]wFMCommunicate OK [03:26:45]SAM_PROTO_ClearQueue done [03:26:45]KKMCreateOFDPacket [03:26:45]OFDProtocolAddRootSTLVToBuf [03:26:45]FM_MakeSignedData [03:26:45]FM_MakeSignedData [03:26:45]SAM_PROTO_SignData [03:26:45]wFMCommunicate request_size=4 [03:26:45]MH_SAM_APDU [03:26:45]CAPDU: 80 0D 01 02 [03:26:45]Write to MH i2c: E2 08 00 37 32 80 0D 01 02 00 00 00 00 E2 [03:26:45]Write i2c OK [03:26:45]MH_I2C_Read... [03:26:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:26:45]Read from MH i2c: E2 [03:26:45]MH_I2C_Read... [03:26:45]Read from MH i2c: E2 03 00 [03:26:45]MH_I2C_Read... [03:26:45]Read from MH i2c: E2 03 00 37 32 00 90 00 DD [03:26:45]RAPDU: 90 00 [03:26:45]wFMCommunicate OK [03:26:45]wFMCommunicate request_size=255 [03:26:45]MH_SAM_APDU [03:26:45]CAPDU: 80 0D 02 02 FA 03 00 81 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 [03:26:45]Write to MH i2c: E2 02 01 38 32 80 0D 02 02 FA 00 03 00 81 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 06 04 33 00 D0 00 00 1F [03:26:45]Write i2c OK [03:26:45]MH_I2C_Read... [03:26:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:26:45]Read from MH i2c: E2 [03:26:45]MH_I2C_Read... [03:26:45]Read from MH i2c: E2 03 00 [03:26:45]MH_I2C_Read... [03:26:45]Read from MH i2c: E2 03 00 38 32 00 90 00 DE [03:26:45]RAPDU: 90 00 [03:26:45]wFMCommunicate OK [03:26:45]wFMCommunicate request_size=255 [03:26:45]MH_SAM_APDU [03:26:45]CAPDU: 80 0D 02 02 FA 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 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 78 63 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 [03:26:45]Write to MH i2c: E2 02 01 39 32 80 0D 02 02 FA 00 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 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 78 63 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 00 00 81 [03:26:45]Write i2c OK [03:26:45]MH_I2C_Read... [03:26:45]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:26:45]Read from MH i2c: E2 [03:26:45]MH_I2C_Read... [03:26:45]Read from MH i2c: E2 03 00 [03:26:45]MH_I2C_Read... [03:26:45]Read from MH i2c: E2 03 00 39 32 00 90 00 DF [03:26:45]RAPDU: 90 00 [03:26:45]wFMCommunicate OK [03:26:45]wFMCommunicate request_size=150 [03:26:45]MH_SAM_APDU [03:26:45]CAPDU: 80 0D 02 02 91 01 00 01 F7 03 06 00 25 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 25 00 00 00 00 07 04 06 00 78 63 01 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 79 45 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DE 00 00 35 04 06 00 B6 C9 9D 63 CC 6F [03:26:45]Write to MH i2c: E2 99 00 3A 32 80 0D 02 02 91 00 01 00 01 F7 03 06 00 25 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 25 00 00 00 00 07 04 06 00 78 63 01 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 79 45 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DE 00 00 35 04 06 00 B6 C9 9D 63 CC 6F 00 00 33 [03:26:45]Write i2c OK [03:26:45]MH_I2C_Read... [03:26:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:26:46]Read from MH i2c: E2 [03:26:46]MH_I2C_Read... [03:26:46]Read from MH i2c: E2 03 00 [03:26:46]MH_I2C_Read... [03:26:46]Read from MH i2c: E2 03 00 3A 32 00 90 00 E0 [03:26:46]RAPDU: 90 00 [03:26:46]wFMCommunicate OK [03:26:46]wFMCommunicate request_size=4 [03:26:46]MH_SAM_APDU [03:26:46]CAPDU: 80 0D 03 02 [03:26:46]Write to MH i2c: E2 08 00 3B 32 80 0D 03 02 00 00 00 00 E8 [03:26:46]Write i2c OK [03:26:46]MH_I2C_Read... [03:26:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:26:46]Read from MH i2c: E2 [03:26:46]MH_I2C_Read... [03:26:46]Read from MH i2c: E2 0B 00 [03:26:46]MH_I2C_Read... [03:26:46]Read from MH i2c: E2 0B 00 3B 32 00 2E 47 9B C0 1E DB 30 E4 90 00 C6 [03:26:46]RAPDU: 2E 47 9B C0 1E DB 30 E4 90 00 [03:26:46]wFMCommunicate OK [03:26:46]SAM_PROTO_SignData done [03:26:46]FM_MakeSignedData done [03:26:46]CreateOFDProtocolMessage [03:26:46]wFMCommunicate request_size=4 [03:26:46]MH_SAM_APDU [03:26:46]CAPDU: 80 11 00 00 [03:26:46]Write to MH i2c: E2 08 00 3C 32 80 11 00 00 00 00 00 00 E8 [03:26:46]Write i2c OK [03:26:46]MH_I2C_Read... [03:26:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:26:46]Read from MH i2c: E2 [03:26:46]MH_I2C_Read... [03:26:46]Read from MH i2c: E2 17 00 [03:26:46]MH_I2C_Read... [03:26:46]Read from MH i2c: E2 17 00 3C 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 42 [03:26:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:26:46]wFMCommunicate OK [03:26:46]CreateOFDProtocolMessage done [03:26:46]OFDSenderStorePacket 57012 [03:26:46]StoreOFDPacket docnum=57012 [03:26:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 95 02 00 00 4F 6F 8D 02 20 75 5A 03 01 00 03 00 81 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 78 63 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 25 00 00 00 00 07 04 06 00 78 63 01 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 79 45 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DE 00 00 35 04 06 00 B6 C9 9D 63 CC 6F 2E 47 9B C0 1E DB 30 E4 [03:26:46]CheckFolder [03:26:46]dirname=/storage/ofd_packets [03:26:46]CheckFolder done [03:26:46]ProducePacketName [03:26:46]name=ofd_packets/00057012 [03:26:46]NVStorageSaveData ofd_packets/00057012 [03:26:46]File name is /storage/ofd_packets/00057012 [03:26:46]Write 691 bytes [03:26:46]NVStorageSaveData done [03:26:46]OFDSenderStorePacket done [03:26:46]KKMCreateOFDPacket done [03:26:46]NVStorageSaveData kkm_last_timestamp [03:26:46]File name is /storage/kkm_last_timestamp [03:26:46]Write 4 bytes [03:26:46]NVStorageSaveData done [03:26:46]ExternCall_PrintAddStr [03:26:46]wPrintStart [03:26:46]Write to MH i2c: 01 00 00 3D 32 6F [03:26:46]Write i2c OK [03:26:46]MH_I2C_Read... [03:26:46]OFD Sender: Processing packet 57012 [packets to send 38, broken 37] [03:26:46]ProducePacketName [03:26:46]name=ofd_packets/00057012 [03:26:46]OFD Sender: To server: pG, [03:26:46]CommunicateWithHost lk.salyk.kg:30040 [03:26:46]ConnectInit lk.salyk.kg [03:26:46]Read from MH i2c: 01 [03:26:46]MH_I2C_Read... [03:26:46]Read from MH i2c: 01 07 00 [03:26:46]MH_I2C_Read... [03:26:46]Read from MH i2c: 01 07 00 3D 32 00 00 00 00 00 FF 0F 84 [03:26:46]RasterBufferAndPrint [03:26:46]line Счет N : (3)129481 [03:26:46]line ИНН: 02508201610067 [03:26:46]line Контрольно-Кассовый Чек [03:26:46]line ПРОДАЖА [03:26:46]line Товар: 4700003150936 [03:26:46]line Новая Водка Organic 40% 0,48л [03:26:46]line 1.000 * 560.00 [03:26:46]line = 560.00 [03:26:46]line НДС 12% НСП 1% [03:26:46]line > о реализуемом товаре [03:26:46]line Товар: 48743570 [03:26:46]line Сигареты Winston XStyle Blue [03:26:46]line 1.000 * 140.00 [03:26:46]line = 140.00 [03:26:46]line НДС 12% НСП 1% [03:26:46]line > о реализуемом товаре [03:26:46]line Товар: 4870002326172 [03:26:46]line Вода ASU пит н.газ лимон ПЭТ 1л [03:26:46]line 1.000 * 100.00 [03:26:46]line = 100.00 [03:26:46]line НДС 12% НСП 1% [03:26:46]line > о реализуемом товаре [03:26:46]line Товар: 4870202521216 [03:26:46]line Напиток MAXI чай 1,2 зел.лимон (новый) [03:26:46]line 1.000 * 110.00 [03:26:46]line = 110.00 [03:26:46]line НДС 12% НСП 1% [03:26:46]line > о реализуемом товаре [03:26:46]line ИТОГО: 910.00 [03:26:46]line НСП 1% : 8.05 [03:26:46]line НДС 12% : 96.64 [03:26:46]line Наличными: 910.00 [03:26:46]line Безнал.: 0.00 [03:26:46]line Место: АЗС № 132 "Партнер Нефть" [03:26:46]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:26:46]line СНО: Общий режим [03:26:46]line Чек 29 14.07.2024 03:26 [03:26:46]line Смена: 496 ФФД: 1.0 [03:26:46]line ЗНМ: 0300000132 [03:26:46]line РНМ: 0000000000091208 [03:26:46]line Версия ККМ: 001 [03:26:46]line ФМ: 0000000000874857 [03:26:46]line ФД: 57012 [03:26:46]line ФПД: 200977045245039 [03:26:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T032649&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57012&fm=200977045245039&tin=02508201610067®Number=0000000000091208&sum=91000 [03:26:46]line 0 [03:26:46]written 0, free lines is 4095 [03:26:46]Connected sock=9 [03:26:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 95 02 00 00 4F 6F 8D 02 20 75 5A 03 01 00 03 00 81 02 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 33 35 37 30 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 78 63 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 25 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C0 25 00 00 00 00 07 04 06 00 78 63 01 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 79 45 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DE 00 00 35 04 06 00 B6 C9 9D 63 CC 6F 2E 47 9B C0 1E DB 30 E4 [03:26:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 63 A7 47 00 25 E6 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B4 DE 00 00 F4 03 04 00 CC EB 92 66 B6 04 01 00 00 E4 94 C5 7B 29 9C 0F 3F [03:26:46]CommunicateWithHost err = 0 [03:26:46]CheckOFDResponse [03:26:46]1017 (14) - 77093643461234 [03:26:46]1041 (16) - 0000000000874857 [03:26:46]1040 (4) - 57012 [03:26:46]1012 (4) - 13.07.2024 21:04 [03:26:46]1206 (1) - 0 [03:26:46]OFD Sender: Remove packet 57012 [03:26:46]ProducePacketName [03:26:46]name=ofd_packets/00057012 [03:26:46]NVStorageDeleteData [03:26:47]Write to MH i2c: 01 00 00 7A 32 AC [03:26:47]Write i2c OK [03:26:47]MH_I2C_Read... [03:26:47]Read from MH i2c: 01 [03:26:47]MH_I2C_Read... [03:26:47]Read from MH i2c: 01 07 00 [03:26:47]MH_I2C_Read... [03:26:47]Read from MH i2c: 01 07 00 7A 32 00 00 00 00 00 D2 0B 90 [03:26:47]RasterBufferAndPrint [03:26:47]line [03:26:47]line [03:26:47]line [03:26:47]line [03:26:47]line [03:26:47]written 0, free lines is 3035 [03:26:47]MH_Cut [03:26:47]Write to MH i2c: D1 01 00 81 32 01 85 [03:26:47]Write i2c OK [03:26:47]MH_I2C_Read... [03:26:47]Read from MH i2c: D1 [03:26:47]MH_I2C_Read... [03:26:47]Read from MH i2c: D1 01 00 [03:26:47]MH_I2C_Read... [03:26:47]Read from MH i2c: D1 01 00 81 32 00 84 [03:26:47]Write to MH i2c: 01 00 00 82 32 B4 [03:26:47]Write i2c OK [03:26:47]MH_I2C_Read... [03:26:47]OFD Sender: No OFD packet to send [03:26:48]*** Cut start [03:26:48]*** Partial cut [03:26:48]*** CUTSNS_PIN = 1 [03:26:48]*** CUTSNS_PIN = 0 [03:26:48]*** Brake cut motor [03:26:48]Read from MH i2c: 01 [03:26:48]MH_I2C_Read... [03:26:48]*** Stop cut motor [03:26:48]*** Cut end [03:26:48]Read from MH i2c: 01 07 00 [03:26:48]MH_I2C_Read... [03:26:48]Read from MH i2c: 01 07 00 82 32 00 00 00 00 00 FF 0F C9 [03:26:48]process_action close_receipt done [03:26:48]requested_data is exist [03:26:48]produce_requested_data [03:26:48]requested_item fm.sn is exist - process it [03:26:48]wFMCommunicate request_size=4 [03:26:48]MH_SAM_APDU [03:26:48]CAPDU: 80 11 00 00 [03:26:48]Write to MH i2c: E2 08 00 83 32 80 11 00 00 00 00 00 00 2F [03:26:48]Write i2c OK [03:26:48]MH_I2C_Read... [03:26:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:26:48]Read from MH i2c: E2 [03:26:48]MH_I2C_Read... [03:26:48]Read from MH i2c: E2 17 00 [03:26:48]MH_I2C_Read... [03:26:48]Read from MH i2c: E2 17 00 83 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 89 [03:26:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:26:48]wFMCommunicate OK [03:26:48]requested_item fd.num is exist - process it [03:26:48]SAM_PROTO_GetFieldsCounters [03:26:48]wFMCommunicate request_size=4 [03:26:48]MH_SAM_APDU [03:26:48]CAPDU: 80 13 00 00 [03:26:48]Write to MH i2c: E2 08 00 84 32 80 13 00 00 00 00 00 00 32 [03:26:48]Write i2c OK [03:26:48]MH_I2C_Read... [03:26:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:26:48]Read from MH i2c: E2 [03:26:48]MH_I2C_Read... [03:26:48]Read from MH i2c: E2 62 00 [03:26:48]MH_I2C_Read... [03:26:48]Read from MH i2c: E2 62 00 84 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B4 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 2F [03:26:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B4 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 1D 00 00 00 5E 04 04 00 1D 00 00 00 57 04 04 00 1E 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:26:48]wFMCommunicate OK [03:26:48]SAM_PROTO_GetFieldsCounters done [03:26:48]requested_item shift.num is exist - process it [03:26:48]requested_item shift.opened is exist - process it [03:26:48]req_shift_opened [03:26:48]FM_GetShiftState [03:26:48]SAM_PROTO_GetShiftState [03:26:48]wFMCommunicate request_size=4 [03:26:48]MH_SAM_APDU [03:26:48]CAPDU: 80 13 01 00 [03:26:48]Write to MH i2c: E2 08 00 85 32 80 13 01 00 00 00 00 00 34 [03:26:48]Write i2c OK [03:26:48]MH_I2C_Read... [03:26:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:26:48]Read from MH i2c: E2 [03:26:48]MH_I2C_Read... [03:26:48]Read from MH i2c: E2 0E 00 [03:26:48]MH_I2C_Read... [03:26:48]Read from MH i2c: E2 0E 00 85 32 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 DB [03:26:48]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:26:48]wFMCommunicate OK [03:26:48]SAM_PROTO_GetShiftState done [03:26:48]FM_GetShiftState done [03:26:48]req_shift_opened done [03:26:48]requested_item shift.open_date is exist - process it [03:26:48]req_shift_open_date [03:26:48]req_shift_open_date done [03:26:48]requested_item shift.sale.total is exist - process it [03:26:48]SAM_PROTO_GetShiftData [03:26:48]wFMCommunicate request_size=4 [03:26:48]MH_SAM_APDU [03:26:48]CAPDU: 80 13 02 00 [03:26:48]Write to MH i2c: E2 08 00 86 32 80 13 02 00 00 00 00 00 36 [03:26:48]Write i2c OK [03:26:48]MH_I2C_Read... [03:26:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:26:49]Read from MH i2c: E2 [03:26:49]MH_I2C_Read... [03:26:49]Read from MH i2c: E2 FD 00 [03:26:49]MH_I2C_Read... [03:26:49]Read from MH i2c: E2 FD 00 86 32 00 BB 04 AA 04 B7 04 6E 04 04 00 1D 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 58 E7 10 70 04 03 00 60 B5 0D 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 87 CB 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 46 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 43 [03:26:49]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 1D 00 00 00 69 04 9B 00 6F 04 04 00 1B 00 00 00 B1 04 03 00 58 E7 10 70 04 03 00 60 B5 0D 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 87 CB 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 46 26 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [03:26:49]wFMCommunicate OK [03:26:49]wFMCommunicate request_size=4 [03:26:49]MH_SAM_APDU [03:26:49]CAPDU: 80 17 00 00 [03:26:49]Write to MH i2c: E2 08 00 87 32 80 17 00 00 00 00 00 00 39 [03:26:49]Write i2c OK [03:26:49]MH_I2C_Read... [03:26:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:26:49]Read from MH i2c: E2 [03:26:49]MH_I2C_Read... [03:26:49]Read from MH i2c: E2 FD 00 [03:26:49]MH_I2C_Read... [03:26:49]Read from MH i2c: E2 FD 00 87 32 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CC [03:26:49]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:26:49]wFMCommunicate OK [03:26:49]wFMCommunicate request_size=4 [03:26:49]MH_SAM_APDU [03:26:49]CAPDU: 80 17 00 00 [03:26:49]Write to MH i2c: E2 08 00 88 32 80 17 00 00 00 00 00 00 3A [03:26:49]Write i2c OK [03:26:49]MH_I2C_Read... [03:26:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:26:50]Read from MH i2c: E2 [03:26:50]MH_I2C_Read... [03:26:50]Read from MH i2c: E2 FD 00 [03:26:50]MH_I2C_Read... [03:26:50]Read from MH i2c: E2 FD 00 88 32 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 66 [03:26:50]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:26:50]wFMCommunicate OK [03:26:50]wFMCommunicate request_size=4 [03:26:50]MH_SAM_APDU [03:26:50]CAPDU: 80 17 00 00 [03:26:50]Write to MH i2c: E2 08 00 89 32 80 17 00 00 00 00 00 00 3B [03:26:50]Write i2c OK [03:26:50]MH_I2C_Read... [03:26:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:26:50]Read from MH i2c: E2 [03:26:50]MH_I2C_Read... [03:26:50]Read from MH i2c: E2 FD 00 [03:26:50]MH_I2C_Read... [03:26:50]Read from MH i2c: E2 FD 00 89 32 00 00 00 EF 03 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 90 00 B0 [03:26:50]RAPDU: 00 00 EF 03 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 90 00 [03:26:50]wFMCommunicate OK [03:26:50]wFMCommunicate request_size=4 [03:26:50]MH_SAM_APDU [03:26:50]CAPDU: 80 17 00 00 [03:26:50]Write to MH i2c: E2 08 00 8A 32 80 17 00 00 00 00 00 00 3C [03:26:50]Write i2c OK [03:26:50]MH_I2C_Read... [03:26:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [03:26:50]Read from MH i2c: E2 [03:26:50]MH_I2C_Read... [03:26:50]Read from MH i2c: E2 D8 00 [03:26:50]MH_I2C_Read... [03:26:50]Read from MH i2c: E2 D8 00 8A 32 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [03:26:50]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:26:50]wFMCommunicate OK [03:26:50]SAM_PROTO_GetShiftData done [03:26:50]requested_item shift.sale.total_cash is exist - process it [03:26:50]requested_item shift.sale_refund.total is exist - process it [03:26:50]requested_item shift.sale_refund.total_cash is exist - process it [03:26:50]produce_requested_data done [03:26:50]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57012,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":11078.00,"shift.sale.total_cash":8984.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [03:26:50]process_action_free close_receipt [03:26:50]json_value_free [03:26:50]json_value_free done [03:26:50]process_json_proto returns [03:26:50]Send response to host [03:26:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57012,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":11078.00,"shift.sale.total_cash":8984.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [03:26:50]free response buf [03:26:50]execute_script done [03:26:50]execute_script returns [03:26:50]free content buf [03:26:50]Sock 10.Close socket [03:26:50]Sock 10.Thread stoped [03:26:52]OFD Sender: No OFD packet to send [03:26:57]OFD Sender: No OFD packet to send [03:27:02]OFD Sender: No OFD packet to send [03:27:07]OFD Sender: No OFD packet to send [03:27:12]OFD Sender: No OFD packet to send [03:27:17]OFD Sender: No OFD packet to send [03:27:22]OFD Sender: No OFD packet to send [03:27:27]OFD Sender: No OFD packet to send [03:27:32]OFD Sender: No OFD packet to send [03:27:37]OFD Sender: No OFD packet to send [03:27:42]OFD Sender: No OFD packet to send [03:27:47]OFD Sender: No OFD packet to send [03:27:52]OFD Sender: No OFD packet to send [03:27:57]OFD Sender: No OFD packet to send [03:28:02]OFD Sender: No OFD packet to send [03:28:07]OFD Sender: No OFD packet to send [03:28:12]OFD Sender: No OFD packet to send [03:28:17]OFD Sender: No OFD packet to send [03:28:22]OFD Sender: No OFD packet to send [03:28:27]OFD Sender: No OFD packet to send [03:28:32]OFD Sender: No OFD packet to send [03:28:37]OFD Sender: No OFD packet to send [03:28:42]OFD Sender: No OFD packet to send [03:28:47]OFD Sender: No OFD packet to send [03:28:52]OFD Sender: No OFD packet to send [03:28:57]OFD Sender: No OFD packet to send [03:29:02]OFD Sender: No OFD packet to send [03:29:07]OFD Sender: No OFD packet to send [03:29:12]OFD Sender: No OFD packet to send [03:29:17]OFD Sender: No OFD packet to send [03:29:22]OFD Sender: No OFD packet to send [03:29:27]OFD Sender: No OFD packet to send [03:29:32]OFD Sender: No OFD packet to send [03:29:37]OFD Sender: No OFD packet to send [03:29:42]OFD Sender: No OFD packet to send [03:29:47]OFD Sender: No OFD packet to send [03:29:52]OFD Sender: No OFD packet to send [03:29:57]OFD Sender: No OFD packet to send [03:30:02]OFD Sender: No OFD packet to send [03:30:07]OFD Sender: No OFD packet to send [03:30:12]OFD Sender: No OFD packet to send [03:30:17]OFD Sender: No OFD packet to send [03:30:22]OFD Sender: No OFD packet to send [03:30:27]OFD Sender: No OFD packet to send [03:30:32]OFD Sender: No OFD packet to send [03:30:37]OFD Sender: No OFD packet to send [03:30:42]OFD Sender: No OFD packet to send [03:30:47]OFD Sender: No OFD packet to send [03:30:52]OFD Sender: No OFD packet to send [03:30:57]OFD Sender: No OFD packet to send [03:31:02]OFD Sender: No OFD packet to send [03:31:07]OFD Sender: No OFD packet to send [03:31:12]OFD Sender: No OFD packet to send [03:31:17]OFD Sender: No OFD packet to send [03:31:22]OFD Sender: No OFD packet to send [03:31:27]OFD Sender: No OFD packet to send [03:31:32]OFD Sender: No OFD packet to send [03:31:37]OFD Sender: No OFD packet to send [03:31:42]OFD Sender: No OFD packet to send [03:31:47]OFD Sender: No OFD packet to send [03:31:52]OFD Sender: No OFD packet to send [03:31:57]OFD Sender: No OFD packet to send [03:32:02]OFD Sender: No OFD packet to send [03:32:07]OFD Sender: No OFD packet to send [03:32:12]OFD Sender: No OFD packet to send [03:32:17]OFD Sender: No OFD packet to send [03:32:22]OFD Sender: No OFD packet to send [03:32:27]OFD Sender: No OFD packet to send [03:32:32]OFD Sender: No OFD packet to send [03:32:37]OFD Sender: No OFD packet to send [03:32:42]OFD Sender: No OFD packet to send [03:32:45]accept exits with 8 [03:32:45]New connection [03:32:45]New thread 3067129188 created [03:32:45]Thread 3067272548 joined [03:32:45]Waiting for new connection... [03:32:45] Sock 8.Parse request [03:32:45]Sock 8.Check first char [03:32:45]Sock 8.First char is OK [03:32:45]request: POST /json_proto HTTP/1.0 [03:32:45]Method: POST [03:32:45]URL: /json_proto [03:32:45]Method is POST - this is cgi request [03:32:45]url: /json_proto [03:32:45]query_string will be loaded in cgi processing [03:32:45]execute_cgi json_proto POST (null) [03:32:45]execute_cgi path=json_proto method=POST [03:32:45]POST find Content-Length [03:32:45]Host: 172.17.39.4:8080 [03:32:45]Content-Length: 1209 [03:32:45]Content-Type: application/json [03:32:45] [03:32:45]POST finish read [03:32:45]Found Content-Length = 1209 [03:32:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129482", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 640.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:32:45]execute_script... [03:32: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)129482", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329487", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1,5\u043B", "price" : 175.00, "quantity" : 1.000, "sum" : 175.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 640.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:32:45]POST & json_proto [03:32:45]process_json_proto [03:32:45]json parsed OK: [03:32:45]protocol is kg_v1.0 [03:32:45]action value=close_receipt [03:32:45]process_action close_receipt [03:32:45]cmd_close_receipt [03:32:45]MH_GetDate [03:32:45]Write to MH i2c: F0 00 00 8B 32 AC [03:32:45]Write i2c OK [03:32:45]MH_I2C_Read... [03:32:45]Read from MH i2c: F0 [03:32:45]MH_I2C_Read... [03:32:45]Read from MH i2c: F0 09 00 [03:32:45]MH_I2C_Read... [03:32:45]Read from MH i2c: F0 09 00 8B 32 00 E3 46 93 66 2D 25 5D 64 EA [03:32:45]GetLastDocTimeStamp 1720927609 [03:32:45]current date 1720927971 [03:32:45]FM_GetShiftState [03:32:45]SAM_PROTO_GetShiftState [03:32:45]wFMCommunicate request_size=4 [03:32:45]MH_SAM_APDU [03:32:45]CAPDU: 80 13 01 00 [03:32:45]Write to MH i2c: E2 08 00 8C 32 80 13 01 00 00 00 00 00 3B [03:32:45]Write i2c OK [03:32:45]MH_I2C_Read... [03:32:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:32:45]Read from MH i2c: E2 [03:32:45]MH_I2C_Read... [03:32:45]Read from MH i2c: E2 0E 00 [03:32:45]MH_I2C_Read... [03:32:45]Read from MH i2c: E2 0E 00 8C 32 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 E2 [03:32:45]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:32:45]wFMCommunicate OK [03:32:45]SAM_PROTO_GetShiftState done [03:32:45]FM_GetShiftState done [03:32:45]opened in 1720917126 [03:32:45]opened+sec_in_day 1721003526 [03:32:45]quantity*price = 32500 [03:32:45]sum+1 = 32501 [03:32:45]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329487 Напиток Pepsi 1,5л 1.000 * 175.00 = 175.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 640.00 НСП 1% : 5.67 НДС 12% : 67.96 Наличными: 640.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 30 14.07.2024 03:32 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57013 ФПД: 176751770973575 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T033251&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57013&fm=176751770973575&tin=02508201610067®Number=0000000000091208&sum=64000 0 [03:32:46]StoreToDocumentArchive [03:32:46]shift 496 fd 57013 [03:32:46]save to /storage/0496/doc_00057013 [03:32:46]save last doc name /storage/0496/doc_00057013 to /storage/kkm_last_doc_name [03:32:46]save OK [03:32:46]Clear old archive folders... [03:32:46]ProcessDocumentItem done err = 0, tmpTLVsize=473 [03:32:46]tlvbuf is B6FA3B90 [03:32:46]SAM_PROTO_ClearQueue [03:32:46]wFMCommunicate request_size=4 [03:32:46]MH_SAM_APDU [03:32:46]CAPDU: 80 09 00 00 [03:32:46]Write to MH i2c: E2 08 00 99 32 80 09 00 00 00 00 00 00 3D [03:32:46]Write i2c OK [03:32:46]MH_I2C_Read... [03:32:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:32:46]Read from MH i2c: E2 [03:32:46]MH_I2C_Read... [03:32:46]Read from MH i2c: E2 03 00 [03:32:46]MH_I2C_Read... [03:32:46]Read from MH i2c: E2 03 00 99 32 00 90 00 3F [03:32:46]RAPDU: 90 00 [03:32:46]wFMCommunicate OK [03:32:46]SAM_PROTO_ClearQueue done [03:32:46]KKMCreateOFDPacket [03:32:46]OFDProtocolAddRootSTLVToBuf [03:32:46]FM_MakeSignedData [03:32:46]FM_MakeSignedData [03:32:46]SAM_PROTO_SignData [03:32:46]wFMCommunicate request_size=4 [03:32:46]MH_SAM_APDU [03:32:46]CAPDU: 80 0D 01 02 [03:32:46]Write to MH i2c: E2 08 00 9A 32 80 0D 01 02 00 00 00 00 45 [03:32:46]Write i2c OK [03:32:46]MH_I2C_Read... [03:32:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:32:46]Read from MH i2c: E2 [03:32:46]MH_I2C_Read... [03:32:46]Read from MH i2c: E2 03 00 [03:32:46]MH_I2C_Read... [03:32:46]Read from MH i2c: E2 03 00 9A 32 00 90 00 40 [03:32:46]RAPDU: 90 00 [03:32:46]wFMCommunicate OK [03:32:46]wFMCommunicate request_size=255 [03:32:46]MH_SAM_APDU [03:32:46]CAPDU: 80 0D 02 02 FA 03 00 D9 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 [03:32:47]Write to MH i2c: E2 02 01 9B 32 80 0D 02 02 FA 00 03 00 D9 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 00 00 E0 [03:32:47]Write i2c OK [03:32:47]MH_I2C_Read... [03:32:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:32:47]Read from MH i2c: E2 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: E2 03 00 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: E2 03 00 9B 32 00 90 00 41 [03:32:47]RAPDU: 90 00 [03:32:47]wFMCommunicate OK [03:32:47]wFMCommunicate request_size=232 [03:32:47]MH_SAM_APDU [03:32:47]CAPDU: 80 0D 02 02 E3 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 37 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 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 E3 46 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B5 DE 00 00 35 04 06 00 A0 C1 3A 85 B5 87 [03:32:47]Write to MH i2c: E2 EB 00 9C 32 80 0D 02 02 E3 00 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 37 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 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 E3 46 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B5 DE 00 00 35 04 06 00 A0 C1 3A 85 B5 87 00 00 83 [03:32:47]Write i2c OK [03:32:47]MH_I2C_Read... [03:32:47]OFD Sender: No OFD packet to send [03:32:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:32:47]Read from MH i2c: E2 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: E2 03 00 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: E2 03 00 9C 32 00 90 00 42 [03:32:47]RAPDU: 90 00 [03:32:47]wFMCommunicate OK [03:32:47]wFMCommunicate request_size=4 [03:32:47]MH_SAM_APDU [03:32:47]CAPDU: 80 0D 03 02 [03:32:47]Write to MH i2c: E2 08 00 9D 32 80 0D 03 02 00 00 00 00 4A [03:32:47]Write i2c OK [03:32:47]MH_I2C_Read... [03:32:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:32:47]Read from MH i2c: E2 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: E2 0B 00 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: E2 0B 00 9D 32 00 FD 51 5D 2E 73 AA DD 2E 90 00 4C [03:32:47]RAPDU: FD 51 5D 2E 73 AA DD 2E 90 00 [03:32:47]wFMCommunicate OK [03:32:47]SAM_PROTO_SignData done [03:32:47]FM_MakeSignedData done [03:32:47]CreateOFDProtocolMessage [03:32:47]wFMCommunicate request_size=4 [03:32:47]MH_SAM_APDU [03:32:47]CAPDU: 80 11 00 00 [03:32:47]Write to MH i2c: E2 08 00 9E 32 80 11 00 00 00 00 00 00 4A [03:32:47]Write i2c OK [03:32:47]MH_I2C_Read... [03:32:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:32:47]Read from MH i2c: E2 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: E2 17 00 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: E2 17 00 9E 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A4 [03:32:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:32:47]wFMCommunicate OK [03:32:47]CreateOFDProtocolMessage done [03:32:47]OFDSenderStorePacket 57013 [03:32:47]StoreOFDPacket docnum=57013 [03:32:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 ED 01 00 00 8B 2A E5 01 04 F6 5A 03 01 00 03 00 D9 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 37 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 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 E3 46 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B5 DE 00 00 35 04 06 00 A0 C1 3A 85 B5 87 FD 51 5D 2E 73 AA DD 2E [03:32:47]CheckFolder [03:32:47]dirname=/storage/ofd_packets [03:32:47]CheckFolder done [03:32:47]ProducePacketName [03:32:47]name=ofd_packets/00057013 [03:32:47]NVStorageSaveData ofd_packets/00057013 [03:32:47]File name is /storage/ofd_packets/00057013 [03:32:47]Write 523 bytes [03:32:47]NVStorageSaveData done [03:32:47]OFDSenderStorePacket done [03:32:47]KKMCreateOFDPacket done [03:32:47]NVStorageSaveData kkm_last_timestamp [03:32:47]File name is /storage/kkm_last_timestamp [03:32:47]Write 4 bytes [03:32:47]NVStorageSaveData done [03:32:47]ExternCall_PrintAddStr [03:32:47]wPrintStart [03:32:47]Write to MH i2c: 01 00 00 9F 32 D1 [03:32:47]Write i2c OK [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: 01 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: 01 07 00 [03:32:47]MH_I2C_Read... [03:32:47]Read from MH i2c: 01 07 00 9F 32 00 00 00 00 00 FF 0F E6 [03:32:47]RasterBufferAndPrint [03:32:47]line Счет N : (3)129482 [03:32:47]line ИНН: 02508201610067 [03:32:47]line Контрольно-Кассовый Чек [03:32:47]line ПРОДАЖА [03:32:47]line Товар: 4700001610043 [03:32:47]line Пиво Арпа 1,5л ПЭТ [03:32:47]line 1.000 * 325.00 [03:32:47]line = 325.00 [03:32:47]line НДС 12% НСП 1% [03:32:47]line > о реализуемом товаре [03:32:47]line Товар: 4870002329487 [03:32:47]line Напиток Pepsi 1,5л [03:32:47]line 1.000 * 175.00 [03:32:47]line = 175.00 [03:32:47]line НДС 12% НСП 1% [03:32:47]line > о реализуемом товаре [03:32:47]line Товар: 48747059 [03:32:47]line Сигареты Winston Legend Blue [03:32:47]line 1.000 * 140.00 [03:32:47]line = 140.00 [03:32:47]line НДС 12% НСП 1% [03:32:47]line > о реализуемом товаре [03:32:47]line ИТОГО: 640.00 [03:32:47]line НСП 1% : 5.67 [03:32:47]line НДС 12% : 67.96 [03:32:47]line Наличными: 640.00 [03:32:47]line Безнал.: 0.00 [03:32:47]line Место: АЗС № 132 "Партнер Нефть" [03:32:47]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:32:47]line СНО: Общий режим [03:32:47]line Чек 30 14.07.2024 03:32 [03:32:47]line Смена: 496 ФФД: 1.0 [03:32:47]line ЗНМ: 0300000132 [03:32:47]line РНМ: 0000000000091208 [03:32:47]line Версия ККМ: 001 [03:32:47]line ФМ: 0000000000874857 [03:32:47]line ФД: 57013 [03:32:47]line ФПД: 176751770973575 [03:32:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T033251&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57013&fm=176751770973575&tin=02508201610067®Number=0000000000091208&sum=64000 [03:32:47]line 0 [03:32:47]written 0, free lines is 4095 [03:32:47]OFD Sender: Processing packet 57013 [packets to send 38, broken 37] [03:32:47]ProducePacketName [03:32:47]name=ofd_packets/00057013 [03:32:47]OFD Sender: To server: pG, [03:32:47]CommunicateWithHost lk.salyk.kg:30040 [03:32:47]ConnectInit lk.salyk.kg [03:32:47]Connected sock=10 [03:32:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 ED 01 00 00 8B 2A E5 01 04 F6 5A 03 01 00 03 00 D9 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 5E 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 34 38 37 06 04 1A 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 44 00 00 00 00 13 04 06 00 5C 44 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 FA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 37 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 8C 1A 00 00 00 00 07 04 06 00 00 FA 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 E3 46 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B5 DE 00 00 35 04 06 00 A0 C1 3A 85 B5 87 FD 51 5D 2E 73 AA DD 2E [03:32:48]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 D9 7D 47 00 CF A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B5 DE 00 00 F4 03 04 00 36 ED 92 66 B6 04 01 00 00 9C 40 63 DA E7 7F 5E 32 [03:32:48]CommunicateWithHost err = 0 [03:32:48]CheckOFDResponse [03:32:48]1017 (14) - 77093643461234 [03:32:48]1041 (16) - 0000000000874857 [03:32:48]1040 (4) - 57013 [03:32:48]1012 (4) - 13.07.2024 21:10 [03:32:48]1206 (1) - 0 [03:32:48]OFD Sender: Remove packet 57013 [03:32:48]ProducePacketName [03:32:48]name=ofd_packets/00057013 [03:32:48]NVStorageDeleteData [03:32:48]Write to MH i2c: 01 00 00 D4 32 06 [03:32:48]Write i2c OK [03:32:48]MH_I2C_Read... [03:32:48]Read from MH i2c: 01 [03:32:48]MH_I2C_Read... [03:32:48]Read from MH i2c: 01 07 00 [03:32:48]MH_I2C_Read... [03:32:48]Read from MH i2c: 01 07 00 D4 32 00 00 00 00 00 3D 0C 56 [03:32:48]RasterBufferAndPrint [03:32:48]line [03:32:48]line [03:32:48]line [03:32:48]line [03:32:48]line [03:32:48]written 0, free lines is 3142 [03:32:48]MH_Cut [03:32:48]Write to MH i2c: D1 01 00 DB 32 01 DF [03:32:48]Write i2c OK [03:32:48]MH_I2C_Read... [03:32:48]Read from MH i2c: D1 [03:32:48]MH_I2C_Read... [03:32:48]Read from MH i2c: D1 01 00 [03:32:48]MH_I2C_Read... [03:32:48]Read from MH i2c: D1 01 00 DB 32 00 DE [03:32:48]Write to MH i2c: 01 00 00 DC 32 0E [03:32:48]Write i2c OK [03:32:48]MH_I2C_Read... [03:32:48]OFD Sender: No OFD packet to send [03:32:49]*** Cut start [03:32:49]*** Partial cut [03:32:49]*** CUTSNS_PIN = 1 [03:32:49]*** CUTSNS_PIN = 0 [03:32:49]*** Brake cut motor [03:32:49]Read from MH i2c: 01 [03:32:49]MH_I2C_Read... [03:32:49]*** Stop cut motor [03:32:49]*** Cut end [03:32:49]Read from MH i2c: 01 07 00 [03:32:49]MH_I2C_Read... [03:32:49]Read from MH i2c: 01 07 00 DC 32 00 00 00 00 00 FF 0F 23 [03:32:49]process_action close_receipt done [03:32:49]requested_data is exist [03:32:49]produce_requested_data [03:32:49]requested_item fm.sn is exist - process it [03:32:49]wFMCommunicate request_size=4 [03:32:49]MH_SAM_APDU [03:32:49]CAPDU: 80 11 00 00 [03:32:49]Write to MH i2c: E2 08 00 DD 32 80 11 00 00 00 00 00 00 89 [03:32:49]Write i2c OK [03:32:49]MH_I2C_Read... [03:32:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:32:49]Read from MH i2c: E2 [03:32:49]MH_I2C_Read... [03:32:49]Read from MH i2c: E2 17 00 [03:32:49]MH_I2C_Read... [03:32:49]Read from MH i2c: E2 17 00 DD 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E3 [03:32:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:32:49]wFMCommunicate OK [03:32:49]requested_item fd.num is exist - process it [03:32:49]SAM_PROTO_GetFieldsCounters [03:32:49]wFMCommunicate request_size=4 [03:32:49]MH_SAM_APDU [03:32:49]CAPDU: 80 13 00 00 [03:32:49]Write to MH i2c: E2 08 00 DE 32 80 13 00 00 00 00 00 00 8C [03:32:49]Write i2c OK [03:32:49]MH_I2C_Read... [03:32:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:32:50]Read from MH i2c: E2 [03:32:50]MH_I2C_Read... [03:32:50]Read from MH i2c: E2 62 00 [03:32:50]MH_I2C_Read... [03:32:50]Read from MH i2c: E2 62 00 DE 32 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B5 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 8D [03:32:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B5 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 1E 00 00 00 5E 04 04 00 1E 00 00 00 57 04 04 00 1F 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:32:50]wFMCommunicate OK [03:32:50]SAM_PROTO_GetFieldsCounters done [03:32:50]requested_item shift.num is exist - process it [03:32:50]requested_item shift.opened is exist - process it [03:32:50]req_shift_opened [03:32:50]FM_GetShiftState [03:32:50]SAM_PROTO_GetShiftState [03:32:50]wFMCommunicate request_size=4 [03:32:50]MH_SAM_APDU [03:32:50]CAPDU: 80 13 01 00 [03:32:50]Write to MH i2c: E2 08 00 DF 32 80 13 01 00 00 00 00 00 8E [03:32:50]Write i2c OK [03:32:50]MH_I2C_Read... [03:32:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:32:50]Read from MH i2c: E2 [03:32:50]MH_I2C_Read... [03:32:50]Read from MH i2c: E2 0E 00 [03:32:50]MH_I2C_Read... [03:32:50]Read from MH i2c: E2 0E 00 DF 32 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 35 [03:32:50]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:32:50]wFMCommunicate OK [03:32:50]SAM_PROTO_GetShiftState done [03:32:50]FM_GetShiftState done [03:32:50]req_shift_opened done [03:32:50]requested_item shift.open_date is exist - process it [03:32:50]req_shift_open_date [03:32:50]req_shift_open_date done [03:32:50]requested_item shift.sale.total is exist - process it [03:32:50]SAM_PROTO_GetShiftData [03:32:50]wFMCommunicate request_size=4 [03:32:50]MH_SAM_APDU [03:32:50]CAPDU: 80 13 02 00 [03:32:50]Write to MH i2c: E2 08 00 E0 32 80 13 02 00 00 00 00 00 90 [03:32:50]Write i2c OK [03:32:50]MH_I2C_Read... [03:32:50]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:32:50]Read from MH i2c: E2 [03:32:50]MH_I2C_Read... [03:32:50]Read from MH i2c: E2 FD 00 [03:32:50]MH_I2C_Read... [03:32:50]Read from MH i2c: E2 FD 00 E0 32 00 BB 04 AA 04 B7 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1C 00 00 00 B1 04 03 00 58 E1 11 70 04 03 00 60 AF 0E 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 13 E6 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 7D 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 75 [03:32:50]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 1E 00 00 00 69 04 9B 00 6F 04 04 00 1C 00 00 00 B1 04 03 00 58 E1 11 70 04 03 00 60 AF 0E 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 13 E6 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 7D 28 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [03:32:50]wFMCommunicate OK [03:32:50]wFMCommunicate request_size=4 [03:32:50]MH_SAM_APDU [03:32:50]CAPDU: 80 17 00 00 [03:32:50]Write to MH i2c: E2 08 00 E1 32 80 17 00 00 00 00 00 00 93 [03:32:50]Write i2c OK [03:32:50]MH_I2C_Read... [03:32:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:32:50]Read from MH i2c: E2 [03:32:50]MH_I2C_Read... [03:32:50]Read from MH i2c: E2 FD 00 [03:32:50]MH_I2C_Read... [03:32:50]Read from MH i2c: E2 FD 00 E1 32 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 26 [03:32:50]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:32:50]wFMCommunicate OK [03:32:50]wFMCommunicate request_size=4 [03:32:50]MH_SAM_APDU [03:32:50]CAPDU: 80 17 00 00 [03:32:50]Write to MH i2c: E2 08 00 E2 32 80 17 00 00 00 00 00 00 94 [03:32:50]Write i2c OK [03:32:50]MH_I2C_Read... [03:32:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:32:51]Read from MH i2c: E2 [03:32:51]MH_I2C_Read... [03:32:51]Read from MH i2c: E2 FD 00 [03:32:51]MH_I2C_Read... [03:32:51]Read from MH i2c: E2 FD 00 E2 32 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C0 [03:32:51]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:32:51]wFMCommunicate OK [03:32:51]wFMCommunicate request_size=4 [03:32:51]MH_SAM_APDU [03:32:51]CAPDU: 80 17 00 00 [03:32:51]Write to MH i2c: E2 08 00 E3 32 80 17 00 00 00 00 00 00 95 [03:32:51]Write i2c OK [03:32:51]MH_I2C_Read... [03:32:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:32:51]Read from MH i2c: E2 [03:32:51]MH_I2C_Read... [03:32:51]Read from MH i2c: E2 FD 00 [03:32:51]MH_I2C_Read... [03:32:51]Read from MH i2c: E2 FD 00 E3 32 00 00 00 EF 03 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 90 00 0A [03:32:51]RAPDU: 00 00 EF 03 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 90 00 [03:32:51]wFMCommunicate OK [03:32:51]wFMCommunicate request_size=4 [03:32:51]MH_SAM_APDU [03:32:51]CAPDU: 80 17 00 00 [03:32:51]Write to MH i2c: E2 08 00 E4 32 80 17 00 00 00 00 00 00 96 [03:32:51]Write i2c OK [03:32:51]MH_I2C_Read... [03:32:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [03:32:51]Read from MH i2c: E2 [03:32:51]MH_I2C_Read... [03:32:51]Read from MH i2c: E2 D8 00 [03:32:51]MH_I2C_Read... [03:32:51]Read from MH i2c: E2 D8 00 E4 32 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 7D [03:32:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:32:51]wFMCommunicate OK [03:32:51]SAM_PROTO_GetShiftData done [03:32:51]requested_item shift.sale.total_cash is exist - process it [03:32:51]requested_item shift.sale_refund.total is exist - process it [03:32:51]requested_item shift.sale_refund.total_cash is exist - process it [03:32:51]produce_requested_data done [03:32:51]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57013,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":11718.00,"shift.sale.total_cash":9624.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [03:32:51]process_action_free close_receipt [03:32:51]json_value_free [03:32:51]json_value_free done [03:32:51]process_json_proto returns [03:32:51]Send response to host [03:32:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57013,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":11718.00,"shift.sale.total_cash":9624.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [03:32:51]free response buf [03:32:51]execute_script done [03:32:51]execute_script returns [03:32:51]free content buf [03:32:51]Sock 8.Close socket [03:32:51]Sock 8.Thread stoped [03:32:53]OFD Sender: No OFD packet to send [03:32:58]OFD Sender: No OFD packet to send [03:33:03]OFD Sender: No OFD packet to send [03:33:08]OFD Sender: No OFD packet to send [03:33:13]OFD Sender: No OFD packet to send [03:33:18]OFD Sender: No OFD packet to send [03:33:23]OFD Sender: No OFD packet to send [03:33:28]OFD Sender: No OFD packet to send [03:33:33]OFD Sender: No OFD packet to send [03:33:38]OFD Sender: No OFD packet to send [03:33:43]OFD Sender: No OFD packet to send [03:33:48]OFD Sender: No OFD packet to send [03:33:53]OFD Sender: No OFD packet to send [03:33:58]OFD Sender: No OFD packet to send [03:34:03]OFD Sender: No OFD packet to send [03:34:08]OFD Sender: No OFD packet to send [03:34:13]OFD Sender: No OFD packet to send [03:34:18]OFD Sender: No OFD packet to send [03:34:23]OFD Sender: No OFD packet to send [03:34:28]OFD Sender: No OFD packet to send [03:34:33]OFD Sender: No OFD packet to send [03:34:38]OFD Sender: No OFD packet to send [03:34:43]OFD Sender: No OFD packet to send [03:34:48]OFD Sender: No OFD packet to send [03:34:53]OFD Sender: No OFD packet to send [03:34:58]OFD Sender: No OFD packet to send [03:35:03]OFD Sender: No OFD packet to send [03:35:08]OFD Sender: No OFD packet to send [03:35:13]OFD Sender: No OFD packet to send [03:35:18]OFD Sender: No OFD packet to send [03:35:23]OFD Sender: No OFD packet to send [03:35:28]OFD Sender: No OFD packet to send [03:35:33]OFD Sender: No OFD packet to send [03:35:38]OFD Sender: No OFD packet to send [03:35:43]OFD Sender: No OFD packet to send [03:35:48]OFD Sender: No OFD packet to send [03:35:53]OFD Sender: No OFD packet to send [03:35:58]OFD Sender: No OFD packet to send [03:36:03]OFD Sender: No OFD packet to send [03:36:08]OFD Sender: No OFD packet to send [03:36:13]OFD Sender: No OFD packet to send [03:36:18]OFD Sender: No OFD packet to send [03:36:23]OFD Sender: No OFD packet to send [03:36:28]OFD Sender: No OFD packet to send [03:36:33]OFD Sender: No OFD packet to send [03:36:38]OFD Sender: No OFD packet to send [03:36:43]OFD Sender: No OFD packet to send [03:36:48]OFD Sender: No OFD packet to send [03:36:53]OFD Sender: No OFD packet to send [03:36:58]OFD Sender: No OFD packet to send [03:37:03]OFD Sender: No OFD packet to send [03:37:08]OFD Sender: No OFD packet to send [03:37:13]OFD Sender: No OFD packet to send [03:37:18]OFD Sender: No OFD packet to send [03:37:23]OFD Sender: No OFD packet to send [03:37:28]OFD Sender: No OFD packet to send [03:37:34]OFD Sender: No OFD packet to send [03:37:39]OFD Sender: No OFD packet to send [03:37:44]OFD Sender: No OFD packet to send [03:37:49]OFD Sender: No OFD packet to send [03:37:54]OFD Sender: No OFD packet to send [03:37:59]OFD Sender: No OFD packet to send [03:38:04]OFD Sender: No OFD packet to send [03:38:09]OFD Sender: No OFD packet to send [03:38:14]OFD Sender: No OFD packet to send [03:38:19]OFD Sender: No OFD packet to send [03:38:24]OFD Sender: No OFD packet to send [03:38:29]OFD Sender: No OFD packet to send [03:38:34]OFD Sender: No OFD packet to send [03:38:39]OFD Sender: No OFD packet to send [03:38:44]OFD Sender: No OFD packet to send [03:38:49]OFD Sender: No OFD packet to send [03:38:54]OFD Sender: No OFD packet to send [03:38:59]OFD Sender: No OFD packet to send [03:39:04]OFD Sender: No OFD packet to send [03:39:09]OFD Sender: No OFD packet to send [03:39:14]OFD Sender: No OFD packet to send [03:39:19]OFD Sender: No OFD packet to send [03:39:24]OFD Sender: No OFD packet to send [03:39:29]OFD Sender: No OFD packet to send [03:39:34]OFD Sender: No OFD packet to send [03:39:39]OFD Sender: No OFD packet to send [03:39:44]OFD Sender: No OFD packet to send [03:39:49]OFD Sender: No OFD packet to send [03:39:54]OFD Sender: No OFD packet to send [03:39:59]OFD Sender: No OFD packet to send [03:40:04]OFD Sender: No OFD packet to send [03:40:09]OFD Sender: No OFD packet to send [03:40:14]OFD Sender: No OFD packet to send [03:40:19]OFD Sender: No OFD packet to send [03:40:24]OFD Sender: No OFD packet to send [03:40:29]OFD Sender: No OFD packet to send [03:40:34]OFD Sender: No OFD packet to send [03:40:39]OFD Sender: No OFD packet to send [03:40:44]OFD Sender: No OFD packet to send [03:40:49]OFD Sender: No OFD packet to send [03:40:54]OFD Sender: No OFD packet to send [03:40:59]OFD Sender: No OFD packet to send [03:41:04]OFD Sender: No OFD packet to send [03:41:09]OFD Sender: No OFD packet to send [03:41:14]OFD Sender: No OFD packet to send [03:41:16]accept exits with 9 [03:41:16]New connection [03:41:16]New thread 3067272548 created [03:41:16]Thread 3067129188 joined [03:41:16]Waiting for new connection... [03:41:16] Sock 9.Parse request [03:41:16]Sock 9.Check first char [03:41:16]Sock 9.First char is OK [03:41:16]request: POST /json_proto HTTP/1.0 [03:41:16]Method: POST [03:41:16]URL: /json_proto [03:41:16]Method is POST - this is cgi request [03:41:16]url: /json_proto [03:41:16]query_string will be loaded in cgi processing [03:41:16]execute_cgi json_proto POST (null) [03:41:16]execute_cgi path=json_proto method=POST [03:41:16]POST find Content-Length [03:41:16]Host: 172.17.39.4:8080 [03:41:16]Content-Length: 1113 [03:41:16]Content-Type: application/json [03:41:16] [03:41:16]POST finish read [03:41:16]Found Content-Length = 1113 [03:41:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129483", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007401201", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 \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 }]} ], "payments": [ { "type": 0, "sum" : 570.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:41:16]execute_script... [03:41: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)129483", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007401201", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0441\u043E\u043B\u0435\u043D\u044B\u0435 \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 }]} ], "payments": [ { "type": 0, "sum" : 570.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:41:16]POST & json_proto [03:41:16]process_json_proto [03:41:16]json parsed OK: [03:41:16]protocol is kg_v1.0 [03:41:16]action value=close_receipt [03:41:16]process_action close_receipt [03:41:16]cmd_close_receipt [03:41:16]MH_GetDate [03:41:16]Write to MH i2c: F0 00 00 E5 32 06 [03:41:16]Write i2c OK [03:41:16]MH_I2C_Read... [03:41:16]Read from MH i2c: F0 [03:41:16]MH_I2C_Read... [03:41:16]Read from MH i2c: F0 09 00 [03:41:16]MH_I2C_Read... [03:41:16]Read from MH i2c: F0 09 00 E5 32 00 E2 48 93 66 2D 25 5D 64 45 [03:41:16]GetLastDocTimeStamp 1720927971 [03:41:16]current date 1720928482 [03:41:16]FM_GetShiftState [03:41:16]SAM_PROTO_GetShiftState [03:41:16]wFMCommunicate request_size=4 [03:41:16]MH_SAM_APDU [03:41:16]CAPDU: 80 13 01 00 [03:41:16]Write to MH i2c: E2 08 00 E6 32 80 13 01 00 00 00 00 00 95 [03:41:16]Write i2c OK [03:41:16]MH_I2C_Read... [03:41:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:41:16]Read from MH i2c: E2 [03:41:16]MH_I2C_Read... [03:41:16]Read from MH i2c: E2 0E 00 [03:41:16]MH_I2C_Read... [03:41:16]Read from MH i2c: E2 0E 00 E6 32 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 3C [03:41:16]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:41:16]wFMCommunicate OK [03:41:16]SAM_PROTO_GetShiftState done [03:41:16]FM_GetShiftState done [03:41:16]opened in 1720917126 [03:41:16]opened+sec_in_day 1721003526 [03:41:16]quantity*price = 45000 [03:41:16]sum+1 = 45001 [03:41:16]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4630007401201 Семечки соленые ДЖИНН Великан 100гр 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 570.00 НСП 1% : 5.04 НДС 12% : 60.53 Наличными: 570.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 31 14.07.2024 03:41 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57014 ФПД: 134747215300491 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T034122&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57014&fm=134747215300491&tin=02508201610067®Number=0000000000091208&sum=57000 0 [03:41:17]StoreToDocumentArchive [03:41:17]shift 496 fd 57014 [03:41:17]save to /storage/0496/doc_00057014 [03:41:17]save last doc name /storage/0496/doc_00057014 to /storage/kkm_last_doc_name [03:41:17]save OK [03:41:17]Clear old archive folders... [03:41:17]ProcessDocumentItem done err = 0, tmpTLVsize=415 [03:41:17]tlvbuf is 01D28130 [03:41:17]SAM_PROTO_ClearQueue [03:41:17]wFMCommunicate request_size=4 [03:41:17]MH_SAM_APDU [03:41:17]CAPDU: 80 09 00 00 [03:41:17]Write to MH i2c: E2 08 00 F3 32 80 09 00 00 00 00 00 00 97 [03:41:17]Write i2c OK [03:41:17]MH_I2C_Read... [03:41:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:41:17]Read from MH i2c: E2 [03:41:17]MH_I2C_Read... [03:41:17]Read from MH i2c: E2 03 00 [03:41:17]MH_I2C_Read... [03:41:17]Read from MH i2c: E2 03 00 F3 32 00 90 00 99 [03:41:17]RAPDU: 90 00 [03:41:17]wFMCommunicate OK [03:41:17]SAM_PROTO_ClearQueue done [03:41:17]KKMCreateOFDPacket [03:41:17]OFDProtocolAddRootSTLVToBuf [03:41:17]FM_MakeSignedData [03:41:17]FM_MakeSignedData [03:41:17]SAM_PROTO_SignData [03:41:17]wFMCommunicate request_size=4 [03:41:17]MH_SAM_APDU [03:41:17]CAPDU: 80 0D 01 02 [03:41:17]Write to MH i2c: E2 08 00 F4 32 80 0D 01 02 00 00 00 00 9F [03:41:17]Write i2c OK [03:41:17]MH_I2C_Read... [03:41:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:41:17]Read from MH i2c: E2 [03:41:17]MH_I2C_Read... [03:41:17]Read from MH i2c: E2 03 00 [03:41:17]MH_I2C_Read... [03:41:17]Read from MH i2c: E2 03 00 F4 32 00 90 00 9A [03:41:17]RAPDU: 90 00 [03:41:17]wFMCommunicate OK [03:41:17]wFMCommunicate request_size=255 [03:41:17]MH_SAM_APDU [03:41:17]CAPDU: 80 0D 02 02 FA 03 00 9F 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 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 [03:41:17]Write to MH i2c: E2 02 01 F5 32 80 0D 02 02 FA 00 03 00 9F 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 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 00 00 6E [03:41:17]Write i2c OK [03:41:17]MH_I2C_Read... [03:41:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:41:18]Read from MH i2c: E2 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: E2 03 00 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: E2 03 00 F5 32 00 90 00 9B [03:41:18]RAPDU: 90 00 [03:41:18]wFMCommunicate OK [03:41:18]wFMCommunicate request_size=174 [03:41:18]MH_SAM_APDU [03:41:18]CAPDU: 80 0D 02 02 A9 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 17 00 00 00 00 07 04 06 00 A8 DE 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 E2 48 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DE 00 00 35 04 06 00 7A 8D 47 E7 07 8B [03:41:18]Write to MH i2c: E2 B1 00 F6 32 80 0D 02 02 A9 00 04 01 00 01 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 17 00 00 00 00 07 04 06 00 A8 DE 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 E2 48 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DE 00 00 35 04 06 00 7A 8D 47 E7 07 8B 00 00 8D [03:41:18]Write i2c OK [03:41:18]MH_I2C_Read... [03:41:18]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:41:18]Read from MH i2c: E2 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: E2 03 00 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: E2 03 00 F6 32 00 90 00 9C [03:41:18]RAPDU: 90 00 [03:41:18]wFMCommunicate OK [03:41:18]wFMCommunicate request_size=4 [03:41:18]MH_SAM_APDU [03:41:18]CAPDU: 80 0D 03 02 [03:41:18]Write to MH i2c: E2 08 00 F7 32 80 0D 03 02 00 00 00 00 A4 [03:41:18]Write i2c OK [03:41:18]MH_I2C_Read... [03:41:18]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:41:18]Read from MH i2c: E2 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: E2 0B 00 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: E2 0B 00 F7 32 00 78 AE 8A CD 2D FC AA B5 90 00 AA [03:41:18]RAPDU: 78 AE 8A CD 2D FC AA B5 90 00 [03:41:18]wFMCommunicate OK [03:41:18]SAM_PROTO_SignData done [03:41:18]FM_MakeSignedData done [03:41:18]CreateOFDProtocolMessage [03:41:18]wFMCommunicate request_size=4 [03:41:18]MH_SAM_APDU [03:41:18]CAPDU: 80 11 00 00 [03:41:18]Write to MH i2c: E2 08 00 F8 32 80 11 00 00 00 00 00 00 A4 [03:41:18]Write i2c OK [03:41:18]MH_I2C_Read... [03:41:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:41:18]Read from MH i2c: E2 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: E2 17 00 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: E2 17 00 F8 32 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FE [03:41:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:41:18]wFMCommunicate OK [03:41:18]CreateOFDProtocolMessage done [03:41:18]OFDSenderStorePacket 57014 [03:41:18]StoreOFDPacket docnum=57014 [03:41:18]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B3 01 00 00 A0 B7 AB 01 0E 9C 5A 03 01 00 03 00 9F 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 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 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 17 00 00 00 00 07 04 06 00 A8 DE 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 E2 48 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DE 00 00 35 04 06 00 7A 8D 47 E7 07 8B 78 AE 8A CD 2D FC AA B5 [03:41:18]CheckFolder [03:41:18]dirname=/storage/ofd_packets [03:41:18]CheckFolder done [03:41:18]ProducePacketName [03:41:18]name=ofd_packets/00057014 [03:41:18]NVStorageSaveData ofd_packets/00057014 [03:41:18]File name is /storage/ofd_packets/00057014 [03:41:18]Write 465 bytes [03:41:18]NVStorageSaveData done [03:41:18]OFDSenderStorePacket done [03:41:18]KKMCreateOFDPacket done [03:41:18]NVStorageSaveData kkm_last_timestamp [03:41:18]File name is /storage/kkm_last_timestamp [03:41:18]Write 4 bytes [03:41:18]NVStorageSaveData done [03:41:18]ExternCall_PrintAddStr [03:41:18]wPrintStart [03:41:18]Write to MH i2c: 01 00 00 F9 32 2B [03:41:18]OFD Sender: Processing packet 57014 [packets to send 38, broken 37] [03:41:18]ProducePacketName [03:41:18]name=ofd_packets/00057014 [03:41:18]OFD Sender: To server: pG, [03:41:18]CommunicateWithHost lk.salyk.kg:30040 [03:41:18]ConnectInit lk.salyk.kg [03:41:18]Write i2c OK [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: 01 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: 01 07 00 [03:41:18]MH_I2C_Read... [03:41:18]Read from MH i2c: 01 07 00 F9 32 00 00 00 00 00 FF 0F 40 [03:41:18]RasterBufferAndPrint [03:41:18]line Счет N : (3)129483 [03:41:18]line ИНН: 02508201610067 [03:41:18]line Контрольно-Кассовый Чек [03:41:18]line ПРОДАЖА [03:41:18]line Товар: 4700002083266 [03:41:18]line Водка Атилла Гунн 0,5л [03:41:18]line 1.000 * 450.00 [03:41:18]line = 450.00 [03:41:18]line НДС 12% НСП 1% [03:41:18]line > о реализуемом товаре [03:41:18]line Товар: 4630007401201 [03:41:18]line Семечки соленые ДЖИНН Великан 100гр [03:41:18]line 1.000 * 120.00 [03:41:18]line = 120.00 [03:41:18]line НДС 12% НСП 1% [03:41:18]line > о реализуемом товаре [03:41:18]line ИТОГО: 570.00 [03:41:18]line НСП 1% : 5.04 [03:41:18]line НДС 12% : 60.53 [03:41:18]line Наличными: 570.00 [03:41:18]line Безнал.: 0.00 [03:41:18]line Место: АЗС № 132 "Партнер Нефть" [03:41:18]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:41:18]line СНО: Общий режим [03:41:18]line Чек 31 14.07.2024 03:41 [03:41:18]line Смена: 496 ФФД: 1.0 [03:41:18]line ЗНМ: 0300000132 [03:41:18]line РНМ: 0000000000091208 [03:41:18]line Версия ККМ: 001 [03:41:18]line ФМ: 0000000000874857 [03:41:18]line ФД: 57014 [03:41:18]line ФПД: 134747215300491 [03:41:18]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T034122&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57014&fm=134747215300491&tin=02508201610067®Number=0000000000091208&sum=57000 [03:41:18]line 0 [03:41:18]written 0, free lines is 4095 [03:41:18]Connected sock=10 [03:41:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B3 01 00 00 A0 B7 AB 01 0E 9C 5A 03 01 00 03 00 9F 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 83 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 31 32 30 31 06 04 3F 00 D0 A1 D0 B5 D0 BC D0 B5 D1 87 D0 BA D0 B8 20 D1 81 D0 BE D0 BB D0 B5 D0 BD D1 8B D0 B5 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 FC 03 06 00 A8 DE 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A5 17 00 00 00 00 07 04 06 00 A8 DE 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 E2 48 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B6 DE 00 00 35 04 06 00 7A 8D 47 E7 07 8B 78 AE 8A CD 2D FC AA B5 [03:41:19]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 07 0F 47 00 4E 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 38 37 34 38 35 37 10 04 04 00 B6 DE 00 00 F4 03 04 00 34 EF 92 66 B6 04 01 00 00 0A A0 B6 C3 F2 82 26 B5 [03:41:19]CommunicateWithHost err = 0 [03:41:19]CheckOFDResponse [03:41:19]1017 (14) - 77093643461234 [03:41:19]1041 (16) - 0000000000874857 [03:41:19]1040 (4) - 57014 [03:41:19]1012 (4) - 13.07.2024 21:18 [03:41:19]1206 (1) - 0 [03:41:19]OFD Sender: Remove packet 57014 [03:41:19]ProducePacketName [03:41:19]name=ofd_packets/00057014 [03:41:19]NVStorageDeleteData [03:41:19]Write to MH i2c: 01 00 00 28 33 5B [03:41:19]Write i2c OK [03:41:19]MH_I2C_Read... [03:41:19]Read from MH i2c: 01 [03:41:19]MH_I2C_Read... [03:41:19]Read from MH i2c: 01 07 00 [03:41:19]MH_I2C_Read... [03:41:19]Read from MH i2c: 01 07 00 28 33 00 00 00 00 00 A4 0C 12 [03:41:19]RasterBufferAndPrint [03:41:19]line [03:41:19]line [03:41:19]line [03:41:19]line [03:41:19]line [03:41:19]written 0, free lines is 3242 [03:41:19]MH_Cut [03:41:19]Write to MH i2c: D1 01 00 2F 33 01 34 [03:41:19]Write i2c OK [03:41:19]MH_I2C_Read... [03:41:19]Read from MH i2c: D1 [03:41:19]MH_I2C_Read... [03:41:19]Read from MH i2c: D1 01 00 [03:41:19]MH_I2C_Read... [03:41:19]Read from MH i2c: D1 01 00 2F 33 00 33 [03:41:19]Write to MH i2c: 01 00 00 30 33 63 [03:41:19]Write i2c OK [03:41:19]MH_I2C_Read... [03:41:19]OFD Sender: No OFD packet to send [03:41:19]*** Cut start [03:41:19]*** Partial cut [03:41:19]*** CUTSNS_PIN = 1 [03:41:20]*** CUTSNS_PIN = 0 [03:41:20]*** Brake cut motor [03:41:20]Read from MH i2c: 01 [03:41:20]MH_I2C_Read... [03:41:20]*** Stop cut motor [03:41:20]*** Cut end [03:41:20]Read from MH i2c: 01 07 00 [03:41:20]MH_I2C_Read... [03:41:20]Read from MH i2c: 01 07 00 30 33 00 00 00 00 00 FF 0F 78 [03:41:20]process_action close_receipt done [03:41:20]requested_data is exist [03:41:20]produce_requested_data [03:41:20]requested_item fm.sn is exist - process it [03:41:20]wFMCommunicate request_size=4 [03:41:20]MH_SAM_APDU [03:41:20]CAPDU: 80 11 00 00 [03:41:20]Write to MH i2c: E2 08 00 31 33 80 11 00 00 00 00 00 00 DE [03:41:20]Write i2c OK [03:41:20]MH_I2C_Read... [03:41:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:41:20]Read from MH i2c: E2 [03:41:20]MH_I2C_Read... [03:41:20]Read from MH i2c: E2 17 00 [03:41:20]MH_I2C_Read... [03:41:20]Read from MH i2c: E2 17 00 31 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 38 [03:41:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:41:20]wFMCommunicate OK [03:41:20]requested_item fd.num is exist - process it [03:41:20]SAM_PROTO_GetFieldsCounters [03:41:20]wFMCommunicate request_size=4 [03:41:20]MH_SAM_APDU [03:41:20]CAPDU: 80 13 00 00 [03:41:20]Write to MH i2c: E2 08 00 32 33 80 13 00 00 00 00 00 00 E1 [03:41:20]Write i2c OK [03:41:20]MH_I2C_Read... [03:41:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:41:20]Read from MH i2c: E2 [03:41:20]MH_I2C_Read... [03:41:20]Read from MH i2c: E2 62 00 [03:41:20]MH_I2C_Read... [03:41:20]Read from MH i2c: E2 62 00 32 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B6 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 E6 [03:41:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B6 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 1F 00 00 00 5E 04 04 00 1F 00 00 00 57 04 04 00 20 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:41:20]wFMCommunicate OK [03:41:20]SAM_PROTO_GetFieldsCounters done [03:41:20]requested_item shift.num is exist - process it [03:41:20]requested_item shift.opened is exist - process it [03:41:20]req_shift_opened [03:41:20]FM_GetShiftState [03:41:20]SAM_PROTO_GetShiftState [03:41:20]wFMCommunicate request_size=4 [03:41:20]MH_SAM_APDU [03:41:20]CAPDU: 80 13 01 00 [03:41:20]Write to MH i2c: E2 08 00 33 33 80 13 01 00 00 00 00 00 E3 [03:41:20]Write i2c OK [03:41:20]MH_I2C_Read... [03:41:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:41:20]Read from MH i2c: E2 [03:41:20]MH_I2C_Read... [03:41:20]Read from MH i2c: E2 0E 00 [03:41:20]MH_I2C_Read... [03:41:20]Read from MH i2c: E2 0E 00 33 33 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 8A [03:41:20]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:41:20]wFMCommunicate OK [03:41:20]SAM_PROTO_GetShiftState done [03:41:20]FM_GetShiftState done [03:41:20]req_shift_opened done [03:41:20]requested_item shift.open_date is exist - process it [03:41:20]req_shift_open_date [03:41:20]req_shift_open_date done [03:41:20]requested_item shift.sale.total is exist - process it [03:41:20]SAM_PROTO_GetShiftData [03:41:20]wFMCommunicate request_size=4 [03:41:20]MH_SAM_APDU [03:41:20]CAPDU: 80 13 02 00 [03:41:20]Write to MH i2c: E2 08 00 34 33 80 13 02 00 00 00 00 00 E5 [03:41:20]Write i2c OK [03:41:20]MH_I2C_Read... [03:41:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:41:21]Read from MH i2c: E2 [03:41:21]MH_I2C_Read... [03:41:21]Read from MH i2c: E2 FD 00 [03:41:21]MH_I2C_Read... [03:41:21]Read from MH i2c: E2 FD 00 34 33 00 BB 04 AA 04 B7 04 6E 04 04 00 1F 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 00 C0 12 70 04 03 00 08 8E 0F 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B8 FD 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 75 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 92 [03:41:21]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 1F 00 00 00 69 04 9B 00 6F 04 04 00 1D 00 00 00 B1 04 03 00 00 C0 12 70 04 03 00 08 8E 0F 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B8 FD 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 75 2A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [03:41:21]wFMCommunicate OK [03:41:21]wFMCommunicate request_size=4 [03:41:21]MH_SAM_APDU [03:41:21]CAPDU: 80 17 00 00 [03:41:21]Write to MH i2c: E2 08 00 35 33 80 17 00 00 00 00 00 00 E8 [03:41:21]Write i2c OK [03:41:21]MH_I2C_Read... [03:41:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:41:21]Read from MH i2c: E2 [03:41:21]MH_I2C_Read... [03:41:21]Read from MH i2c: E2 FD 00 [03:41:21]MH_I2C_Read... [03:41:21]Read from MH i2c: E2 FD 00 35 33 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7B [03:41:21]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:41:21]wFMCommunicate OK [03:41:21]wFMCommunicate request_size=4 [03:41:21]MH_SAM_APDU [03:41:21]CAPDU: 80 17 00 00 [03:41:21]Write to MH i2c: E2 08 00 36 33 80 17 00 00 00 00 00 00 E9 [03:41:21]Write i2c OK [03:41:21]MH_I2C_Read... [03:41:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:41:21]Read from MH i2c: E2 [03:41:21]MH_I2C_Read... [03:41:21]Read from MH i2c: E2 FD 00 [03:41:21]MH_I2C_Read... [03:41:21]Read from MH i2c: E2 FD 00 36 33 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 15 [03:41:21]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:41:21]wFMCommunicate OK [03:41:21]wFMCommunicate request_size=4 [03:41:21]MH_SAM_APDU [03:41:21]CAPDU: 80 17 00 00 [03:41:21]Write to MH i2c: E2 08 00 37 33 80 17 00 00 00 00 00 00 EA [03:41:21]Write i2c OK [03:41:21]MH_I2C_Read... [03:41:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:41:22]Read from MH i2c: E2 [03:41:22]MH_I2C_Read... [03:41:22]Read from MH i2c: E2 FD 00 [03:41:22]MH_I2C_Read... [03:41:22]Read from MH i2c: E2 FD 00 37 33 00 00 00 EF 03 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 90 00 5F [03:41:22]RAPDU: 00 00 EF 03 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 90 00 [03:41:22]wFMCommunicate OK [03:41:22]wFMCommunicate request_size=4 [03:41:22]MH_SAM_APDU [03:41:22]CAPDU: 80 17 00 00 [03:41:22]Write to MH i2c: E2 08 00 38 33 80 17 00 00 00 00 00 00 EB [03:41:22]Write i2c OK [03:41:22]MH_I2C_Read... [03:41:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [03:41:22]Read from MH i2c: E2 [03:41:22]MH_I2C_Read... [03:41:22]Read from MH i2c: E2 D8 00 [03:41:22]MH_I2C_Read... [03:41:22]Read from MH i2c: E2 D8 00 38 33 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 D2 [03:41:22]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:41:22]wFMCommunicate OK [03:41:22]SAM_PROTO_GetShiftData done [03:41:22]requested_item shift.sale.total_cash is exist - process it [03:41:22]requested_item shift.sale_refund.total is exist - process it [03:41:22]requested_item shift.sale_refund.total_cash is exist - process it [03:41:22]produce_requested_data done [03:41:22]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57014,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":12288.00,"shift.sale.total_cash":10194.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [03:41:22]process_action_free close_receipt [03:41:22]json_value_free [03:41:22]json_value_free done [03:41:22]process_json_proto returns [03:41:22]Send response to host [03:41:22]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57014,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":12288.00,"shift.sale.total_cash":10194.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [03:41:22]free response buf [03:41:22]execute_script done [03:41:22]execute_script returns [03:41:22]free content buf [03:41:22]Sock 9.Close socket [03:41:22]Sock 9.Thread stoped [03:41:24]OFD Sender: No OFD packet to send [03:41:29]OFD Sender: No OFD packet to send [03:41:34]OFD Sender: No OFD packet to send [03:41:39]OFD Sender: No OFD packet to send [03:41:44]OFD Sender: No OFD packet to send [03:41:49]OFD Sender: No OFD packet to send [03:41:54]OFD Sender: No OFD packet to send [03:41:59]OFD Sender: No OFD packet to send [03:42:04]OFD Sender: No OFD packet to send [03:42:09]OFD Sender: No OFD packet to send [03:42:14]OFD Sender: No OFD packet to send [03:42:19]OFD Sender: No OFD packet to send [03:42:24]OFD Sender: No OFD packet to send [03:42:29]OFD Sender: No OFD packet to send [03:42:34]OFD Sender: No OFD packet to send [03:42:39]OFD Sender: No OFD packet to send [03:42:44]OFD Sender: No OFD packet to send [03:42:49]OFD Sender: No OFD packet to send [03:42:54]OFD Sender: No OFD packet to send [03:42:59]OFD Sender: No OFD packet to send [03:43:04]OFD Sender: No OFD packet to send [03:43:09]OFD Sender: No OFD packet to send [03:43:14]OFD Sender: No OFD packet to send [03:43:19]OFD Sender: No OFD packet to send [03:43:24]OFD Sender: No OFD packet to send [03:43:29]OFD Sender: No OFD packet to send [03:43:34]OFD Sender: No OFD packet to send [03:43:39]OFD Sender: No OFD packet to send [03:43:44]OFD Sender: No OFD packet to send [03:43:49]OFD Sender: No OFD packet to send [03:43:54]OFD Sender: No OFD packet to send [03:43:59]OFD Sender: No OFD packet to send [03:44:04]OFD Sender: No OFD packet to send [03:44:09]OFD Sender: No OFD packet to send [03:44:14]OFD Sender: No OFD packet to send [03:44:19]OFD Sender: No OFD packet to send [03:44:24]OFD Sender: No OFD packet to send [03:44:29]OFD Sender: No OFD packet to send [03:44:34]OFD Sender: No OFD packet to send [03:44:39]OFD Sender: No OFD packet to send [03:44:44]OFD Sender: No OFD packet to send [03:44:49]OFD Sender: No OFD packet to send [03:44:54]OFD Sender: No OFD packet to send [03:44:59]OFD Sender: No OFD packet to send [03:45:04]OFD Sender: No OFD packet to send [03:45:09]OFD Sender: No OFD packet to send [03:45:14]OFD Sender: No OFD packet to send [03:45:19]OFD Sender: No OFD packet to send [03:45:24]OFD Sender: No OFD packet to send [03:45:29]OFD Sender: No OFD packet to send [03:45:34]OFD Sender: No OFD packet to send [03:45:39]OFD Sender: No OFD packet to send [03:45:44]OFD Sender: No OFD packet to send [03:45:49]OFD Sender: No OFD packet to send [03:45:54]OFD Sender: No OFD packet to send [03:45:59]OFD Sender: No OFD packet to send [03:46:04]OFD Sender: No OFD packet to send [03:46:09]OFD Sender: No OFD packet to send [03:46:14]OFD Sender: No OFD packet to send [03:46:19]OFD Sender: No OFD packet to send [03:46:24]OFD Sender: No OFD packet to send [03:46:29]OFD Sender: No OFD packet to send [03:46:34]OFD Sender: No OFD packet to send [03:46:39]OFD Sender: No OFD packet to send [03:46:44]OFD Sender: No OFD packet to send [03:46:49]OFD Sender: No OFD packet to send [03:46:54]OFD Sender: No OFD packet to send [03:46:59]OFD Sender: No OFD packet to send [03:47:04]OFD Sender: No OFD packet to send [03:47:09]OFD Sender: No OFD packet to send [03:47:14]OFD Sender: No OFD packet to send [03:47:19]OFD Sender: No OFD packet to send [03:47:24]OFD Sender: No OFD packet to send [03:47:29]OFD Sender: No OFD packet to send [03:47:34]OFD Sender: No OFD packet to send [03:47:39]OFD Sender: No OFD packet to send [03:47:44]OFD Sender: No OFD packet to send [03:47:49]OFD Sender: No OFD packet to send [03:47:54]OFD Sender: No OFD packet to send [03:47:59]OFD Sender: No OFD packet to send [03:48:04]OFD Sender: No OFD packet to send [03:48:09]OFD Sender: No OFD packet to send [03:48:14]OFD Sender: No OFD packet to send [03:48:19]OFD Sender: No OFD packet to send [03:48:24]OFD Sender: No OFD packet to send [03:48:29]OFD Sender: No OFD packet to send [03:48:34]OFD Sender: No OFD packet to send [03:48:39]OFD Sender: No OFD packet to send [03:48:44]OFD Sender: No OFD packet to send [03:48:49]OFD Sender: No OFD packet to send [03:48:54]OFD Sender: No OFD packet to send [03:48:59]OFD Sender: No OFD packet to send [03:49:04]OFD Sender: No OFD packet to send [03:49:09]OFD Sender: No OFD packet to send [03:49:14]OFD Sender: No OFD packet to send [03:49:19]OFD Sender: No OFD packet to send [03:49:24]OFD Sender: No OFD packet to send [03:49:29]OFD Sender: No OFD packet to send [03:49:35]OFD Sender: No OFD packet to send [03:49:40]OFD Sender: No OFD packet to send [03:49:45]OFD Sender: No OFD packet to send [03:49:50]OFD Sender: No OFD packet to send [03:49:55]OFD Sender: No OFD packet to send [03:50:00]OFD Sender: No OFD packet to send [03:50:05]OFD Sender: No OFD packet to send [03:50:10]OFD Sender: No OFD packet to send [03:50:15]OFD Sender: No OFD packet to send [03:50:20]OFD Sender: No OFD packet to send [03:50:25]OFD Sender: No OFD packet to send [03:50:30]OFD Sender: No OFD packet to send [03:50:35]OFD Sender: No OFD packet to send [03:50:40]OFD Sender: No OFD packet to send [03:50:45]OFD Sender: No OFD packet to send [03:50:50]OFD Sender: No OFD packet to send [03:50:55]OFD Sender: No OFD packet to send [03:51:00]OFD Sender: No OFD packet to send [03:51:05]OFD Sender: No OFD packet to send [03:51:10]OFD Sender: No OFD packet to send [03:51:15]OFD Sender: No OFD packet to send [03:51:20]OFD Sender: No OFD packet to send [03:51:25]OFD Sender: No OFD packet to send [03:51:30]OFD Sender: No OFD packet to send [03:51:35]OFD Sender: No OFD packet to send [03:51:40]OFD Sender: No OFD packet to send [03:51:45]OFD Sender: No OFD packet to send [03:51:50]OFD Sender: No OFD packet to send [03:51:55]OFD Sender: No OFD packet to send [03:52:00]OFD Sender: No OFD packet to send [03:52:05]OFD Sender: No OFD packet to send [03:52:10]OFD Sender: No OFD packet to send [03:52:15]OFD Sender: No OFD packet to send [03:52:20]OFD Sender: No OFD packet to send [03:52:25]OFD Sender: No OFD packet to send [03:52:30]OFD Sender: No OFD packet to send [03:52:35]OFD Sender: No OFD packet to send [03:52:40]OFD Sender: No OFD packet to send [03:52:45]OFD Sender: No OFD packet to send [03:52:50]OFD Sender: No OFD packet to send [03:52:55]OFD Sender: No OFD packet to send [03:53:00]OFD Sender: No OFD packet to send [03:53:05]OFD Sender: No OFD packet to send [03:53:10]OFD Sender: No OFD packet to send [03:53:15]OFD Sender: No OFD packet to send [03:53:20]OFD Sender: No OFD packet to send [03:53:25]OFD Sender: No OFD packet to send [03:53:30]OFD Sender: No OFD packet to send [03:53:35]OFD Sender: No OFD packet to send [03:53:40]OFD Sender: No OFD packet to send [03:53:45]OFD Sender: No OFD packet to send [03:53:50]OFD Sender: No OFD packet to send [03:53:55]OFD Sender: No OFD packet to send [03:54:00]OFD Sender: No OFD packet to send [03:54:05]OFD Sender: No OFD packet to send [03:54:10]OFD Sender: No OFD packet to send [03:54:15]OFD Sender: No OFD packet to send [03:54:20]OFD Sender: No OFD packet to send [03:54:25]OFD Sender: No OFD packet to send [03:54:30]OFD Sender: No OFD packet to send [03:54:35]OFD Sender: No OFD packet to send [03:54:40]OFD Sender: No OFD packet to send [03:54:45]OFD Sender: No OFD packet to send [03:54:50]OFD Sender: No OFD packet to send [03:54:55]OFD Sender: No OFD packet to send [03:55:00]OFD Sender: No OFD packet to send [03:55:05]OFD Sender: No OFD packet to send [03:55:10]OFD Sender: No OFD packet to send [03:55:15]OFD Sender: No OFD packet to send [03:55:20]OFD Sender: No OFD packet to send [03:55:25]OFD Sender: No OFD packet to send [03:55:26]accept exits with 8 [03:55:26]New connection [03:55:26]New thread 3067129188 created [03:55:26]Thread 3067272548 joined [03:55:26]Waiting for new connection... [03:55:26] Sock 8.Parse request [03:55:26]Sock 8.Check first char [03:55:26]Sock 8.First char is OK [03:55:26]request: POST /json_proto HTTP/1.0 [03:55:26]Method: POST [03:55:26]URL: /json_proto [03:55:26]Method is POST - this is cgi request [03:55:26]url: /json_proto [03:55:26]query_string will be loaded in cgi processing [03:55:26]execute_cgi json_proto POST (null) [03:55:26]execute_cgi path=json_proto method=POST [03:55:26]POST find Content-Length [03:55:26]Host: 172.17.39.4:8080 [03:55:26]Content-Length: 1257 [03:55:26]Content-Type: application/json [03:55:26] [03:55:26]POST finish read [03:55:26]Found Content-Length = 1257 [03:55:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129484", "tax_sys" : 0, "items" : [ { "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": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681079", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u043B\u0430\u0434\u043A\u0438\u0439 \u0447\u0438\u043B\u0438 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 740.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:55:26]execute_script... [03:55: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)129484", "tax_sys" : 0, "items" : [ { "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": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681079", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u043B\u0430\u0434\u043A\u0438\u0439 \u0447\u0438\u043B\u0438 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 740.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:55:26]POST & json_proto [03:55:26]process_json_proto [03:55:26]json parsed OK: [03:55:26]protocol is kg_v1.0 [03:55:26]action value=close_receipt [03:55:26]process_action close_receipt [03:55:26]cmd_close_receipt [03:55:26]MH_GetDate [03:55:26]Write to MH i2c: F0 00 00 39 33 5B [03:55:26]Write i2c OK [03:55:26]MH_I2C_Read... [03:55:26]Read from MH i2c: F0 [03:55:26]MH_I2C_Read... [03:55:26]Read from MH i2c: F0 09 00 [03:55:26]MH_I2C_Read... [03:55:26]Read from MH i2c: F0 09 00 39 33 00 34 4C 93 66 2D 25 5D 64 F0 [03:55:26]GetLastDocTimeStamp 1720928482 [03:55:26]current date 1720929332 [03:55:26]FM_GetShiftState [03:55:26]SAM_PROTO_GetShiftState [03:55:26]wFMCommunicate request_size=4 [03:55:26]MH_SAM_APDU [03:55:26]CAPDU: 80 13 01 00 [03:55:26]Write to MH i2c: E2 08 00 3A 33 80 13 01 00 00 00 00 00 EA [03:55:26]Write i2c OK [03:55:26]MH_I2C_Read... [03:55:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:55:26]Read from MH i2c: E2 [03:55:26]MH_I2C_Read... [03:55:26]Read from MH i2c: E2 0E 00 [03:55:26]MH_I2C_Read... [03:55:26]Read from MH i2c: E2 0E 00 3A 33 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 91 [03:55:26]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:55:26]wFMCommunicate OK [03:55:26]SAM_PROTO_GetShiftState done [03:55:26]FM_GetShiftState done [03:55:26]opened in 1720917126 [03:55:26]opened+sec_in_day 1721003526 [03:55:26]quantity*price = 51000 [03:55:26]sum+1 = 51001 [03:55:26]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870235681079 Grizzly волнистые Сладкий чили 55 гр 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 740.00 НСП 1% : 6.55 НДС 12% : 78.59 Наличными: 740.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 32 14.07.2024 03:55 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57015 ФПД: 61945628694715 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T035532&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57015&fm=61945628694715&tin=02508201610067®Number=0000000000091208&sum=74000 0 [03:55:27]StoreToDocumentArchive [03:55:27]shift 496 fd 57015 [03:55:27]save to /storage/0496/doc_00057015 [03:55:27]save last doc name /storage/0496/doc_00057015 to /storage/kkm_last_doc_name [03:55:27]save OK [03:55:27]Clear old archive folders... [03:55:27]ProcessDocumentItem done err = 0, tmpTLVsize=495 [03:55:27]tlvbuf is 01D0B520 [03:55:27]SAM_PROTO_ClearQueue [03:55:27]wFMCommunicate request_size=4 [03:55:27]MH_SAM_APDU [03:55:27]CAPDU: 80 09 00 00 [03:55:27]Write to MH i2c: E2 08 00 47 33 80 09 00 00 00 00 00 00 EC [03:55:27]Write i2c OK [03:55:27]MH_I2C_Read... [03:55:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:55:27]Read from MH i2c: E2 [03:55:27]MH_I2C_Read... [03:55:27]Read from MH i2c: E2 03 00 [03:55:27]MH_I2C_Read... [03:55:27]Read from MH i2c: E2 03 00 47 33 00 90 00 EE [03:55:27]RAPDU: 90 00 [03:55:27]wFMCommunicate OK [03:55:27]SAM_PROTO_ClearQueue done [03:55:27]KKMCreateOFDPacket [03:55:27]OFDProtocolAddRootSTLVToBuf [03:55:27]FM_MakeSignedData [03:55:27]FM_MakeSignedData [03:55:27]SAM_PROTO_SignData [03:55:27]wFMCommunicate request_size=4 [03:55:27]MH_SAM_APDU [03:55:27]CAPDU: 80 0D 01 02 [03:55:27]Write to MH i2c: E2 08 00 48 33 80 0D 01 02 00 00 00 00 F4 [03:55:27]Write i2c OK [03:55:27]MH_I2C_Read... [03:55:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:55:27]Read from MH i2c: E2 [03:55:27]MH_I2C_Read... [03:55:27]Read from MH i2c: E2 03 00 [03:55:27]MH_I2C_Read... [03:55:27]Read from MH i2c: E2 03 00 48 33 00 90 00 EF [03:55:27]RAPDU: 90 00 [03:55:27]wFMCommunicate OK [03:55:27]wFMCommunicate request_size=255 [03:55:27]MH_SAM_APDU [03:55:27]CAPDU: 80 0D 02 02 FA 03 00 EF 01 1E 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 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 [03:55:28]Write to MH i2c: E2 02 01 49 33 80 0D 02 02 FA 00 03 00 EF 01 1E 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 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 00 00 B5 [03:55:28]Write i2c OK [03:55:28]MH_I2C_Read... [03:55:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:55:28]Read from MH i2c: E2 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: E2 03 00 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: E2 03 00 49 33 00 90 00 F0 [03:55:28]RAPDU: 90 00 [03:55:28]wFMCommunicate OK [03:55:28]wFMCommunicate request_size=254 [03:55:28]MH_SAM_APDU [03:55:28]CAPDU: 80 0D 02 02 F9 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 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 10 21 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 1E 00 00 00 00 07 04 06 00 10 21 01 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 34 4C 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DE 00 00 35 04 06 00 38 56 D7 31 98 BB [03:55:28]Write to MH i2c: E2 01 01 4A 33 80 0D 02 02 F9 00 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 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 10 21 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 1E 00 00 00 00 07 04 06 00 10 21 01 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 34 4C 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DE 00 00 35 04 06 00 38 56 D7 31 98 BB 00 00 4B [03:55:28]Write i2c OK [03:55:28]MH_I2C_Read... [03:55:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:55:28]Read from MH i2c: E2 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: E2 03 00 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: E2 03 00 4A 33 00 90 00 F1 [03:55:28]RAPDU: 90 00 [03:55:28]wFMCommunicate OK [03:55:28]wFMCommunicate request_size=4 [03:55:28]MH_SAM_APDU [03:55:28]CAPDU: 80 0D 03 02 [03:55:28]Write to MH i2c: E2 08 00 4B 33 80 0D 03 02 00 00 00 00 F9 [03:55:28]Write i2c OK [03:55:28]MH_I2C_Read... [03:55:28]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:55:28]Read from MH i2c: E2 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: E2 0B 00 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: E2 0B 00 4B 33 00 6B BA 3B 93 1B BD D8 B5 90 00 52 [03:55:28]RAPDU: 6B BA 3B 93 1B BD D8 B5 90 00 [03:55:28]wFMCommunicate OK [03:55:28]SAM_PROTO_SignData done [03:55:28]FM_MakeSignedData done [03:55:28]CreateOFDProtocolMessage [03:55:28]wFMCommunicate request_size=4 [03:55:28]MH_SAM_APDU [03:55:28]CAPDU: 80 11 00 00 [03:55:28]Write to MH i2c: E2 08 00 4C 33 80 11 00 00 00 00 00 00 F9 [03:55:28]Write i2c OK [03:55:28]MH_I2C_Read... [03:55:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:55:28]Read from MH i2c: E2 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: E2 17 00 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: E2 17 00 4C 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 53 [03:55:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:55:28]wFMCommunicate OK [03:55:28]CreateOFDProtocolMessage done [03:55:28]OFDSenderStorePacket 57015 [03:55:28]StoreOFDPacket docnum=57015 [03:55:28]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 03 02 00 00 83 74 FB 01 8E 62 5A 03 01 00 03 00 EF 01 1E 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 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 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 10 21 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 1E 00 00 00 00 07 04 06 00 10 21 01 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 34 4C 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DE 00 00 35 04 06 00 38 56 D7 31 98 BB 6B BA 3B 93 1B BD D8 B5 [03:55:28]CheckFolder [03:55:28]dirname=/storage/ofd_packets [03:55:28]CheckFolder done [03:55:28]ProducePacketName [03:55:28]name=ofd_packets/00057015 [03:55:28]NVStorageSaveData ofd_packets/00057015 [03:55:28]File name is /storage/ofd_packets/00057015 [03:55:28]Write 545 bytes [03:55:28]NVStorageSaveData done [03:55:28]OFDSenderStorePacket done [03:55:28]KKMCreateOFDPacket done [03:55:28]NVStorageSaveData kkm_last_timestamp [03:55:28]File name is /storage/kkm_last_timestamp [03:55:28]Write 4 bytes [03:55:28]NVStorageSaveData done [03:55:28]ExternCall_PrintAddStr [03:55:28]wPrintStart [03:55:28]Write to MH i2c: 01 00 00 4D 33 80 [03:55:28]Write i2c OK [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: 01 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: 01 07 00 [03:55:28]MH_I2C_Read... [03:55:28]Read from MH i2c: 01 07 00 4D 33 00 00 00 00 00 FF 0F 95 [03:55:28]RasterBufferAndPrint [03:55:28]line Счет N : (3)129484 [03:55:28]line ИНН: 02508201610067 [03:55:28]line Контрольно-Кассовый Чек [03:55:28]line ПРОДАЖА [03:55:28]line Товар: 4700002083327 [03:55:28]line Водка Level 0,5 [03:55:28]line 1.000 * 510.00 [03:55:28]line = 510.00 [03:55:28]line НДС 12% НСП 1% [03:55:28]line > о реализуемом товаре [03:55:28]line Товар: 48747059 [03:55:28]line Сигареты Winston Legend Blue [03:55:28]line 1.000 * 140.00 [03:55:28]line = 140.00 [03:55:28]line НДС 12% НСП 1% [03:55:28]line > о реализуемом товаре [03:55:28]line Товар: 4870235681079 [03:55:28]line Grizzly волнистые Сладкий чили 55 гр [03:55:28]line 1.000 * 90.00 [03:55:28]line = 90.00 [03:55:28]line НДС 12% НСП 1% [03:55:28]line > о реализуемом товаре [03:55:28]line ИТОГО: 740.00 [03:55:28]line НСП 1% : 6.55 [03:55:28]line НДС 12% : 78.59 [03:55:28]line Наличными: 740.00 [03:55:28]line Безнал.: 0.00 [03:55:28]line Место: АЗС № 132 "Партнер Нефть" [03:55:28]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:55:28]line СНО: Общий режим [03:55:28]line Чек 32 14.07.2024 03:55 [03:55:28]line Смена: 496 ФФД: 1.0 [03:55:28]line ЗНМ: 0300000132 [03:55:28]line РНМ: 0000000000091208 [03:55:28]line Версия ККМ: 001 [03:55:28]line ФМ: 0000000000874857 [03:55:28]line ФД: 57015 [03:55:28]line ФПД: 61945628694715 [03:55:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T035532&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57015&fm=61945628694715&tin=02508201610067®Number=0000000000091208&sum=74000 [03:55:28]line 0 [03:55:28]written 0, free lines is 4095 [03:55:29]OFD Sender: Processing packet 57015 [packets to send 38, broken 37] [03:55:29]ProducePacketName [03:55:29]name=ofd_packets/00057015 [03:55:29]OFD Sender: To server: pG, [03:55:29]CommunicateWithHost lk.salyk.kg:30040 [03:55:29]ConnectInit lk.salyk.kg [03:55:29]Connected sock=10 [03:55:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 03 02 00 00 83 74 FB 01 8E 62 5A 03 01 00 03 00 EF 01 1E 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 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 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 10 21 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8F 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B3 1E 00 00 00 00 07 04 06 00 10 21 01 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 34 4C 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DE 00 00 35 04 06 00 38 56 D7 31 98 BB 6B BA 3B 93 1B BD D8 B5 [03:55:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 48 DA 47 00 E7 08 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B7 DE 00 00 F4 03 04 00 87 F2 92 66 B6 04 01 00 00 41 A0 31 C6 AF F6 B5 DE [03:55:29]CommunicateWithHost err = 0 [03:55:29]CheckOFDResponse [03:55:29]1017 (14) - 77093643461234 [03:55:29]1041 (16) - 0000000000874857 [03:55:29]1040 (4) - 57015 [03:55:29]1012 (4) - 13.07.2024 21:32 [03:55:29]1206 (1) - 0 [03:55:29]OFD Sender: Remove packet 57015 [03:55:29]ProducePacketName [03:55:29]name=ofd_packets/00057015 [03:55:29]NVStorageDeleteData [03:55:29]Write to MH i2c: 01 00 00 83 33 B6 [03:55:29]Write i2c OK [03:55:29]MH_I2C_Read... [03:55:29]Read from MH i2c: 01 [03:55:29]MH_I2C_Read... [03:55:29]Read from MH i2c: 01 07 00 [03:55:29]MH_I2C_Read... [03:55:29]Read from MH i2c: 01 07 00 83 33 00 00 00 00 00 25 0C EE [03:55:29]RasterBufferAndPrint [03:55:29]line [03:55:29]line [03:55:29]line [03:55:29]line [03:55:29]line [03:55:29]written 0, free lines is 3115 [03:55:29]MH_Cut [03:55:29]Write to MH i2c: D1 01 00 8A 33 01 8F [03:55:29]Write i2c OK [03:55:29]MH_I2C_Read... [03:55:29]Read from MH i2c: D1 [03:55:29]MH_I2C_Read... [03:55:29]Read from MH i2c: D1 01 00 [03:55:29]MH_I2C_Read... [03:55:29]Read from MH i2c: D1 01 00 8A 33 00 8E [03:55:29]Write to MH i2c: 01 00 00 8B 33 BE [03:55:29]Write i2c OK [03:55:29]MH_I2C_Read... [03:55:29]OFD Sender: No OFD packet to send [03:55:30]*** Cut start [03:55:30]*** Partial cut [03:55:30]*** CUTSNS_PIN = 1 [03:55:30]*** CUTSNS_PIN = 0 [03:55:30]*** Brake cut motor [03:55:31]Read from MH i2c: 01 [03:55:31]MH_I2C_Read... [03:55:31]*** Stop cut motor [03:55:31]*** Cut end [03:55:31]Read from MH i2c: 01 07 00 [03:55:31]MH_I2C_Read... [03:55:31]Read from MH i2c: 01 07 00 8B 33 00 00 00 00 00 FF 0F D3 [03:55:31]process_action close_receipt done [03:55:31]requested_data is exist [03:55:31]produce_requested_data [03:55:31]requested_item fm.sn is exist - process it [03:55:31]wFMCommunicate request_size=4 [03:55:31]MH_SAM_APDU [03:55:31]CAPDU: 80 11 00 00 [03:55:31]Write to MH i2c: E2 08 00 8C 33 80 11 00 00 00 00 00 00 39 [03:55:31]Write i2c OK [03:55:31]MH_I2C_Read... [03:55:31]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:55:31]Read from MH i2c: E2 [03:55:31]MH_I2C_Read... [03:55:31]Read from MH i2c: E2 17 00 [03:55:31]MH_I2C_Read... [03:55:31]Read from MH i2c: E2 17 00 8C 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 93 [03:55:31]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:55:31]wFMCommunicate OK [03:55:31]requested_item fd.num is exist - process it [03:55:31]SAM_PROTO_GetFieldsCounters [03:55:31]wFMCommunicate request_size=4 [03:55:31]MH_SAM_APDU [03:55:31]CAPDU: 80 13 00 00 [03:55:31]Write to MH i2c: E2 08 00 8D 33 80 13 00 00 00 00 00 00 3C [03:55:31]Write i2c OK [03:55:31]MH_I2C_Read... [03:55:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:55:31]Read from MH i2c: E2 [03:55:31]MH_I2C_Read... [03:55:31]Read from MH i2c: E2 62 00 [03:55:31]MH_I2C_Read... [03:55:31]Read from MH i2c: E2 62 00 8D 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B7 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [03:55:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B7 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 20 00 00 00 5E 04 04 00 20 00 00 00 57 04 04 00 21 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:55:31]wFMCommunicate OK [03:55:31]SAM_PROTO_GetFieldsCounters done [03:55:31]requested_item shift.num is exist - process it [03:55:31]requested_item shift.opened is exist - process it [03:55:31]req_shift_opened [03:55:31]FM_GetShiftState [03:55:31]SAM_PROTO_GetShiftState [03:55:31]wFMCommunicate request_size=4 [03:55:31]MH_SAM_APDU [03:55:31]CAPDU: 80 13 01 00 [03:55:31]Write to MH i2c: E2 08 00 8E 33 80 13 01 00 00 00 00 00 3E [03:55:31]Write i2c OK [03:55:31]MH_I2C_Read... [03:55:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:55:31]Read from MH i2c: E2 [03:55:31]MH_I2C_Read... [03:55:31]Read from MH i2c: E2 0E 00 [03:55:31]MH_I2C_Read... [03:55:31]Read from MH i2c: E2 0E 00 8E 33 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 E5 [03:55:31]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [03:55:31]wFMCommunicate OK [03:55:31]SAM_PROTO_GetShiftState done [03:55:31]FM_GetShiftState done [03:55:31]req_shift_opened done [03:55:31]requested_item shift.open_date is exist - process it [03:55:31]req_shift_open_date [03:55:31]req_shift_open_date done [03:55:31]requested_item shift.sale.total is exist - process it [03:55:31]SAM_PROTO_GetShiftData [03:55:31]wFMCommunicate request_size=4 [03:55:31]MH_SAM_APDU [03:55:31]CAPDU: 80 13 02 00 [03:55:31]Write to MH i2c: E2 08 00 8F 33 80 13 02 00 00 00 00 00 40 [03:55:31]Write i2c OK [03:55:31]MH_I2C_Read... [03:55:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:55:31]Read from MH i2c: E2 [03:55:31]MH_I2C_Read... [03:55:31]Read from MH i2c: E2 FD 00 [03:55:31]MH_I2C_Read... [03:55:31]Read from MH i2c: E2 FD 00 8F 33 00 BB 04 AA 04 B7 04 6E 04 04 00 20 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 10 E1 13 70 04 03 00 18 AF 10 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 1C 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 04 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 B8 [03:55:31]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 20 00 00 00 69 04 9B 00 6F 04 04 00 1E 00 00 00 B1 04 03 00 10 E1 13 70 04 03 00 18 AF 10 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 6B 1C 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 04 2D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [03:55:31]wFMCommunicate OK [03:55:31]wFMCommunicate request_size=4 [03:55:31]MH_SAM_APDU [03:55:31]CAPDU: 80 17 00 00 [03:55:31]Write to MH i2c: E2 08 00 90 33 80 17 00 00 00 00 00 00 43 [03:55:31]Write i2c OK [03:55:31]MH_I2C_Read... [03:55:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:55:32]Read from MH i2c: E2 [03:55:32]MH_I2C_Read... [03:55:32]Read from MH i2c: E2 FD 00 [03:55:32]MH_I2C_Read... [03:55:32]Read from MH i2c: E2 FD 00 90 33 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D6 [03:55:32]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:55:32]wFMCommunicate OK [03:55:32]wFMCommunicate request_size=4 [03:55:32]MH_SAM_APDU [03:55:32]CAPDU: 80 17 00 00 [03:55:32]Write to MH i2c: E2 08 00 91 33 80 17 00 00 00 00 00 00 44 [03:55:32]Write i2c OK [03:55:32]MH_I2C_Read... [03:55:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:55:32]Read from MH i2c: E2 [03:55:32]MH_I2C_Read... [03:55:32]Read from MH i2c: E2 FD 00 [03:55:32]MH_I2C_Read... [03:55:32]Read from MH i2c: E2 FD 00 91 33 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 70 [03:55:32]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:55:32]wFMCommunicate OK [03:55:32]wFMCommunicate request_size=4 [03:55:32]MH_SAM_APDU [03:55:32]CAPDU: 80 17 00 00 [03:55:32]Write to MH i2c: E2 08 00 92 33 80 17 00 00 00 00 00 00 45 [03:55:32]Write i2c OK [03:55:32]MH_I2C_Read... [03:55:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:55:32]Read from MH i2c: E2 [03:55:32]MH_I2C_Read... [03:55:32]Read from MH i2c: E2 FD 00 [03:55:32]MH_I2C_Read... [03:55:32]Read from MH i2c: E2 FD 00 92 33 00 00 00 EF 03 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 90 00 BA [03:55:32]RAPDU: 00 00 EF 03 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 90 00 [03:55:32]wFMCommunicate OK [03:55:32]wFMCommunicate request_size=4 [03:55:32]MH_SAM_APDU [03:55:32]CAPDU: 80 17 00 00 [03:55:32]Write to MH i2c: E2 08 00 93 33 80 17 00 00 00 00 00 00 46 [03:55:32]Write i2c OK [03:55:32]MH_I2C_Read... [03:55:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [03:55:33]Read from MH i2c: E2 [03:55:33]MH_I2C_Read... [03:55:33]Read from MH i2c: E2 D8 00 [03:55:33]MH_I2C_Read... [03:55:33]Read from MH i2c: E2 D8 00 93 33 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [03:55:33]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:55:33]wFMCommunicate OK [03:55:33]SAM_PROTO_GetShiftData done [03:55:33]requested_item shift.sale.total_cash is exist - process it [03:55:33]requested_item shift.sale_refund.total is exist - process it [03:55:33]requested_item shift.sale_refund.total_cash is exist - process it [03:55:33]produce_requested_data done [03:55:33]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57015,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":13028.00,"shift.sale.total_cash":10934.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [03:55:33]process_action_free close_receipt [03:55:33]json_value_free [03:55:33]json_value_free done [03:55:33]process_json_proto returns [03:55:33]Send response to host [03:55:33]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57015,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":13028.00,"shift.sale.total_cash":10934.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [03:55:33]free response buf [03:55:33]execute_script done [03:55:33]execute_script returns [03:55:33]free content buf [03:55:33]Sock 8.Close socket [03:55:33]Sock 8.Thread stoped [03:55:34]OFD Sender: No OFD packet to send [03:55:39]OFD Sender: No OFD packet to send [03:55:44]OFD Sender: No OFD packet to send [03:55:49]OFD Sender: No OFD packet to send [03:55:54]OFD Sender: No OFD packet to send [03:55:59]OFD Sender: No OFD packet to send [03:56:04]OFD Sender: No OFD packet to send [03:56:09]OFD Sender: No OFD packet to send [03:56:14]OFD Sender: No OFD packet to send [03:56:19]OFD Sender: No OFD packet to send [03:56:24]OFD Sender: No OFD packet to send [03:56:29]OFD Sender: No OFD packet to send [03:56:34]OFD Sender: No OFD packet to send [03:56:39]OFD Sender: No OFD packet to send [03:56:44]OFD Sender: No OFD packet to send [03:56:49]OFD Sender: No OFD packet to send [03:56:54]OFD Sender: No OFD packet to send [03:56:59]OFD Sender: No OFD packet to send [03:57:05]OFD Sender: No OFD packet to send [03:57:10]OFD Sender: No OFD packet to send [03:57:15]OFD Sender: No OFD packet to send [03:57:20]OFD Sender: No OFD packet to send [03:57:25]OFD Sender: No OFD packet to send [03:57:30]OFD Sender: No OFD packet to send [03:57:35]OFD Sender: No OFD packet to send [03:57:40]OFD Sender: No OFD packet to send [03:57:45]OFD Sender: No OFD packet to send [03:57:50]OFD Sender: No OFD packet to send [03:57:55]OFD Sender: No OFD packet to send [03:58:00]OFD Sender: No OFD packet to send [03:58:05]OFD Sender: No OFD packet to send [03:58:10]OFD Sender: No OFD packet to send [03:58:15]OFD Sender: No OFD packet to send [03:58:20]OFD Sender: No OFD packet to send [03:58:25]OFD Sender: No OFD packet to send [03:58:30]OFD Sender: No OFD packet to send [03:58:35]OFD Sender: No OFD packet to send [03:58:40]OFD Sender: No OFD packet to send [03:58:45]OFD Sender: No OFD packet to send [03:58:50]OFD Sender: No OFD packet to send [03:58:55]OFD Sender: No OFD packet to send [03:59:00]OFD Sender: No OFD packet to send [03:59:05]OFD Sender: No OFD packet to send [03:59:10]OFD Sender: No OFD packet to send [03:59:15]OFD Sender: No OFD packet to send [03:59:20]OFD Sender: No OFD packet to send [03:59:25]OFD Sender: No OFD packet to send [03:59:30]OFD Sender: No OFD packet to send [03:59:35]OFD Sender: No OFD packet to send [03:59:40]OFD Sender: No OFD packet to send [03:59:45]OFD Sender: No OFD packet to send [03:59:50]OFD Sender: No OFD packet to send [03:59:55]OFD Sender: No OFD packet to send [04:00:00]OFD Sender: No OFD packet to send [04:00:05]OFD Sender: No OFD packet to send [04:00:10]OFD Sender: No OFD packet to send [04:00:15]OFD Sender: No OFD packet to send [04:00:20]OFD Sender: No OFD packet to send [04:00:25]OFD Sender: No OFD packet to send [04:00:30]OFD Sender: No OFD packet to send [04:00:35]OFD Sender: No OFD packet to send [04:00:40]OFD Sender: No OFD packet to send [04:00:45]OFD Sender: No OFD packet to send [04:00:50]OFD Sender: No OFD packet to send [04:00:55]OFD Sender: No OFD packet to send [04:01:00]OFD Sender: No OFD packet to send [04:01:05]OFD Sender: No OFD packet to send [04:01:10]OFD Sender: No OFD packet to send [04:01:15]OFD Sender: No OFD packet to send [04:01:20]OFD Sender: No OFD packet to send [04:01:25]OFD Sender: No OFD packet to send [04:01:30]OFD Sender: No OFD packet to send [04:01:35]OFD Sender: No OFD packet to send [04:01:40]OFD Sender: No OFD packet to send [04:01:45]OFD Sender: No OFD packet to send [04:01:50]OFD Sender: No OFD packet to send [04:01:55]OFD Sender: No OFD packet to send [04:02:00]OFD Sender: No OFD packet to send [04:02:05]OFD Sender: No OFD packet to send [04:02:10]OFD Sender: No OFD packet to send [04:02:15]OFD Sender: No OFD packet to send [04:02:20]OFD Sender: No OFD packet to send [04:02:25]OFD Sender: No OFD packet to send [04:02:30]OFD Sender: No OFD packet to send [04:02:35]OFD Sender: No OFD packet to send [04:02:40]OFD Sender: No OFD packet to send [04:02:45]OFD Sender: No OFD packet to send [04:02:50]OFD Sender: No OFD packet to send [04:02:55]OFD Sender: No OFD packet to send [04:03:00]OFD Sender: No OFD packet to send [04:03:05]OFD Sender: No OFD packet to send [04:03:10]OFD Sender: No OFD packet to send [04:03:15]OFD Sender: No OFD packet to send [04:03:20]OFD Sender: No OFD packet to send [04:03:25]OFD Sender: No OFD packet to send [04:03:30]OFD Sender: No OFD packet to send [04:03:35]OFD Sender: No OFD packet to send [04:03:40]OFD Sender: No OFD packet to send [04:03:45]OFD Sender: No OFD packet to send [04:03:50]OFD Sender: No OFD packet to send [04:03:55]OFD Sender: No OFD packet to send [04:04:00]OFD Sender: No OFD packet to send [04:04:05]OFD Sender: No OFD packet to send [04:04:10]OFD Sender: No OFD packet to send [04:04:15]OFD Sender: No OFD packet to send [04:04:20]OFD Sender: No OFD packet to send [04:04:25]OFD Sender: No OFD packet to send [04:04:30]OFD Sender: No OFD packet to send [04:04:35]OFD Sender: No OFD packet to send [04:04:40]OFD Sender: No OFD packet to send [04:04:45]OFD Sender: No OFD packet to send [04:04:50]OFD Sender: No OFD packet to send [04:04:55]OFD Sender: No OFD packet to send [04:05:00]OFD Sender: No OFD packet to send [04:05:05]OFD Sender: No OFD packet to send [04:05:10]OFD Sender: No OFD packet to send [04:05:15]OFD Sender: No OFD packet to send [04:05:20]OFD Sender: No OFD packet to send [04:05:25]OFD Sender: No OFD packet to send [04:05:30]OFD Sender: No OFD packet to send [04:05:35]OFD Sender: No OFD packet to send [04:05:40]OFD Sender: No OFD packet to send [04:05:45]OFD Sender: No OFD packet to send [04:05:50]OFD Sender: No OFD packet to send [04:05:55]OFD Sender: No OFD packet to send [04:06:00]OFD Sender: No OFD packet to send [04:06:05]OFD Sender: No OFD packet to send [04:06:10]OFD Sender: No OFD packet to send [04:06:15]OFD Sender: No OFD packet to send [04:06:20]OFD Sender: No OFD packet to send [04:06:25]OFD Sender: No OFD packet to send [04:06:30]OFD Sender: No OFD packet to send [04:06:35]OFD Sender: No OFD packet to send [04:06:40]OFD Sender: No OFD packet to send [04:06:45]OFD Sender: No OFD packet to send [04:06:50]OFD Sender: No OFD packet to send [04:06:55]OFD Sender: No OFD packet to send [04:07:00]OFD Sender: No OFD packet to send [04:07:01]accept exits with 9 [04:07:01]New connection [04:07:01]New thread 3067272548 created [04:07:01]Thread 3067129188 joined [04:07:01]Waiting for new connection... [04:07:01] Sock 9.Parse request [04:07:01]Sock 9.Check first char [04:07:01]Sock 9.First char is OK [04:07:01]request: POST /json_proto HTTP/1.0 [04:07:01]Method: POST [04:07:01]URL: /json_proto [04:07:01]Method is POST - this is cgi request [04:07:01]url: /json_proto [04:07:01]query_string will be loaded in cgi processing [04:07:01]execute_cgi json_proto POST (null) [04:07:01]execute_cgi path=json_proto method=POST [04:07:01]POST find Content-Length [04:07:01]Host: 172.17.39.4:8080 [04:07:01]Content-Length: 975 [04:07:01]Content-Type: application/json [04:07:01] [04:07:01]POST finish read [04:07:01]Found Content-Length = 975 [04:07:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129485", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870215620852", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u041E\u0420\u0422\u0418\u0426\u042F ICE 0,50L", "price" : 600.00, "quantity" : 1.000, "sum" : 600.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 711.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [04:07:01]execute_script... [04:07: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)129485", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870215620852", "name": "\u0412\u043E\u0434\u043A\u0430 \u0425\u041E\u0420\u0422\u0418\u0426\u042F ICE 0,50L", "price" : 600.00, "quantity" : 1.000, "sum" : 600.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 711.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [04:07:01]POST & json_proto [04:07:01]process_json_proto [04:07:01]json parsed OK: [04:07:01]protocol is kg_v1.0 [04:07:01]action value=close_receipt [04:07:01]process_action close_receipt [04:07:01]cmd_close_receipt [04:07:01]MH_GetDate [04:07:01]Write to MH i2c: F0 00 00 94 33 B6 [04:07:01]Write i2c OK [04:07:01]MH_I2C_Read... [04:07:01]Read from MH i2c: F0 [04:07:01]MH_I2C_Read... [04:07:01]Read from MH i2c: F0 09 00 [04:07:01]MH_I2C_Read... [04:07:01]Read from MH i2c: F0 09 00 94 33 00 EB 4E 93 66 2D 25 5D 64 04 [04:07:01]GetLastDocTimeStamp 1720929332 [04:07:01]current date 1720930027 [04:07:01]FM_GetShiftState [04:07:01]SAM_PROTO_GetShiftState [04:07:01]wFMCommunicate request_size=4 [04:07:01]MH_SAM_APDU [04:07:01]CAPDU: 80 13 01 00 [04:07:01]Write to MH i2c: E2 08 00 95 33 80 13 01 00 00 00 00 00 45 [04:07:01]Write i2c OK [04:07:01]MH_I2C_Read... [04:07:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:07:01]Read from MH i2c: E2 [04:07:01]MH_I2C_Read... [04:07:01]Read from MH i2c: E2 0E 00 [04:07:01]MH_I2C_Read... [04:07:01]Read from MH i2c: E2 0E 00 95 33 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 EC [04:07:01]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [04:07:01]wFMCommunicate OK [04:07:01]SAM_PROTO_GetShiftState done [04:07:01]FM_GetShiftState done [04:07:01]opened in 1720917126 [04:07:01]opened+sec_in_day 1721003526 [04:07:01]quantity*price = 11100 [04:07:01]sum+1 = 11101 [04:07:01]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870215620852 Водка ХОРТИЦЯ ICE 0,50L 1.000 * 600.00 = 600.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 711.00 НСП 1% : 6.29 НДС 12% : 75.51 Наличными: 711.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 33 14.07.2024 04:07 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57016 ФПД: 139819492093797 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T040707&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57016&fm=139819492093797&tin=02508201610067®Number=0000000000091208&sum=71100 0 [04:07:02]StoreToDocumentArchive [04:07:02]shift 496 fd 57016 [04:07:02]save to /storage/0496/doc_00057016 [04:07:02]save last doc name /storage/0496/doc_00057016 to /storage/kkm_last_doc_name [04:07:02]save OK [04:07:02]Clear old archive folders... [04:07:02]ProcessDocumentItem done err = 0, tmpTLVsize=373 [04:07:02]tlvbuf is B6DF6B50 [04:07:02]SAM_PROTO_ClearQueue [04:07:02]wFMCommunicate request_size=4 [04:07:02]MH_SAM_APDU [04:07:02]CAPDU: 80 09 00 00 [04:07:02]Write to MH i2c: E2 08 00 A2 33 80 09 00 00 00 00 00 00 47 [04:07:02]Write i2c OK [04:07:02]MH_I2C_Read... [04:07:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [04:07:02]Read from MH i2c: E2 [04:07:02]MH_I2C_Read... [04:07:02]Read from MH i2c: E2 03 00 [04:07:02]MH_I2C_Read... [04:07:02]Read from MH i2c: E2 03 00 A2 33 00 90 00 49 [04:07:02]RAPDU: 90 00 [04:07:02]wFMCommunicate OK [04:07:02]SAM_PROTO_ClearQueue done [04:07:02]KKMCreateOFDPacket [04:07:02]OFDProtocolAddRootSTLVToBuf [04:07:02]FM_MakeSignedData [04:07:02]FM_MakeSignedData [04:07:02]SAM_PROTO_SignData [04:07:02]wFMCommunicate request_size=4 [04:07:02]MH_SAM_APDU [04:07:02]CAPDU: 80 0D 01 02 [04:07:02]Write to MH i2c: E2 08 00 A3 33 80 0D 01 02 00 00 00 00 4F [04:07:02]Write i2c OK [04:07:02]MH_I2C_Read... [04:07:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [04:07:02]Read from MH i2c: E2 [04:07:02]MH_I2C_Read... [04:07:02]Read from MH i2c: E2 03 00 [04:07:02]MH_I2C_Read... [04:07:02]Read from MH i2c: E2 03 00 A3 33 00 90 00 4A [04:07:02]RAPDU: 90 00 [04:07:02]wFMCommunicate OK [04:07:02]wFMCommunicate request_size=255 [04:07:02]MH_SAM_APDU [04:07:02]CAPDU: 80 0D 02 02 FA 03 00 75 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 30 38 35 32 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 9E D0 A0 D0 A2 D0 98 D0 A6 D0 AF 20 49 43 45 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 EA 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 15 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 02 00 00 00 00 EE 03 0F 00 F2 [04:07:02]Write to MH i2c: E2 02 01 A4 33 80 0D 02 02 FA 00 03 00 75 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 30 38 35 32 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 9E D0 A0 D0 A2 D0 98 D0 A6 D0 AF 20 49 43 45 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 EA 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 15 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 02 00 00 00 00 EE 03 0F 00 F2 00 00 03 [04:07:02]Write i2c OK [04:07:02]MH_I2C_Read... [04:07:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:07:02]Read from MH i2c: E2 [04:07:02]MH_I2C_Read... [04:07:02]Read from MH i2c: E2 03 00 [04:07:02]MH_I2C_Read... [04:07:02]Read from MH i2c: E2 03 00 A4 33 00 90 00 4B [04:07:02]RAPDU: 90 00 [04:07:02]wFMCommunicate OK [04:07:02]wFMCommunicate request_size=132 [04:07:02]MH_SAM_APDU [04:07:02]CAPDU: 80 0D 02 02 7F 03 01 00 01 F3 03 06 00 7F 1D 00 00 00 00 07 04 06 00 BC 15 01 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 EB 4E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B8 DE 00 00 35 04 06 00 7F 2A 43 28 AF 65 [04:07:02]Write to MH i2c: E2 87 00 A5 33 80 0D 02 02 7F 00 03 01 00 01 F3 03 06 00 7F 1D 00 00 00 00 07 04 06 00 BC 15 01 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 EB 4E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B8 DE 00 00 35 04 06 00 7F 2A 43 28 AF 65 00 00 FD [04:07:02]Write i2c OK [04:07:02]MH_I2C_Read... [04:07:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [04:07:03]Read from MH i2c: E2 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: E2 03 00 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: E2 03 00 A5 33 00 90 00 4C [04:07:03]RAPDU: 90 00 [04:07:03]wFMCommunicate OK [04:07:03]wFMCommunicate request_size=4 [04:07:03]MH_SAM_APDU [04:07:03]CAPDU: 80 0D 03 02 [04:07:03]Write to MH i2c: E2 08 00 A6 33 80 0D 03 02 00 00 00 00 54 [04:07:03]Write i2c OK [04:07:03]MH_I2C_Read... [04:07:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [04:07:03]Read from MH i2c: E2 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: E2 0B 00 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: E2 0B 00 A6 33 00 F5 3A 2A A0 F3 21 58 34 90 00 EE [04:07:03]RAPDU: F5 3A 2A A0 F3 21 58 34 90 00 [04:07:03]wFMCommunicate OK [04:07:03]SAM_PROTO_SignData done [04:07:03]FM_MakeSignedData done [04:07:03]CreateOFDProtocolMessage [04:07:03]wFMCommunicate request_size=4 [04:07:03]MH_SAM_APDU [04:07:03]CAPDU: 80 11 00 00 [04:07:03]Write to MH i2c: E2 08 00 A7 33 80 11 00 00 00 00 00 00 54 [04:07:03]Write i2c OK [04:07:03]MH_I2C_Read... [04:07:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:07:03]Read from MH i2c: E2 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: E2 17 00 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: E2 17 00 A7 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AE [04:07:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:07:03]wFMCommunicate OK [04:07:03]CreateOFDProtocolMessage done [04:07:03]OFDSenderStorePacket 57016 [04:07:03]StoreOFDPacket docnum=57016 [04:07:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 89 01 00 00 6D D5 81 01 4B DA 5A 03 01 00 03 00 75 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 30 38 35 32 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 9E D0 A0 D0 A2 D0 98 D0 A6 D0 AF 20 49 43 45 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 EA 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 15 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 1D 00 00 00 00 07 04 06 00 BC 15 01 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 EB 4E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B8 DE 00 00 35 04 06 00 7F 2A 43 28 AF 65 F5 3A 2A A0 F3 21 58 34 [04:07:03]CheckFolder [04:07:03]dirname=/storage/ofd_packets [04:07:03]CheckFolder done [04:07:03]ProducePacketName [04:07:03]name=ofd_packets/00057016 [04:07:03]NVStorageSaveData ofd_packets/00057016 [04:07:03]File name is /storage/ofd_packets/00057016 [04:07:03]Write 423 bytes [04:07:03]NVStorageSaveData done [04:07:03]OFDSenderStorePacket done [04:07:03]KKMCreateOFDPacket done [04:07:03]NVStorageSaveData kkm_last_timestamp [04:07:03]File name is /storage/kkm_last_timestamp [04:07:03]Write 4 bytes [04:07:03]NVStorageSaveData done [04:07:03]ExternCall_PrintAddStr [04:07:03]wPrintStart [04:07:03]Write to MH i2c: 01 00 00 A8 33 DB [04:07:03]Write i2c OK [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: 01 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: 01 07 00 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: 01 07 00 A8 33 00 00 00 00 00 FF 0F F0 [04:07:03]RasterBufferAndPrint [04:07:03]line Счет N : (3)129485 [04:07:03]line ИНН: 02508201610067 [04:07:03]line Контрольно-Кассовый Чек [04:07:03]line ПРОДАЖА [04:07:03]line Товар: 4870001570071 [04:07:03]line Напиток Pepsi 1л [04:07:03]line 1.000 * 111.00 [04:07:03]line = 111.00 [04:07:03]line НДС 12% НСП 1% [04:07:03]line > о реализуемом товаре [04:07:03]line Товар: 4870215620852 [04:07:03]line Водка ХОРТИЦЯ ICE 0,50L [04:07:03]line 1.000 * 600.00 [04:07:03]line = 600.00 [04:07:03]line НДС 12% НСП 1% [04:07:03]line > о реализуемом товаре [04:07:03]line ИТОГО: 711.00 [04:07:03]line НСП 1% : 6.29 [04:07:03]line НДС 12% : 75.51 [04:07:03]line Наличными: 711.00 [04:07:03]line Безнал.: 0.00 [04:07:03]line Место: АЗС № 132 "Партнер Нефть" [04:07:03]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [04:07:03]line СНО: Общий режим [04:07:03]line Чек 33 14.07.2024 04:07 [04:07:03]line Смена: 496 ФФД: 1.0 [04:07:03]line ЗНМ: 0300000132 [04:07:03]line РНМ: 0000000000091208 [04:07:03]line Версия ККМ: 001 [04:07:03]line ФМ: 0000000000874857 [04:07:03]line ФД: 57016 [04:07:03]line ФПД: 139819492093797 [04:07:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T040707&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57016&fm=139819492093797&tin=02508201610067®Number=0000000000091208&sum=71100 [04:07:03]line 0 [04:07:03]OFD Sender: Processing packet 57016 [packets to send 38, broken 37] [04:07:03]ProducePacketName [04:07:03]name=ofd_packets/00057016 [04:07:03]OFD Sender: To server: pG, [04:07:03]CommunicateWithHost lk.salyk.kg:30040 [04:07:03]ConnectInit lk.salyk.kg [04:07:03]written 0, free lines is 4095 [04:07:03]Connected sock=10 [04:07:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 89 01 00 00 6D D5 81 01 4B DA 5A 03 01 00 03 00 75 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 38 37 30 32 31 35 36 32 30 38 35 32 06 04 23 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 A5 D0 9E D0 A0 D0 A2 D0 98 D0 A6 D0 AF 20 49 43 45 20 30 2C 35 30 4C FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 60 EA 00 00 00 00 13 04 06 00 60 EA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 BC 15 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 75 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7F 1D 00 00 00 00 07 04 06 00 BC 15 01 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 EB 4E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B8 DE 00 00 35 04 06 00 7F 2A 43 28 AF 65 F5 3A 2A A0 F3 21 58 34 [04:07:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B2 7A 47 00 35 B8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B8 DE 00 00 F4 03 04 00 3D F5 92 66 B6 04 01 00 00 64 BC DB 38 FC BB FA AF [04:07:03]CommunicateWithHost err = 0 [04:07:03]CheckOFDResponse [04:07:03]1017 (14) - 77093643461234 [04:07:03]1041 (16) - 0000000000874857 [04:07:03]1040 (4) - 57016 [04:07:03]1012 (4) - 13.07.2024 21:44 [04:07:03]1206 (1) - 0 [04:07:03]OFD Sender: Remove packet 57016 [04:07:03]ProducePacketName [04:07:03]name=ofd_packets/00057016 [04:07:03]NVStorageDeleteData [04:07:03]Write to MH i2c: 01 00 00 D6 33 09 [04:07:03]Write i2c OK [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: 01 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: 01 07 00 [04:07:03]MH_I2C_Read... [04:07:03]Read from MH i2c: 01 07 00 D6 33 00 00 00 00 00 AF 0C CB [04:07:03]RasterBufferAndPrint [04:07:03]line [04:07:03]line [04:07:03]line [04:07:03]line [04:07:03]line [04:07:04]written 0, free lines is 3253 [04:07:04]MH_Cut [04:07:04]Write to MH i2c: D1 01 00 DD 33 01 E2 [04:07:04]Write i2c OK [04:07:04]MH_I2C_Read... [04:07:04]Read from MH i2c: D1 [04:07:04]MH_I2C_Read... [04:07:04]Read from MH i2c: D1 01 00 [04:07:04]MH_I2C_Read... [04:07:04]Read from MH i2c: D1 01 00 DD 33 00 E1 [04:07:04]Write to MH i2c: 01 00 00 DE 33 11 [04:07:04]Write i2c OK [04:07:04]MH_I2C_Read... [04:07:04]OFD Sender: No OFD packet to send [04:07:04]*** Cut start [04:07:04]*** Partial cut [04:07:04]*** CUTSNS_PIN = 1 [04:07:04]*** CUTSNS_PIN = 0 [04:07:05]*** Brake cut motor [04:07:05]Read from MH i2c: 01 [04:07:05]MH_I2C_Read... [04:07:05]*** Stop cut motor [04:07:05]*** Cut end [04:07:05]Read from MH i2c: 01 07 00 [04:07:05]MH_I2C_Read... [04:07:05]Read from MH i2c: 01 07 00 DE 33 00 00 00 00 00 FF 0F 26 [04:07:05]process_action close_receipt done [04:07:05]requested_data is exist [04:07:05]produce_requested_data [04:07:05]requested_item fm.sn is exist - process it [04:07:05]wFMCommunicate request_size=4 [04:07:05]MH_SAM_APDU [04:07:05]CAPDU: 80 11 00 00 [04:07:05]Write to MH i2c: E2 08 00 DF 33 80 11 00 00 00 00 00 00 8C [04:07:05]Write i2c OK [04:07:05]MH_I2C_Read... [04:07:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [04:07:05]Read from MH i2c: E2 [04:07:05]MH_I2C_Read... [04:07:05]Read from MH i2c: E2 17 00 [04:07:05]MH_I2C_Read... [04:07:05]Read from MH i2c: E2 17 00 DF 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E6 [04:07:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [04:07:05]wFMCommunicate OK [04:07:05]requested_item fd.num is exist - process it [04:07:05]SAM_PROTO_GetFieldsCounters [04:07:05]wFMCommunicate request_size=4 [04:07:05]MH_SAM_APDU [04:07:05]CAPDU: 80 13 00 00 [04:07:05]Write to MH i2c: E2 08 00 E0 33 80 13 00 00 00 00 00 00 8F [04:07:05]Write i2c OK [04:07:05]MH_I2C_Read... [04:07:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [04:07:05]Read from MH i2c: E2 [04:07:05]MH_I2C_Read... [04:07:05]Read from MH i2c: E2 62 00 [04:07:05]MH_I2C_Read... [04:07:05]Read from MH i2c: E2 62 00 E0 33 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B8 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 9C [04:07:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B8 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 21 00 00 00 5E 04 04 00 21 00 00 00 57 04 04 00 22 00 00 00 19 04 04 00 00 00 00 00 90 00 [04:07:05]wFMCommunicate OK [04:07:05]SAM_PROTO_GetFieldsCounters done [04:07:05]requested_item shift.num is exist - process it [04:07:05]requested_item shift.opened is exist - process it [04:07:05]req_shift_opened [04:07:05]FM_GetShiftState [04:07:05]SAM_PROTO_GetShiftState [04:07:05]wFMCommunicate request_size=4 [04:07:05]MH_SAM_APDU [04:07:05]CAPDU: 80 13 01 00 [04:07:05]Write to MH i2c: E2 08 00 E1 33 80 13 01 00 00 00 00 00 91 [04:07:05]Write i2c OK [04:07:05]MH_I2C_Read... [04:07:05]Read from MH i2c: E2 [04:07:05]MH_I2C_Read... [04:07:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [04:07:05]Read from MH i2c: E2 0E 00 [04:07:05]MH_I2C_Read... [04:07:05]Read from MH i2c: E2 0E 00 E1 33 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 38 [04:07:05]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [04:07:05]wFMCommunicate OK [04:07:05]SAM_PROTO_GetShiftState done [04:07:05]FM_GetShiftState done [04:07:05]req_shift_opened done [04:07:05]requested_item shift.open_date is exist - process it [04:07:05]req_shift_open_date [04:07:05]req_shift_open_date done [04:07:05]requested_item shift.sale.total is exist - process it [04:07:05]SAM_PROTO_GetShiftData [04:07:05]wFMCommunicate request_size=4 [04:07:05]MH_SAM_APDU [04:07:05]CAPDU: 80 13 02 00 [04:07:05]Write to MH i2c: E2 08 00 E2 33 80 13 02 00 00 00 00 00 93 [04:07:05]Write i2c OK [04:07:05]MH_I2C_Read... [04:07:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [04:07:06]Read from MH i2c: E2 [04:07:06]MH_I2C_Read... [04:07:06]Read from MH i2c: E2 FD 00 [04:07:06]MH_I2C_Read... [04:07:06]Read from MH i2c: E2 FD 00 E2 33 00 BB 04 AA 04 B7 04 6E 04 04 00 21 00 00 00 69 04 9B 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 CC F6 14 70 04 03 00 D4 C4 11 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EA 39 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 79 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 C4 [04:07:06]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 21 00 00 00 69 04 9B 00 6F 04 04 00 1F 00 00 00 B1 04 03 00 CC F6 14 70 04 03 00 D4 C4 11 72 04 03 00 F8 31 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EA 39 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 79 2F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [04:07:06]wFMCommunicate OK [04:07:06]wFMCommunicate request_size=4 [04:07:06]MH_SAM_APDU [04:07:06]CAPDU: 80 17 00 00 [04:07:06]Write to MH i2c: E2 08 00 E3 33 80 17 00 00 00 00 00 00 96 [04:07:06]Write i2c OK [04:07:06]MH_I2C_Read... [04:07:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:07:06]Read from MH i2c: E2 [04:07:06]MH_I2C_Read... [04:07:06]Read from MH i2c: E2 FD 00 [04:07:06]MH_I2C_Read... [04:07:06]Read from MH i2c: E2 FD 00 E3 33 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 29 [04:07:06]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [04:07:06]wFMCommunicate OK [04:07:06]wFMCommunicate request_size=4 [04:07:06]MH_SAM_APDU [04:07:06]CAPDU: 80 17 00 00 [04:07:06]Write to MH i2c: E2 08 00 E4 33 80 17 00 00 00 00 00 00 97 [04:07:06]Write i2c OK [04:07:06]MH_I2C_Read... [04:07:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:07:06]Read from MH i2c: E2 [04:07:06]MH_I2C_Read... [04:07:06]Read from MH i2c: E2 FD 00 [04:07:06]MH_I2C_Read... [04:07:06]Read from MH i2c: E2 FD 00 E4 33 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C3 [04:07:06]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [04:07:06]wFMCommunicate OK [04:07:06]wFMCommunicate request_size=4 [04:07:06]MH_SAM_APDU [04:07:06]CAPDU: 80 17 00 00 [04:07:06]Write to MH i2c: E2 08 00 E5 33 80 17 00 00 00 00 00 00 98 [04:07:06]Write i2c OK [04:07:06]MH_I2C_Read... [04:07:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [04:07:07]Read from MH i2c: E2 [04:07:07]MH_I2C_Read... [04:07:07]Read from MH i2c: E2 FD 00 [04:07:07]MH_I2C_Read... [04:07:07]Read from MH i2c: E2 FD 00 E5 33 00 00 00 EF 03 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 90 00 0D [04:07:07]RAPDU: 00 00 EF 03 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 90 00 [04:07:07]wFMCommunicate OK [04:07:07]wFMCommunicate request_size=4 [04:07:07]MH_SAM_APDU [04:07:07]CAPDU: 80 17 00 00 [04:07:07]Write to MH i2c: E2 08 00 E6 33 80 17 00 00 00 00 00 00 99 [04:07:07]Write i2c OK [04:07:07]MH_I2C_Read... [04:07:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [04:07:07]Read from MH i2c: E2 [04:07:07]MH_I2C_Read... [04:07:07]Read from MH i2c: E2 D8 00 [04:07:07]MH_I2C_Read... [04:07:07]Read from MH i2c: E2 D8 00 E6 33 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 80 [04:07:07]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [04:07:07]wFMCommunicate OK [04:07:07]SAM_PROTO_GetShiftData done [04:07:07]requested_item shift.sale.total_cash is exist - process it [04:07:07]requested_item shift.sale_refund.total is exist - process it [04:07:07]requested_item shift.sale_refund.total_cash is exist - process it [04:07:07]produce_requested_data done [04:07:07]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57016,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":13739.00,"shift.sale.total_cash":11645.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [04:07:07]process_action_free close_receipt [04:07:07]json_value_free [04:07:07]json_value_free done [04:07:07]process_json_proto returns [04:07:07]Send response to host [04:07:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57016,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":13739.00,"shift.sale.total_cash":11645.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [04:07:07]free response buf [04:07:07]execute_script done [04:07:07]execute_script returns [04:07:07]free content buf [04:07:07]Sock 9.Close socket [04:07:07]Sock 9.Thread stoped [04:07:09]OFD Sender: No OFD packet to send [04:07:14]OFD Sender: No OFD packet to send [04:07:19]OFD Sender: No OFD packet to send [04:07:24]OFD Sender: No OFD packet to send [04:07:29]OFD Sender: No OFD packet to send [04:07:34]OFD Sender: No OFD packet to send [04:07:39]OFD Sender: No OFD packet to send [04:07:44]OFD Sender: No OFD packet to send [04:07:49]OFD Sender: No OFD packet to send [04:07:54]OFD Sender: No OFD packet to send [04:07:59]OFD Sender: No OFD packet to send [04:08:04]OFD Sender: No OFD packet to send [04:08:09]OFD Sender: No OFD packet to send [04:08:14]OFD Sender: No OFD packet to send [04:08:19]OFD Sender: No OFD packet to send [04:08:24]OFD Sender: No OFD packet to send [04:08:29]OFD Sender: No OFD packet to send [04:08:34]OFD Sender: No OFD packet to send [04:08:39]OFD Sender: No OFD packet to send [04:08:44]OFD Sender: No OFD packet to send [04:08:49]OFD Sender: No OFD packet to send [04:08:54]OFD Sender: No OFD packet to send [04:08:59]OFD Sender: No OFD packet to send [04:09:04]OFD Sender: No OFD packet to send [04:09:09]OFD Sender: No OFD packet to send [04:09:14]OFD Sender: No OFD packet to send [04:09:19]OFD Sender: No OFD packet to send [04:09:24]OFD Sender: No OFD packet to send [04:09:29]OFD Sender: No OFD packet to send [04:09:34]OFD Sender: No OFD packet to send [04:09:39]OFD Sender: No OFD packet to send [04:09:44]OFD Sender: No OFD packet to send [04:09:49]OFD Sender: No OFD packet to send [04:09:54]OFD Sender: No OFD packet to send [04:09:59]OFD Sender: No OFD packet to send [04:10:04]OFD Sender: No OFD packet to send [04:10:09]OFD Sender: No OFD packet to send [04:10:14]OFD Sender: No OFD packet to send [04:10:19]OFD Sender: No OFD packet to send [04:10:24]OFD Sender: No OFD packet to send [04:10:29]OFD Sender: No OFD packet to send [04:10:34]OFD Sender: No OFD packet to send [04:10:39]OFD Sender: No OFD packet to send [04:10:44]OFD Sender: No OFD packet to send [04:10:49]OFD Sender: No OFD packet to send [04:10:54]OFD Sender: No OFD packet to send [04:10:59]OFD Sender: No OFD packet to send [04:11:04]OFD Sender: No OFD packet to send [04:11:09]OFD Sender: No OFD packet to send [04:11:14]OFD Sender: No OFD packet to send [04:11:19]OFD Sender: No OFD packet to send [04:11:24]OFD Sender: No OFD packet to send [04:11:29]OFD Sender: No OFD packet to send [04:11:34]OFD Sender: No OFD packet to send [04:11:39]OFD Sender: No OFD packet to send [04:11:44]OFD Sender: No OFD packet to send [04:11:49]OFD Sender: No OFD packet to send [04:11:54]OFD Sender: No OFD packet to send [04:11:59]OFD Sender: No OFD packet to send [04:12:04]OFD Sender: No OFD packet to send [04:12:09]OFD Sender: No OFD packet to send [04:12:14]OFD Sender: No OFD packet to send [04:12:19]OFD Sender: No OFD packet to send [04:12:24]OFD Sender: No OFD packet to send [04:12:29]OFD Sender: No OFD packet to send [04:12:34]OFD Sender: No OFD packet to send [04:12:39]OFD Sender: No OFD packet to send [04:12:44]OFD Sender: No OFD packet to send [04:12:49]OFD Sender: No OFD packet to send [04:12:54]OFD Sender: No OFD packet to send [04:12:59]OFD Sender: No OFD packet to send [04:13:04]OFD Sender: No OFD packet to send [04:13:09]OFD Sender: No OFD packet to send [04:13:14]OFD Sender: No OFD packet to send [04:13:19]OFD Sender: No OFD packet to send [04:13:24]OFD Sender: No OFD packet to send [04:13:29]OFD Sender: No OFD packet to send [04:13:34]OFD Sender: No OFD packet to send [04:13:39]OFD Sender: No OFD packet to send [04:13:44]OFD Sender: No OFD packet to send [04:13:49]OFD Sender: No OFD packet to send [04:13:54]OFD Sender: No OFD packet to send [04:13:59]OFD Sender: No OFD packet to send [04:14:04]OFD Sender: No OFD packet to send [04:14:09]OFD Sender: No OFD packet to send [04:14:14]OFD Sender: No OFD packet to send [04:14:19]OFD Sender: No OFD packet to send [04:14:24]OFD Sender: No OFD packet to send [04:14:29]OFD Sender: No OFD packet to send [04:14:34]OFD Sender: No OFD packet to send [04:14:39]OFD Sender: No OFD packet to send [04:14:44]OFD Sender: No OFD packet to send [04:14:49]OFD Sender: No OFD packet to send [04:14:54]OFD Sender: No OFD packet to send [04:14:59]OFD Sender: No OFD packet to send [04:15:04]OFD Sender: No OFD packet to send [04:15:09]OFD Sender: No OFD packet to send [04:15:14]OFD Sender: No OFD packet to send [04:15:19]OFD Sender: No OFD packet to send [04:15:24]OFD Sender: No OFD packet to send [04:15:29]OFD Sender: No OFD packet to send [04:15:34]OFD Sender: No OFD packet to send [04:15:39]OFD Sender: No OFD packet to send [04:15:44]OFD Sender: No OFD packet to send [04:15:49]OFD Sender: No OFD packet to send [04:15:54]OFD Sender: No OFD packet to send [04:15:59]OFD Sender: No OFD packet to send [04:16:04]OFD Sender: No OFD packet to send [04:16:09]OFD Sender: No OFD packet to send [04:16:14]OFD Sender: No OFD packet to send [04:16:19]OFD Sender: No OFD packet to send [04:16:24]OFD Sender: No OFD packet to send [04:16:29]OFD Sender: No OFD packet to send [04:16:34]OFD Sender: No OFD packet to send [04:16:39]OFD Sender: No OFD packet to send [04:16:44]OFD Sender: No OFD packet to send [04:16:49]OFD Sender: No OFD packet to send [04:16:54]OFD Sender: No OFD packet to send [04:16:59]OFD Sender: No OFD packet to send [04:17:04]OFD Sender: No OFD packet to send [04:17:09]OFD Sender: No OFD packet to send [04:17:14]OFD Sender: No OFD packet to send [04:17:19]OFD Sender: No OFD packet to send [04:17:24]OFD Sender: No OFD packet to send [04:17:29]OFD Sender: No OFD packet to send [04:17:34]OFD Sender: No OFD packet to send [04:17:39]OFD Sender: No OFD packet to send [04:17:44]OFD Sender: No OFD packet to send [04:17:49]OFD Sender: No OFD packet to send [04:17:54]OFD Sender: No OFD packet to send [04:17:59]OFD Sender: No OFD packet to send [04:18:04]OFD Sender: No OFD packet to send [04:18:09]OFD Sender: No OFD packet to send [04:18:14]OFD Sender: No OFD packet to send [04:18:19]OFD Sender: No OFD packet to send [04:18:24]OFD Sender: No OFD packet to send [04:18:29]OFD Sender: No OFD packet to send [04:18:34]OFD Sender: No OFD packet to send [04:18:39]OFD Sender: No OFD packet to send [04:18:44]OFD Sender: No OFD packet to send [04:18:49]OFD Sender: No OFD packet to send [04:18:54]OFD Sender: No OFD packet to send [04:18:59]OFD Sender: No OFD packet to send [04:19:04]OFD Sender: No OFD packet to send [04:19:09]OFD Sender: No OFD packet to send [04:19:14]OFD Sender: No OFD packet to send [04:19:20]OFD Sender: No OFD packet to send [04:19:25]OFD Sender: No OFD packet to send [04:19:30]OFD Sender: No OFD packet to send [04:19:35]OFD Sender: No OFD packet to send [04:19:40]OFD Sender: No OFD packet to send [04:19:45]OFD Sender: No OFD packet to send [04:19:50]OFD Sender: No OFD packet to send [04:19:55]OFD Sender: No OFD packet to send [04:20:00]OFD Sender: No OFD packet to send [04:20:05]OFD Sender: No OFD packet to send [04:20:10]OFD Sender: No OFD packet to send [04:20:15]OFD Sender: No OFD packet to send [04:20:20]OFD Sender: No OFD packet to send [04:20:25]OFD Sender: No OFD packet to send [04:20:30]OFD Sender: No OFD packet to send [04:20:35]OFD Sender: No OFD packet to send [04:20:40]OFD Sender: No OFD packet to send [04:20:45]OFD Sender: No OFD packet to send [04:20:50]OFD Sender: No OFD packet to send [04:20:55]OFD Sender: No OFD packet to send [04:21:00]OFD Sender: No OFD packet to send [04:21:05]OFD Sender: No OFD packet to send [04:21:10]OFD Sender: No OFD packet to send [04:21:15]OFD Sender: No OFD packet to send [04:21:20]OFD Sender: No OFD packet to send [04:21:25]OFD Sender: No OFD packet to send [04:21:30]OFD Sender: No OFD packet to send [04:21:35]OFD Sender: No OFD packet to send [04:21:40]OFD Sender: No OFD packet to send [04:21:45]OFD Sender: No OFD packet to send [04:21:50]OFD Sender: No OFD packet to send [04:21:55]OFD Sender: No OFD packet to send [04:22:00]OFD Sender: No OFD packet to send [04:22:05]OFD Sender: No OFD packet to send [04:22:10]OFD Sender: No OFD packet to send [04:22:15]OFD Sender: No OFD packet to send [04:22:20]OFD Sender: No OFD packet to send [04:22:25]OFD Sender: No OFD packet to send [04:22:30]OFD Sender: No OFD packet to send [04:22:35]OFD Sender: No OFD packet to send [04:22:40]OFD Sender: No OFD packet to send [04:22:45]OFD Sender: No OFD packet to send [04:22:50]OFD Sender: No OFD packet to send [04:22:55]OFD Sender: No OFD packet to send [04:23:00]OFD Sender: No OFD packet to send [04:23:05]OFD Sender: No OFD packet to send [04:23:10]OFD Sender: No OFD packet to send [04:23:15]OFD Sender: No OFD packet to send [04:23:20]OFD Sender: No OFD packet to send [04:23:25]OFD Sender: No OFD packet to send [04:23:30]OFD Sender: No OFD packet to send [04:23:35]OFD Sender: No OFD packet to send [04:23:40]OFD Sender: No OFD packet to send [04:23:45]OFD Sender: No OFD packet to send [04:23:50]OFD Sender: No OFD packet to send [04:23:55]OFD Sender: No OFD packet to send [04:24:00]OFD Sender: No OFD packet to send [04:24:05]OFD Sender: No OFD packet to send [04:24:10]OFD Sender: No OFD packet to send [04:24:15]OFD Sender: No OFD packet to send [04:24:20]OFD Sender: No OFD packet to send [04:24:25]OFD Sender: No OFD packet to send [04:24:30]OFD Sender: No OFD packet to send [04:24:35]OFD Sender: No OFD packet to send [04:24:40]OFD Sender: No OFD packet to send [04:24:45]OFD Sender: No OFD packet to send [04:24:50]OFD Sender: No OFD packet to send [04:24:55]OFD Sender: No OFD packet to send [04:25:00]OFD Sender: No OFD packet to send [04:25:05]OFD Sender: No OFD packet to send [04:25:10]OFD Sender: No OFD packet to send [04:25:15]OFD Sender: No OFD packet to send [04:25:20]OFD Sender: No OFD packet to send [04:25:25]OFD Sender: No OFD packet to send [04:25:30]OFD Sender: No OFD packet to send [04:25:35]OFD Sender: No OFD packet to send [04:25:40]OFD Sender: No OFD packet to send [04:25:45]OFD Sender: No OFD packet to send [04:25:50]OFD Sender: No OFD packet to send [04:25:55]OFD Sender: No OFD packet to send [04:26:00]OFD Sender: No OFD packet to send [04:26:05]OFD Sender: No OFD packet to send [04:26:10]OFD Sender: No OFD packet to send [04:26:15]OFD Sender: No OFD packet to send [04:26:20]OFD Sender: No OFD packet to send [04:26:25]OFD Sender: No OFD packet to send [04:26:30]OFD Sender: No OFD packet to send [04:26:35]OFD Sender: No OFD packet to send [04:26:40]OFD Sender: No OFD packet to send [04:26:45]OFD Sender: No OFD packet to send [04:26:50]OFD Sender: No OFD packet to send [04:26:55]OFD Sender: No OFD packet to send [04:27:00]OFD Sender: No OFD packet to send [04:27:05]OFD Sender: No OFD packet to send [04:27:10]OFD Sender: No OFD packet to send [04:27:15]OFD Sender: No OFD packet to send [04:27:20]OFD Sender: No OFD packet to send [04:27:25]OFD Sender: No OFD packet to send [04:27:30]OFD Sender: No OFD packet to send [04:27:35]OFD Sender: No OFD packet to send [04:27:40]OFD Sender: No OFD packet to send [04:27:45]OFD Sender: No OFD packet to send [04:27:50]OFD Sender: No OFD packet to send [04:27:55]OFD Sender: No OFD packet to send [04:28:00]OFD Sender: No OFD packet to send [04:28:05]OFD Sender: No OFD packet to send [04:28:10]OFD Sender: No OFD packet to send [04:28:15]OFD Sender: No OFD packet to send [04:28:20]OFD Sender: No OFD packet to send [04:28:25]OFD Sender: No OFD packet to send [04:28:30]OFD Sender: No OFD packet to send [04:28:35]OFD Sender: No OFD packet to send [04:28:40]OFD Sender: No OFD packet to send [04:28:45]OFD Sender: No OFD packet to send [04:28:50]OFD Sender: No OFD packet to send [04:28:55]OFD Sender: No OFD packet to send [04:29:00]OFD Sender: No OFD packet to send [04:29:05]OFD Sender: No OFD packet to send [04:29:10]OFD Sender: No OFD packet to send [04:29:15]OFD Sender: No OFD packet to send [04:29:20]OFD Sender: No OFD packet to send [04:29:25]OFD Sender: No OFD packet to send [04:29:30]OFD Sender: No OFD packet to send [04:29:35]OFD Sender: No OFD packet to send [04:29:40]OFD Sender: No OFD packet to send [04:29:45]OFD Sender: No OFD packet to send [04:29:50]OFD Sender: No OFD packet to send [04:29:55]OFD Sender: No OFD packet to send [04:30:00]OFD Sender: No OFD packet to send [04:30:05]OFD Sender: No OFD packet to send [04:30:10]OFD Sender: No OFD packet to send [04:30:15]OFD Sender: No OFD packet to send [04:30:20]OFD Sender: No OFD packet to send [04:30:25]OFD Sender: No OFD packet to send [04:30:30]OFD Sender: No OFD packet to send [04:30:35]OFD Sender: No OFD packet to send [04:30:40]OFD Sender: No OFD packet to send [04:30:45]OFD Sender: No OFD packet to send [04:30:50]OFD Sender: No OFD packet to send [04:30:55]OFD Sender: No OFD packet to send [04:31:00]OFD Sender: No OFD packet to send [04:31:05]OFD Sender: No OFD packet to send [04:31:10]OFD Sender: No OFD packet to send [04:31:15]OFD Sender: No OFD packet to send [04:31:20]OFD Sender: No OFD packet to send [04:31:25]OFD Sender: No OFD packet to send [04:31:30]OFD Sender: No OFD packet to send [04:31:35]OFD Sender: No OFD packet to send [04:31:40]OFD Sender: No OFD packet to send [04:31:45]OFD Sender: No OFD packet to send [04:31:50]OFD Sender: No OFD packet to send [04:31:55]OFD Sender: No OFD packet to send [04:32:00]OFD Sender: No OFD packet to send [04:32:05]OFD Sender: No OFD packet to send [04:32:10]OFD Sender: No OFD packet to send [04:32:15]OFD Sender: No OFD packet to send [04:32:20]OFD Sender: No OFD packet to send [04:32:25]OFD Sender: No OFD packet to send [04:32:30]OFD Sender: No OFD packet to send [04:32:35]OFD Sender: No OFD packet to send [04:32:40]OFD Sender: No OFD packet to send [04:32:45]OFD Sender: No OFD packet to send [04:32:50]OFD Sender: No OFD packet to send [04:32:55]OFD Sender: No OFD packet to send [04:33:00]OFD Sender: No OFD packet to send [04:33:05]OFD Sender: No OFD packet to send [04:33:10]OFD Sender: No OFD packet to send [04:33:15]OFD Sender: No OFD packet to send [04:33:20]OFD Sender: No OFD packet to send [04:33:25]OFD Sender: No OFD packet to send [04:33:30]OFD Sender: No OFD packet to send [04:33:35]OFD Sender: No OFD packet to send [04:33:40]OFD Sender: No OFD packet to send [04:33:45]OFD Sender: No OFD packet to send [04:33:50]OFD Sender: No OFD packet to send [04:33:55]OFD Sender: No OFD packet to send [04:34:00]OFD Sender: No OFD packet to send [04:34:05]OFD Sender: No OFD packet to send [04:34:10]OFD Sender: No OFD packet to send [04:34:15]OFD Sender: No OFD packet to send [04:34:20]OFD Sender: No OFD packet to send [04:34:25]OFD Sender: No OFD packet to send [04:34:30]OFD Sender: No OFD packet to send [04:34:35]OFD Sender: No OFD packet to send [04:34:40]OFD Sender: No OFD packet to send [04:34:45]OFD Sender: No OFD packet to send [04:34:50]OFD Sender: No OFD packet to send [04:34:55]OFD Sender: No OFD packet to send [04:35:00]OFD Sender: No OFD packet to send [04:35:05]OFD Sender: No OFD packet to send [04:35:10]OFD Sender: No OFD packet to send [04:35:15]OFD Sender: No OFD packet to send [04:35:20]OFD Sender: No OFD packet to send [04:35:25]OFD Sender: No OFD packet to send [04:35:30]OFD Sender: No OFD packet to send [04:35:35]OFD Sender: No OFD packet to send [04:35:40]OFD Sender: No OFD packet to send [04:35:45]OFD Sender: No OFD packet to send [04:35:50]OFD Sender: No OFD packet to send [04:35:55]OFD Sender: No OFD packet to send [04:36:00]OFD Sender: No OFD packet to send [04:36:05]OFD Sender: No OFD packet to send [04:36:10]OFD Sender: No OFD packet to send [04:36:15]OFD Sender: No OFD packet to send [04:36:20]OFD Sender: No OFD packet to send [04:36:25]OFD Sender: No OFD packet to send [04:36:30]OFD Sender: No OFD packet to send [04:36:35]OFD Sender: No OFD packet to send [04:36:40]OFD Sender: No OFD packet to send [04:36:45]OFD Sender: No OFD packet to send [04:36:50]OFD Sender: No OFD packet to send [04:36:55]OFD Sender: No OFD packet to send [04:37:00]OFD Sender: No OFD packet to send [04:37:05]OFD Sender: No OFD packet to send [04:37:10]OFD Sender: No OFD packet to send [04:37:15]OFD Sender: No OFD packet to send [04:37:20]OFD Sender: No OFD packet to send [04:37:25]OFD Sender: No OFD packet to send [04:37:30]OFD Sender: No OFD packet to send [04:37:35]OFD Sender: No OFD packet to send [04:37:40]OFD Sender: No OFD packet to send [04:37:45]OFD Sender: No OFD packet to send [04:37:50]OFD Sender: No OFD packet to send [04:37:56]OFD Sender: No OFD packet to send [04:38:01]OFD Sender: No OFD packet to send [04:38:06]OFD Sender: No OFD packet to send [04:38:11]OFD Sender: No OFD packet to send [04:38:16]OFD Sender: No OFD packet to send [04:38:21]OFD Sender: No OFD packet to send [04:38:26]OFD Sender: No OFD packet to send [04:38:31]OFD Sender: No OFD packet to send [04:38:36]OFD Sender: No OFD packet to send [04:38:41]OFD Sender: No OFD packet to send [04:38:46]OFD Sender: No OFD packet to send [04:38:51]OFD Sender: No OFD packet to send [04:38:56]OFD Sender: No OFD packet to send [04:39:01]OFD Sender: No OFD packet to send [04:39:06]OFD Sender: No OFD packet to send [04:39:11]OFD Sender: No OFD packet to send [04:39:16]OFD Sender: No OFD packet to send [04:39:21]OFD Sender: No OFD packet to send [04:39:26]OFD Sender: No OFD packet to send [04:39:31]OFD Sender: No OFD packet to send [04:39:36]OFD Sender: No OFD packet to send [04:39:41]OFD Sender: No OFD packet to send [04:39:46]OFD Sender: No OFD packet to send [04:39:51]OFD Sender: No OFD packet to send [04:39:56]OFD Sender: No OFD packet to send [04:40:01]OFD Sender: No OFD packet to send [04:40:06]OFD Sender: No OFD packet to send [04:40:11]OFD Sender: No OFD packet to send [04:40:16]OFD Sender: No OFD packet to send [04:40:21]OFD Sender: No OFD packet to send [04:40:26]OFD Sender: No OFD packet to send [04:40:31]OFD Sender: No OFD packet to send [04:40:36]OFD Sender: No OFD packet to send [04:40:41]OFD Sender: No OFD packet to send [04:40:46]OFD Sender: No OFD packet to send [04:40:51]OFD Sender: No OFD packet to send [04:40:56]OFD Sender: No OFD packet to send [04:41:01]OFD Sender: No OFD packet to send [04:41:06]OFD Sender: No OFD packet to send [04:41:11]OFD Sender: No OFD packet to send [04:41:16]OFD Sender: No OFD packet to send [04:41:21]OFD Sender: No OFD packet to send [04:41:26]OFD Sender: No OFD packet to send [04:41:31]OFD Sender: No OFD packet to send [04:41:36]OFD Sender: No OFD packet to send [04:41:41]OFD Sender: No OFD packet to send [04:41:46]OFD Sender: No OFD packet to send [04:41:51]OFD Sender: No OFD packet to send [04:41:56]OFD Sender: No OFD packet to send [04:42:01]OFD Sender: No OFD packet to send [04:42:06]OFD Sender: No OFD packet to send [04:42:11]OFD Sender: No OFD packet to send [04:42:16]OFD Sender: No OFD packet to send [04:42:21]OFD Sender: No OFD packet to send [04:42:26]OFD Sender: No OFD packet to send [04:42:31]OFD Sender: No OFD packet to send [04:42:36]OFD Sender: No OFD packet to send [04:42:41]OFD Sender: No OFD packet to send [04:42:46]OFD Sender: No OFD packet to send [04:42:51]OFD Sender: No OFD packet to send [04:42:56]OFD Sender: No OFD packet to send [04:43:01]OFD Sender: No OFD packet to send [04:43:06]OFD Sender: No OFD packet to send [04:43:11]OFD Sender: No OFD packet to send [04:43:16]OFD Sender: No OFD packet to send [04:43:21]OFD Sender: No OFD packet to send [04:43:26]OFD Sender: No OFD packet to send [04:43:31]OFD Sender: No OFD packet to send [04:43:36]OFD Sender: No OFD packet to send [04:43:41]OFD Sender: No OFD packet to send [04:43:46]OFD Sender: No OFD packet to send [04:43:51]OFD Sender: No OFD packet to send [04:43:56]OFD Sender: No OFD packet to send [04:44:01]OFD Sender: No OFD packet to send [04:44:06]OFD Sender: No OFD packet to send [04:44:11]OFD Sender: No OFD packet to send [04:44:16]OFD Sender: No OFD packet to send [04:44:21]OFD Sender: No OFD packet to send [04:44:26]OFD Sender: No OFD packet to send [04:44:31]OFD Sender: No OFD packet to send [04:44:36]OFD Sender: No OFD packet to send [04:44:41]OFD Sender: No OFD packet to send [04:44:46]OFD Sender: No OFD packet to send [04:44:51]OFD Sender: No OFD packet to send [04:44:56]OFD Sender: No OFD packet to send [04:45:01]OFD Sender: No OFD packet to send [04:45:06]OFD Sender: No OFD packet to send [04:45:11]OFD Sender: No OFD packet to send [04:45:16]OFD Sender: No OFD packet to send [04:45:21]OFD Sender: No OFD packet to send [04:45:26]OFD Sender: No OFD packet to send [04:45:31]OFD Sender: No OFD packet to send [04:45:36]OFD Sender: No OFD packet to send [04:45:41]OFD Sender: No OFD packet to send [04:45:46]OFD Sender: No OFD packet to send [04:45:51]OFD Sender: No OFD packet to send [04:45:56]OFD Sender: No OFD packet to send [04:46:01]OFD Sender: No OFD packet to send [04:46:06]OFD Sender: No OFD packet to send [04:46:11]OFD Sender: No OFD packet to send [04:46:16]OFD Sender: No OFD packet to send [04:46:21]OFD Sender: No OFD packet to send [04:46:26]OFD Sender: No OFD packet to send [04:46:31]OFD Sender: No OFD packet to send [04:46:36]OFD Sender: No OFD packet to send [04:46:41]OFD Sender: No OFD packet to send [04:46:46]OFD Sender: No OFD packet to send [04:46:51]OFD Sender: No OFD packet to send [04:46:56]OFD Sender: No OFD packet to send [04:47:01]OFD Sender: No OFD packet to send [04:47:06]OFD Sender: No OFD packet to send [04:47:11]OFD Sender: No OFD packet to send [04:47:16]OFD Sender: No OFD packet to send [04:47:21]OFD Sender: No OFD packet to send [04:47:26]OFD Sender: No OFD packet to send [04:47:31]OFD Sender: No OFD packet to send [04:47:36]OFD Sender: No OFD packet to send [04:47:41]OFD Sender: No OFD packet to send [04:47:46]OFD Sender: No OFD packet to send [04:47:51]OFD Sender: No OFD packet to send [04:47:56]OFD Sender: No OFD packet to send [04:48:01]OFD Sender: No OFD packet to send [04:48:06]OFD Sender: No OFD packet to send [04:48:11]OFD Sender: No OFD packet to send [04:48:16]OFD Sender: No OFD packet to send [04:48:21]OFD Sender: No OFD packet to send [04:48:26]OFD Sender: No OFD packet to send [04:48:31]OFD Sender: No OFD packet to send [04:48:36]OFD Sender: No OFD packet to send [04:48:41]OFD Sender: No OFD packet to send [04:48:46]OFD Sender: No OFD packet to send [04:48:51]OFD Sender: No OFD packet to send [04:48:56]OFD Sender: No OFD packet to send [04:49:01]OFD Sender: No OFD packet to send [04:49:06]OFD Sender: No OFD packet to send [04:49:11]OFD Sender: No OFD packet to send [04:49:16]OFD Sender: No OFD packet to send [04:49:21]OFD Sender: No OFD packet to send [04:49:26]OFD Sender: No OFD packet to send [04:49:31]OFD Sender: No OFD packet to send [04:49:36]OFD Sender: No OFD packet to send [04:49:41]OFD Sender: No OFD packet to send [04:49:46]OFD Sender: No OFD packet to send [04:49:51]OFD Sender: No OFD packet to send [04:49:56]OFD Sender: No OFD packet to send [04:50:01]OFD Sender: No OFD packet to send [04:50:06]OFD Sender: No OFD packet to send [04:50:11]OFD Sender: No OFD packet to send [04:50:16]OFD Sender: No OFD packet to send [04:50:21]OFD Sender: No OFD packet to send [04:50:26]OFD Sender: No OFD packet to send [04:50:31]OFD Sender: No OFD packet to send [04:50:36]OFD Sender: No OFD packet to send [04:50:41]OFD Sender: No OFD packet to send [04:50:46]OFD Sender: No OFD packet to send [04:50:51]OFD Sender: No OFD packet to send [04:50:56]OFD Sender: No OFD packet to send [04:51:01]OFD Sender: No OFD packet to send [04:51:06]OFD Sender: No OFD packet to send [04:51:11]OFD Sender: No OFD packet to send [04:51:16]OFD Sender: No OFD packet to send [04:51:21]OFD Sender: No OFD packet to send [04:51:26]OFD Sender: No OFD packet to send [04:51:31]OFD Sender: No OFD packet to send [04:51:36]OFD Sender: No OFD packet to send [04:51:41]OFD Sender: No OFD packet to send [04:51:46]OFD Sender: No OFD packet to send [04:51:51]OFD Sender: No OFD packet to send [04:51:56]OFD Sender: No OFD packet to send [04:52:01]OFD Sender: No OFD packet to send [04:52:06]OFD Sender: No OFD packet to send [04:52:11]OFD Sender: No OFD packet to send [04:52:16]OFD Sender: No OFD packet to send [04:52:21]OFD Sender: No OFD packet to send [04:52:26]OFD Sender: No OFD packet to send [04:52:31]OFD Sender: No OFD packet to send [04:52:36]OFD Sender: No OFD packet to send [04:52:41]OFD Sender: No OFD packet to send [04:52:46]OFD Sender: No OFD packet to send [04:52:51]OFD Sender: No OFD packet to send [04:52:56]OFD Sender: No OFD packet to send [04:53:01]OFD Sender: No OFD packet to send [04:53:06]OFD Sender: No OFD packet to send [04:53:11]OFD Sender: No OFD packet to send [04:53:16]OFD Sender: No OFD packet to send [04:53:21]OFD Sender: No OFD packet to send [04:53:26]OFD Sender: No OFD packet to send [04:53:31]OFD Sender: No OFD packet to send [04:53:36]OFD Sender: No OFD packet to send [04:53:41]OFD Sender: No OFD packet to send [04:53:46]OFD Sender: No OFD packet to send [04:53:51]OFD Sender: No OFD packet to send [04:53:56]OFD Sender: No OFD packet to send [04:54:01]OFD Sender: No OFD packet to send [04:54:06]OFD Sender: No OFD packet to send [04:54:11]OFD Sender: No OFD packet to send [04:54:16]OFD Sender: No OFD packet to send [04:54:21]OFD Sender: No OFD packet to send [04:54:26]OFD Sender: No OFD packet to send [04:54:31]OFD Sender: No OFD packet to send [04:54:36]OFD Sender: No OFD packet to send [04:54:41]OFD Sender: No OFD packet to send [04:54:46]OFD Sender: No OFD packet to send [04:54:51]OFD Sender: No OFD packet to send [04:54:56]OFD Sender: No OFD packet to send [04:55:01]OFD Sender: No OFD packet to send [04:55:06]OFD Sender: No OFD packet to send [04:55:11]OFD Sender: No OFD packet to send [04:55:16]OFD Sender: No OFD packet to send [04:55:21]OFD Sender: No OFD packet to send [04:55:26]OFD Sender: No OFD packet to send [04:55:31]OFD Sender: No OFD packet to send [04:55:36]OFD Sender: No OFD packet to send [04:55:41]OFD Sender: No OFD packet to send [04:55:46]OFD Sender: No OFD packet to send [04:55:51]OFD Sender: No OFD packet to send [04:55:56]OFD Sender: No OFD packet to send [04:56:01]OFD Sender: No OFD packet to send [04:56:06]OFD Sender: No OFD packet to send [04:56:11]OFD Sender: No OFD packet to send [04:56:16]OFD Sender: No OFD packet to send [04:56:21]OFD Sender: No OFD packet to send [04:56:26]OFD Sender: No OFD packet to send [04:56:31]OFD Sender: No OFD packet to send [04:56:36]OFD Sender: No OFD packet to send [04:56:42]OFD Sender: No OFD packet to send [04:56:47]OFD Sender: No OFD packet to send [04:56:52]OFD Sender: No OFD packet to send [04:56:57]OFD Sender: No OFD packet to send [04:57:02]OFD Sender: No OFD packet to send [04:57:07]OFD Sender: No OFD packet to send [04:57:12]OFD Sender: No OFD packet to send [04:57:17]OFD Sender: No OFD packet to send [04:57:22]OFD Sender: No OFD packet to send [04:57:27]OFD Sender: No OFD packet to send [04:57:32]OFD Sender: No OFD packet to send [04:57:37]OFD Sender: No OFD packet to send [04:57:42]OFD Sender: No OFD packet to send [04:57:47]OFD Sender: No OFD packet to send [04:57:52]OFD Sender: No OFD packet to send [04:57:57]OFD Sender: No OFD packet to send [04:58:02]OFD Sender: No OFD packet to send [04:58:07]OFD Sender: No OFD packet to send [04:58:12]OFD Sender: No OFD packet to send [04:58:17]OFD Sender: No OFD packet to send [04:58:22]OFD Sender: No OFD packet to send [04:58:27]OFD Sender: No OFD packet to send [04:58:32]OFD Sender: No OFD packet to send [04:58:37]OFD Sender: No OFD packet to send [04:58:42]OFD Sender: No OFD packet to send [04:58:47]OFD Sender: No OFD packet to send [04:58:52]OFD Sender: No OFD packet to send [04:58:57]OFD Sender: No OFD packet to send [04:59:02]OFD Sender: No OFD packet to send [04:59:07]OFD Sender: No OFD packet to send [04:59:12]OFD Sender: No OFD packet to send [04:59:17]OFD Sender: No OFD packet to send [04:59:22]OFD Sender: No OFD packet to send [04:59:27]OFD Sender: No OFD packet to send [04:59:32]OFD Sender: No OFD packet to send [04:59:37]OFD Sender: No OFD packet to send [04:59:42]OFD Sender: No OFD packet to send [04:59:47]OFD Sender: No OFD packet to send [04:59:52]OFD Sender: No OFD packet to send [04:59:57]OFD Sender: No OFD packet to send [05:00:02]OFD Sender: No OFD packet to send [05:00:07]OFD Sender: No OFD packet to send [05:00:12]OFD Sender: No OFD packet to send [05:00:17]OFD Sender: No OFD packet to send [05:00:22]OFD Sender: No OFD packet to send [05:00:27]OFD Sender: No OFD packet to send [05:00:32]OFD Sender: No OFD packet to send [05:00:37]OFD Sender: No OFD packet to send [05:00:42]OFD Sender: No OFD packet to send [05:00:47]OFD Sender: No OFD packet to send [05:00:52]OFD Sender: No OFD packet to send [05:00:57]OFD Sender: No OFD packet to send [05:01:02]OFD Sender: No OFD packet to send [05:01:07]OFD Sender: No OFD packet to send [05:01:12]OFD Sender: No OFD packet to send [05:01:17]OFD Sender: No OFD packet to send [05:01:22]OFD Sender: No OFD packet to send [05:01:27]OFD Sender: No OFD packet to send [05:01:32]OFD Sender: No OFD packet to send [05:01:37]OFD Sender: No OFD packet to send [05:01:42]OFD Sender: No OFD packet to send [05:01:47]OFD Sender: No OFD packet to send [05:01:52]OFD Sender: No OFD packet to send [05:01:57]OFD Sender: No OFD packet to send [05:02:02]OFD Sender: No OFD packet to send [05:02:07]OFD Sender: No OFD packet to send [05:02:12]OFD Sender: No OFD packet to send [05:02:17]OFD Sender: No OFD packet to send [05:02:22]OFD Sender: No OFD packet to send [05:02:27]OFD Sender: No OFD packet to send [05:02:32]OFD Sender: No OFD packet to send [05:02:37]OFD Sender: No OFD packet to send [05:02:42]OFD Sender: No OFD packet to send [05:02:47]OFD Sender: No OFD packet to send [05:02:52]OFD Sender: No OFD packet to send [05:02:57]OFD Sender: No OFD packet to send [05:03:02]OFD Sender: No OFD packet to send [05:03:07]OFD Sender: No OFD packet to send [05:03:12]OFD Sender: No OFD packet to send [05:03:17]OFD Sender: No OFD packet to send [05:03:22]OFD Sender: No OFD packet to send [05:03:27]OFD Sender: No OFD packet to send [05:03:32]OFD Sender: No OFD packet to send [05:03:37]OFD Sender: No OFD packet to send [05:03:42]OFD Sender: No OFD packet to send [05:03:47]OFD Sender: No OFD packet to send [05:03:52]OFD Sender: No OFD packet to send [05:03:57]OFD Sender: No OFD packet to send [05:04:02]OFD Sender: No OFD packet to send [05:04:07]OFD Sender: No OFD packet to send [05:04:12]OFD Sender: No OFD packet to send [05:04:17]OFD Sender: No OFD packet to send [05:04:22]OFD Sender: No OFD packet to send [05:04:27]OFD Sender: No OFD packet to send [05:04:32]OFD Sender: No OFD packet to send [05:04:37]OFD Sender: No OFD packet to send [05:04:42]OFD Sender: No OFD packet to send [05:04:47]OFD Sender: No OFD packet to send [05:04:52]OFD Sender: No OFD packet to send [05:04:57]OFD Sender: No OFD packet to send [05:05:02]OFD Sender: No OFD packet to send [05:05:07]OFD Sender: No OFD packet to send [05:05:12]OFD Sender: No OFD packet to send [05:05:17]OFD Sender: No OFD packet to send [05:05:22]OFD Sender: No OFD packet to send [05:05:27]OFD Sender: No OFD packet to send [05:05:32]OFD Sender: No OFD packet to send [05:05:37]OFD Sender: No OFD packet to send [05:05:42]OFD Sender: No OFD packet to send [05:05:47]OFD Sender: No OFD packet to send [05:05:52]OFD Sender: No OFD packet to send [05:05:57]OFD Sender: No OFD packet to send [05:06:02]OFD Sender: No OFD packet to send [05:06:07]OFD Sender: No OFD packet to send [05:06:12]OFD Sender: No OFD packet to send [05:06:17]OFD Sender: No OFD packet to send [05:06:22]OFD Sender: No OFD packet to send [05:06:27]OFD Sender: No OFD packet to send [05:06:32]OFD Sender: No OFD packet to send [05:06:37]OFD Sender: No OFD packet to send [05:06:42]OFD Sender: No OFD packet to send [05:06:47]OFD Sender: No OFD packet to send [05:06:52]OFD Sender: No OFD packet to send [05:06:57]OFD Sender: No OFD packet to send [05:07:02]OFD Sender: No OFD packet to send [05:07:07]OFD Sender: No OFD packet to send [05:07:12]OFD Sender: No OFD packet to send [05:07:17]OFD Sender: No OFD packet to send [05:07:22]OFD Sender: No OFD packet to send [05:07:27]OFD Sender: No OFD packet to send [05:07:32]OFD Sender: No OFD packet to send [05:07:37]OFD Sender: No OFD packet to send [05:07:42]OFD Sender: No OFD packet to send [05:07:47]OFD Sender: No OFD packet to send [05:07:52]OFD Sender: No OFD packet to send [05:07:57]OFD Sender: No OFD packet to send [05:08:02]OFD Sender: No OFD packet to send [05:08:07]OFD Sender: No OFD packet to send [05:08:12]OFD Sender: No OFD packet to send [05:08:17]OFD Sender: No OFD packet to send [05:08:22]OFD Sender: No OFD packet to send [05:08:27]OFD Sender: No OFD packet to send [05:08:32]OFD Sender: No OFD packet to send [05:08:37]OFD Sender: No OFD packet to send [05:08:42]OFD Sender: No OFD packet to send [05:08:47]OFD Sender: No OFD packet to send [05:08:52]OFD Sender: No OFD packet to send [05:08:57]OFD Sender: No OFD packet to send [05:09:02]OFD Sender: No OFD packet to send [05:09:07]OFD Sender: No OFD packet to send [05:09:12]OFD Sender: No OFD packet to send [05:09:17]OFD Sender: No OFD packet to send [05:09:22]OFD Sender: No OFD packet to send [05:09:27]OFD Sender: No OFD packet to send [05:09:32]OFD Sender: No OFD packet to send [05:09:37]OFD Sender: No OFD packet to send [05:09:42]OFD Sender: No OFD packet to send [05:09:47]OFD Sender: No OFD packet to send [05:09:52]OFD Sender: No OFD packet to send [05:09:57]OFD Sender: No OFD packet to send [05:10:02]OFD Sender: No OFD packet to send [05:10:07]OFD Sender: No OFD packet to send [05:10:12]OFD Sender: No OFD packet to send [05:10:17]OFD Sender: No OFD packet to send [05:10:22]OFD Sender: No OFD packet to send [05:10:27]OFD Sender: No OFD packet to send [05:10:32]OFD Sender: No OFD packet to send [05:10:37]OFD Sender: No OFD packet to send [05:10:42]OFD Sender: No OFD packet to send [05:10:47]OFD Sender: No OFD packet to send [05:10:52]OFD Sender: No OFD packet to send [05:10:57]OFD Sender: No OFD packet to send [05:11:02]OFD Sender: No OFD packet to send [05:11:07]OFD Sender: No OFD packet to send [05:11:12]OFD Sender: No OFD packet to send [05:11:17]OFD Sender: No OFD packet to send [05:11:22]OFD Sender: No OFD packet to send [05:11:27]OFD Sender: No OFD packet to send [05:11:32]OFD Sender: No OFD packet to send [05:11:37]OFD Sender: No OFD packet to send [05:11:42]OFD Sender: No OFD packet to send [05:11:47]OFD Sender: No OFD packet to send [05:11:52]OFD Sender: No OFD packet to send [05:11:57]OFD Sender: No OFD packet to send [05:12:02]OFD Sender: No OFD packet to send [05:12:07]OFD Sender: No OFD packet to send [05:12:12]OFD Sender: No OFD packet to send [05:12:17]OFD Sender: No OFD packet to send [05:12:22]OFD Sender: No OFD packet to send [05:12:27]OFD Sender: No OFD packet to send [05:12:32]OFD Sender: No OFD packet to send [05:12:37]OFD Sender: No OFD packet to send [05:12:42]OFD Sender: No OFD packet to send [05:12:47]OFD Sender: No OFD packet to send [05:12:52]OFD Sender: No OFD packet to send [05:12:57]OFD Sender: No OFD packet to send [05:13:02]OFD Sender: No OFD packet to send [05:13:07]OFD Sender: No OFD packet to send [05:13:12]OFD Sender: No OFD packet to send [05:13:17]OFD Sender: No OFD packet to send [05:13:22]OFD Sender: No OFD packet to send [05:13:27]OFD Sender: No OFD packet to send [05:13:32]OFD Sender: No OFD packet to send [05:13:37]OFD Sender: No OFD packet to send [05:13:42]OFD Sender: No OFD packet to send [05:13:47]OFD Sender: No OFD packet to send [05:13:52]OFD Sender: No OFD packet to send [05:13:57]OFD Sender: No OFD packet to send [05:14:02]OFD Sender: No OFD packet to send [05:14:07]OFD Sender: No OFD packet to send [05:14:12]OFD Sender: No OFD packet to send [05:14:17]OFD Sender: No OFD packet to send [05:14:22]OFD Sender: No OFD packet to send [05:14:27]OFD Sender: No OFD packet to send [05:14:32]OFD Sender: No OFD packet to send [05:14:37]OFD Sender: No OFD packet to send [05:14:42]OFD Sender: No OFD packet to send [05:14:47]OFD Sender: No OFD packet to send [05:14:52]OFD Sender: No OFD packet to send [05:14:57]OFD Sender: No OFD packet to send [05:15:02]OFD Sender: No OFD packet to send [05:15:07]OFD Sender: No OFD packet to send [05:15:12]OFD Sender: No OFD packet to send [05:15:17]OFD Sender: No OFD packet to send [05:15:22]OFD Sender: No OFD packet to send [05:15:28]OFD Sender: No OFD packet to send [05:15:33]OFD Sender: No OFD packet to send [05:15:38]OFD Sender: No OFD packet to send [05:15:43]OFD Sender: No OFD packet to send [05:15:48]OFD Sender: No OFD packet to send [05:15:53]OFD Sender: No OFD packet to send [05:15:58]OFD Sender: No OFD packet to send [05:16:03]OFD Sender: No OFD packet to send [05:16:08]OFD Sender: No OFD packet to send [05:16:13]OFD Sender: No OFD packet to send [05:16:18]OFD Sender: No OFD packet to send [05:16:23]OFD Sender: No OFD packet to send [05:16:28]OFD Sender: No OFD packet to send [05:16:31]accept exits with 8 [05:16:31]New connection [05:16:31]New thread 3067129188 created [05:16:31]Thread 3067272548 joined [05:16:31]Waiting for new connection... [05:16:31] Sock 8.Parse request [05:16:31]Sock 8.Check first char [05:16:31]Sock 8.First char is OK [05:16:31]request: POST /json_proto HTTP/1.0 [05:16:31]Method: POST [05:16:31]URL: /json_proto [05:16:31]Method is POST - this is cgi request [05:16:31]url: /json_proto [05:16:31]query_string will be loaded in cgi processing [05:16:31]execute_cgi json_proto POST (null) [05:16:31]execute_cgi path=json_proto method=POST [05:16:31]POST find Content-Length [05:16:31]Host: 172.17.39.4:8080 [05:16:31]Content-Length: 945 [05:16:31]Content-Type: application/json [05:16:31] [05:16:31]POST finish read [05:16:31]Found Content-Length = 945 [05:16:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129486", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:16:31]execute_script... [05:16:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129486", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:16:31]POST & json_proto [05:16:31]process_json_proto [05:16:31]json parsed OK: [05:16:31]protocol is kg_v1.0 [05:16:31]action value=close_receipt [05:16:31]process_action close_receipt [05:16:31]cmd_close_receipt [05:16:31]MH_GetDate [05:16:31]Write to MH i2c: F0 00 00 E7 33 09 [05:16:31]Write i2c OK [05:16:31]MH_I2C_Read... [05:16:31]Read from MH i2c: F0 [05:16:31]MH_I2C_Read... [05:16:31]Read from MH i2c: F0 09 00 [05:16:31]MH_I2C_Read... [05:16:31]Read from MH i2c: F0 09 00 E7 33 00 35 5F 93 66 2D 25 5D 64 B2 [05:16:31]GetLastDocTimeStamp 1720930027 [05:16:31]current date 1720934197 [05:16:31]FM_GetShiftState [05:16:31]SAM_PROTO_GetShiftState [05:16:31]wFMCommunicate request_size=4 [05:16:31]MH_SAM_APDU [05:16:31]CAPDU: 80 13 01 00 [05:16:31]Write to MH i2c: E2 08 00 E8 33 80 13 01 00 00 00 00 00 98 [05:16:31]Write i2c OK [05:16:31]MH_I2C_Read... [05:16:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:16:31]Read from MH i2c: E2 [05:16:31]MH_I2C_Read... [05:16:31]Read from MH i2c: E2 0E 00 [05:16:31]MH_I2C_Read... [05:16:31]Read from MH i2c: E2 0E 00 E8 33 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 3F [05:16:31]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [05:16:31]wFMCommunicate OK [05:16:31]SAM_PROTO_GetShiftState done [05:16:31]FM_GetShiftState done [05:16:31]opened in 1720917126 [05:16:31]opened+sec_in_day 1721003526 [05:16:31]quantity*price = 18000 [05:16:31]sum+1 = 18001 [05:16:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 0.00 Безнал.: 180.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 34 14.07.2024 05:16 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57017 ФПД: 149728305706116 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T051637&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57017&fm=149728305706116&tin=02508201610067®Number=0000000000091208&sum=18000 0 [05:16:32]StoreToDocumentArchive [05:16:32]shift 496 fd 57017 [05:16:32]save to /storage/0496/doc_00057017 [05:16:32]save last doc name /storage/0496/doc_00057017 to /storage/kkm_last_doc_name [05:16:32]save OK [05:16:32]Clear old archive folders... [05:16:32]ProcessDocumentItem done err = 0, tmpTLVsize=272 [05:16:32]tlvbuf is 01D1A1F0 [05:16:32]SAM_PROTO_ClearQueue [05:16:32]wFMCommunicate request_size=4 [05:16:32]MH_SAM_APDU [05:16:32]CAPDU: 80 09 00 00 [05:16:32]Write to MH i2c: E2 08 00 F5 33 80 09 00 00 00 00 00 00 9A [05:16:32]Write i2c OK [05:16:32]MH_I2C_Read... [05:16:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:16:32]Read from MH i2c: E2 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 03 00 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 03 00 F5 33 00 90 00 9C [05:16:32]RAPDU: 90 00 [05:16:32]wFMCommunicate OK [05:16:32]SAM_PROTO_ClearQueue done [05:16:32]KKMCreateOFDPacket [05:16:32]OFDProtocolAddRootSTLVToBuf [05:16:32]FM_MakeSignedData [05:16:32]FM_MakeSignedData [05:16:32]SAM_PROTO_SignData [05:16:32]wFMCommunicate request_size=4 [05:16:32]MH_SAM_APDU [05:16:32]CAPDU: 80 0D 01 02 [05:16:32]Write to MH i2c: E2 08 00 F6 33 80 0D 01 02 00 00 00 00 A2 [05:16:32]Write i2c OK [05:16:32]MH_I2C_Read... [05:16:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:16:32]Read from MH i2c: E2 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 03 00 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 03 00 F6 33 00 90 00 9D [05:16:32]RAPDU: 90 00 [05:16:32]wFMCommunicate OK [05:16:32]wFMCommunicate request_size=255 [05:16:32]MH_SAM_APDU [05:16:32]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 35 5F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [05:16:32]Write to MH i2c: E2 02 01 F7 33 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 35 5F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 1A [05:16:32]Write i2c OK [05:16:32]MH_I2C_Read... [05:16:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:16:32]Read from MH i2c: E2 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 03 00 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 03 00 F7 33 00 90 00 9E [05:16:32]RAPDU: 90 00 [05:16:32]wFMCommunicate OK [05:16:32]wFMCommunicate request_size=31 [05:16:32]MH_SAM_APDU [05:16:32]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 B9 DE 00 00 35 04 06 00 88 2D 56 79 74 84 [05:16:32]Write to MH i2c: E2 22 00 F8 33 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 B9 DE 00 00 35 04 06 00 88 2D 56 79 74 84 00 00 EA [05:16:32]Write i2c OK [05:16:32]MH_I2C_Read... [05:16:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:16:32]Read from MH i2c: E2 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 03 00 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 03 00 F8 33 00 90 00 9F [05:16:32]RAPDU: 90 00 [05:16:32]wFMCommunicate OK [05:16:32]wFMCommunicate request_size=4 [05:16:32]MH_SAM_APDU [05:16:32]CAPDU: 80 0D 03 02 [05:16:32]Write to MH i2c: E2 08 00 F9 33 80 0D 03 02 00 00 00 00 A7 [05:16:32]Write i2c OK [05:16:32]MH_I2C_Read... [05:16:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:16:32]Read from MH i2c: E2 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 0B 00 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 0B 00 F9 33 00 E6 8C 27 7A 83 34 09 3E 90 00 B9 [05:16:32]RAPDU: E6 8C 27 7A 83 34 09 3E 90 00 [05:16:32]wFMCommunicate OK [05:16:32]SAM_PROTO_SignData done [05:16:32]FM_MakeSignedData done [05:16:32]CreateOFDProtocolMessage [05:16:32]wFMCommunicate request_size=4 [05:16:32]MH_SAM_APDU [05:16:32]CAPDU: 80 11 00 00 [05:16:32]Write to MH i2c: E2 08 00 FA 33 80 11 00 00 00 00 00 00 A7 [05:16:32]Write i2c OK [05:16:32]MH_I2C_Read... [05:16:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:16:32]Read from MH i2c: E2 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 17 00 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: E2 17 00 FA 33 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 01 [05:16:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:16:32]wFMCommunicate OK [05:16:32]CreateOFDProtocolMessage done [05:16:32]OFDSenderStorePacket 57017 [05:16:32]StoreOFDPacket docnum=57017 [05:16:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 B1 10 1C 01 6A 24 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 35 5F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B9 DE 00 00 35 04 06 00 88 2D 56 79 74 84 E6 8C 27 7A 83 34 09 3E [05:16:32]CheckFolder [05:16:32]dirname=/storage/ofd_packets [05:16:32]CheckFolder done [05:16:32]ProducePacketName [05:16:32]name=ofd_packets/00057017 [05:16:32]NVStorageSaveData ofd_packets/00057017 [05:16:32]File name is /storage/ofd_packets/00057017 [05:16:32]Write 322 bytes [05:16:32]NVStorageSaveData done [05:16:32]OFDSenderStorePacket done [05:16:32]KKMCreateOFDPacket done [05:16:32]NVStorageSaveData kkm_last_timestamp [05:16:32]File name is /storage/kkm_last_timestamp [05:16:32]Write 4 bytes [05:16:32]NVStorageSaveData done [05:16:32]ExternCall_PrintAddStr [05:16:32]wPrintStart [05:16:32]Write to MH i2c: 01 00 00 FB 33 2E [05:16:32]Write i2c OK [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: 01 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: 01 07 00 [05:16:32]MH_I2C_Read... [05:16:32]Read from MH i2c: 01 07 00 FB 33 00 00 00 00 00 FF 0F 43 [05:16:32]RasterBufferAndPrint [05:16:32]line Счет N : (3)129486 [05:16:32]line ИНН: 02508201610067 [05:16:32]line Контрольно-Кассовый Чек [05:16:32]line ПРОДАЖА [05:16:32]line Товар: 4700000480517 [05:16:32]line Пиво Живое 1л ПЭТ [05:16:32]line 1.000 * 180.00 [05:16:32]line = 180.00 [05:16:32]line НДС 12% НСП 1% [05:16:32]line > о реализуемом товаре [05:16:32]line ИТОГО: 180.00 [05:16:32]line НСП 1% : 1.59 [05:16:32]line НДС 12% : 19.11 [05:16:32]line Наличными: 0.00 [05:16:32]line Безнал.: 180.00 [05:16:32]line Место: АЗС № 132 "Партнер Нефть" [05:16:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [05:16:32]line СНО: Общий режим [05:16:32]line Чек 34 14.07.2024 05:16 [05:16:32]line Смена: 496 ФФД: 1.0 [05:16:32]line ЗНМ: 0300000132 [05:16:32]line РНМ: 0000000000091208 [05:16:32]line Версия ККМ: 001 [05:16:32]line Платежная система: АКБ Кыргызстан [05:16:32]line ФМ: 0000000000874857 [05:16:32]line ФД: 57017 [05:16:32]line ФПД: 149728305706116 [05:16:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T051637&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57017&fm=149728305706116&tin=02508201610067®Number=0000000000091208&sum=18000 [05:16:33]line 0 [05:16:33]OFD Sender: Processing packet 57017 [packets to send 38, broken 37] [05:16:33]ProducePacketName [05:16:33]name=ofd_packets/00057017 [05:16:33]OFD Sender: To server: pG, [05:16:33]CommunicateWithHost lk.salyk.kg:30040 [05:16:33]ConnectInit lk.salyk.kg [05:16:33]written 0, free lines is 4095 [05:16:33]Connected sock=10 [05:16:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 B1 10 1C 01 6A 24 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 22 00 00 00 F4 03 04 00 35 5F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B9 DE 00 00 35 04 06 00 88 2D 56 79 74 84 E6 8C 27 7A 83 34 09 3E [05:16:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 00 CE 47 00 86 0C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 B9 DE 00 00 F4 03 04 00 87 05 93 66 B6 04 01 00 00 79 95 B6 03 18 90 A3 6B [05:16:33]CommunicateWithHost err = 0 [05:16:33]CheckOFDResponse [05:16:33]1017 (14) - 77093643461234 [05:16:33]1041 (16) - 0000000000874857 [05:16:33]1040 (4) - 57017 [05:16:33]1012 (4) - 13.07.2024 22:53 [05:16:33]1206 (1) - 0 [05:16:33]OFD Sender: Remove packet 57017 [05:16:33]ProducePacketName [05:16:33]name=ofd_packets/00057017 [05:16:33]NVStorageDeleteData [05:16:33]Write to MH i2c: 01 00 00 25 34 59 [05:16:33]Write i2c OK [05:16:33]MH_I2C_Read... [05:16:33]Read from MH i2c: 01 [05:16:33]MH_I2C_Read... [05:16:33]Read from MH i2c: 01 07 00 [05:16:33]MH_I2C_Read... [05:16:33]Read from MH i2c: 01 07 00 25 34 00 00 00 00 00 E4 0C 50 [05:16:33]RasterBufferAndPrint [05:16:33]line [05:16:33]line [05:16:33]line [05:16:33]line [05:16:33]line [05:16:33]written 0, free lines is 3306 [05:16:33]MH_Cut [05:16:33]Write to MH i2c: D1 01 00 2C 34 01 32 [05:16:33]Write i2c OK [05:16:33]MH_I2C_Read... [05:16:33]Read from MH i2c: D1 [05:16:33]MH_I2C_Read... [05:16:33]Read from MH i2c: D1 01 00 [05:16:33]MH_I2C_Read... [05:16:33]Read from MH i2c: D1 01 00 2C 34 00 31 [05:16:33]Write to MH i2c: 01 00 00 2D 34 61 [05:16:33]Write i2c OK [05:16:33]MH_I2C_Read... [05:16:34]OFD Sender: No OFD packet to send [05:16:34]*** Cut start [05:16:34]*** Partial cut [05:16:34]*** CUTSNS_PIN = 1 [05:16:34]*** CUTSNS_PIN = 0 [05:16:34]*** Brake cut motor [05:16:34]Read from MH i2c: 01 [05:16:35]MH_I2C_Read... [05:16:35]*** Stop cut motor [05:16:35]*** Cut end [05:16:35]Read from MH i2c: 01 07 00 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: 01 07 00 2D 34 00 00 00 00 00 FF 0F 76 [05:16:35]process_action close_receipt done [05:16:35]requested_data is exist [05:16:35]produce_requested_data [05:16:35]requested_item fm.sn is exist - process it [05:16:35]wFMCommunicate request_size=4 [05:16:35]MH_SAM_APDU [05:16:35]CAPDU: 80 11 00 00 [05:16:35]Write to MH i2c: E2 08 00 2E 34 80 11 00 00 00 00 00 00 DC [05:16:35]Write i2c OK [05:16:35]MH_I2C_Read... [05:16:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:16:35]Read from MH i2c: E2 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: E2 17 00 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: E2 17 00 2E 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 36 [05:16:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:16:35]wFMCommunicate OK [05:16:35]requested_item fd.num is exist - process it [05:16:35]SAM_PROTO_GetFieldsCounters [05:16:35]wFMCommunicate request_size=4 [05:16:35]MH_SAM_APDU [05:16:35]CAPDU: 80 13 00 00 [05:16:35]Write to MH i2c: E2 08 00 2F 34 80 13 00 00 00 00 00 00 DF [05:16:35]Write i2c OK [05:16:35]MH_I2C_Read... [05:16:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:16:35]Read from MH i2c: E2 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: E2 62 00 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: E2 62 00 2F 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B9 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [05:16:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 B9 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 22 00 00 00 5E 04 04 00 22 00 00 00 57 04 04 00 23 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:16:35]wFMCommunicate OK [05:16:35]SAM_PROTO_GetFieldsCounters done [05:16:35]requested_item shift.num is exist - process it [05:16:35]requested_item shift.opened is exist - process it [05:16:35]req_shift_opened [05:16:35]FM_GetShiftState [05:16:35]SAM_PROTO_GetShiftState [05:16:35]wFMCommunicate request_size=4 [05:16:35]MH_SAM_APDU [05:16:35]CAPDU: 80 13 01 00 [05:16:35]Write to MH i2c: E2 08 00 30 34 80 13 01 00 00 00 00 00 E1 [05:16:35]Write i2c OK [05:16:35]MH_I2C_Read... [05:16:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:16:35]Read from MH i2c: E2 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: E2 0E 00 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: E2 0E 00 30 34 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 88 [05:16:35]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [05:16:35]wFMCommunicate OK [05:16:35]SAM_PROTO_GetShiftState done [05:16:35]FM_GetShiftState done [05:16:35]req_shift_opened done [05:16:35]requested_item shift.open_date is exist - process it [05:16:35]req_shift_open_date [05:16:35]req_shift_open_date done [05:16:35]requested_item shift.sale.total is exist - process it [05:16:35]SAM_PROTO_GetShiftData [05:16:35]wFMCommunicate request_size=4 [05:16:35]MH_SAM_APDU [05:16:35]CAPDU: 80 13 02 00 [05:16:35]Write to MH i2c: E2 08 00 31 34 80 13 02 00 00 00 00 00 E3 [05:16:35]Write i2c OK [05:16:35]MH_I2C_Read... [05:16:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [05:16:35]Read from MH i2c: E2 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: E2 FD 00 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: E2 FD 00 31 34 00 BB 04 AA 04 B7 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 20 00 00 00 B1 04 03 00 1C 3D 15 70 04 03 00 D4 C4 11 72 04 03 00 48 78 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 41 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 64 [05:16:35]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 22 00 00 00 69 04 9B 00 6F 04 04 00 20 00 00 00 B1 04 03 00 1C 3D 15 70 04 03 00 D4 C4 11 72 04 03 00 48 78 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 61 41 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 18 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [05:16:35]wFMCommunicate OK [05:16:35]wFMCommunicate request_size=4 [05:16:35]MH_SAM_APDU [05:16:35]CAPDU: 80 17 00 00 [05:16:35]Write to MH i2c: E2 08 00 32 34 80 17 00 00 00 00 00 00 E6 [05:16:35]Write i2c OK [05:16:35]MH_I2C_Read... [05:16:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:16:35]Read from MH i2c: E2 [05:16:35]MH_I2C_Read... [05:16:35]Read from MH i2c: E2 FD 00 [05:16:35]MH_I2C_Read... [05:16:36]Read from MH i2c: E2 FD 00 32 34 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 79 [05:16:36]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [05:16:36]wFMCommunicate OK [05:16:36]wFMCommunicate request_size=4 [05:16:36]MH_SAM_APDU [05:16:36]CAPDU: 80 17 00 00 [05:16:36]Write to MH i2c: E2 08 00 33 34 80 17 00 00 00 00 00 00 E7 [05:16:36]Write i2c OK [05:16:36]MH_I2C_Read... [05:16:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:16:36]Read from MH i2c: E2 [05:16:36]MH_I2C_Read... [05:16:36]Read from MH i2c: E2 FD 00 [05:16:36]MH_I2C_Read... [05:16:36]Read from MH i2c: E2 FD 00 33 34 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 13 [05:16:36]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [05:16:36]wFMCommunicate OK [05:16:36]wFMCommunicate request_size=4 [05:16:36]MH_SAM_APDU [05:16:36]CAPDU: 80 17 00 00 [05:16:36]Write to MH i2c: E2 08 00 34 34 80 17 00 00 00 00 00 00 E8 [05:16:36]Write i2c OK [05:16:36]MH_I2C_Read... [05:16:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:16:36]Read from MH i2c: E2 [05:16:36]MH_I2C_Read... [05:16:36]Read from MH i2c: E2 FD 00 [05:16:36]MH_I2C_Read... [05:16:36]Read from MH i2c: E2 FD 00 34 34 00 00 00 EF 03 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 90 00 5D [05:16:36]RAPDU: 00 00 EF 03 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 90 00 [05:16:36]wFMCommunicate OK [05:16:36]wFMCommunicate request_size=4 [05:16:36]MH_SAM_APDU [05:16:36]CAPDU: 80 17 00 00 [05:16:36]Write to MH i2c: E2 08 00 35 34 80 17 00 00 00 00 00 00 E9 [05:16:36]Write i2c OK [05:16:36]MH_I2C_Read... [05:16:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [05:16:36]Read from MH i2c: E2 [05:16:36]MH_I2C_Read... [05:16:36]Read from MH i2c: E2 D8 00 [05:16:36]MH_I2C_Read... [05:16:36]Read from MH i2c: E2 D8 00 35 34 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 D0 [05:16:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [05:16:36]wFMCommunicate OK [05:16:36]SAM_PROTO_GetShiftData done [05:16:36]requested_item shift.sale.total_cash is exist - process it [05:16:36]requested_item shift.sale_refund.total is exist - process it [05:16:36]requested_item shift.sale_refund.total_cash is exist - process it [05:16:36]produce_requested_data done [05:16:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57017,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":13919.00,"shift.sale.total_cash":11645.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [05:16:36]process_action_free close_receipt [05:16:36]json_value_free [05:16:36]json_value_free done [05:16:36]process_json_proto returns [05:16:36]Send response to host [05:16:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57017,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":13919.00,"shift.sale.total_cash":11645.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [05:16:36]free response buf [05:16:36]execute_script done [05:16:36]execute_script returns [05:16:36]free content buf [05:16:36]Sock 8.Close socket [05:16:36]Sock 8.Thread stoped [05:16:39]OFD Sender: No OFD packet to send [05:16:44]OFD Sender: No OFD packet to send [05:16:49]OFD Sender: No OFD packet to send [05:16:54]OFD Sender: No OFD packet to send [05:16:59]OFD Sender: No OFD packet to send [05:17:04]OFD Sender: No OFD packet to send [05:17:09]OFD Sender: No OFD packet to send [05:17:14]OFD Sender: No OFD packet to send [05:17:16]accept exits with 9 [05:17:16]New connection [05:17:16]New thread 3067272548 created [05:17:16]Thread 3067129188 joined [05:17:16]Waiting for new connection... [05:17:16] Sock 9.Parse request [05:17:16]Sock 9.Check first char [05:17:16]Sock 9.First char is OK [05:17:16]request: POST /json_proto HTTP/1.0 [05:17:16]Method: POST [05:17:16]URL: /json_proto [05:17:16]Method is POST - this is cgi request [05:17:16]url: /json_proto [05:17:16]query_string will be loaded in cgi processing [05:17:16]execute_cgi json_proto POST (null) [05:17:16]execute_cgi path=json_proto method=POST [05:17:16]POST find Content-Length [05:17:16]Host: 172.17.39.4:8080 [05:17:16]Content-Length: 929 [05:17:16]Content-Type: application/json [05:17:16] [05:17:16]POST finish read [05:17:16]Found Content-Length = 929 [05:17:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129487", "tax_sys" : 0, "items" : [ { "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:17:16]execute_script... [05:17: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)129487", "tax_sys" : 0, "items" : [ { "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:17:16]POST & json_proto [05:17:16]process_json_proto [05:17:16]json parsed OK: [05:17:16]protocol is kg_v1.0 [05:17:16]action value=close_receipt [05:17:16]process_action close_receipt [05:17:16]cmd_close_receipt [05:17:16]MH_GetDate [05:17:16]Write to MH i2c: F0 00 00 36 34 59 [05:17:16]Write i2c OK [05:17:16]MH_I2C_Read... [05:17:16]Read from MH i2c: F0 [05:17:16]MH_I2C_Read... [05:17:16]Read from MH i2c: F0 09 00 [05:17:16]MH_I2C_Read... [05:17:16]Read from MH i2c: F0 09 00 36 34 00 62 5F 93 66 2D 25 5D 64 2F [05:17:16]GetLastDocTimeStamp 1720934197 [05:17:16]current date 1720934242 [05:17:16]FM_GetShiftState [05:17:16]SAM_PROTO_GetShiftState [05:17:16]wFMCommunicate request_size=4 [05:17:16]MH_SAM_APDU [05:17:16]CAPDU: 80 13 01 00 [05:17:16]Write to MH i2c: E2 08 00 37 34 80 13 01 00 00 00 00 00 E8 [05:17:16]Write i2c OK [05:17:16]MH_I2C_Read... [05:17:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:17:16]Read from MH i2c: E2 [05:17:16]MH_I2C_Read... [05:17:16]Read from MH i2c: E2 0E 00 [05:17:16]MH_I2C_Read... [05:17:16]Read from MH i2c: E2 0E 00 37 34 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 8F [05:17:16]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [05:17:16]wFMCommunicate OK [05:17:16]SAM_PROTO_GetShiftState done [05:17:16]FM_GetShiftState done [05:17:16]opened in 1720917126 [05:17:16]opened+sec_in_day 1721003526 [05:17:16]quantity*price = 4000 [05:17:16]sum+1 = 4001 [05:17:16]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 0.00 Безнал.: 40.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 35 14.07.2024 05:17 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57018 ФПД: 132725454334982 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T051722&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57018&fm=132725454334982&tin=02508201610067®Number=0000000000091208&sum=4000 0 [05:17:17]StoreToDocumentArchive [05:17:17]shift 496 fd 57018 [05:17:17]save to /storage/0496/doc_00057018 [05:17:17]save last doc name /storage/0496/doc_00057018 to /storage/kkm_last_doc_name [05:17:17]save OK [05:17:17]Clear old archive folders... [05:17:17]ProcessDocumentItem done err = 0, tmpTLVsize=271 [05:17:17]tlvbuf is 01CD7280 [05:17:17]SAM_PROTO_ClearQueue [05:17:17]wFMCommunicate request_size=4 [05:17:17]MH_SAM_APDU [05:17:17]CAPDU: 80 09 00 00 [05:17:17]Write to MH i2c: E2 08 00 44 34 80 09 00 00 00 00 00 00 EA [05:17:17]Write i2c OK [05:17:17]MH_I2C_Read... [05:17:17]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:17:17]Read from MH i2c: E2 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 03 00 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 03 00 44 34 00 90 00 EC [05:17:17]RAPDU: 90 00 [05:17:17]wFMCommunicate OK [05:17:17]SAM_PROTO_ClearQueue done [05:17:17]KKMCreateOFDPacket [05:17:17]OFDProtocolAddRootSTLVToBuf [05:17:17]FM_MakeSignedData [05:17:17]FM_MakeSignedData [05:17:17]SAM_PROTO_SignData [05:17:17]wFMCommunicate request_size=4 [05:17:17]MH_SAM_APDU [05:17:17]CAPDU: 80 0D 01 02 [05:17:17]Write to MH i2c: E2 08 00 45 34 80 0D 01 02 00 00 00 00 F2 [05:17:17]Write i2c OK [05:17:17]MH_I2C_Read... [05:17:17]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:17:17]Read from MH i2c: E2 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 03 00 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 03 00 45 34 00 90 00 ED [05:17:17]RAPDU: 90 00 [05:17:17]wFMCommunicate OK [05:17:17]wFMCommunicate request_size=255 [05:17:17]MH_SAM_APDU [05:17:17]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 62 5F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [05:17:17]Write to MH i2c: E2 02 01 46 34 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 62 5F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 92 [05:17:17]Write i2c OK [05:17:17]MH_I2C_Read... [05:17:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:17:17]Read from MH i2c: E2 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 03 00 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 03 00 46 34 00 90 00 EE [05:17:17]RAPDU: 90 00 [05:17:17]wFMCommunicate OK [05:17:17]wFMCommunicate request_size=30 [05:17:17]MH_SAM_APDU [05:17:17]CAPDU: 80 0D 02 02 19 30 38 37 34 38 35 37 10 04 04 00 BA DE 00 00 35 04 06 00 78 B6 8D 8E EC 06 [05:17:17]Write to MH i2c: E2 21 00 47 34 80 0D 02 02 19 00 30 38 37 34 38 35 37 10 04 04 00 BA DE 00 00 35 04 06 00 78 B6 8D 8E EC 06 00 00 C8 [05:17:17]Write i2c OK [05:17:17]MH_I2C_Read... [05:17:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:17:17]Read from MH i2c: E2 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 03 00 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 03 00 47 34 00 90 00 EF [05:17:17]RAPDU: 90 00 [05:17:17]wFMCommunicate OK [05:17:17]wFMCommunicate request_size=4 [05:17:17]MH_SAM_APDU [05:17:17]CAPDU: 80 0D 03 02 [05:17:17]Write to MH i2c: E2 08 00 48 34 80 0D 03 02 00 00 00 00 F7 [05:17:17]Write i2c OK [05:17:17]MH_I2C_Read... [05:17:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:17:17]Read from MH i2c: E2 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 0B 00 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 0B 00 48 34 00 BD 11 8C 90 A0 B4 82 78 90 00 30 [05:17:17]RAPDU: BD 11 8C 90 A0 B4 82 78 90 00 [05:17:17]wFMCommunicate OK [05:17:17]SAM_PROTO_SignData done [05:17:17]FM_MakeSignedData done [05:17:17]CreateOFDProtocolMessage [05:17:17]wFMCommunicate request_size=4 [05:17:17]MH_SAM_APDU [05:17:17]CAPDU: 80 11 00 00 [05:17:17]Write to MH i2c: E2 08 00 49 34 80 11 00 00 00 00 00 00 F7 [05:17:17]Write i2c OK [05:17:17]MH_I2C_Read... [05:17:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:17:17]Read from MH i2c: E2 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 17 00 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: E2 17 00 49 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 51 [05:17:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:17:17]wFMCommunicate OK [05:17:17]CreateOFDProtocolMessage done [05:17:17]OFDSenderStorePacket 57018 [05:17:17]StoreOFDPacket docnum=57018 [05:17:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 3A C9 1B 01 6B 31 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 62 5F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BA DE 00 00 35 04 06 00 78 B6 8D 8E EC 06 BD 11 8C 90 A0 B4 82 78 [05:17:17]CheckFolder [05:17:17]dirname=/storage/ofd_packets [05:17:17]CheckFolder done [05:17:17]ProducePacketName [05:17:17]name=ofd_packets/00057018 [05:17:17]NVStorageSaveData ofd_packets/00057018 [05:17:17]File name is /storage/ofd_packets/00057018 [05:17:17]Write 321 bytes [05:17:17]NVStorageSaveData done [05:17:17]OFDSenderStorePacket done [05:17:17]KKMCreateOFDPacket done [05:17:17]NVStorageSaveData kkm_last_timestamp [05:17:17]File name is /storage/kkm_last_timestamp [05:17:17]Write 4 bytes [05:17:17]NVStorageSaveData done [05:17:17]ExternCall_PrintAddStr [05:17:17]wPrintStart [05:17:17]Write to MH i2c: 01 00 00 4A 34 7E [05:17:17]Write i2c OK [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: 01 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: 01 07 00 [05:17:17]MH_I2C_Read... [05:17:17]Read from MH i2c: 01 07 00 4A 34 00 00 00 00 00 FF 0F 93 [05:17:17]RasterBufferAndPrint [05:17:17]line Счет N : (3)129487 [05:17:17]line ИНН: 02508201610067 [05:17:17]line Контрольно-Кассовый Чек [05:17:17]line ПРОДАЖА [05:17:17]line Товар: 46177872 [05:17:17]line Жев Orbit подушки Citrus [05:17:17]line 1.000 * 40.00 [05:17:17]line = 40.00 [05:17:17]line НДС 12% НСП 1% [05:17:17]line > о реализуемом товаре [05:17:17]line ИТОГО: 40.00 [05:17:17]line НСП 1% : 0.35 [05:17:17]line НДС 12% : 4.25 [05:17:17]line Наличными: 0.00 [05:17:17]line Безнал.: 40.00 [05:17:17]line Место: АЗС № 132 "Партнер Нефть" [05:17:17]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [05:17:17]line СНО: Общий режим [05:17:17]line Чек 35 14.07.2024 05:17 [05:17:17]line Смена: 496 ФФД: 1.0 [05:17:17]line ЗНМ: 0300000132 [05:17:17]line РНМ: 0000000000091208 [05:17:17]line Версия ККМ: 001 [05:17:17]line Платежная система: АКБ Кыргызстан [05:17:17]line ФМ: 0000000000874857 [05:17:17]line ФД: 57018 [05:17:17]line ФПД: 132725454334982 [05:17:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T051722&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57018&fm=132725454334982&tin=02508201610067®Number=0000000000091208&sum=4000 [05:17:18]OFD Sender: Processing packet 57018 [packets to send 38, broken 37] [05:17:18]ProducePacketName [05:17:18]name=ofd_packets/00057018 [05:17:18]OFD Sender: To server: pG, [05:17:18]CommunicateWithHost lk.salyk.kg:30040 [05:17:18]ConnectInit lk.salyk.kg [05:17:18]line 0 [05:17:18]written 0, free lines is 4095 [05:17:18]Connected sock=10 [05:17:18]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 3A C9 1B 01 6B 31 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 A0 0F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 23 00 00 00 F4 03 04 00 62 5F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BA DE 00 00 35 04 06 00 78 B6 8D 8E EC 06 BD 11 8C 90 A0 B4 82 78 [05:17:18]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 A2 8E 47 00 17 20 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BA DE 00 00 F4 03 04 00 B4 05 93 66 B6 04 01 00 00 EB 36 FE E2 8B 05 33 72 [05:17:18]CommunicateWithHost err = 0 [05:17:18]CheckOFDResponse [05:17:18]1017 (14) - 77093643461234 [05:17:18]1041 (16) - 0000000000874857 [05:17:18]1040 (4) - 57018 [05:17:18]1012 (4) - 13.07.2024 22:54 [05:17:18]1206 (1) - 0 [05:17:18]OFD Sender: Remove packet 57018 [05:17:18]ProducePacketName [05:17:18]name=ofd_packets/00057018 [05:17:18]NVStorageDeleteData [05:17:18]Write to MH i2c: 01 00 00 74 34 A8 [05:17:18]Write i2c OK [05:17:18]MH_I2C_Read... [05:17:18]Read from MH i2c: 01 [05:17:18]MH_I2C_Read... [05:17:18]Read from MH i2c: 01 07 00 [05:17:18]MH_I2C_Read... [05:17:18]Read from MH i2c: 01 07 00 74 34 00 00 00 00 00 E7 0C A2 [05:17:18]RasterBufferAndPrint [05:17:18]line [05:17:18]line [05:17:18]line [05:17:18]line [05:17:18]line [05:17:18]written 0, free lines is 3309 [05:17:18]MH_Cut [05:17:18]Write to MH i2c: D1 01 00 7B 34 01 81 [05:17:18]Write i2c OK [05:17:18]MH_I2C_Read... [05:17:18]Read from MH i2c: D1 [05:17:18]MH_I2C_Read... [05:17:18]Read from MH i2c: D1 01 00 [05:17:18]MH_I2C_Read... [05:17:18]Read from MH i2c: D1 01 00 7B 34 00 80 [05:17:18]Write to MH i2c: 01 00 00 7C 34 B0 [05:17:18]Write i2c OK [05:17:18]MH_I2C_Read... [05:17:18]OFD Sender: No OFD packet to send [05:17:19]*** Cut start [05:17:19]*** Partial cut [05:17:19]*** CUTSNS_PIN = 1 [05:17:19]*** CUTSNS_PIN = 0 [05:17:19]*** Brake cut motor [05:17:19]Read from MH i2c: 01 [05:17:19]MH_I2C_Read... [05:17:19]*** Stop cut motor [05:17:19]*** Cut end [05:17:19]Read from MH i2c: 01 07 00 [05:17:19]MH_I2C_Read... [05:17:19]Read from MH i2c: 01 07 00 7C 34 00 00 00 00 00 FF 0F C5 [05:17:19]process_action close_receipt done [05:17:19]requested_data is exist [05:17:19]produce_requested_data [05:17:19]requested_item fm.sn is exist - process it [05:17:19]wFMCommunicate request_size=4 [05:17:19]MH_SAM_APDU [05:17:19]CAPDU: 80 11 00 00 [05:17:19]Write to MH i2c: E2 08 00 7D 34 80 11 00 00 00 00 00 00 2B [05:17:19]Write i2c OK [05:17:19]MH_I2C_Read... [05:17:20]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:17:20]Read from MH i2c: E2 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 17 00 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 17 00 7D 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 85 [05:17:20]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:17:20]wFMCommunicate OK [05:17:20]requested_item fd.num is exist - process it [05:17:20]SAM_PROTO_GetFieldsCounters [05:17:20]wFMCommunicate request_size=4 [05:17:20]MH_SAM_APDU [05:17:20]CAPDU: 80 13 00 00 [05:17:20]Write to MH i2c: E2 08 00 7E 34 80 13 00 00 00 00 00 00 2E [05:17:20]Write i2c OK [05:17:20]MH_I2C_Read... [05:17:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:17:20]Read from MH i2c: E2 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 62 00 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 62 00 7E 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BA DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 43 [05:17:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BA DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 23 00 00 00 5E 04 04 00 23 00 00 00 57 04 04 00 24 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:17:20]wFMCommunicate OK [05:17:20]SAM_PROTO_GetFieldsCounters done [05:17:20]requested_item shift.num is exist - process it [05:17:20]requested_item shift.opened is exist - process it [05:17:20]req_shift_opened [05:17:20]FM_GetShiftState [05:17:20]SAM_PROTO_GetShiftState [05:17:20]wFMCommunicate request_size=4 [05:17:20]MH_SAM_APDU [05:17:20]CAPDU: 80 13 01 00 [05:17:20]Write to MH i2c: E2 08 00 7F 34 80 13 01 00 00 00 00 00 30 [05:17:20]Write i2c OK [05:17:20]MH_I2C_Read... [05:17:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:17:20]Read from MH i2c: E2 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 0E 00 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 0E 00 7F 34 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 D7 [05:17:20]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [05:17:20]wFMCommunicate OK [05:17:20]SAM_PROTO_GetShiftState done [05:17:20]FM_GetShiftState done [05:17:20]req_shift_opened done [05:17:20]requested_item shift.open_date is exist - process it [05:17:20]req_shift_open_date [05:17:20]req_shift_open_date done [05:17:20]requested_item shift.sale.total is exist - process it [05:17:20]SAM_PROTO_GetShiftData [05:17:20]wFMCommunicate request_size=4 [05:17:20]MH_SAM_APDU [05:17:20]CAPDU: 80 13 02 00 [05:17:20]Write to MH i2c: E2 08 00 80 34 80 13 02 00 00 00 00 00 32 [05:17:20]Write i2c OK [05:17:20]MH_I2C_Read... [05:17:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [05:17:20]Read from MH i2c: E2 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 FD 00 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 FD 00 80 34 00 BB 04 AA 04 B7 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 BC 4C 15 70 04 03 00 D4 C4 11 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0A 43 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 E1 [05:17:20]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 23 00 00 00 69 04 9B 00 6F 04 04 00 21 00 00 00 B1 04 03 00 BC 4C 15 70 04 03 00 D4 C4 11 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0A 43 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 30 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [05:17:20]wFMCommunicate OK [05:17:20]wFMCommunicate request_size=4 [05:17:20]MH_SAM_APDU [05:17:20]CAPDU: 80 17 00 00 [05:17:20]Write to MH i2c: E2 08 00 81 34 80 17 00 00 00 00 00 00 35 [05:17:20]Write i2c OK [05:17:20]MH_I2C_Read... [05:17:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:17:20]Read from MH i2c: E2 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 FD 00 [05:17:20]MH_I2C_Read... [05:17:20]Read from MH i2c: E2 FD 00 81 34 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C8 [05:17:20]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [05:17:20]wFMCommunicate OK [05:17:20]wFMCommunicate request_size=4 [05:17:20]MH_SAM_APDU [05:17:20]CAPDU: 80 17 00 00 [05:17:20]Write to MH i2c: E2 08 00 82 34 80 17 00 00 00 00 00 00 36 [05:17:20]Write i2c OK [05:17:20]MH_I2C_Read... [05:17:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:17:21]Read from MH i2c: E2 [05:17:21]MH_I2C_Read... [05:17:21]Read from MH i2c: E2 FD 00 [05:17:21]MH_I2C_Read... [05:17:21]Read from MH i2c: E2 FD 00 82 34 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 62 [05:17:21]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [05:17:21]wFMCommunicate OK [05:17:21]wFMCommunicate request_size=4 [05:17:21]MH_SAM_APDU [05:17:21]CAPDU: 80 17 00 00 [05:17:21]Write to MH i2c: E2 08 00 83 34 80 17 00 00 00 00 00 00 37 [05:17:21]Write i2c OK [05:17:21]MH_I2C_Read... [05:17:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:17:21]Read from MH i2c: E2 [05:17:21]MH_I2C_Read... [05:17:21]Read from MH i2c: E2 FD 00 [05:17:21]MH_I2C_Read... [05:17:21]Read from MH i2c: E2 FD 00 83 34 00 00 00 EF 03 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 90 00 AC [05:17:21]RAPDU: 00 00 EF 03 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 90 00 [05:17:21]wFMCommunicate OK [05:17:21]wFMCommunicate request_size=4 [05:17:21]MH_SAM_APDU [05:17:21]CAPDU: 80 17 00 00 [05:17:21]Write to MH i2c: E2 08 00 84 34 80 17 00 00 00 00 00 00 38 [05:17:21]Write i2c OK [05:17:21]MH_I2C_Read... [05:17:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [05:17:21]Read from MH i2c: E2 [05:17:21]MH_I2C_Read... [05:17:21]Read from MH i2c: E2 D8 00 [05:17:21]MH_I2C_Read... [05:17:21]Read from MH i2c: E2 D8 00 84 34 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 1F [05:17:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [05:17:21]wFMCommunicate OK [05:17:21]SAM_PROTO_GetShiftData done [05:17:21]requested_item shift.sale.total_cash is exist - process it [05:17:21]requested_item shift.sale_refund.total is exist - process it [05:17:21]requested_item shift.sale_refund.total_cash is exist - process it [05:17:21]produce_requested_data done [05:17:21]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57018,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":13959.00,"shift.sale.total_cash":11645.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [05:17:21]process_action_free close_receipt [05:17:21]json_value_free [05:17:21]json_value_free done [05:17:21]process_json_proto returns [05:17:21]Send response to host [05:17:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57018,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":13959.00,"shift.sale.total_cash":11645.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [05:17:21]free response buf [05:17:21]execute_script done [05:17:21]execute_script returns [05:17:21]free content buf [05:17:21]Sock 9.Close socket [05:17:21]Sock 9.Thread stoped [05:17:23]OFD Sender: No OFD packet to send [05:17:28]OFD Sender: No OFD packet to send [05:17:33]OFD Sender: No OFD packet to send [05:17:39]OFD Sender: No OFD packet to send [05:17:44]OFD Sender: No OFD packet to send [05:17:49]OFD Sender: No OFD packet to send [05:17:54]OFD Sender: No OFD packet to send [05:17:59]OFD Sender: No OFD packet to send [05:18:04]OFD Sender: No OFD packet to send [05:18:09]OFD Sender: No OFD packet to send [05:18:14]OFD Sender: No OFD packet to send [05:18:19]OFD Sender: No OFD packet to send [05:18:24]OFD Sender: No OFD packet to send [05:18:29]OFD Sender: No OFD packet to send [05:18:34]OFD Sender: No OFD packet to send [05:18:39]OFD Sender: No OFD packet to send [05:18:44]OFD Sender: No OFD packet to send [05:18:49]OFD Sender: No OFD packet to send [05:18:54]OFD Sender: No OFD packet to send [05:18:59]OFD Sender: No OFD packet to send [05:19:04]OFD Sender: No OFD packet to send [05:19:09]OFD Sender: No OFD packet to send [05:19:14]OFD Sender: No OFD packet to send [05:19:19]OFD Sender: No OFD packet to send [05:19:24]OFD Sender: No OFD packet to send [05:19:29]OFD Sender: No OFD packet to send [05:19:34]OFD Sender: No OFD packet to send [05:19:39]OFD Sender: No OFD packet to send [05:19:44]OFD Sender: No OFD packet to send [05:19:49]OFD Sender: No OFD packet to send [05:19:54]OFD Sender: No OFD packet to send [05:19:59]OFD Sender: No OFD packet to send [05:20:04]OFD Sender: No OFD packet to send [05:20:09]OFD Sender: No OFD packet to send [05:20:14]OFD Sender: No OFD packet to send [05:20:19]OFD Sender: No OFD packet to send [05:20:24]OFD Sender: No OFD packet to send [05:20:29]OFD Sender: No OFD packet to send [05:20:34]OFD Sender: No OFD packet to send [05:20:39]OFD Sender: No OFD packet to send [05:20:44]OFD Sender: No OFD packet to send [05:20:49]OFD Sender: No OFD packet to send [05:20:54]OFD Sender: No OFD packet to send [05:20:59]OFD Sender: No OFD packet to send [05:21:04]OFD Sender: No OFD packet to send [05:21:09]OFD Sender: No OFD packet to send [05:21:14]OFD Sender: No OFD packet to send [05:21:19]OFD Sender: No OFD packet to send [05:21:24]OFD Sender: No OFD packet to send [05:21:29]OFD Sender: No OFD packet to send [05:21:34]OFD Sender: No OFD packet to send [05:21:39]OFD Sender: No OFD packet to send [05:21:44]OFD Sender: No OFD packet to send [05:21:49]OFD Sender: No OFD packet to send [05:21:54]OFD Sender: No OFD packet to send [05:21:59]OFD Sender: No OFD packet to send [05:22:04]OFD Sender: No OFD packet to send [05:22:09]OFD Sender: No OFD packet to send [05:22:14]OFD Sender: No OFD packet to send [05:22:19]OFD Sender: No OFD packet to send [05:22:24]OFD Sender: No OFD packet to send [05:22:29]OFD Sender: No OFD packet to send [05:22:34]OFD Sender: No OFD packet to send [05:22:39]OFD Sender: No OFD packet to send [05:22:44]OFD Sender: No OFD packet to send [05:22:49]OFD Sender: No OFD packet to send [05:22:54]OFD Sender: No OFD packet to send [05:22:59]OFD Sender: No OFD packet to send [05:23:04]OFD Sender: No OFD packet to send [05:23:09]OFD Sender: No OFD packet to send [05:23:14]OFD Sender: No OFD packet to send [05:23:19]OFD Sender: No OFD packet to send [05:23:24]OFD Sender: No OFD packet to send [05:23:29]OFD Sender: No OFD packet to send [05:23:34]OFD Sender: No OFD packet to send [05:23:39]OFD Sender: No OFD packet to send [05:23:44]OFD Sender: No OFD packet to send [05:23:49]OFD Sender: No OFD packet to send [05:23:54]OFD Sender: No OFD packet to send [05:23:59]OFD Sender: No OFD packet to send [05:24:04]OFD Sender: No OFD packet to send [05:24:09]OFD Sender: No OFD packet to send [05:24:14]OFD Sender: No OFD packet to send [05:24:19]OFD Sender: No OFD packet to send [05:24:24]OFD Sender: No OFD packet to send [05:24:29]OFD Sender: No OFD packet to send [05:24:34]OFD Sender: No OFD packet to send [05:24:39]OFD Sender: No OFD packet to send [05:24:44]OFD Sender: No OFD packet to send [05:24:49]OFD Sender: No OFD packet to send [05:24:54]OFD Sender: No OFD packet to send [05:24:59]OFD Sender: No OFD packet to send [05:25:04]OFD Sender: No OFD packet to send [05:25:09]OFD Sender: No OFD packet to send [05:25:14]OFD Sender: No OFD packet to send [05:25:19]OFD Sender: No OFD packet to send [05:25:24]OFD Sender: No OFD packet to send [05:25:29]OFD Sender: No OFD packet to send [05:25:34]OFD Sender: No OFD packet to send [05:25:39]OFD Sender: No OFD packet to send [05:25:44]OFD Sender: No OFD packet to send [05:25:49]OFD Sender: No OFD packet to send [05:25:54]OFD Sender: No OFD packet to send [05:25:59]OFD Sender: No OFD packet to send [05:26:04]OFD Sender: No OFD packet to send [05:26:09]OFD Sender: No OFD packet to send [05:26:14]OFD Sender: No OFD packet to send [05:26:19]OFD Sender: No OFD packet to send [05:26:24]OFD Sender: No OFD packet to send [05:26:29]OFD Sender: No OFD packet to send [05:26:34]OFD Sender: No OFD packet to send [05:26:39]OFD Sender: No OFD packet to send [05:26:44]OFD Sender: No OFD packet to send [05:26:49]OFD Sender: No OFD packet to send [05:26:54]OFD Sender: No OFD packet to send [05:26:59]OFD Sender: No OFD packet to send [05:27:04]OFD Sender: No OFD packet to send [05:27:09]OFD Sender: No OFD packet to send [05:27:14]OFD Sender: No OFD packet to send [05:27:19]OFD Sender: No OFD packet to send [05:27:24]OFD Sender: No OFD packet to send [05:27:29]OFD Sender: No OFD packet to send [05:27:34]OFD Sender: No OFD packet to send [05:27:39]OFD Sender: No OFD packet to send [05:27:44]OFD Sender: No OFD packet to send [05:27:49]OFD Sender: No OFD packet to send [05:27:54]OFD Sender: No OFD packet to send [05:27:59]OFD Sender: No OFD packet to send [05:28:04]OFD Sender: No OFD packet to send [05:28:09]OFD Sender: No OFD packet to send [05:28:14]OFD Sender: No OFD packet to send [05:28:19]OFD Sender: No OFD packet to send [05:28:24]OFD Sender: No OFD packet to send [05:28:29]OFD Sender: No OFD packet to send [05:28:34]OFD Sender: No OFD packet to send [05:28:39]OFD Sender: No OFD packet to send [05:28:44]OFD Sender: No OFD packet to send [05:28:49]OFD Sender: No OFD packet to send [05:28:54]OFD Sender: No OFD packet to send [05:28:59]OFD Sender: No OFD packet to send [05:29:04]OFD Sender: No OFD packet to send [05:29:09]OFD Sender: No OFD packet to send [05:29:14]OFD Sender: No OFD packet to send [05:29:19]OFD Sender: No OFD packet to send [05:29:24]OFD Sender: No OFD packet to send [05:29:29]OFD Sender: No OFD packet to send [05:29:34]OFD Sender: No OFD packet to send [05:29:39]OFD Sender: No OFD packet to send [05:29:44]OFD Sender: No OFD packet to send [05:29:49]OFD Sender: No OFD packet to send [05:29:54]OFD Sender: No OFD packet to send [05:29:59]OFD Sender: No OFD packet to send [05:30:04]OFD Sender: No OFD packet to send [05:30:09]OFD Sender: No OFD packet to send [05:30:14]OFD Sender: No OFD packet to send [05:30:19]OFD Sender: No OFD packet to send [05:30:24]OFD Sender: No OFD packet to send [05:30:29]OFD Sender: No OFD packet to send [05:30:34]OFD Sender: No OFD packet to send [05:30:39]OFD Sender: No OFD packet to send [05:30:44]OFD Sender: No OFD packet to send [05:30:49]OFD Sender: No OFD packet to send [05:30:54]OFD Sender: No OFD packet to send [05:30:59]OFD Sender: No OFD packet to send [05:31:04]OFD Sender: No OFD packet to send [05:31:09]OFD Sender: No OFD packet to send [05:31:14]OFD Sender: No OFD packet to send [05:31:19]OFD Sender: No OFD packet to send [05:31:24]OFD Sender: No OFD packet to send [05:31:29]OFD Sender: No OFD packet to send [05:31:34]OFD Sender: No OFD packet to send [05:31:39]OFD Sender: No OFD packet to send [05:31:44]OFD Sender: No OFD packet to send [05:31:49]OFD Sender: No OFD packet to send [05:31:54]OFD Sender: No OFD packet to send [05:31:59]OFD Sender: No OFD packet to send [05:32:04]OFD Sender: No OFD packet to send [05:32:09]OFD Sender: No OFD packet to send [05:32:14]OFD Sender: No OFD packet to send [05:32:19]OFD Sender: No OFD packet to send [05:32:24]OFD Sender: No OFD packet to send [05:32:29]OFD Sender: No OFD packet to send [05:32:34]OFD Sender: No OFD packet to send [05:32:39]OFD Sender: No OFD packet to send [05:32:44]OFD Sender: No OFD packet to send [05:32:49]OFD Sender: No OFD packet to send [05:32:54]OFD Sender: No OFD packet to send [05:32:59]OFD Sender: No OFD packet to send [05:33:04]OFD Sender: No OFD packet to send [05:33:09]OFD Sender: No OFD packet to send [05:33:14]OFD Sender: No OFD packet to send [05:33:19]OFD Sender: No OFD packet to send [05:33:24]OFD Sender: No OFD packet to send [05:33:29]OFD Sender: No OFD packet to send [05:33:34]OFD Sender: No OFD packet to send [05:33:39]OFD Sender: No OFD packet to send [05:33:44]OFD Sender: No OFD packet to send [05:33:49]OFD Sender: No OFD packet to send [05:33:54]OFD Sender: No OFD packet to send [05:33:59]OFD Sender: No OFD packet to send [05:34:04]OFD Sender: No OFD packet to send [05:34:09]OFD Sender: No OFD packet to send [05:34:14]OFD Sender: No OFD packet to send [05:34:19]OFD Sender: No OFD packet to send [05:34:24]OFD Sender: No OFD packet to send [05:34:29]OFD Sender: No OFD packet to send [05:34:34]OFD Sender: No OFD packet to send [05:34:39]OFD Sender: No OFD packet to send [05:34:44]OFD Sender: No OFD packet to send [05:34:49]OFD Sender: No OFD packet to send [05:34:54]OFD Sender: No OFD packet to send [05:34:59]OFD Sender: No OFD packet to send [05:35:04]OFD Sender: No OFD packet to send [05:35:09]OFD Sender: No OFD packet to send [05:35:14]OFD Sender: No OFD packet to send [05:35:19]OFD Sender: No OFD packet to send [05:35:24]OFD Sender: No OFD packet to send [05:35:29]OFD Sender: No OFD packet to send [05:35:34]OFD Sender: No OFD packet to send [05:35:39]OFD Sender: No OFD packet to send [05:35:44]OFD Sender: No OFD packet to send [05:35:49]OFD Sender: No OFD packet to send [05:35:54]OFD Sender: No OFD packet to send [05:35:59]OFD Sender: No OFD packet to send [05:36:04]OFD Sender: No OFD packet to send [05:36:09]OFD Sender: No OFD packet to send [05:36:14]OFD Sender: No OFD packet to send [05:36:19]OFD Sender: No OFD packet to send [05:36:24]OFD Sender: No OFD packet to send [05:36:29]OFD Sender: No OFD packet to send [05:36:35]OFD Sender: No OFD packet to send [05:36:40]OFD Sender: No OFD packet to send [05:36:45]OFD Sender: No OFD packet to send [05:36:50]OFD Sender: No OFD packet to send [05:36:55]OFD Sender: No OFD packet to send [05:37:00]OFD Sender: No OFD packet to send [05:37:05]OFD Sender: No OFD packet to send [05:37:10]OFD Sender: No OFD packet to send [05:37:15]OFD Sender: No OFD packet to send [05:37:20]OFD Sender: No OFD packet to send [05:37:25]OFD Sender: No OFD packet to send [05:37:30]OFD Sender: No OFD packet to send [05:37:35]OFD Sender: No OFD packet to send [05:37:40]OFD Sender: No OFD packet to send [05:37:45]OFD Sender: No OFD packet to send [05:37:50]OFD Sender: No OFD packet to send [05:37:55]OFD Sender: No OFD packet to send [05:38:00]OFD Sender: No OFD packet to send [05:38:05]OFD Sender: No OFD packet to send [05:38:10]OFD Sender: No OFD packet to send [05:38:15]OFD Sender: No OFD packet to send [05:38:20]OFD Sender: No OFD packet to send [05:38:25]OFD Sender: No OFD packet to send [05:38:30]OFD Sender: No OFD packet to send [05:38:35]OFD Sender: No OFD packet to send [05:38:40]OFD Sender: No OFD packet to send [05:38:45]OFD Sender: No OFD packet to send [05:38:50]OFD Sender: No OFD packet to send [05:38:55]OFD Sender: No OFD packet to send [05:39:00]OFD Sender: No OFD packet to send [05:39:05]OFD Sender: No OFD packet to send [05:39:10]OFD Sender: No OFD packet to send [05:39:15]OFD Sender: No OFD packet to send [05:39:20]OFD Sender: No OFD packet to send [05:39:25]OFD Sender: No OFD packet to send [05:39:30]OFD Sender: No OFD packet to send [05:39:35]OFD Sender: No OFD packet to send [05:39:40]OFD Sender: No OFD packet to send [05:39:45]OFD Sender: No OFD packet to send [05:39:50]OFD Sender: No OFD packet to send [05:39:55]OFD Sender: No OFD packet to send [05:40:00]OFD Sender: No OFD packet to send [05:40:05]OFD Sender: No OFD packet to send [05:40:10]OFD Sender: No OFD packet to send [05:40:15]OFD Sender: No OFD packet to send [05:40:20]OFD Sender: No OFD packet to send [05:40:25]OFD Sender: No OFD packet to send [05:40:30]OFD Sender: No OFD packet to send [05:40:35]OFD Sender: No OFD packet to send [05:40:40]OFD Sender: No OFD packet to send [05:40:45]OFD Sender: No OFD packet to send [05:40:50]OFD Sender: No OFD packet to send [05:40:55]OFD Sender: No OFD packet to send [05:41:00]OFD Sender: No OFD packet to send [05:41:05]OFD Sender: No OFD packet to send [05:41:10]OFD Sender: No OFD packet to send [05:41:15]OFD Sender: No OFD packet to send [05:41:20]OFD Sender: No OFD packet to send [05:41:25]OFD Sender: No OFD packet to send [05:41:30]OFD Sender: No OFD packet to send [05:41:35]OFD Sender: No OFD packet to send [05:41:40]OFD Sender: No OFD packet to send [05:41:45]OFD Sender: No OFD packet to send [05:41:50]OFD Sender: No OFD packet to send [05:41:55]OFD Sender: No OFD packet to send [05:42:00]OFD Sender: No OFD packet to send [05:42:05]OFD Sender: No OFD packet to send [05:42:10]OFD Sender: No OFD packet to send [05:42:15]OFD Sender: No OFD packet to send [05:42:20]OFD Sender: No OFD packet to send [05:42:25]OFD Sender: No OFD packet to send [05:42:30]OFD Sender: No OFD packet to send [05:42:35]OFD Sender: No OFD packet to send [05:42:40]OFD Sender: No OFD packet to send [05:42:45]OFD Sender: No OFD packet to send [05:42:50]OFD Sender: No OFD packet to send [05:42:55]OFD Sender: No OFD packet to send [05:43:00]OFD Sender: No OFD packet to send [05:43:05]OFD Sender: No OFD packet to send [05:43:10]OFD Sender: No OFD packet to send [05:43:15]OFD Sender: No OFD packet to send [05:43:20]OFD Sender: No OFD packet to send [05:43:25]OFD Sender: No OFD packet to send [05:43:30]OFD Sender: No OFD packet to send [05:43:35]OFD Sender: No OFD packet to send [05:43:40]OFD Sender: No OFD packet to send [05:43:45]OFD Sender: No OFD packet to send [05:43:50]OFD Sender: No OFD packet to send [05:43:55]OFD Sender: No OFD packet to send [05:44:00]OFD Sender: No OFD packet to send [05:44:05]OFD Sender: No OFD packet to send [05:44:10]OFD Sender: No OFD packet to send [05:44:15]OFD Sender: No OFD packet to send [05:44:20]OFD Sender: No OFD packet to send [05:44:25]OFD Sender: No OFD packet to send [05:44:30]OFD Sender: No OFD packet to send [05:44:35]OFD Sender: No OFD packet to send [05:44:40]OFD Sender: No OFD packet to send [05:44:45]OFD Sender: No OFD packet to send [05:44:50]OFD Sender: No OFD packet to send [05:44:55]OFD Sender: No OFD packet to send [05:45:00]OFD Sender: No OFD packet to send [05:45:05]OFD Sender: No OFD packet to send [05:45:10]OFD Sender: No OFD packet to send [05:45:15]OFD Sender: No OFD packet to send [05:45:20]OFD Sender: No OFD packet to send [05:45:25]OFD Sender: No OFD packet to send [05:45:30]OFD Sender: No OFD packet to send [05:45:35]OFD Sender: No OFD packet to send [05:45:40]OFD Sender: No OFD packet to send [05:45:45]OFD Sender: No OFD packet to send [05:45:50]OFD Sender: No OFD packet to send [05:45:55]OFD Sender: No OFD packet to send [05:46:00]OFD Sender: No OFD packet to send [05:46:05]OFD Sender: No OFD packet to send [05:46:10]OFD Sender: No OFD packet to send [05:46:15]OFD Sender: No OFD packet to send [05:46:20]OFD Sender: No OFD packet to send [05:46:25]OFD Sender: No OFD packet to send [05:46:30]OFD Sender: No OFD packet to send [05:46:35]OFD Sender: No OFD packet to send [05:46:40]OFD Sender: No OFD packet to send [05:46:45]OFD Sender: No OFD packet to send [05:46:50]OFD Sender: No OFD packet to send [05:46:55]OFD Sender: No OFD packet to send [05:47:00]OFD Sender: No OFD packet to send [05:47:05]OFD Sender: No OFD packet to send [05:47:10]OFD Sender: No OFD packet to send [05:47:15]OFD Sender: No OFD packet to send [05:47:20]OFD Sender: No OFD packet to send [05:47:25]OFD Sender: No OFD packet to send [05:47:30]OFD Sender: No OFD packet to send [05:47:35]OFD Sender: No OFD packet to send [05:47:40]OFD Sender: No OFD packet to send [05:47:45]OFD Sender: No OFD packet to send [05:47:50]OFD Sender: No OFD packet to send [05:47:55]OFD Sender: No OFD packet to send [05:48:00]OFD Sender: No OFD packet to send [05:48:05]OFD Sender: No OFD packet to send [05:48:10]OFD Sender: No OFD packet to send [05:48:15]OFD Sender: No OFD packet to send [05:48:20]OFD Sender: No OFD packet to send [05:48:25]OFD Sender: No OFD packet to send [05:48:30]OFD Sender: No OFD packet to send [05:48:35]OFD Sender: No OFD packet to send [05:48:40]OFD Sender: No OFD packet to send [05:48:45]OFD Sender: No OFD packet to send [05:48:50]OFD Sender: No OFD packet to send [05:48:55]OFD Sender: No OFD packet to send [05:49:00]OFD Sender: No OFD packet to send [05:49:05]OFD Sender: No OFD packet to send [05:49:10]OFD Sender: No OFD packet to send [05:49:15]OFD Sender: No OFD packet to send [05:49:20]OFD Sender: No OFD packet to send [05:49:25]OFD Sender: No OFD packet to send [05:49:30]OFD Sender: No OFD packet to send [05:49:35]OFD Sender: No OFD packet to send [05:49:40]OFD Sender: No OFD packet to send [05:49:45]OFD Sender: No OFD packet to send [05:49:50]OFD Sender: No OFD packet to send [05:49:55]OFD Sender: No OFD packet to send [05:50:00]OFD Sender: No OFD packet to send [05:50:05]OFD Sender: No OFD packet to send [05:50:10]OFD Sender: No OFD packet to send [05:50:15]OFD Sender: No OFD packet to send [05:50:20]OFD Sender: No OFD packet to send [05:50:25]OFD Sender: No OFD packet to send [05:50:30]OFD Sender: No OFD packet to send [05:50:35]OFD Sender: No OFD packet to send [05:50:40]OFD Sender: No OFD packet to send [05:50:45]OFD Sender: No OFD packet to send [05:50:50]OFD Sender: No OFD packet to send [05:50:55]OFD Sender: No OFD packet to send [05:51:00]OFD Sender: No OFD packet to send [05:51:05]OFD Sender: No OFD packet to send [05:51:10]OFD Sender: No OFD packet to send [05:51:15]OFD Sender: No OFD packet to send [05:51:20]OFD Sender: No OFD packet to send [05:51:25]OFD Sender: No OFD packet to send [05:51:30]OFD Sender: No OFD packet to send [05:51:35]OFD Sender: No OFD packet to send [05:51:40]OFD Sender: No OFD packet to send [05:51:45]OFD Sender: No OFD packet to send [05:51:50]OFD Sender: No OFD packet to send [05:51:55]OFD Sender: No OFD packet to send [05:52:00]OFD Sender: No OFD packet to send [05:52:05]OFD Sender: No OFD packet to send [05:52:10]OFD Sender: No OFD packet to send [05:52:15]OFD Sender: No OFD packet to send [05:52:20]OFD Sender: No OFD packet to send [05:52:25]OFD Sender: No OFD packet to send [05:52:30]OFD Sender: No OFD packet to send [05:52:35]OFD Sender: No OFD packet to send [05:52:40]OFD Sender: No OFD packet to send [05:52:45]OFD Sender: No OFD packet to send [05:52:50]OFD Sender: No OFD packet to send [05:52:55]OFD Sender: No OFD packet to send [05:53:00]OFD Sender: No OFD packet to send [05:53:05]OFD Sender: No OFD packet to send [05:53:10]OFD Sender: No OFD packet to send [05:53:15]OFD Sender: No OFD packet to send [05:53:20]OFD Sender: No OFD packet to send [05:53:25]OFD Sender: No OFD packet to send [05:53:30]OFD Sender: No OFD packet to send [05:53:35]OFD Sender: No OFD packet to send [05:53:40]OFD Sender: No OFD packet to send [05:53:45]OFD Sender: No OFD packet to send [05:53:50]OFD Sender: No OFD packet to send [05:53:55]OFD Sender: No OFD packet to send [05:54:00]OFD Sender: No OFD packet to send [05:54:05]OFD Sender: No OFD packet to send [05:54:10]OFD Sender: No OFD packet to send [05:54:15]OFD Sender: No OFD packet to send [05:54:20]OFD Sender: No OFD packet to send [05:54:25]OFD Sender: No OFD packet to send [05:54:30]OFD Sender: No OFD packet to send [05:54:35]OFD Sender: No OFD packet to send [05:54:40]OFD Sender: No OFD packet to send [05:54:45]OFD Sender: No OFD packet to send [05:54:50]OFD Sender: No OFD packet to send [05:54:55]OFD Sender: No OFD packet to send [05:55:00]OFD Sender: No OFD packet to send [05:55:05]OFD Sender: No OFD packet to send [05:55:10]OFD Sender: No OFD packet to send [05:55:15]OFD Sender: No OFD packet to send [05:55:20]OFD Sender: No OFD packet to send [05:55:25]OFD Sender: No OFD packet to send [05:55:31]OFD Sender: No OFD packet to send [05:55:36]OFD Sender: No OFD packet to send [05:55:41]OFD Sender: No OFD packet to send [05:55:46]OFD Sender: No OFD packet to send [05:55:51]OFD Sender: No OFD packet to send [05:55:56]OFD Sender: No OFD packet to send [05:56:01]OFD Sender: No OFD packet to send [05:56:06]OFD Sender: No OFD packet to send [05:56:11]OFD Sender: No OFD packet to send [05:56:16]OFD Sender: No OFD packet to send [05:56:21]OFD Sender: No OFD packet to send [05:56:26]OFD Sender: No OFD packet to send [05:56:31]OFD Sender: No OFD packet to send [05:56:36]OFD Sender: No OFD packet to send [05:56:41]OFD Sender: No OFD packet to send [05:56:46]OFD Sender: No OFD packet to send [05:56:51]OFD Sender: No OFD packet to send [05:56:56]OFD Sender: No OFD packet to send [05:57:01]OFD Sender: No OFD packet to send [05:57:06]OFD Sender: No OFD packet to send [05:57:11]OFD Sender: No OFD packet to send [05:57:16]OFD Sender: No OFD packet to send [05:57:21]OFD Sender: No OFD packet to send [05:57:26]OFD Sender: No OFD packet to send [05:57:31]OFD Sender: No OFD packet to send [05:57:36]OFD Sender: No OFD packet to send [05:57:41]OFD Sender: No OFD packet to send [05:57:46]OFD Sender: No OFD packet to send [05:57:51]OFD Sender: No OFD packet to send [05:57:56]OFD Sender: No OFD packet to send [05:58:01]OFD Sender: No OFD packet to send [05:58:06]OFD Sender: No OFD packet to send [05:58:11]OFD Sender: No OFD packet to send [05:58:16]OFD Sender: No OFD packet to send [05:58:21]OFD Sender: No OFD packet to send [05:58:26]OFD Sender: No OFD packet to send [05:58:31]OFD Sender: No OFD packet to send [05:58:35]accept exits with 8 [05:58:35]New connection [05:58:35]New thread 3067129188 created [05:58:35]Thread 3067272548 joined [05:58:35]Waiting for new connection... [05:58:35] Sock 8.Parse request [05:58:35]Sock 8.Check first char [05:58:35]Sock 8.First char is OK [05:58:35]request: POST /json_proto HTTP/1.0 [05:58:35]Method: POST [05:58:35]URL: /json_proto [05:58:35]Method is POST - this is cgi request [05:58:35]url: /json_proto [05:58:35]query_string will be loaded in cgi processing [05:58:35]execute_cgi json_proto POST (null) [05:58:35]execute_cgi path=json_proto method=POST [05:58:35]POST find Content-Length [05:58:35]Host: 172.17.39.4:8080 [05:58:35]Content-Length: 957 [05:58:35]Content-Type: application/json [05:58:35] [05:58:35]POST finish read [05:58:35]Found Content-Length = 957 [05:58:35]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129488", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 1.000, "sum" : 425.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 536.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:58:35]execute_script... [05:58: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)129488", "tax_sys" : 0, "items" : [ { "code": "4700003150486", "name": "\u0412\u043E\u0434\u043A\u0430 \u041E\u0440\u043E\u043E\u043D 0,5", "price" : 425.00, "quantity" : 1.000, "sum" : 425.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 536.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [05:58:35]POST & json_proto [05:58:35]process_json_proto [05:58:35]json parsed OK: [05:58:35]protocol is kg_v1.0 [05:58:35]action value=close_receipt [05:58:35]process_action close_receipt [05:58:35]cmd_close_receipt [05:58:35]MH_GetDate [05:58:35]Write to MH i2c: F0 00 00 85 34 A8 [05:58:35]Write i2c OK [05:58:35]MH_I2C_Read... [05:58:35]Read from MH i2c: F0 [05:58:35]MH_I2C_Read... [05:58:35]Read from MH i2c: F0 09 00 [05:58:35]MH_I2C_Read... [05:58:35]Read from MH i2c: F0 09 00 85 34 00 11 69 93 66 2D 25 5D 64 37 [05:58:35]GetLastDocTimeStamp 1720934242 [05:58:35]current date 1720936721 [05:58:35]FM_GetShiftState [05:58:35]SAM_PROTO_GetShiftState [05:58:35]wFMCommunicate request_size=4 [05:58:35]MH_SAM_APDU [05:58:35]CAPDU: 80 13 01 00 [05:58:35]Write to MH i2c: E2 08 00 86 34 80 13 01 00 00 00 00 00 37 [05:58:35]Write i2c OK [05:58:35]MH_I2C_Read... [05:58:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:58:35]Read from MH i2c: E2 [05:58:35]MH_I2C_Read... [05:58:35]Read from MH i2c: E2 0E 00 [05:58:35]MH_I2C_Read... [05:58:35]Read from MH i2c: E2 0E 00 86 34 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 DE [05:58:35]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [05:58:35]wFMCommunicate OK [05:58:35]SAM_PROTO_GetShiftState done [05:58:35]FM_GetShiftState done [05:58:35]opened in 1720917126 [05:58:35]opened+sec_in_day 1721003526 [05:58:35]quantity*price = 42500 [05:58:35]sum+1 = 42501 [05:58:35]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570071 Напиток Pepsi 1л 1.000 * 111.00 = 111.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 536.00 НСП 1% : 4.74 НДС 12% : 56.92 Наличными: 536.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 36 14.07.2024 05:58 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57019 ФПД: 132279257440170 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T055841&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57019&fm=132279257440170&tin=02508201610067®Number=0000000000091208&sum=53600 0 [05:58:36]StoreToDocumentArchive [05:58:36]shift 496 fd 57019 [05:58:36]save to /storage/0496/doc_00057019 [05:58:36]save last doc name /storage/0496/doc_00057019 to /storage/kkm_last_doc_name [05:58:36]save OK [05:58:36]Clear old archive folders... [05:58:36]ProcessDocumentItem done err = 0, tmpTLVsize=363 [05:58:36]tlvbuf is 01D75000 [05:58:36]SAM_PROTO_ClearQueue [05:58:36]wFMCommunicate request_size=4 [05:58:36]MH_SAM_APDU [05:58:36]CAPDU: 80 09 00 00 [05:58:36]Write to MH i2c: E2 08 00 93 34 80 09 00 00 00 00 00 00 39 [05:58:36]Write i2c OK [05:58:36]MH_I2C_Read... [05:58:36]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [05:58:36]Read from MH i2c: E2 [05:58:36]MH_I2C_Read... [05:58:36]Read from MH i2c: E2 03 00 [05:58:36]MH_I2C_Read... [05:58:36]Read from MH i2c: E2 03 00 93 34 00 90 00 3B [05:58:36]RAPDU: 90 00 [05:58:36]wFMCommunicate OK [05:58:36]SAM_PROTO_ClearQueue done [05:58:36]KKMCreateOFDPacket [05:58:36]OFDProtocolAddRootSTLVToBuf [05:58:36]FM_MakeSignedData [05:58:36]FM_MakeSignedData [05:58:36]SAM_PROTO_SignData [05:58:36]wFMCommunicate request_size=4 [05:58:36]MH_SAM_APDU [05:58:36]CAPDU: 80 0D 01 02 [05:58:36]Write to MH i2c: E2 08 00 94 34 80 0D 01 02 00 00 00 00 41 [05:58:36]Write i2c OK [05:58:36]MH_I2C_Read... [05:58:36]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [05:58:36]Read from MH i2c: E2 [05:58:36]MH_I2C_Read... [05:58:36]Read from MH i2c: E2 03 00 [05:58:36]MH_I2C_Read... [05:58:36]Read from MH i2c: E2 03 00 94 34 00 90 00 3C [05:58:36]RAPDU: 90 00 [05:58:36]wFMCommunicate OK [05:58:36]wFMCommunicate request_size=255 [05:58:36]MH_SAM_APDU [05:58:36]CAPDU: 80 0D 02 02 FA 03 00 6B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 16 [05:58:36]Write to MH i2c: E2 02 01 95 34 80 0D 02 02 FA 00 03 00 6B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 16 00 00 7A [05:58:36]Write i2c OK [05:58:36]MH_I2C_Read... [05:58:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:58:36]Read from MH i2c: E2 [05:58:36]MH_I2C_Read... [05:58:36]Read from MH i2c: E2 03 00 [05:58:36]MH_I2C_Read... [05:58:36]Read from MH i2c: E2 03 00 95 34 00 90 00 3D [05:58:36]RAPDU: 90 00 [05:58:36]wFMCommunicate OK [05:58:36]wFMCommunicate request_size=122 [05:58:36]MH_SAM_APDU [05:58:36]CAPDU: 80 0D 02 02 75 00 00 00 00 07 04 06 00 60 D1 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 11 69 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BB DE 00 00 35 04 06 00 78 4E AA 26 9F AA [05:58:36]Write to MH i2c: E2 7D 00 96 34 80 0D 02 02 75 00 00 00 00 00 07 04 06 00 60 D1 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 11 69 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BB DE 00 00 35 04 06 00 78 4E AA 26 9F AA 00 00 9B [05:58:36]Write i2c OK [05:58:36]MH_I2C_Read... [05:58:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [05:58:37]Read from MH i2c: E2 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: E2 03 00 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: E2 03 00 96 34 00 90 00 3E [05:58:37]RAPDU: 90 00 [05:58:37]wFMCommunicate OK [05:58:37]wFMCommunicate request_size=4 [05:58:37]MH_SAM_APDU [05:58:37]CAPDU: 80 0D 03 02 [05:58:37]Write to MH i2c: E2 08 00 97 34 80 0D 03 02 00 00 00 00 46 [05:58:37]Write i2c OK [05:58:37]MH_I2C_Read... [05:58:37]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [05:58:37]Read from MH i2c: E2 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: E2 0B 00 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: E2 0B 00 97 34 00 CA 7F 2D 18 5A 49 77 66 90 00 55 [05:58:37]RAPDU: CA 7F 2D 18 5A 49 77 66 90 00 [05:58:37]wFMCommunicate OK [05:58:37]SAM_PROTO_SignData done [05:58:37]FM_MakeSignedData done [05:58:37]CreateOFDProtocolMessage [05:58:37]wFMCommunicate request_size=4 [05:58:37]MH_SAM_APDU [05:58:37]CAPDU: 80 11 00 00 [05:58:37]Write to MH i2c: E2 08 00 98 34 80 11 00 00 00 00 00 00 46 [05:58:37]Write i2c OK [05:58:37]MH_I2C_Read... [05:58:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:58:37]Read from MH i2c: E2 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: E2 17 00 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: E2 17 00 98 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A0 [05:58:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:58:37]wFMCommunicate OK [05:58:37]CreateOFDProtocolMessage done [05:58:37]OFDSenderStorePacket 57019 [05:58:37]StoreOFDPacket docnum=57019 [05:58:37]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 7F 01 00 00 BB 7B 77 01 13 1F 5A 03 01 00 03 00 6B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 16 00 00 00 00 07 04 06 00 60 D1 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 11 69 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BB DE 00 00 35 04 06 00 78 4E AA 26 9F AA CA 7F 2D 18 5A 49 77 66 [05:58:37]CheckFolder [05:58:37]dirname=/storage/ofd_packets [05:58:37]CheckFolder done [05:58:37]ProducePacketName [05:58:37]name=ofd_packets/00057019 [05:58:37]NVStorageSaveData ofd_packets/00057019 [05:58:37]File name is /storage/ofd_packets/00057019 [05:58:37]Write 413 bytes [05:58:37]NVStorageSaveData done [05:58:37]OFDSenderStorePacket done [05:58:37]KKMCreateOFDPacket done [05:58:37]NVStorageSaveData kkm_last_timestamp [05:58:37]File name is /storage/kkm_last_timestamp [05:58:37]Write 4 bytes [05:58:37]NVStorageSaveData done [05:58:37]ExternCall_PrintAddStr [05:58:37]wPrintStart [05:58:37]Write to MH i2c: 01 00 00 99 34 CD [05:58:37]Write i2c OK [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: 01 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: 01 07 00 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: 01 07 00 99 34 00 00 00 00 00 FF 0F E2 [05:58:37]RasterBufferAndPrint [05:58:37]line Счет N : (3)129488 [05:58:37]line ИНН: 02508201610067 [05:58:37]line Контрольно-Кассовый Чек [05:58:37]line ПРОДАЖА [05:58:37]line Товар: 4700003150486 [05:58:37]line Водка Ороон 0,5 [05:58:37]line 1.000 * 425.00 [05:58:37]line = 425.00 [05:58:37]line НДС 12% НСП 1% [05:58:37]line > о реализуемом товаре [05:58:37]line Товар: 4870001570071 [05:58:37]line Напиток Pepsi 1л [05:58:37]line 1.000 * 111.00 [05:58:37]line = 111.00 [05:58:37]line НДС 12% НСП 1% [05:58:37]line > о реализуемом товаре [05:58:37]line ИТОГО: 536.00 [05:58:37]line НСП 1% : 4.74 [05:58:37]line НДС 12% : 56.92 [05:58:37]line Наличными: 536.00 [05:58:37]line Безнал.: 0.00 [05:58:37]line Место: АЗС № 132 "Партнер Нефть" [05:58:37]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [05:58:37]line СНО: Общий режим [05:58:37]line Чек 36 14.07.2024 05:58 [05:58:37]line Смена: 496 ФФД: 1.0 [05:58:37]line ЗНМ: 0300000132 [05:58:37]line РНМ: 0000000000091208 [05:58:37]line Версия ККМ: 001 [05:58:37]line ФМ: 0000000000874857 [05:58:37]line ФД: 57019 [05:58:37]line ФПД: 132279257440170 [05:58:37]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T055841&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57019&fm=132279257440170&tin=02508201610067®Number=0000000000091208&sum=53600 [05:58:37]OFD Sender: Processing packet 57019 [packets to send 38, broken 37] [05:58:37]ProducePacketName [05:58:37]name=ofd_packets/00057019 [05:58:37]OFD Sender: To server: pG, [05:58:37]CommunicateWithHost lk.salyk.kg:30040 [05:58:37]ConnectInit lk.salyk.kg [05:58:37]line 0 [05:58:37]written 0, free lines is 4095 [05:58:37]Connected sock=10 [05:58:37]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 7F 01 00 00 BB 7B 77 01 13 1F 5A 03 01 00 03 00 6B 01 1E 04 01 00 01 23 04 5D 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 34 38 36 06 04 19 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 9E D1 80 D0 BE D0 BE D0 BD 20 30 2C 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 A6 00 00 00 00 13 04 06 00 04 A6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 D1 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DA 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3C 16 00 00 00 00 07 04 06 00 60 D1 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 11 69 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BB DE 00 00 35 04 06 00 78 4E AA 26 9F AA CA 7F 2D 18 5A 49 77 66 [05:58:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 43 87 47 00 E7 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BB DE 00 00 F4 03 04 00 63 0F 93 66 B6 04 01 00 00 E2 F9 62 D7 8D 8D 32 42 [05:58:37]CommunicateWithHost err = 0 [05:58:37]CheckOFDResponse [05:58:37]1017 (14) - 77093643461234 [05:58:37]1041 (16) - 0000000000874857 [05:58:37]1040 (4) - 57019 [05:58:37]1012 (4) - 13.07.2024 23:36 [05:58:37]1206 (1) - 0 [05:58:37]OFD Sender: Remove packet 57019 [05:58:37]ProducePacketName [05:58:37]name=ofd_packets/00057019 [05:58:37]NVStorageDeleteData [05:58:37]Write to MH i2c: 01 00 00 C7 34 FB [05:58:37]Write i2c OK [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: 01 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: 01 07 00 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: 01 07 00 C7 34 00 00 00 00 00 B6 0C C4 [05:58:37]RasterBufferAndPrint [05:58:37]line [05:58:37]line [05:58:37]line [05:58:37]line [05:58:37]line [05:58:37]written 0, free lines is 3262 [05:58:37]MH_Cut [05:58:37]Write to MH i2c: D1 01 00 CE 34 01 D4 [05:58:37]Write i2c OK [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: D1 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: D1 01 00 [05:58:37]MH_I2C_Read... [05:58:37]Read from MH i2c: D1 01 00 CE 34 00 D3 [05:58:37]Write to MH i2c: 01 00 00 CF 34 03 [05:58:37]Write i2c OK [05:58:37]MH_I2C_Read... [05:58:38]OFD Sender: No OFD packet to send [05:58:38]*** Cut start [05:58:38]*** Partial cut [05:58:38]*** CUTSNS_PIN = 1 [05:58:38]*** CUTSNS_PIN = 0 [05:58:39]*** Brake cut motor [05:58:39]Read from MH i2c: 01 [05:58:39]MH_I2C_Read... [05:58:39]*** Stop cut motor [05:58:39]*** Cut end [05:58:39]Read from MH i2c: 01 07 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: 01 07 00 CF 34 00 00 00 00 00 FF 0F 18 [05:58:39]process_action close_receipt done [05:58:39]requested_data is exist [05:58:39]produce_requested_data [05:58:39]requested_item fm.sn is exist - process it [05:58:39]wFMCommunicate request_size=4 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 11 00 00 [05:58:39]Write to MH i2c: E2 08 00 D0 34 80 11 00 00 00 00 00 00 7E [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [05:58:39]Read from MH i2c: E2 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 17 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 17 00 D0 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D8 [05:58:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [05:58:39]wFMCommunicate OK [05:58:39]requested_item fd.num is exist - process it [05:58:39]SAM_PROTO_GetFieldsCounters [05:58:39]wFMCommunicate request_size=4 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 13 00 00 [05:58:39]Write to MH i2c: E2 08 00 D1 34 80 13 00 00 00 00 00 00 81 [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [05:58:39]Read from MH i2c: E2 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 62 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 62 00 D1 34 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BB DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 9A [05:58:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BB DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 24 00 00 00 5E 04 04 00 24 00 00 00 57 04 04 00 25 00 00 00 19 04 04 00 00 00 00 00 90 00 [05:58:39]wFMCommunicate OK [05:58:39]SAM_PROTO_GetFieldsCounters done [05:58:39]requested_item shift.num is exist - process it [05:58:39]requested_item shift.opened is exist - process it [05:58:39]req_shift_opened [05:58:39]FM_GetShiftState [05:58:39]SAM_PROTO_GetShiftState [05:58:39]wFMCommunicate request_size=4 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 13 01 00 [05:58:39]Write to MH i2c: E2 08 00 D2 34 80 13 01 00 00 00 00 00 83 [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [05:58:39]Read from MH i2c: E2 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 0E 00 [05:58:39]MH_I2C_Read... [05:58:39]Read from MH i2c: E2 0E 00 D2 34 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 2A [05:58:39]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [05:58:39]wFMCommunicate OK [05:58:39]SAM_PROTO_GetShiftState done [05:58:39]FM_GetShiftState done [05:58:39]req_shift_opened done [05:58:39]requested_item shift.open_date is exist - process it [05:58:39]req_shift_open_date [05:58:39]req_shift_open_date done [05:58:39]requested_item shift.sale.total is exist - process it [05:58:39]SAM_PROTO_GetShiftData [05:58:39]wFMCommunicate request_size=4 [05:58:39]MH_SAM_APDU [05:58:39]CAPDU: 80 13 02 00 [05:58:39]Write to MH i2c: E2 08 00 D3 34 80 13 02 00 00 00 00 00 85 [05:58:39]Write i2c OK [05:58:39]MH_I2C_Read... [05:58:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [05:58:40]Read from MH i2c: E2 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: E2 FD 00 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: E2 FD 00 D3 34 00 BB 04 AA 04 B7 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 1C 1E 16 70 04 03 00 34 96 12 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 46 59 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 CA [05:58:40]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 24 00 00 00 69 04 9B 00 6F 04 04 00 22 00 00 00 B1 04 03 00 1C 1E 16 70 04 03 00 34 96 12 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 46 59 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 15 32 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [05:58:40]wFMCommunicate OK [05:58:40]wFMCommunicate request_size=4 [05:58:40]MH_SAM_APDU [05:58:40]CAPDU: 80 17 00 00 [05:58:40]Write to MH i2c: E2 08 00 D4 34 80 17 00 00 00 00 00 00 88 [05:58:40]Write i2c OK [05:58:40]MH_I2C_Read... [05:58:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:58:40]Read from MH i2c: E2 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: E2 FD 00 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: E2 FD 00 D4 34 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [05:58:40]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [05:58:40]wFMCommunicate OK [05:58:40]wFMCommunicate request_size=4 [05:58:40]MH_SAM_APDU [05:58:40]CAPDU: 80 17 00 00 [05:58:40]Write to MH i2c: E2 08 00 D5 34 80 17 00 00 00 00 00 00 89 [05:58:40]Write i2c OK [05:58:40]MH_I2C_Read... [05:58:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:58:40]Read from MH i2c: E2 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: E2 FD 00 [05:58:40]MH_I2C_Read... [05:58:40]Read from MH i2c: E2 FD 00 D5 34 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B5 [05:58:40]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [05:58:40]wFMCommunicate OK [05:58:40]wFMCommunicate request_size=4 [05:58:40]MH_SAM_APDU [05:58:40]CAPDU: 80 17 00 00 [05:58:40]Write to MH i2c: E2 08 00 D6 34 80 17 00 00 00 00 00 00 8A [05:58:40]Write i2c OK [05:58:40]MH_I2C_Read... [05:58:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [05:58:41]Read from MH i2c: E2 [05:58:41]MH_I2C_Read... [05:58:41]Read from MH i2c: E2 FD 00 [05:58:41]MH_I2C_Read... [05:58:41]Read from MH i2c: E2 FD 00 D6 34 00 00 00 EF 03 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 90 00 FF [05:58:41]RAPDU: 00 00 EF 03 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 90 00 [05:58:41]wFMCommunicate OK [05:58:41]wFMCommunicate request_size=4 [05:58:41]MH_SAM_APDU [05:58:41]CAPDU: 80 17 00 00 [05:58:41]Write to MH i2c: E2 08 00 D7 34 80 17 00 00 00 00 00 00 8B [05:58:41]Write i2c OK [05:58:41]MH_I2C_Read... [05:58:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [05:58:41]Read from MH i2c: E2 [05:58:41]MH_I2C_Read... [05:58:41]Read from MH i2c: E2 D8 00 [05:58:41]MH_I2C_Read... [05:58:41]Read from MH i2c: E2 D8 00 D7 34 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 72 [05:58:41]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [05:58:41]wFMCommunicate OK [05:58:41]SAM_PROTO_GetShiftData done [05:58:41]requested_item shift.sale.total_cash is exist - process it [05:58:41]requested_item shift.sale_refund.total is exist - process it [05:58:41]requested_item shift.sale_refund.total_cash is exist - process it [05:58:41]produce_requested_data done [05:58:41]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57019,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":14495.00,"shift.sale.total_cash":12181.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [05:58:41]process_action_free close_receipt [05:58:41]json_value_free [05:58:41]json_value_free done [05:58:41]process_json_proto returns [05:58:41]Send response to host [05:58:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57019,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":14495.00,"shift.sale.total_cash":12181.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [05:58:41]free response buf [05:58:41]execute_script done [05:58:41]execute_script returns [05:58:41]free content buf [05:58:41]Sock 8.Close socket [05:58:41]Sock 8.Thread stoped [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:24]OFD Sender: No OFD packet to send [06:11:29]OFD Sender: No OFD packet to send [06:11:34]OFD Sender: No OFD packet to send [06:11:39]OFD Sender: No OFD packet to send [06:11:44]OFD Sender: No OFD packet to send [06:11:49]OFD Sender: No OFD packet to send [06:11:54]OFD Sender: No OFD packet to send [06:11:59]OFD Sender: No OFD packet to send [06:12:04]OFD Sender: No OFD packet to send [06:12:09]OFD Sender: No OFD packet to send [06:12:14]OFD Sender: No OFD packet to send [06:12:19]OFD Sender: No OFD packet to send [06:12:24]OFD Sender: No OFD packet to send [06:12:29]OFD Sender: No OFD packet to send [06:12:34]OFD Sender: No OFD packet to send [06:12:39]OFD Sender: No OFD packet to send [06:12:44]OFD Sender: No OFD packet to send [06:12:49]OFD Sender: No OFD packet to send [06:12:54]OFD Sender: No OFD packet to send [06:12:59]OFD Sender: No OFD packet to send [06:13:04]OFD Sender: No OFD packet to send [06:13:09]OFD Sender: No OFD packet to send [06:13:14]OFD Sender: No OFD packet to send [06:13:19]OFD Sender: No OFD packet to send [06:13:24]OFD Sender: No OFD packet to send [06:13:29]OFD Sender: No OFD packet to send [06:13:34]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:20]OFD Sender: No OFD packet to send [06:30:25]OFD Sender: No OFD packet to send [06:30:30]OFD Sender: No OFD packet to send [06:30:35]OFD Sender: No OFD packet to send [06:30:40]OFD Sender: No OFD packet to send [06:30:45]OFD Sender: No OFD packet to send [06:30:50]OFD Sender: No OFD packet to send [06:30:55]OFD Sender: No OFD packet to send [06:31:00]OFD Sender: No OFD packet to send [06:31:05]OFD Sender: No OFD packet to send [06:31:10]OFD Sender: No OFD packet to send [06:31:15]OFD Sender: No OFD packet to send [06:31:20]OFD Sender: No OFD packet to send [06:31:25]OFD Sender: No OFD packet to send [06:31:30]OFD Sender: No OFD packet to send [06:31:35]OFD Sender: No OFD packet to send [06:31:40]OFD Sender: No OFD packet to send [06:31:45]OFD Sender: No OFD packet to send [06:31:50]OFD Sender: No OFD packet to send [06:31:55]OFD Sender: No OFD packet to send [06:32:00]OFD Sender: No OFD packet to send [06:32:05]OFD Sender: No OFD packet to send [06:32:10]OFD Sender: No OFD packet to send [06:32:15]OFD Sender: No OFD packet to send [06:32:20]OFD Sender: No OFD packet to send [06:32:25]OFD Sender: No OFD packet to send [06:32:30]OFD Sender: No OFD packet to send [06:32:35]OFD Sender: No OFD packet to send [06:32:40]OFD Sender: No OFD packet to send [06:32:45]OFD Sender: No OFD packet to send [06:32:50]OFD Sender: No OFD packet to send [06:32:55]OFD Sender: No OFD packet to send [06:33:00]OFD Sender: No OFD packet to send [06:33:05]OFD Sender: No OFD packet to send [06:33:10]OFD Sender: No OFD packet to send [06:33:15]OFD Sender: No OFD packet to send [06:33:20]OFD Sender: No OFD packet to send [06:33:25]OFD Sender: No OFD packet to send [06:33:30]OFD Sender: No OFD packet to send [06:33:35]OFD Sender: No OFD packet to send [06:33:40]OFD Sender: No OFD packet to send [06:33:45]OFD Sender: No OFD packet to send [06:33:50]OFD Sender: No OFD packet to send [06:33:55]OFD Sender: No OFD packet to send [06:34:00]OFD Sender: No OFD packet to send [06:34:05]OFD Sender: No OFD packet to send [06:34:10]OFD Sender: No OFD packet to send [06:34:15]OFD Sender: No OFD packet to send [06:34:20]OFD Sender: No OFD packet to send [06:34:25]OFD Sender: No OFD packet to send [06:34:30]OFD Sender: No OFD packet to send [06:34:35]OFD Sender: No OFD packet to send [06:34:40]OFD Sender: No OFD packet to send [06:34:45]OFD Sender: No OFD packet to send [06:34:49]accept exits with 9 [06:34:49]New connection [06:34:49]New thread 3067272548 created [06:34:49]Thread 3067129188 joined [06:34:49]Waiting for new connection... [06:34:49] Sock 9.Parse request [06:34:49]Sock 9.Check first char [06:34:49]Sock 9.First char is OK [06:34:49]request: POST /json_proto HTTP/1.0 [06:34:49]Method: POST [06:34:49]URL: /json_proto [06:34:49]Method is POST - this is cgi request [06:34:49]url: /json_proto [06:34:49]query_string will be loaded in cgi processing [06:34:49]execute_cgi json_proto POST (null) [06:34:49]execute_cgi path=json_proto method=POST [06:34:49]POST find Content-Length [06:34:49]Host: 172.17.39.4:8080 [06:34:49]Content-Length: 1498 [06:34:49]Content-Type: application/json [06:34:49] [06:34:49]POST finish read [06:34:49]Found Content-Length = 1498 [06:34:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129489", "tax_sys" : 0, "items" : [ { "code": "4700002083334", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,7\u043B", "price" : 630.00, "quantity" : 1.000, "sum" : 630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 959.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:34:49]execute_script... [06:34:49]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129489", "tax_sys" : 0, "items" : [ { "code": "4700002083334", "name": "\u0412\u043E\u0434\u043A\u0430 Level 0,7\u043B", "price" : 630.00, "quantity" : 1.000, "sum" : 630.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700026030017", "name": "\u041A\u0443\u0440\u0443\u0442 \u043A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4630007400655", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433 \u0441\u0438\u043D\u0438\u0439", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 959.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [06:34:49]POST & json_proto [06:34:49]process_json_proto [06:34:49]json parsed OK: [06:34:49]protocol is kg_v1.0 [06:34:49]action value=close_receipt [06:34:49]process_action close_receipt [06:34:49]cmd_close_receipt [06:34:49]MH_GetDate [06:34:49]Write to MH i2c: F0 00 00 D8 34 FB [06:34:49]Write i2c OK [06:34:49]MH_I2C_Read... [06:34:49]Read from MH i2c: F0 [06:34:49]MH_I2C_Read... [06:34:49]Read from MH i2c: F0 09 00 [06:34:49]MH_I2C_Read... [06:34:49]Read from MH i2c: F0 09 00 D8 34 00 90 71 93 66 2D 25 5D 64 11 [06:34:49]GetLastDocTimeStamp 1720936721 [06:34:50]current date 1720938896 [06:34:50]FM_GetShiftState [06:34:50]SAM_PROTO_GetShiftState [06:34:50]wFMCommunicate request_size=4 [06:34:50]MH_SAM_APDU [06:34:50]CAPDU: 80 13 01 00 [06:34:50]Write to MH i2c: E2 08 00 D9 34 80 13 01 00 00 00 00 00 8A [06:34:50]Write i2c OK [06:34:50]MH_I2C_Read... [06:34:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:34:50]Read from MH i2c: E2 [06:34:50]MH_I2C_Read... [06:34:50]Read from MH i2c: E2 0E 00 [06:34:50]MH_I2C_Read... [06:34:50]Read from MH i2c: E2 0E 00 D9 34 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 31 [06:34:50]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [06:34:50]wFMCommunicate OK [06:34:50]SAM_PROTO_GetShiftState done [06:34:50]FM_GetShiftState done [06:34:50]opened in 1720917126 [06:34:50]opened+sec_in_day 1721003526 [06:34:50]quantity*price = 63000 [06:34:50]sum+1 = 63001 [06:34:50]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570095 Напиток Pepsi 2л 1.000 * 210.00 = 210.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700026030017 Курут классический 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4630007400655 Семечки ДЖИНН 70г синий 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 959.00 НСП 1% : 8.48 НДС 12% : 101.83 Наличными: 959.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 37 14.07.2024 06:34 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57020 ФПД: 147872474596640 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T063456&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57020&fm=147872474596640&tin=02508201610067®Number=0000000000091208&sum=95900 0 [06:34:51]StoreToDocumentArchive [06:34:51]shift 496 fd 57020 [06:34:51]save to /storage/0496/doc_00057020 [06:34:51]save last doc name /storage/0496/doc_00057020 to /storage/kkm_last_doc_name [06:34:51]save OK [06:34:51]Clear old archive folders... [06:34:51]ProcessDocumentItem done err = 0, tmpTLVsize=580 [06:34:51]tlvbuf is 01D45C80 [06:34:51]SAM_PROTO_ClearQueue [06:34:51]wFMCommunicate request_size=4 [06:34:51]MH_SAM_APDU [06:34:51]CAPDU: 80 09 00 00 [06:34:51]Write to MH i2c: E2 08 00 E6 34 80 09 00 00 00 00 00 00 8C [06:34:51]Write i2c OK [06:34:51]MH_I2C_Read... [06:34:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [06:34:51]Read from MH i2c: E2 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 E6 34 00 90 00 8E [06:34:51]RAPDU: 90 00 [06:34:51]wFMCommunicate OK [06:34:51]SAM_PROTO_ClearQueue done [06:34:51]KKMCreateOFDPacket [06:34:51]OFDProtocolAddRootSTLVToBuf [06:34:51]FM_MakeSignedData [06:34:51]FM_MakeSignedData [06:34:51]SAM_PROTO_SignData [06:34:51]wFMCommunicate request_size=4 [06:34:51]MH_SAM_APDU [06:34:51]CAPDU: 80 0D 01 02 [06:34:51]Write to MH i2c: E2 08 00 E7 34 80 0D 01 02 00 00 00 00 94 [06:34:51]Write i2c OK [06:34:51]MH_I2C_Read... [06:34:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [06:34:51]Read from MH i2c: E2 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 E7 34 00 90 00 8F [06:34:51]RAPDU: 90 00 [06:34:51]wFMCommunicate OK [06:34:51]wFMCommunicate request_size=255 [06:34:51]MH_SAM_APDU [06:34:51]CAPDU: 80 0D 02 02 FA 03 00 44 02 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 [06:34:51]Write to MH i2c: E2 02 01 E8 34 80 0D 02 02 FA 00 03 00 44 02 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 00 00 6C [06:34:51]Write i2c OK [06:34:51]MH_I2C_Read... [06:34:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:34:51]Read from MH i2c: E2 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 E8 34 00 90 00 90 [06:34:51]RAPDU: 90 00 [06:34:51]wFMCommunicate OK [06:34:51]wFMCommunicate request_size=255 [06:34:51]MH_SAM_APDU [06:34:51]CAPDU: 80 0D 02 02 FA B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 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 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 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 9C 76 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 27 00 00 00 00 07 04 06 00 9C 76 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 [06:34:51]Write to MH i2c: E2 02 01 E9 34 80 0D 02 02 FA 00 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 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 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 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 9C 76 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 27 00 00 00 00 07 04 06 00 9C 76 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 00 D2 [06:34:51]Write i2c OK [06:34:51]MH_I2C_Read... [06:34:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:34:51]Read from MH i2c: E2 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 E9 34 00 90 00 91 [06:34:51]RAPDU: 90 00 [06:34:51]wFMCommunicate OK [06:34:51]wFMCommunicate request_size=89 [06:34:51]MH_SAM_APDU [06:34:51]CAPDU: 80 0D 02 02 54 00 25 00 00 00 F4 03 04 00 90 71 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BC DE 00 00 35 04 06 00 86 7D 3E 52 05 20 [06:34:51]Write to MH i2c: E2 5C 00 EA 34 80 0D 02 02 54 00 00 25 00 00 00 F4 03 04 00 90 71 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BC DE 00 00 35 04 06 00 86 7D 3E 52 05 20 00 00 4A [06:34:51]Write i2c OK [06:34:51]MH_I2C_Read... [06:34:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [06:34:51]Read from MH i2c: E2 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 [06:34:51]MH_I2C_Read... [06:34:51]Read from MH i2c: E2 03 00 EA 34 00 90 00 92 [06:34:51]RAPDU: 90 00 [06:34:51]wFMCommunicate OK [06:34:51]wFMCommunicate request_size=4 [06:34:51]MH_SAM_APDU [06:34:51]CAPDU: 80 0D 03 02 [06:34:51]Write to MH i2c: E2 08 00 EB 34 80 0D 03 02 00 00 00 00 9A [06:34:51]Write i2c OK [06:34:51]MH_I2C_Read... [06:34:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [06:34:52]Read from MH i2c: E2 [06:34:52]MH_I2C_Read... [06:34:52]Read from MH i2c: E2 0B 00 [06:34:52]MH_I2C_Read... [06:34:52]Read from MH i2c: E2 0B 00 EB 34 00 6E 73 1A BB D1 76 55 62 90 00 4F [06:34:52]RAPDU: 6E 73 1A BB D1 76 55 62 90 00 [06:34:52]wFMCommunicate OK [06:34:52]SAM_PROTO_SignData done [06:34:52]FM_MakeSignedData done [06:34:52]CreateOFDProtocolMessage [06:34:52]wFMCommunicate request_size=4 [06:34:52]MH_SAM_APDU [06:34:52]CAPDU: 80 11 00 00 [06:34:52]Write to MH i2c: E2 08 00 EC 34 80 11 00 00 00 00 00 00 9A [06:34:52]Write i2c OK [06:34:52]MH_I2C_Read... [06:34:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:34:52]Read from MH i2c: E2 [06:34:52]MH_I2C_Read... [06:34:52]Read from MH i2c: E2 17 00 [06:34:52]MH_I2C_Read... [06:34:52]Read from MH i2c: E2 17 00 EC 34 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F4 [06:34:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:34:52]wFMCommunicate OK [06:34:52]CreateOFDProtocolMessage done [06:34:52]OFDSenderStorePacket 57020 [06:34:52]StoreOFDPacket docnum=57020 [06:34:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 58 02 00 00 E8 5F 50 02 EC D2 5A 03 01 00 03 00 44 02 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 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 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 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 9C 76 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 27 00 00 00 00 07 04 06 00 9C 76 01 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 90 71 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BC DE 00 00 35 04 06 00 86 7D 3E 52 05 20 6E 73 1A BB D1 76 55 62 [06:34:52]CheckFolder [06:34:52]dirname=/storage/ofd_packets [06:34:52]CheckFolder done [06:34:52]ProducePacketName [06:34:52]name=ofd_packets/00057020 [06:34:52]NVStorageSaveData ofd_packets/00057020 [06:34:52]File name is /storage/ofd_packets/00057020 [06:34:52]Write 630 bytes [06:34:52]NVStorageSaveData done [06:34:52]OFDSenderStorePacket done [06:34:52]KKMCreateOFDPacket done [06:34:52]NVStorageSaveData kkm_last_timestamp [06:34:52]File name is /storage/kkm_last_timestamp [06:34:52]Write 4 bytes [06:34:52]NVStorageSaveData done [06:34:52]ExternCall_PrintAddStr [06:34:52]wPrintStart [06:34:52]Write to MH i2c: 01 00 00 ED 34 21 [06:34:52]Write i2c OK [06:34:52]MH_I2C_Read... [06:34:52]Read from MH i2c: 01 [06:34:52]MH_I2C_Read... [06:34:52]Read from MH i2c: 01 07 00 [06:34:52]MH_I2C_Read... [06:34:52]Read from MH i2c: 01 07 00 ED 34 00 00 00 00 00 FF 0F 36 [06:34:52]RasterBufferAndPrint [06:34:52]line Счет N : (3)129489 [06:34:52]line ИНН: 02508201610067 [06:34:52]line Контрольно-Кассовый Чек [06:34:52]line ПРОДАЖА [06:34:52]line Товар: 4700002083334 [06:34:52]line Водка Level 0,7л [06:34:52]line 1.000 * 630.00 [06:34:52]line = 630.00 [06:34:52]line НДС 12% НСП 1% [06:34:52]line > о реализуемом товаре [06:34:52]line Товар: 4870001570095 [06:34:52]line Напиток Pepsi 2л [06:34:52]line 1.000 * 210.00 [06:34:52]line = 210.00 [06:34:52]line НДС 12% НСП 1% [06:34:52]line > о реализуемом товаре [06:34:52]line Товар: 4700026030017 [06:34:52]line Курут классический [06:34:52]line 1.000 * 49.00 [06:34:52]line = 49.00 [06:34:52]line НДС 12% НСП 1% [06:34:52]line > о реализуемом товаре [06:34:52]line Товар: 4630007400655 [06:34:52]line Семечки ДЖИНН 70г синий [06:34:52]line 1.000 * 70.00 [06:34:52]line = 70.00 [06:34:52]line НДС 12% НСП 1% [06:34:52]line > о реализуемом товаре [06:34:52]line ИТОГО: 959.00 [06:34:52]line НСП 1% : 8.48 [06:34:52]line НДС 12% : 101.83 [06:34:52]line Наличными: 959.00 [06:34:52]line Безнал.: 0.00 [06:34:52]line Место: АЗС № 132 "Партнер Нефть" [06:34:52]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [06:34:52]line СНО: Общий режим [06:34:52]line Чек 37 14.07.2024 06:34 [06:34:52]line Смена: 496 ФФД: 1.0 [06:34:52]line ЗНМ: 0300000132 [06:34:52]line РНМ: 0000000000091208 [06:34:52]line Версия ККМ: 001 [06:34:52]line ФМ: 0000000000874857 [06:34:52]line ФД: 57020 [06:34:52]line ФПД: 147872474596640 [06:34:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T063456&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57020&fm=147872474596640&tin=02508201610067®Number=0000000000091208&sum=95900 [06:34:52]line 0 [06:34:52]OFD Sender: Processing packet 57020 [packets to send 38, broken 37] [06:34:52]ProducePacketName [06:34:52]name=ofd_packets/00057020 [06:34:52]OFD Sender: To server: pG, [06:34:52]CommunicateWithHost lk.salyk.kg:30040 [06:34:52]ConnectInit lk.salyk.kg [06:34:52]written 0, free lines is 4095 [06:34:52]Connected sock=11 [06:34:52]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 58 02 00 00 E8 5F 50 02 EC D2 5A 03 01 00 03 00 44 02 1E 04 01 00 01 23 04 5A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 33 33 34 06 04 16 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4C 65 76 65 6C 20 30 2C 37 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 18 F6 00 00 00 00 13 04 06 00 18 F6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 34 37 30 30 30 32 36 30 33 30 30 31 37 06 04 23 00 D0 9A D1 83 D1 80 D1 83 D1 82 20 D0 BA D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 36 35 35 06 04 29 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 37 30 D0 B3 20 D1 81 D0 B8 D0 BD D0 B8 D0 B9 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 9C 76 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 50 03 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C7 27 00 00 00 00 07 04 06 00 9C 76 01 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 90 71 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BC DE 00 00 35 04 06 00 86 7D 3E 52 05 20 6E 73 1A BB D1 76 55 62 [06:34:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 6B B2 47 00 03 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 38 37 34 38 35 37 10 04 04 00 BC DE 00 00 F4 03 04 00 E2 17 93 66 B6 04 01 00 00 76 D7 50 F2 05 A8 5F 91 [06:34:52]CommunicateWithHost err = 0 [06:34:52]CheckOFDResponse [06:34:52]1017 (14) - 77093643461234 [06:34:52]1041 (16) - 0000000000874857 [06:34:52]1040 (4) - 57020 [06:34:52]1012 (4) - 14.07.2024 00:12 [06:34:52]1206 (1) - 0 [06:34:52]OFD Sender: Remove packet 57020 [06:34:52]ProducePacketName [06:34:52]name=ofd_packets/00057020 [06:34:52]NVStorageDeleteData [06:34:53]Write to MH i2c: 01 00 00 27 35 5C [06:34:53]Write i2c OK [06:34:53]MH_I2C_Read... [06:34:53]Read from MH i2c: 01 [06:34:53]MH_I2C_Read... [06:34:53]Read from MH i2c: 01 07 00 [06:34:53]MH_I2C_Read... [06:34:53]Read from MH i2c: 01 07 00 27 35 00 00 00 00 00 15 0C 84 [06:34:53]RasterBufferAndPrint [06:34:53]line [06:34:53]line [06:34:53]line [06:34:53]line [06:34:53]line [06:34:53]written 0, free lines is 3100 [06:34:53]MH_Cut [06:34:53]Write to MH i2c: D1 01 00 2E 35 01 35 [06:34:53]Write i2c OK [06:34:53]MH_I2C_Read... [06:34:53]Read from MH i2c: D1 [06:34:53]MH_I2C_Read... [06:34:53]Read from MH i2c: D1 01 00 [06:34:53]MH_I2C_Read... [06:34:53]Read from MH i2c: D1 01 00 2E 35 00 34 [06:34:53]Write to MH i2c: 01 00 00 2F 35 64 [06:34:53]Write i2c OK [06:34:53]MH_I2C_Read... [06:34:53]OFD Sender: No OFD packet to send [06:34:53]*** Cut start [06:34:53]*** Partial cut [06:34:53]*** CUTSNS_PIN = 1 [06:34:53]*** CUTSNS_PIN = 0 [06:34:54]*** Brake cut motor [06:34:54]Read from MH i2c: 01 [06:34:54]MH_I2C_Read... [06:34:54]*** Stop cut motor [06:34:54]*** Cut end [06:34:54]Read from MH i2c: 01 07 00 [06:34:54]MH_I2C_Read... [06:34:54]Read from MH i2c: 01 07 00 2F 35 00 00 00 00 00 FF 0F 79 [06:34:54]process_action close_receipt done [06:34:54]requested_data is exist [06:34:54]produce_requested_data [06:34:54]requested_item fm.sn is exist - process it [06:34:54]wFMCommunicate request_size=4 [06:34:54]MH_SAM_APDU [06:34:54]CAPDU: 80 11 00 00 [06:34:54]Write to MH i2c: E2 08 00 30 35 80 11 00 00 00 00 00 00 DF [06:34:54]Write i2c OK [06:34:54]MH_I2C_Read... [06:34:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [06:34:54]Read from MH i2c: E2 [06:34:54]MH_I2C_Read... [06:34:54]Read from MH i2c: E2 17 00 [06:34:54]MH_I2C_Read... [06:34:54]Read from MH i2c: E2 17 00 30 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 39 [06:34:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [06:34:54]wFMCommunicate OK [06:34:54]requested_item fd.num is exist - process it [06:34:54]SAM_PROTO_GetFieldsCounters [06:34:54]wFMCommunicate request_size=4 [06:34:54]MH_SAM_APDU [06:34:54]CAPDU: 80 13 00 00 [06:34:54]Write to MH i2c: E2 08 00 31 35 80 13 00 00 00 00 00 00 E2 [06:34:54]Write i2c OK [06:34:54]MH_I2C_Read... [06:34:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [06:34:54]Read from MH i2c: E2 [06:34:54]MH_I2C_Read... [06:34:54]Read from MH i2c: E2 62 00 [06:34:54]MH_I2C_Read... [06:34:54]Read from MH i2c: E2 62 00 31 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BC DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 FF [06:34:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BC DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 25 00 00 00 5E 04 04 00 25 00 00 00 57 04 04 00 26 00 00 00 19 04 04 00 00 00 00 00 90 00 [06:34:54]wFMCommunicate OK [06:34:54]SAM_PROTO_GetFieldsCounters done [06:34:54]requested_item shift.num is exist - process it [06:34:54]requested_item shift.opened is exist - process it [06:34:54]req_shift_opened [06:34:54]FM_GetShiftState [06:34:54]SAM_PROTO_GetShiftState [06:34:54]wFMCommunicate request_size=4 [06:34:54]MH_SAM_APDU [06:34:54]CAPDU: 80 13 01 00 [06:34:54]Write to MH i2c: E2 08 00 32 35 80 13 01 00 00 00 00 00 E4 [06:34:54]Write i2c OK [06:34:54]MH_I2C_Read... [06:34:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [06:34:54]Read from MH i2c: E2 [06:34:54]MH_I2C_Read... [06:34:54]Read from MH i2c: E2 0E 00 [06:34:54]MH_I2C_Read... [06:34:54]Read from MH i2c: E2 0E 00 32 35 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 8B [06:34:54]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [06:34:54]wFMCommunicate OK [06:34:54]SAM_PROTO_GetShiftState done [06:34:54]FM_GetShiftState done [06:34:54]req_shift_opened done [06:34:54]requested_item shift.open_date is exist - process it [06:34:54]req_shift_open_date [06:34:54]req_shift_open_date done [06:34:54]requested_item shift.sale.total is exist - process it [06:34:54]SAM_PROTO_GetShiftData [06:34:54]wFMCommunicate request_size=4 [06:34:54]MH_SAM_APDU [06:34:54]CAPDU: 80 13 02 00 [06:34:54]Write to MH i2c: E2 08 00 33 35 80 13 02 00 00 00 00 00 E6 [06:34:54]Write i2c OK [06:34:54]MH_I2C_Read... [06:34:55]Read from MH i2c: E2 [06:34:55]MH_I2C_Read... [06:34:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [06:34:55]Read from MH i2c: E2 FD 00 [06:34:55]MH_I2C_Read... [06:34:55]Read from MH i2c: E2 FD 00 33 35 00 BB 04 AA 04 B7 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 B8 94 17 70 04 03 00 D0 0C 14 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0D 81 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 65 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 96 [06:34:55]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 25 00 00 00 69 04 9B 00 6F 04 04 00 23 00 00 00 B1 04 03 00 B8 94 17 70 04 03 00 D0 0C 14 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0D 81 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 65 35 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [06:34:55]wFMCommunicate OK [06:34:55]wFMCommunicate request_size=4 [06:34:55]MH_SAM_APDU [06:34:55]CAPDU: 80 17 00 00 [06:34:55]Write to MH i2c: E2 08 00 34 35 80 17 00 00 00 00 00 00 E9 [06:34:55]Write i2c OK [06:34:55]MH_I2C_Read... [06:34:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:34:55]Read from MH i2c: E2 [06:34:55]MH_I2C_Read... [06:34:55]Read from MH i2c: E2 FD 00 [06:34:55]MH_I2C_Read... [06:34:55]Read from MH i2c: E2 FD 00 34 35 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7C [06:34:55]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [06:34:55]wFMCommunicate OK [06:34:55]wFMCommunicate request_size=4 [06:34:55]MH_SAM_APDU [06:34:55]CAPDU: 80 17 00 00 [06:34:55]Write to MH i2c: E2 08 00 35 35 80 17 00 00 00 00 00 00 EA [06:34:55]Write i2c OK [06:34:55]MH_I2C_Read... [06:34:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:34:55]Read from MH i2c: E2 [06:34:55]MH_I2C_Read... [06:34:55]Read from MH i2c: E2 FD 00 [06:34:55]MH_I2C_Read... [06:34:55]Read from MH i2c: E2 FD 00 35 35 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 16 [06:34:55]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [06:34:56]wFMCommunicate OK [06:34:56]wFMCommunicate request_size=4 [06:34:56]MH_SAM_APDU [06:34:56]CAPDU: 80 17 00 00 [06:34:56]Write to MH i2c: E2 08 00 36 35 80 17 00 00 00 00 00 00 EB [06:34:56]Write i2c OK [06:34:56]MH_I2C_Read... [06:34:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [06:34:56]Read from MH i2c: E2 [06:34:56]MH_I2C_Read... [06:34:56]Read from MH i2c: E2 FD 00 [06:34:56]MH_I2C_Read... [06:34:56]Read from MH i2c: E2 FD 00 36 35 00 00 00 EF 03 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 90 00 60 [06:34:56]RAPDU: 00 00 EF 03 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 90 00 [06:34:56]wFMCommunicate OK [06:34:56]wFMCommunicate request_size=4 [06:34:56]MH_SAM_APDU [06:34:56]CAPDU: 80 17 00 00 [06:34:56]Write to MH i2c: E2 08 00 37 35 80 17 00 00 00 00 00 00 EC [06:34:56]Write i2c OK [06:34:56]MH_I2C_Read... [06:34:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [06:34:56]Read from MH i2c: E2 [06:34:56]MH_I2C_Read... [06:34:56]Read from MH i2c: E2 D8 00 [06:34:56]MH_I2C_Read... [06:34:56]Read from MH i2c: E2 D8 00 37 35 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 D3 [06:34:56]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [06:34:56]wFMCommunicate OK [06:34:56]SAM_PROTO_GetShiftData done [06:34:56]requested_item shift.sale.total_cash is exist - process it [06:34:56]requested_item shift.sale_refund.total is exist - process it [06:34:56]requested_item shift.sale_refund.total_cash is exist - process it [06:34:56]produce_requested_data done [06:34:56]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57020,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":15454.00,"shift.sale.total_cash":13140.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [06:34:56]process_action_free close_receipt [06:34:56]json_value_free [06:34:56]json_value_free done [06:34:56]process_json_proto returns [06:34:56]Send response to host [06:34:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57020,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":15454.00,"shift.sale.total_cash":13140.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [06:34:56]free response buf [06:34:56]execute_script done [06:34:56]execute_script returns [06:34:56]free content buf [06:34:56]Sock 9.Close socket [06:34:56]Sock 9.Thread stoped [06:34:58]OFD Sender: No OFD packet to send [06:35:03]OFD Sender: No OFD packet to send [06:35:08]OFD Sender: No OFD packet to send [06:35:13]OFD Sender: No OFD packet to send [06:35:18]OFD Sender: No OFD packet to send [06:35:23]OFD Sender: No OFD packet to send [06:35:28]OFD Sender: No OFD packet to send [06:35:33]OFD Sender: No OFD packet to send [06:35:38]OFD Sender: No OFD packet to send [06:35:43]OFD Sender: No OFD packet to send [06:35:48]OFD Sender: No OFD packet to send [06:35:53]OFD Sender: No OFD packet to send [06:35:58]OFD Sender: No OFD packet to send [06:36:03]OFD Sender: No OFD packet to send [06:36:08]OFD Sender: No OFD packet to send [06:36:13]OFD Sender: No OFD packet to send [06:36:18]OFD Sender: No OFD packet to send [06:36:23]OFD Sender: No OFD packet to send [06:36:28]OFD Sender: No OFD packet to send [06:36:33]OFD Sender: No OFD packet to send [06:36:38]OFD Sender: No OFD packet to send [06:36:43]OFD Sender: No OFD packet to send [06:36:48]OFD Sender: No OFD packet to send [06:36:53]OFD Sender: No OFD packet to send [06:36:58]OFD Sender: No OFD packet to send [06:37:03]OFD Sender: No OFD packet to send [06:37:08]OFD Sender: No OFD packet to send [06:37:13]OFD Sender: No OFD packet to send [06:37:18]OFD Sender: No OFD packet to send [06:37:23]OFD Sender: No OFD packet to send [06:37:28]OFD Sender: No OFD packet to send [06:37:33]OFD Sender: No OFD packet to send [06:37:38]OFD Sender: No OFD packet to send [06:37:43]OFD Sender: No OFD packet to send [06:37:48]OFD Sender: No OFD packet to send [06:37:53]OFD Sender: No OFD packet to send [06:37:58]OFD Sender: No OFD packet to send [06:38:03]OFD Sender: No OFD packet to send [06:38:08]OFD Sender: No OFD packet to send [06:38:13]OFD Sender: No OFD packet to send [06:38:18]OFD Sender: No OFD packet to send [06:38:23]OFD Sender: No OFD packet to send [06:38:28]OFD Sender: No OFD packet to send [06:38:33]OFD Sender: No OFD packet to send [06:38:38]OFD Sender: No OFD packet to send [06:38:43]OFD Sender: No OFD packet to send [06:38:48]OFD Sender: No OFD packet to send [06:38:53]OFD Sender: No OFD packet to send [06:38:58]OFD Sender: No OFD packet to send [06:39:03]OFD Sender: No OFD packet to send [06:39:08]OFD Sender: No OFD packet to send [06:39:13]OFD Sender: No OFD packet to send [06:39:18]OFD Sender: No OFD packet to send [06:39:23]OFD Sender: No OFD packet to send [06:39:28]OFD Sender: No OFD packet to send [06:39:33]OFD Sender: No OFD packet to send [06:39:38]OFD Sender: No OFD packet to send [06:39:43]OFD Sender: No OFD packet to send [06:39:48]OFD Sender: No OFD packet to send [06:39:53]OFD Sender: No OFD packet to send [06:39:58]OFD Sender: No OFD packet to send [06:40:03]OFD Sender: No OFD packet to send [06:40:08]OFD Sender: No OFD packet to send [06:40:13]OFD Sender: No OFD packet to send [06:40:18]OFD Sender: No OFD packet to send [06:40:23]OFD Sender: No OFD packet to send [06:40:28]OFD Sender: No OFD packet to send [06:40:33]OFD Sender: No OFD packet to send [06:40:38]OFD Sender: No OFD packet to send [06:40:43]OFD Sender: No OFD packet to send [06:40:48]OFD Sender: No OFD packet to send [06:40:53]OFD Sender: No OFD packet to send [06:40:58]OFD Sender: No OFD packet to send [06:41:03]OFD Sender: No OFD packet to send [06:41:08]OFD Sender: No OFD packet to send [06:41:13]OFD Sender: No OFD packet to send [06:41:18]OFD Sender: No OFD packet to send [06:41:23]OFD Sender: No OFD packet to send [06:41:28]OFD Sender: No OFD packet to send [06:41:33]OFD Sender: No OFD packet to send [06:41:38]OFD Sender: No OFD packet to send [06:41:43]OFD Sender: No OFD packet to send [06:41:48]OFD Sender: No OFD packet to send [06:41:53]OFD Sender: No OFD packet to send [06:41:58]OFD Sender: No OFD packet to send [06:42:03]OFD Sender: No OFD packet to send [06:42:08]OFD Sender: No OFD packet to send [06:42:13]OFD Sender: No OFD packet to send [06:42:18]OFD Sender: No OFD packet to send [06:42:23]OFD Sender: No OFD packet to send [06:42:28]OFD Sender: No OFD packet to send [06:42:33]OFD Sender: No OFD packet to send [06:42:38]OFD Sender: No OFD packet to send [06:42:43]OFD Sender: No OFD packet to send [06:42:48]OFD Sender: No OFD packet to send [06:42:53]OFD Sender: No OFD packet to send [06:42:58]OFD Sender: No OFD packet to send [06:43:03]OFD Sender: No OFD packet to send [06:43:08]OFD Sender: No OFD packet to send [06:43:13]OFD Sender: No OFD packet to send [06:43:18]OFD Sender: No OFD packet to send [06:43:23]OFD Sender: No OFD packet to send [06:43:28]OFD Sender: No OFD packet to send [06:43:33]OFD Sender: No OFD packet to send [06:43:38]OFD Sender: No OFD packet to send [06:43:43]OFD Sender: No OFD packet to send [06:43:48]OFD Sender: No OFD packet to send [06:43:53]OFD Sender: No OFD packet to send [06:43:58]OFD Sender: No OFD packet to send [06:44:03]OFD Sender: No OFD packet to send [06:44:08]OFD Sender: No OFD packet to send [06:44:13]OFD Sender: No OFD packet to send [06:44:18]OFD Sender: No OFD packet to send [06:44:23]OFD Sender: No OFD packet to send [06:44:28]OFD Sender: No OFD packet to send [06:44:33]OFD Sender: No OFD packet to send [06:44:38]OFD Sender: No OFD packet to send [06:44:43]OFD Sender: No OFD packet to send [06:44:48]OFD Sender: No OFD packet to send [06:44:53]OFD Sender: No OFD packet to send [06:44:58]OFD Sender: No OFD packet to send [06:45:03]OFD Sender: No OFD packet to send [06:45:08]OFD Sender: No OFD packet to send [06:45:13]OFD Sender: No OFD packet to send [06:45:18]OFD Sender: No OFD packet to send [06:45:23]OFD Sender: No OFD packet to send [06:45:28]OFD Sender: No OFD packet to send [06:45:33]OFD Sender: No OFD packet to send [06:45:38]OFD Sender: No OFD packet to send [06:45:43]OFD Sender: No OFD packet to send [06:45:48]OFD Sender: No OFD packet to send [06:45:53]OFD Sender: No OFD packet to send [06:45:58]OFD Sender: No OFD packet to send [06:46:03]OFD Sender: No OFD packet to send [06:46:08]OFD Sender: No OFD packet to send [06:46:13]OFD Sender: No OFD packet to send [06:46:18]OFD Sender: No OFD packet to send [06:46:23]OFD Sender: No OFD packet to send [06:46:28]OFD Sender: No OFD packet to send [06:46:33]OFD Sender: No OFD packet to send [06:46:38]OFD Sender: No OFD packet to send [06:46:43]OFD Sender: No OFD packet to send [06:46:48]OFD Sender: No OFD packet to send [06:46:53]OFD Sender: No OFD packet to send [06:46:58]OFD Sender: No OFD packet to send [06:47:03]OFD Sender: No OFD packet to send [06:47:08]OFD Sender: No OFD packet to send [06:47:13]OFD Sender: No OFD packet to send [06:47:18]OFD Sender: No OFD packet to send [06:47:23]OFD Sender: No OFD packet to send [06:47:28]OFD Sender: No OFD packet to send [06:47:33]OFD Sender: No OFD packet to send [06:47:38]OFD Sender: No OFD packet to send [06:47:43]OFD Sender: No OFD packet to send [06:47:48]OFD Sender: No OFD packet to send [06:47:53]OFD Sender: No OFD packet to send [06:47:58]OFD Sender: No OFD packet to send [06:48:03]OFD Sender: No OFD packet to send [06:48:08]OFD Sender: No OFD packet to send [06:48:13]OFD Sender: No OFD packet to send [06:48:19]OFD Sender: No OFD packet to send [06:48:24]OFD Sender: No OFD packet to send [06:48:29]OFD Sender: No OFD packet to send [06:48:34]OFD Sender: No OFD packet to send [06:48:39]OFD Sender: No OFD packet to send [06:48:44]OFD Sender: No OFD packet to send [06:48:49]OFD Sender: No OFD packet to send [06:48:54]OFD Sender: No OFD packet to send [06:48:59]OFD Sender: No OFD packet to send [06:49:04]OFD Sender: No OFD packet to send [06:49:09]OFD Sender: No OFD packet to send [06:49:14]OFD Sender: No OFD packet to send [06:49:19]OFD Sender: No OFD packet to send [06:49:24]OFD Sender: No OFD packet to send [06:49:29]OFD Sender: No OFD packet to send [06:49:34]OFD Sender: No OFD packet to send [06:49:39]OFD Sender: No OFD packet to send [06:49:44]OFD Sender: No OFD packet to send [06:49:49]OFD Sender: No OFD packet to send [06:49:54]OFD Sender: No OFD packet to send [06:49:59]OFD Sender: No OFD packet to send [06:50:04]OFD Sender: No OFD packet to send [06:50:09]OFD Sender: No OFD packet to send [06:50:14]OFD Sender: No OFD packet to send [06:50:19]OFD Sender: No OFD packet to send [06:50:24]OFD Sender: No OFD packet to send [06:50:29]OFD Sender: No OFD packet to send [06:50:34]OFD Sender: No OFD packet to send [06:50:39]OFD Sender: No OFD packet to send [06:50:44]OFD Sender: No OFD packet to send [06:50:49]OFD Sender: No OFD packet to send [06:50:54]OFD Sender: No OFD packet to send [06:50:59]OFD Sender: No OFD packet to send [06:51:04]OFD Sender: No OFD packet to send [06:51:09]OFD Sender: No OFD packet to send [06:51:14]OFD Sender: No OFD packet to send [06:51:19]OFD Sender: No OFD packet to send [06:51:24]OFD Sender: No OFD packet to send [06:51:29]OFD Sender: No OFD packet to send [06:51:34]OFD Sender: No OFD packet to send [06:51:39]OFD Sender: No OFD packet to send [06:51:44]OFD Sender: No OFD packet to send [06:51:49]OFD Sender: No OFD packet to send [06:51:54]OFD Sender: No OFD packet to send [06:51:59]OFD Sender: No OFD packet to send [06:52:04]OFD Sender: No OFD packet to send [06:52:09]OFD Sender: No OFD packet to send [06:52:14]OFD Sender: No OFD packet to send [06:52:19]OFD Sender: No OFD packet to send [06:52:24]OFD Sender: No OFD packet to send [06:52:29]OFD Sender: No OFD packet to send [06:52:34]OFD Sender: No OFD packet to send [06:52:39]OFD Sender: No OFD packet to send [06:52:44]OFD Sender: No OFD packet to send [06:52:49]OFD Sender: No OFD packet to send [06:52:54]OFD Sender: No OFD packet to send [06:52:59]OFD Sender: No OFD packet to send [06:53:04]OFD Sender: No OFD packet to send [06:53:09]OFD Sender: No OFD packet to send [06:53:14]OFD Sender: No OFD packet to send [06:53:19]OFD Sender: No OFD packet to send [06:53:24]OFD Sender: No OFD packet to send [06:53:29]OFD Sender: No OFD packet to send [06:53:34]OFD Sender: No OFD packet to send [06:53:39]OFD Sender: No OFD packet to send [06:53:44]OFD Sender: No OFD packet to send [06:53:49]OFD Sender: No OFD packet to send [06:53:54]OFD Sender: No OFD packet to send [06:53:59]OFD Sender: No OFD packet to send [06:54:04]OFD Sender: No OFD packet to send [06:54:09]OFD Sender: No OFD packet to send [06:54:14]OFD Sender: No OFD packet to send [06:54:19]OFD Sender: No OFD packet to send [06:54:24]OFD Sender: No OFD packet to send [06:54:29]OFD Sender: No OFD packet to send [06:54:34]OFD Sender: No OFD packet to send [06:54:39]OFD Sender: No OFD packet to send [06:54:44]OFD Sender: No OFD packet to send [06:54:49]OFD Sender: No OFD packet to send [06:54:54]OFD Sender: No OFD packet to send [06:54:59]OFD Sender: No OFD packet to send [06:55:04]OFD Sender: No OFD packet to send [06:55:09]OFD Sender: No OFD packet to send [06:55:14]OFD Sender: No OFD packet to send [06:55:19]OFD Sender: No OFD packet to send [06:55:24]OFD Sender: No OFD packet to send [06:55:29]OFD Sender: No OFD packet to send [06:55:34]OFD Sender: No OFD packet to send [06:55:39]OFD Sender: No OFD packet to send [06:55:44]OFD Sender: No OFD packet to send [06:55:49]OFD Sender: No OFD packet to send [06:55:54]OFD Sender: No OFD packet to send [06:55:59]OFD Sender: No OFD packet to send [06:56:04]OFD Sender: No OFD packet to send [06:56:09]OFD Sender: No OFD packet to send [06:56:14]OFD Sender: No OFD packet to send [06:56:19]OFD Sender: No OFD packet to send [06:56:24]OFD Sender: No OFD packet to send [06:56:29]OFD Sender: No OFD packet to send [06:56:34]OFD Sender: No OFD packet to send [06:56:39]OFD Sender: No OFD packet to send [06:56:44]OFD Sender: No OFD packet to send [06:56:49]OFD Sender: No OFD packet to send [06:56:54]OFD Sender: No OFD packet to send [06:56:59]OFD Sender: No OFD packet to send [06:57:04]OFD Sender: No OFD packet to send [06:57:09]OFD Sender: No OFD packet to send [06:57:14]OFD Sender: No OFD packet to send [06:57:19]OFD Sender: No OFD packet to send [06:57:24]OFD Sender: No OFD packet to send [06:57:29]OFD Sender: No OFD packet to send [06:57:34]OFD Sender: No OFD packet to send [06:57:39]OFD Sender: No OFD packet to send [06:57:44]OFD Sender: No OFD packet to send [06:57:49]OFD Sender: No OFD packet to send [06:57:54]OFD Sender: No OFD packet to send [06:57:59]OFD Sender: No OFD packet to send [06:58:04]OFD Sender: No OFD packet to send [06:58:09]OFD Sender: No OFD packet to send [06:58:14]OFD Sender: No OFD packet to send [06:58:19]OFD Sender: No OFD packet to send [06:58:24]OFD Sender: No OFD packet to send [06:58:29]OFD Sender: No OFD packet to send [06:58:34]OFD Sender: No OFD packet to send [06:58:39]OFD Sender: No OFD packet to send [06:58:44]OFD Sender: No OFD packet to send [06:58:49]OFD Sender: No OFD packet to send [06:58:54]OFD Sender: No OFD packet to send [06:58:59]OFD Sender: No OFD packet to send [06:59:04]OFD Sender: No OFD packet to send [06:59:09]OFD Sender: No OFD packet to send [06:59:14]OFD Sender: No OFD packet to send [06:59:19]OFD Sender: No OFD packet to send [06:59:24]OFD Sender: No OFD packet to send [06:59:29]OFD Sender: No OFD packet to send [06:59:34]OFD Sender: No OFD packet to send [06:59:39]OFD Sender: No OFD packet to send [06:59:44]OFD Sender: No OFD packet to send [06:59:49]OFD Sender: No OFD packet to send [06:59:54]OFD Sender: No OFD packet to send [06:59:59]OFD Sender: No OFD packet to send [07:00:04]OFD Sender: No OFD packet to send [07:00:09]OFD Sender: No OFD packet to send [07:00:14]OFD Sender: No OFD packet to send [07:00:19]OFD Sender: No OFD packet to send [07:00:24]OFD Sender: No OFD packet to send [07:00:29]OFD Sender: No OFD packet to send [07:00:34]OFD Sender: No OFD packet to send [07:00:39]OFD Sender: No OFD packet to send [07:00:44]OFD Sender: No OFD packet to send [07:00:49]OFD Sender: No OFD packet to send [07:00:54]OFD Sender: No OFD packet to send [07:00:59]OFD Sender: No OFD packet to send [07:01:04]OFD Sender: No OFD packet to send [07:01:09]OFD Sender: No OFD packet to send [07:01:14]OFD Sender: No OFD packet to send [07:01: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:12]accept exits with 8 [07:04:12]New connection [07:04:12]New thread 3067129188 created [07:04:12]Thread 3067272548 joined [07:04:12]Waiting for new connection... [07:04:12] Sock 8.Parse request [07:04:12]Sock 8.Check first char [07:04:12]Sock 8.First char is OK [07:04:12]request: POST /json_proto HTTP/1.0 [07:04:12]Method: POST [07:04:12]URL: /json_proto [07:04:12]Method is POST - this is cgi request [07:04:12]url: /json_proto [07:04:12]query_string will be loaded in cgi processing [07:04:12]execute_cgi json_proto POST (null) [07:04:12]execute_cgi path=json_proto method=POST [07:04:12]POST find Content-Length [07:04:12]Host: 172.17.39.4:8080 [07:04:12]Content-Length: 768 [07:04:12]Content-Type: application/json [07:04:12] [07:04:12]POST finish read [07:04:12]Found Content-Length = 768 [07:04:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129490", "tax_sys" : 0, "items" : [ { "code": "4602441000609", "name": "\u041D\u0430\u043F\u0438\u0442 \u0414\u044E\u0448\u0435\u0441 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:04:12]execute_script... [07:04:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129490", "tax_sys" : 0, "items" : [ { "code": "4602441000609", "name": "\u041D\u0430\u043F\u0438\u0442 \u0414\u044E\u0448\u0435\u0441 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 205.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:04:12]POST & json_proto [07:04:12]process_json_proto [07:04:12]json parsed OK: [07:04:12]protocol is kg_v1.0 [07:04:12]action value=close_receipt [07:04:12]process_action close_receipt [07:04:12]cmd_close_receipt [07:04:12]MH_GetDate [07:04:12]Write to MH i2c: F0 00 00 38 35 5C [07:04:12]Write i2c OK [07:04:12]MH_I2C_Read... [07:04:12]Read from MH i2c: F0 [07:04:12]MH_I2C_Read... [07:04:12]Read from MH i2c: F0 09 00 [07:04:12]MH_I2C_Read... [07:04:12]Read from MH i2c: F0 09 00 38 35 00 72 78 93 66 2D 25 5D 64 5B [07:04:12]GetLastDocTimeStamp 1720938896 [07:04:12]current date 1720940658 [07:04:12]FM_GetShiftState [07:04:12]SAM_PROTO_GetShiftState [07:04:12]wFMCommunicate request_size=4 [07:04:12]MH_SAM_APDU [07:04:12]CAPDU: 80 13 01 00 [07:04:12]Write to MH i2c: E2 08 00 39 35 80 13 01 00 00 00 00 00 EB [07:04:12]Write i2c OK [07:04:12]MH_I2C_Read... [07:04:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:04:12]Read from MH i2c: E2 [07:04:12]MH_I2C_Read... [07:04:12]Read from MH i2c: E2 0E 00 [07:04:12]MH_I2C_Read... [07:04:12]Read from MH i2c: E2 0E 00 39 35 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 92 [07:04:12]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [07:04:12]wFMCommunicate OK [07:04:12]SAM_PROTO_GetShiftState done [07:04:12]FM_GetShiftState done [07:04:12]opened in 1720917126 [07:04:12]opened+sec_in_day 1721003526 [07:04:12]quantity*price = 20500 [07:04:12]sum+1 = 20501 [07:04:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 205.00 НСП 1% : 1.81 НДС 12% : 21.77 Наличными: 205.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 38 14.07.2024 07:04 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57021 ФПД: 160388648195210 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T070418&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57021&fm=160388648195210&tin=02508201610067®Number=0000000000091208&sum=20500 0 [07:04:13]StoreToDocumentArchive [07:04:13]shift 496 fd 57021 [07:04:13]save to /storage/0496/doc_00057021 [07:04:13]save last doc name /storage/0496/doc_00057021 to /storage/kkm_last_doc_name [07:04:13]save OK [07:04:13]Clear old archive folders... [07:04:13]ProcessDocumentItem done err = 0, tmpTLVsize=280 [07:04:13]tlvbuf is 01CB5C40 [07:04:13]SAM_PROTO_ClearQueue [07:04:13]wFMCommunicate request_size=4 [07:04:13]MH_SAM_APDU [07:04:13]CAPDU: 80 09 00 00 [07:04:13]Write to MH i2c: E2 08 00 46 35 80 09 00 00 00 00 00 00 ED [07:04:13]Write i2c OK [07:04:13]MH_I2C_Read... [07:04:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:04:13]Read from MH i2c: E2 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 03 00 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 03 00 46 35 00 90 00 EF [07:04:13]RAPDU: 90 00 [07:04:13]wFMCommunicate OK [07:04:13]SAM_PROTO_ClearQueue done [07:04:13]KKMCreateOFDPacket [07:04:13]OFDProtocolAddRootSTLVToBuf [07:04:13]FM_MakeSignedData [07:04:13]FM_MakeSignedData [07:04:13]SAM_PROTO_SignData [07:04:13]wFMCommunicate request_size=4 [07:04:13]MH_SAM_APDU [07:04:13]CAPDU: 80 0D 01 02 [07:04:13]Write to MH i2c: E2 08 00 47 35 80 0D 01 02 00 00 00 00 F5 [07:04:13]Write i2c OK [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 [07:04:13]MH_I2C_Read... [07:04:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:04:13]Read from MH i2c: E2 03 00 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 03 00 47 35 00 90 00 F0 [07:04:13]RAPDU: 90 00 [07:04:13]wFMCommunicate OK [07:04:13]wFMCommunicate request_size=255 [07:04:13]MH_SAM_APDU [07:04:13]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 72 78 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [07:04:13]Write to MH i2c: E2 02 01 48 35 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 72 78 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 00 00 E7 [07:04:13]Write i2c OK [07:04:13]MH_I2C_Read... [07:04:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:04:13]Read from MH i2c: E2 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 03 00 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 03 00 48 35 00 90 00 F1 [07:04:13]RAPDU: 90 00 [07:04:13]wFMCommunicate OK [07:04:13]wFMCommunicate request_size=39 [07:04:13]MH_SAM_APDU [07:04:13]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BD DE 00 00 35 04 06 00 91 DF 64 66 D4 8A [07:04:13]Write to MH i2c: E2 2A 00 49 35 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BD DE 00 00 35 04 06 00 91 DF 64 66 D4 8A 00 00 ED [07:04:13]Write i2c OK [07:04:13]MH_I2C_Read... [07:04:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:04:13]Read from MH i2c: E2 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 03 00 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 03 00 49 35 00 90 00 F2 [07:04:13]RAPDU: 90 00 [07:04:13]wFMCommunicate OK [07:04:13]wFMCommunicate request_size=4 [07:04:13]MH_SAM_APDU [07:04:13]CAPDU: 80 0D 03 02 [07:04:13]Write to MH i2c: E2 08 00 4A 35 80 0D 03 02 00 00 00 00 FA [07:04:13]Write i2c OK [07:04:13]MH_I2C_Read... [07:04:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:04:13]Read from MH i2c: E2 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 0B 00 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 0B 00 4A 35 00 8D 23 AE 06 18 76 1B DD 90 00 E5 [07:04:13]RAPDU: 8D 23 AE 06 18 76 1B DD 90 00 [07:04:13]wFMCommunicate OK [07:04:13]SAM_PROTO_SignData done [07:04:13]FM_MakeSignedData done [07:04:13]CreateOFDProtocolMessage [07:04:13]wFMCommunicate request_size=4 [07:04:13]MH_SAM_APDU [07:04:13]CAPDU: 80 11 00 00 [07:04:13]Write to MH i2c: E2 08 00 4B 35 80 11 00 00 00 00 00 00 FA [07:04:13]Write i2c OK [07:04:13]MH_I2C_Read... [07:04:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:04:13]Read from MH i2c: E2 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 17 00 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: E2 17 00 4B 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 54 [07:04:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:04:13]wFMCommunicate OK [07:04:13]CreateOFDProtocolMessage done [07:04:13]OFDSenderStorePacket 57021 [07:04:13]StoreOFDPacket docnum=57021 [07:04:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 5B 08 24 01 68 F2 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 72 78 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BD DE 00 00 35 04 06 00 91 DF 64 66 D4 8A 8D 23 AE 06 18 76 1B DD [07:04:13]CheckFolder [07:04:13]dirname=/storage/ofd_packets [07:04:13]CheckFolder done [07:04:13]ProducePacketName [07:04:13]name=ofd_packets/00057021 [07:04:13]NVStorageSaveData ofd_packets/00057021 [07:04:13]File name is /storage/ofd_packets/00057021 [07:04:13]Write 330 bytes [07:04:13]NVStorageSaveData done [07:04:13]OFDSenderStorePacket done [07:04:13]KKMCreateOFDPacket done [07:04:13]NVStorageSaveData kkm_last_timestamp [07:04:13]File name is /storage/kkm_last_timestamp [07:04:13]Write 4 bytes [07:04:13]NVStorageSaveData done [07:04:13]ExternCall_PrintAddStr [07:04:13]wPrintStart [07:04:13]Write to MH i2c: 01 00 00 4C 35 81 [07:04:13]Write i2c OK [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: 01 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: 01 07 00 [07:04:13]MH_I2C_Read... [07:04:13]Read from MH i2c: 01 07 00 4C 35 00 00 00 00 00 FF 0F 96 [07:04:13]RasterBufferAndPrint [07:04:13]line Счет N : (3)129490 [07:04:13]line ИНН: 02508201610067 [07:04:13]line Контрольно-Кассовый Чек [07:04:13]line ПРОДАЖА [07:04:13]line Товар: 4602441000609 [07:04:13]line Напит Дюшес 1л стекло [07:04:13]line 1.000 * 205.00 [07:04:13]line = 205.00 [07:04:13]line НДС 12% НСП 1% [07:04:13]line > о реализуемом товаре [07:04:13]line ИТОГО: 205.00 [07:04:13]line НСП 1% : 1.81 [07:04:13]line НДС 12% : 21.77 [07:04:13]line Наличными: 205.00 [07:04:13]line Безнал.: 0.00 [07:04:13]line Место: АЗС № 132 "Партнер Нефть" [07:04:13]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:04:13]line СНО: Общий режим [07:04:13]line Чек 38 14.07.2024 07:04 [07:04:13]line Смена: 496 ФФД: 1.0 [07:04:13]line ЗНМ: 0300000132 [07:04:13]line РНМ: 0000000000091208 [07:04:13]line Версия ККМ: 001 [07:04:13]line ФМ: 0000000000874857 [07:04:13]line ФД: 57021 [07:04:13]line ФПД: 160388648195210 [07:04:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T070418&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57021&fm=160388648195210&tin=02508201610067®Number=0000000000091208&sum=20500 [07:04:14]OFD Sender: Processing packet 57021 [packets to send 38, broken 37] [07:04:14]ProducePacketName [07:04:14]name=ofd_packets/00057021 [07:04:14]OFD Sender: To server: pG, [07:04:14]CommunicateWithHost lk.salyk.kg:30040 [07:04:14]ConnectInit lk.salyk.kg [07:04:14]line 0 [07:04:14]written 0, free lines is 4095 [07:04:14]Connected sock=10 [07:04:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 5B 08 24 01 68 F2 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 14 50 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B5 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 81 08 00 00 00 00 07 04 06 00 14 50 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 26 00 00 00 F4 03 04 00 72 78 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BD DE 00 00 35 04 06 00 91 DF 64 66 D4 8A 8D 23 AE 06 18 76 1B DD [07:04:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 9C E0 47 00 58 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BD DE 00 00 F4 03 04 00 C4 1E 93 66 B6 04 01 00 00 6B C5 6E 1A 65 6D ED EA [07:04:14]CommunicateWithHost err = 0 [07:04:14]CheckOFDResponse [07:04:14]1017 (14) - 77093643461234 [07:04:14]1041 (16) - 0000000000874857 [07:04:14]1040 (4) - 57021 [07:04:14]1012 (4) - 14.07.2024 00:41 [07:04:14]1206 (1) - 0 [07:04:14]OFD Sender: Remove packet 57021 [07:04:14]ProducePacketName [07:04:14]name=ofd_packets/00057021 [07:04:14]NVStorageDeleteData [07:04:14]Write to MH i2c: 01 00 00 74 35 A9 [07:04:14]Write i2c OK [07:04:14]MH_I2C_Read... [07:04:14]Read from MH i2c: 01 [07:04:14]MH_I2C_Read... [07:04:14]Read from MH i2c: 01 07 00 [07:04:14]MH_I2C_Read... [07:04:14]Read from MH i2c: 01 07 00 74 35 00 00 00 00 00 03 0D C0 [07:04:14]RasterBufferAndPrint [07:04:14]line [07:04:14]line [07:04:14]line [07:04:14]line [07:04:14]line [07:04:14]written 0, free lines is 3337 [07:04:14]MH_Cut [07:04:14]Write to MH i2c: D1 01 00 7B 35 01 82 [07:04:14]Write i2c OK [07:04:14]MH_I2C_Read... [07:04:14]Read from MH i2c: D1 [07:04:14]MH_I2C_Read... [07:04:14]Read from MH i2c: D1 01 00 [07:04:14]MH_I2C_Read... [07:04:14]Read from MH i2c: D1 01 00 7B 35 00 81 [07:04:14]Write to MH i2c: 01 00 00 7C 35 B1 [07:04:14]Write i2c OK [07:04:14]MH_I2C_Read... [07:04:14]OFD Sender: No OFD packet to send [07:04:15]*** Cut start [07:04:15]*** Partial cut [07:04:15]*** CUTSNS_PIN = 1 [07:04:15]*** CUTSNS_PIN = 0 [07:04:15]*** Brake cut motor [07:04:15]Read from MH i2c: 01 [07:04:15]MH_I2C_Read... [07:04:15]*** Stop cut motor [07:04:15]*** Cut end [07:04:15]Read from MH i2c: 01 07 00 [07:04:15]MH_I2C_Read... [07:04:15]Read from MH i2c: 01 07 00 7C 35 00 00 00 00 00 FF 0F C6 [07:04:15]process_action close_receipt done [07:04:15]requested_data is exist [07:04:15]produce_requested_data [07:04:15]requested_item fm.sn is exist - process it [07:04:15]wFMCommunicate request_size=4 [07:04:15]MH_SAM_APDU [07:04:15]CAPDU: 80 11 00 00 [07:04:15]Write to MH i2c: E2 08 00 7D 35 80 11 00 00 00 00 00 00 2C [07:04:15]Write i2c OK [07:04:15]MH_I2C_Read... [07:04:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:04:15]Read from MH i2c: E2 [07:04:15]MH_I2C_Read... [07:04:15]Read from MH i2c: E2 17 00 [07:04:15]MH_I2C_Read... [07:04:15]Read from MH i2c: E2 17 00 7D 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 86 [07:04:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:04:15]wFMCommunicate OK [07:04:15]requested_item fd.num is exist - process it [07:04:15]SAM_PROTO_GetFieldsCounters [07:04:15]wFMCommunicate request_size=4 [07:04:15]MH_SAM_APDU [07:04:15]CAPDU: 80 13 00 00 [07:04:15]Write to MH i2c: E2 08 00 7E 35 80 13 00 00 00 00 00 00 2F [07:04:15]Write i2c OK [07:04:15]MH_I2C_Read... [07:04:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:04:16]Read from MH i2c: E2 [07:04:16]MH_I2C_Read... [07:04:16]Read from MH i2c: E2 62 00 [07:04:16]MH_I2C_Read... [07:04:16]Read from MH i2c: E2 62 00 7E 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BD DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 50 [07:04:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BD DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 26 00 00 00 5E 04 04 00 26 00 00 00 57 04 04 00 27 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:04:16]wFMCommunicate OK [07:04:16]SAM_PROTO_GetFieldsCounters done [07:04:16]requested_item shift.num is exist - process it [07:04:16]requested_item shift.opened is exist - process it [07:04:16]req_shift_opened [07:04:16]FM_GetShiftState [07:04:16]SAM_PROTO_GetShiftState [07:04:16]wFMCommunicate request_size=4 [07:04:16]MH_SAM_APDU [07:04:16]CAPDU: 80 13 01 00 [07:04:16]Write to MH i2c: E2 08 00 7F 35 80 13 01 00 00 00 00 00 31 [07:04:16]Write i2c OK [07:04:16]MH_I2C_Read... [07:04:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:04:16]Read from MH i2c: E2 [07:04:16]MH_I2C_Read... [07:04:16]Read from MH i2c: E2 0E 00 [07:04:16]MH_I2C_Read... [07:04:16]Read from MH i2c: E2 0E 00 7F 35 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 D8 [07:04:16]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [07:04:16]wFMCommunicate OK [07:04:16]SAM_PROTO_GetShiftState done [07:04:16]FM_GetShiftState done [07:04:16]req_shift_opened done [07:04:16]requested_item shift.open_date is exist - process it [07:04:16]req_shift_open_date [07:04:16]req_shift_open_date done [07:04:16]requested_item shift.sale.total is exist - process it [07:04:16]SAM_PROTO_GetShiftData [07:04:16]wFMCommunicate request_size=4 [07:04:16]MH_SAM_APDU [07:04:16]CAPDU: 80 13 02 00 [07:04:16]Write to MH i2c: E2 08 00 80 35 80 13 02 00 00 00 00 00 33 [07:04:16]Write i2c OK [07:04:16]MH_I2C_Read... [07:04:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:04:16]Read from MH i2c: E2 [07:04:16]MH_I2C_Read... [07:04:16]Read from MH i2c: E2 FD 00 [07:04:16]MH_I2C_Read... [07:04:16]Read from MH i2c: E2 FD 00 80 35 00 BB 04 AA 04 B7 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 CC E4 17 70 04 03 00 E4 5C 14 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8E 89 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 EC [07:04:16]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 26 00 00 00 69 04 9B 00 6F 04 04 00 24 00 00 00 B1 04 03 00 CC E4 17 70 04 03 00 E4 5C 14 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 8E 89 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1A 36 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [07:04:16]wFMCommunicate OK [07:04:16]wFMCommunicate request_size=4 [07:04:16]MH_SAM_APDU [07:04:16]CAPDU: 80 17 00 00 [07:04:16]Write to MH i2c: E2 08 00 81 35 80 17 00 00 00 00 00 00 36 [07:04:16]Write i2c OK [07:04:16]MH_I2C_Read... [07:04:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:04:16]Read from MH i2c: E2 [07:04:16]MH_I2C_Read... [07:04:16]Read from MH i2c: E2 FD 00 [07:04:16]MH_I2C_Read... [07:04:16]Read from MH i2c: E2 FD 00 81 35 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C9 [07:04:16]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:04:16]wFMCommunicate OK [07:04:16]wFMCommunicate request_size=4 [07:04:16]MH_SAM_APDU [07:04:16]CAPDU: 80 17 00 00 [07:04:16]Write to MH i2c: E2 08 00 82 35 80 17 00 00 00 00 00 00 37 [07:04:16]Write i2c OK [07:04:16]MH_I2C_Read... [07:04:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:04:17]Read from MH i2c: E2 [07:04:17]MH_I2C_Read... [07:04:17]Read from MH i2c: E2 FD 00 [07:04:17]MH_I2C_Read... [07:04:17]Read from MH i2c: E2 FD 00 82 35 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 63 [07:04:17]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:04:17]wFMCommunicate OK [07:04:17]wFMCommunicate request_size=4 [07:04:17]MH_SAM_APDU [07:04:17]CAPDU: 80 17 00 00 [07:04:17]Write to MH i2c: E2 08 00 83 35 80 17 00 00 00 00 00 00 38 [07:04:17]Write i2c OK [07:04:17]MH_I2C_Read... [07:04:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:04:17]Read from MH i2c: E2 [07:04:17]MH_I2C_Read... [07:04:17]Read from MH i2c: E2 FD 00 [07:04:17]MH_I2C_Read... [07:04:17]Read from MH i2c: E2 FD 00 83 35 00 00 00 EF 03 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 90 00 AD [07:04:17]RAPDU: 00 00 EF 03 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 90 00 [07:04:17]wFMCommunicate OK [07:04:17]wFMCommunicate request_size=4 [07:04:17]MH_SAM_APDU [07:04:17]CAPDU: 80 17 00 00 [07:04:17]Write to MH i2c: E2 08 00 84 35 80 17 00 00 00 00 00 00 39 [07:04:17]Write i2c OK [07:04:17]MH_I2C_Read... [07:04:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [07:04:17]Read from MH i2c: E2 [07:04:17]MH_I2C_Read... [07:04:17]Read from MH i2c: E2 D8 00 [07:04:17]MH_I2C_Read... [07:04:17]Read from MH i2c: E2 D8 00 84 35 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 20 [07:04:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [07:04:17]wFMCommunicate OK [07:04:17]SAM_PROTO_GetShiftData done [07:04:17]requested_item shift.sale.total_cash is exist - process it [07:04:17]requested_item shift.sale_refund.total is exist - process it [07:04:17]requested_item shift.sale_refund.total_cash is exist - process it [07:04:17]produce_requested_data done [07:04:17]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57021,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":15659.00,"shift.sale.total_cash":13345.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [07:04:17]process_action_free close_receipt [07:04:17]json_value_free [07:04:17]json_value_free done [07:04:17]process_json_proto returns [07:04:17]Send response to host [07:04:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57021,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":15659.00,"shift.sale.total_cash":13345.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [07:04:17]free response buf [07:04:17]execute_script done [07:04:17]execute_script returns [07:04:17]free content buf [07:04:17]Sock 8.Close socket [07:04:17]Sock 8.Thread stoped [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:05]OFD Sender: No OFD packet to send [07:05:10]OFD Sender: No OFD packet to send [07:05:15]OFD Sender: No OFD packet to send [07:05:20]OFD Sender: No OFD packet to send [07:05:25]OFD Sender: No OFD packet to send [07:05:30]OFD Sender: No OFD packet to send [07:05:35]OFD Sender: No OFD packet to send [07:05:40]OFD Sender: No OFD packet to send [07:05:45]OFD Sender: No OFD packet to send [07:05:50]OFD Sender: No OFD packet to send [07:05:55]OFD Sender: No OFD packet to send [07:06:00]OFD Sender: No OFD packet to send [07:06:05]OFD Sender: No OFD packet to send [07:06:10]OFD Sender: No OFD packet to send [07:06:15]OFD Sender: No OFD packet to send [07:06:20]OFD Sender: No OFD packet to send [07:06:25]OFD Sender: No OFD packet to send [07:06:30]OFD Sender: No OFD packet to send [07:06:35]OFD Sender: No OFD packet to send [07:06:40]OFD Sender: No OFD packet to send [07:06:45]OFD Sender: No OFD packet to send [07:06:50]OFD Sender: No OFD packet to send [07:06:55]OFD Sender: No OFD packet to send [07:07:00]OFD Sender: No OFD packet to send [07:07:05]OFD Sender: No OFD packet to send [07:07:10]OFD Sender: No OFD packet to send [07:07:15]OFD Sender: No OFD packet to send [07:07:20]OFD Sender: No OFD packet to send [07:07:25]OFD Sender: No OFD packet to send [07:07:30]OFD Sender: No OFD packet to send [07:07:35]OFD Sender: No OFD packet to send [07:07:40]OFD Sender: No OFD packet to send [07:07:42]accept exits with 9 [07:07:42]New connection [07:07:42]New thread 3067272548 created [07:07:42]Thread 3067129188 joined [07:07:42]Waiting for new connection... [07:07:42] Sock 9.Parse request [07:07:42]Sock 9.Check first char [07:07:42]Sock 9.First char is OK [07:07:42]request: POST /json_proto HTTP/1.0 [07:07:42]Method: POST [07:07:42]URL: /json_proto [07:07:42]Method is POST - this is cgi request [07:07:42]url: /json_proto [07:07:42]query_string will be loaded in cgi processing [07:07:42]execute_cgi json_proto POST (null) [07:07:42]execute_cgi path=json_proto method=POST [07:07:42]POST find Content-Length [07:07:42]Host: 172.17.39.4:8080 [07:07:42]Content-Length: 724 [07:07:42]Content-Type: application/json [07:07:42] [07:07:42]POST finish read [07:07:42]Found Content-Length = 724 [07:07:42]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129491", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 2.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:07:42]execute_script... [07:07:42]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129491", "tax_sys" : 0, "items" : [ { "code": "48745000", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Purple Mix", "price" : 135.00, "quantity" : 2.000, "sum" : 270.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 270.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:07:42]POST & json_proto [07:07:42]process_json_proto [07:07:42]json parsed OK: [07:07:42]protocol is kg_v1.0 [07:07:42]action value=close_receipt [07:07:42]process_action close_receipt [07:07:42]cmd_close_receipt [07:07:42]MH_GetDate [07:07:42]Write to MH i2c: F0 00 00 85 35 A9 [07:07:42]Write i2c OK [07:07:42]MH_I2C_Read... [07:07:42]Read from MH i2c: F0 [07:07:42]MH_I2C_Read... [07:07:42]Read from MH i2c: F0 09 00 [07:07:42]MH_I2C_Read... [07:07:42]Read from MH i2c: F0 09 00 85 35 00 45 79 93 66 2D 25 5D 64 7C [07:07:42]GetLastDocTimeStamp 1720940658 [07:07:42]current date 1720940869 [07:07:42]FM_GetShiftState [07:07:42]SAM_PROTO_GetShiftState [07:07:42]wFMCommunicate request_size=4 [07:07:42]MH_SAM_APDU [07:07:42]CAPDU: 80 13 01 00 [07:07:42]Write to MH i2c: E2 08 00 86 35 80 13 01 00 00 00 00 00 38 [07:07:42]Write i2c OK [07:07:42]MH_I2C_Read... [07:07:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:07:42]Read from MH i2c: E2 [07:07:42]MH_I2C_Read... [07:07:42]Read from MH i2c: E2 0E 00 [07:07:42]MH_I2C_Read... [07:07:42]Read from MH i2c: E2 0E 00 86 35 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 DF [07:07:42]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [07:07:42]wFMCommunicate OK [07:07:42]SAM_PROTO_GetShiftState done [07:07:42]FM_GetShiftState done [07:07:42]opened in 1720917126 [07:07:42]opened+sec_in_day 1721003526 [07:07:42]quantity*price = 27000 [07:07:42]sum+1 = 27001 [07:07:42]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 270.00 НСП 1% : 2.39 НДС 12% : 28.67 Наличными: 270.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 39 14.07.2024 07:07 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57022 ФПД: 44256345032206 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T070749&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57022&fm=44256345032206&tin=02508201610067®Number=0000000000091208&sum=27000 0 [07:07:44]StoreToDocumentArchive [07:07:44]shift 496 fd 57022 [07:07:44]save to /storage/0496/doc_00057022 [07:07:44]save last doc name /storage/0496/doc_00057022 to /storage/kkm_last_doc_name [07:07:44]save OK [07:07:44]Clear old archive folders... [07:07:44]ProcessDocumentItem done err = 0, tmpTLVsize=272 [07:07:44]tlvbuf is 01D75A20 [07:07:44]SAM_PROTO_ClearQueue [07:07:44]wFMCommunicate request_size=4 [07:07:44]MH_SAM_APDU [07:07:44]CAPDU: 80 09 00 00 [07:07:44]Write to MH i2c: E2 08 00 93 35 80 09 00 00 00 00 00 00 3A [07:07:44]Write i2c OK [07:07:44]MH_I2C_Read... [07:07:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:07:44]Read from MH i2c: E2 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 03 00 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 03 00 93 35 00 90 00 3C [07:07:44]RAPDU: 90 00 [07:07:44]wFMCommunicate OK [07:07:44]SAM_PROTO_ClearQueue done [07:07:44]KKMCreateOFDPacket [07:07:44]OFDProtocolAddRootSTLVToBuf [07:07:44]FM_MakeSignedData [07:07:44]FM_MakeSignedData [07:07:44]SAM_PROTO_SignData [07:07:44]wFMCommunicate request_size=4 [07:07:44]MH_SAM_APDU [07:07:44]CAPDU: 80 0D 01 02 [07:07:44]Write to MH i2c: E2 08 00 94 35 80 0D 01 02 00 00 00 00 42 [07:07:44]Write i2c OK [07:07:44]MH_I2C_Read... [07:07:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:07:44]Read from MH i2c: E2 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 03 00 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 03 00 94 35 00 90 00 3D [07:07:44]RAPDU: 90 00 [07:07:44]wFMCommunicate OK [07:07:44]wFMCommunicate request_size=255 [07:07:44]MH_SAM_APDU [07:07:44]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 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 45 79 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [07:07:44]Write to MH i2c: E2 02 01 95 35 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 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 45 79 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 9D [07:07:44]Write i2c OK [07:07:44]MH_I2C_Read... [07:07:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:07:44]Read from MH i2c: E2 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 03 00 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 03 00 95 35 00 90 00 3E [07:07:44]RAPDU: 90 00 [07:07:44]wFMCommunicate OK [07:07:44]wFMCommunicate request_size=31 [07:07:44]MH_SAM_APDU [07:07:44]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 BE DE 00 00 35 04 06 00 28 40 3B B9 86 0E [07:07:44]Write to MH i2c: E2 22 00 96 35 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 BE DE 00 00 35 04 06 00 28 40 3B B9 86 0E 00 00 03 [07:07:44]Write i2c OK [07:07:44]MH_I2C_Read... [07:07:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:07:44]Read from MH i2c: E2 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 03 00 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 03 00 96 35 00 90 00 3F [07:07:44]RAPDU: 90 00 [07:07:44]wFMCommunicate OK [07:07:44]wFMCommunicate request_size=4 [07:07:44]MH_SAM_APDU [07:07:44]CAPDU: 80 0D 03 02 [07:07:44]Write to MH i2c: E2 08 00 97 35 80 0D 03 02 00 00 00 00 47 [07:07:44]Write i2c OK [07:07:44]MH_I2C_Read... [07:07:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:07:44]Read from MH i2c: E2 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 0B 00 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 0B 00 97 35 00 A9 FA EE 34 3A 3A 57 37 90 00 0F [07:07:44]RAPDU: A9 FA EE 34 3A 3A 57 37 90 00 [07:07:44]wFMCommunicate OK [07:07:44]SAM_PROTO_SignData done [07:07:44]FM_MakeSignedData done [07:07:44]CreateOFDProtocolMessage [07:07:44]wFMCommunicate request_size=4 [07:07:44]MH_SAM_APDU [07:07:44]CAPDU: 80 11 00 00 [07:07:44]Write to MH i2c: E2 08 00 98 35 80 11 00 00 00 00 00 00 47 [07:07:44]Write i2c OK [07:07:44]MH_I2C_Read... [07:07:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:07:44]Read from MH i2c: E2 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 17 00 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: E2 17 00 98 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A1 [07:07:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:07:44]wFMCommunicate OK [07:07:44]CreateOFDProtocolMessage done [07:07:44]OFDSenderStorePacket 57022 [07:07:44]StoreOFDPacket docnum=57022 [07:07:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 1F A6 1C 01 4E 23 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 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 45 79 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BE DE 00 00 35 04 06 00 28 40 3B B9 86 0E A9 FA EE 34 3A 3A 57 37 [07:07:44]CheckFolder [07:07:44]dirname=/storage/ofd_packets [07:07:44]CheckFolder done [07:07:44]ProducePacketName [07:07:44]name=ofd_packets/00057022 [07:07:44]NVStorageSaveData ofd_packets/00057022 [07:07:44]File name is /storage/ofd_packets/00057022 [07:07:44]Write 322 bytes [07:07:44]NVStorageSaveData done [07:07:44]OFDSenderStorePacket done [07:07:44]KKMCreateOFDPacket done [07:07:44]NVStorageSaveData kkm_last_timestamp [07:07:44]File name is /storage/kkm_last_timestamp [07:07:44]Write 4 bytes [07:07:44]NVStorageSaveData done [07:07:44]ExternCall_PrintAddStr [07:07:44]wPrintStart [07:07:44]Write to MH i2c: 01 00 00 99 35 CE [07:07:44]OFD Sender: Processing packet 57022 [packets to send 38, broken 37] [07:07:44]ProducePacketName [07:07:44]name=ofd_packets/00057022 [07:07:44]OFD Sender: To server: pG, [07:07:44]CommunicateWithHost lk.salyk.kg:30040 [07:07:44]ConnectInit lk.salyk.kg [07:07:44]Write i2c OK [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: 01 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: 01 07 00 [07:07:44]MH_I2C_Read... [07:07:44]Read from MH i2c: 01 07 00 99 35 00 00 00 00 00 FF 0F E3 [07:07:44]RasterBufferAndPrint [07:07:44]line Счет N : (3)129491 [07:07:44]line ИНН: 02508201610067 [07:07:44]line Контрольно-Кассовый Чек [07:07:44]line ПРОДАЖА [07:07:44]line Товар: 48745000 [07:07:44]line Сигареты Winston Purple Mix [07:07:44]line 2.000 * 135.00 [07:07:44]line = 270.00 [07:07:44]line НДС 12% НСП 1% [07:07:44]line > о реализуемом товаре [07:07:44]line ИТОГО: 270.00 [07:07:44]line НСП 1% : 2.39 [07:07:44]line НДС 12% : 28.67 [07:07:44]line Наличными: 270.00 [07:07:44]line Безнал.: 0.00 [07:07:44]line Место: АЗС № 132 "Партнер Нефть" [07:07:44]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:07:44]line СНО: Общий режим [07:07:44]line Чек 39 14.07.2024 07:07 [07:07:44]line Смена: 496 ФФД: 1.0 [07:07:44]line ЗНМ: 0300000132 [07:07:44]line РНМ: 0000000000091208 [07:07:44]line Версия ККМ: 001 [07:07:44]line ФМ: 0000000000874857 [07:07:44]line ФД: 57022 [07:07:44]line ФПД: 44256345032206 [07:07:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T070749&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57022&fm=44256345032206&tin=02508201610067®Number=0000000000091208&sum=27000 [07:07:44]line 0 [07:07:44]written 0, free lines is 4095 [07:07:44]Connected sock=10 [07:07:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 1F A6 1C 01 4E 23 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 08 00 34 38 37 34 35 30 30 30 06 04 23 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 50 75 72 70 6C 65 20 4D 69 78 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 BC 34 00 00 00 00 13 04 06 00 78 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 78 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 EF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 33 0B 00 00 00 00 07 04 06 00 78 69 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 45 79 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BE DE 00 00 35 04 06 00 28 40 3B B9 86 0E A9 FA EE 34 3A 3A 57 37 [07:07:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 A8 DE 47 00 3C 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BE DE 00 00 F4 03 04 00 97 1F 93 66 B6 04 01 00 00 58 41 72 2D 5E B9 28 74 [07:07:45]CommunicateWithHost err = 0 [07:07:45]CheckOFDResponse [07:07:45]1017 (14) - 77093643461234 [07:07:45]1041 (16) - 0000000000874857 [07:07:45]1040 (4) - 57022 [07:07:45]1012 (4) - 14.07.2024 00:45 [07:07:45]1206 (1) - 0 [07:07:45]OFD Sender: Remove packet 57022 [07:07:45]ProducePacketName [07:07:45]name=ofd_packets/00057022 [07:07:45]NVStorageDeleteData [07:07:45]Write to MH i2c: 01 00 00 C1 35 F6 [07:07:45]Write i2c OK [07:07:45]MH_I2C_Read... [07:07:45]Read from MH i2c: 01 [07:07:45]MH_I2C_Read... [07:07:45]Read from MH i2c: 01 07 00 [07:07:45]MH_I2C_Read... [07:07:45]Read from MH i2c: 01 07 00 C1 35 00 00 00 00 00 EB 0C F4 [07:07:45]RasterBufferAndPrint [07:07:45]line [07:07:45]line [07:07:45]line [07:07:45]line [07:07:45]line [07:07:45]written 0, free lines is 3313 [07:07:45]MH_Cut [07:07:45]Write to MH i2c: D1 01 00 C8 35 01 CF [07:07:45]Write i2c OK [07:07:45]MH_I2C_Read... [07:07:45]Read from MH i2c: D1 [07:07:45]MH_I2C_Read... [07:07:45]Read from MH i2c: D1 01 00 [07:07:45]MH_I2C_Read... [07:07:45]Read from MH i2c: D1 01 00 C8 35 00 CE [07:07:45]Write to MH i2c: 01 00 00 C9 35 FE [07:07:45]Write i2c OK [07:07:45]MH_I2C_Read... [07:07:45]OFD Sender: No OFD packet to send [07:07:45]*** Cut start [07:07:45]*** Partial cut [07:07:45]*** CUTSNS_PIN = 1 [07:07:45]*** CUTSNS_PIN = 0 [07:07:46]*** Brake cut motor [07:07:46]Read from MH i2c: 01 [07:07:46]MH_I2C_Read... [07:07:46]*** Stop cut motor [07:07:46]*** Cut end [07:07:46]Read from MH i2c: 01 07 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: 01 07 00 C9 35 00 00 00 00 00 FF 0F 13 [07:07:46]process_action close_receipt done [07:07:46]requested_data is exist [07:07:46]produce_requested_data [07:07:46]requested_item fm.sn is exist - process it [07:07:46]wFMCommunicate request_size=4 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 11 00 00 [07:07:46]Write to MH i2c: E2 08 00 CA 35 80 11 00 00 00 00 00 00 79 [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:07:46]Read from MH i2c: E2 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 17 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 17 00 CA 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D3 [07:07:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:07:46]wFMCommunicate OK [07:07:46]requested_item fd.num is exist - process it [07:07:46]SAM_PROTO_GetFieldsCounters [07:07:46]wFMCommunicate request_size=4 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 13 00 00 [07:07:46]Write to MH i2c: E2 08 00 CB 35 80 13 00 00 00 00 00 00 7C [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:07:46]Read from MH i2c: E2 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 62 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 62 00 CB 35 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BE DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 A1 [07:07:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BE DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 27 00 00 00 5E 04 04 00 27 00 00 00 57 04 04 00 28 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:07:46]wFMCommunicate OK [07:07:46]SAM_PROTO_GetFieldsCounters done [07:07:46]requested_item shift.num is exist - process it [07:07:46]requested_item shift.opened is exist - process it [07:07:46]req_shift_opened [07:07:46]FM_GetShiftState [07:07:46]SAM_PROTO_GetShiftState [07:07:46]wFMCommunicate request_size=4 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 13 01 00 [07:07:46]Write to MH i2c: E2 08 00 CC 35 80 13 01 00 00 00 00 00 7E [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:07:46]Read from MH i2c: E2 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 0E 00 [07:07:46]MH_I2C_Read... [07:07:46]Read from MH i2c: E2 0E 00 CC 35 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 25 [07:07:46]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [07:07:46]wFMCommunicate OK [07:07:46]SAM_PROTO_GetShiftState done [07:07:46]FM_GetShiftState done [07:07:46]req_shift_opened done [07:07:46]requested_item shift.open_date is exist - process it [07:07:46]req_shift_open_date [07:07:46]req_shift_open_date done [07:07:46]requested_item shift.sale.total is exist - process it [07:07:46]SAM_PROTO_GetShiftData [07:07:46]wFMCommunicate request_size=4 [07:07:46]MH_SAM_APDU [07:07:46]CAPDU: 80 13 02 00 [07:07:46]Write to MH i2c: E2 08 00 CD 35 80 13 02 00 00 00 00 00 80 [07:07:46]Write i2c OK [07:07:46]MH_I2C_Read... [07:07:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:07:47]Read from MH i2c: E2 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: E2 FD 00 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: E2 FD 00 CD 35 00 BB 04 AA 04 B7 04 6E 04 04 00 27 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 44 4E 18 70 04 03 00 5C C6 14 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C1 94 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 09 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 2E [07:07:47]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 27 00 00 00 69 04 9B 00 6F 04 04 00 25 00 00 00 B1 04 03 00 44 4E 18 70 04 03 00 5C C6 14 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C1 94 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 09 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [07:07:47]wFMCommunicate OK [07:07:47]wFMCommunicate request_size=4 [07:07:47]MH_SAM_APDU [07:07:47]CAPDU: 80 17 00 00 [07:07:47]Write to MH i2c: E2 08 00 CE 35 80 17 00 00 00 00 00 00 83 [07:07:47]Write i2c OK [07:07:47]MH_I2C_Read... [07:07:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:07:47]Read from MH i2c: E2 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: E2 FD 00 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: E2 FD 00 CE 35 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 16 [07:07:47]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:07:47]wFMCommunicate OK [07:07:47]wFMCommunicate request_size=4 [07:07:47]MH_SAM_APDU [07:07:47]CAPDU: 80 17 00 00 [07:07:47]Write to MH i2c: E2 08 00 CF 35 80 17 00 00 00 00 00 00 84 [07:07:47]Write i2c OK [07:07:47]MH_I2C_Read... [07:07:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:07:47]Read from MH i2c: E2 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: E2 FD 00 [07:07:47]MH_I2C_Read... [07:07:47]Read from MH i2c: E2 FD 00 CF 35 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B0 [07:07:47]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:07:47]wFMCommunicate OK [07:07:47]wFMCommunicate request_size=4 [07:07:47]MH_SAM_APDU [07:07:47]CAPDU: 80 17 00 00 [07:07:47]Write to MH i2c: E2 08 00 D0 35 80 17 00 00 00 00 00 00 85 [07:07:47]Write i2c OK [07:07:47]MH_I2C_Read... [07:07:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:07:48]Read from MH i2c: E2 [07:07:48]MH_I2C_Read... [07:07:48]Read from MH i2c: E2 FD 00 [07:07:48]MH_I2C_Read... [07:07:48]Read from MH i2c: E2 FD 00 D0 35 00 00 00 EF 03 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 90 00 FA [07:07:48]RAPDU: 00 00 EF 03 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 90 00 [07:07:48]wFMCommunicate OK [07:07:48]wFMCommunicate request_size=4 [07:07:48]MH_SAM_APDU [07:07:48]CAPDU: 80 17 00 00 [07:07:48]Write to MH i2c: E2 08 00 D1 35 80 17 00 00 00 00 00 00 86 [07:07:48]Write i2c OK [07:07:48]MH_I2C_Read... [07:07:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [07:07:48]Read from MH i2c: E2 [07:07:48]MH_I2C_Read... [07:07:48]Read from MH i2c: E2 D8 00 [07:07:48]MH_I2C_Read... [07:07:48]Read from MH i2c: E2 D8 00 D1 35 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 6D [07:07:48]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [07:07:48]wFMCommunicate OK [07:07:48]SAM_PROTO_GetShiftData done [07:07:48]requested_item shift.sale.total_cash is exist - process it [07:07:48]requested_item shift.sale_refund.total is exist - process it [07:07:48]requested_item shift.sale_refund.total_cash is exist - process it [07:07:48]produce_requested_data done [07:07:48]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57022,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":15929.00,"shift.sale.total_cash":13615.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [07:07:48]process_action_free close_receipt [07:07:48]json_value_free [07:07:48]json_value_free done [07:07:48]process_json_proto returns [07:07:48]Send response to host [07:07:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57022,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":15929.00,"shift.sale.total_cash":13615.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [07:07:48]free response buf [07:07:48]execute_script done [07:07:48]execute_script returns [07:07:48]free content buf [07:07:48]Sock 9.Close socket [07:07:48]Sock 9.Thread stoped [07:07:50]OFD Sender: No OFD packet to send [07:07:55]OFD Sender: No OFD packet to send [07:08:00]OFD Sender: No OFD packet to send [07:08:05]OFD Sender: No OFD packet to send [07:08:10]OFD Sender: No OFD packet to send [07:08:15]OFD Sender: No OFD packet to send [07:08:20]OFD Sender: No OFD packet to send [07:08:25]OFD Sender: No OFD packet to send [07:08:30]OFD Sender: No OFD packet to send [07:08:35]OFD Sender: No OFD packet to send [07:08:40]OFD Sender: No OFD packet to send [07:08:45]OFD Sender: No OFD packet to send [07:08:50]OFD Sender: No OFD packet to send [07:08:55]OFD Sender: No OFD packet to send [07:09:00]OFD Sender: No OFD packet to send [07:09:05]OFD Sender: No OFD packet to send [07:09:10]OFD Sender: No OFD packet to send [07:09:15]OFD Sender: No OFD packet to send [07:09:20]OFD Sender: No OFD packet to send [07:09:25]OFD Sender: No OFD packet to send [07:09:30]OFD Sender: No OFD packet to send [07:09:35]OFD Sender: No OFD packet to send [07:09:40]OFD Sender: No OFD packet to send [07:09:45]OFD Sender: No OFD packet to send [07:09:50]OFD Sender: No OFD packet to send [07:09:55]OFD Sender: No OFD packet to send [07:10:00]OFD Sender: No OFD packet to send [07:10:05]OFD Sender: No OFD packet to send [07:10:10]OFD Sender: No OFD packet to send [07:10:15]OFD Sender: No OFD packet to send [07:10:20]OFD Sender: No OFD packet to send [07:10:25]OFD Sender: No OFD packet to send [07:10:30]OFD Sender: No OFD packet to send [07:10:35]OFD Sender: No OFD packet to send [07:10:40]OFD Sender: No OFD packet to send [07:10:45]OFD Sender: No OFD packet to send [07:10:50]OFD Sender: No OFD packet to send [07:10:55]OFD Sender: No OFD packet to send [07:11:00]OFD Sender: No OFD packet to send [07:11:05]OFD Sender: No OFD packet to send [07:11:10]OFD Sender: No OFD packet to send [07:11:15]OFD Sender: No OFD packet to send [07:11:20]OFD Sender: No OFD packet to send [07:11:25]OFD Sender: No OFD packet to send [07:11:30]OFD Sender: No OFD packet to send [07:11:35]OFD Sender: No OFD packet to send [07:11:40]OFD Sender: No OFD packet to send [07:11:45]OFD Sender: No OFD packet to send [07:11:50]OFD Sender: No OFD packet to send [07:11:55]OFD Sender: No OFD packet to send [07:12:00]OFD Sender: No OFD packet to send [07:12:05]OFD Sender: No OFD packet to send [07:12:10]OFD Sender: No OFD packet to send [07:12:15]OFD Sender: No OFD packet to send [07:12:20]OFD Sender: No OFD packet to send [07:12:25]OFD Sender: No OFD packet to send [07:12:30]OFD Sender: No OFD packet to send [07:12:35]OFD Sender: No OFD packet to send [07:12:40]OFD Sender: No OFD packet to send [07:12:45]OFD Sender: No OFD packet to send [07:12:50]OFD Sender: No OFD packet to send [07:12:55]OFD Sender: No OFD packet to send [07:13:00]OFD Sender: No OFD packet to send [07:13:05]OFD Sender: No OFD packet to send [07:13:10]OFD Sender: No OFD packet to send [07:13:15]OFD Sender: No OFD packet to send [07:13:20]OFD Sender: No OFD packet to send [07:13:25]OFD Sender: No OFD packet to send [07:13:30]OFD Sender: No OFD packet to send [07:13:35]OFD Sender: No OFD packet to send [07:13:40]OFD Sender: No OFD packet to send [07:13:45]OFD Sender: No OFD packet to send [07:13:50]OFD Sender: No OFD packet to send [07:13:55]OFD Sender: No OFD packet to send [07:14:00]OFD Sender: No OFD packet to send [07:14:05]OFD Sender: No OFD packet to send [07:14:10]OFD Sender: No OFD packet to send [07:14:15]OFD Sender: No OFD packet to send [07:14:20]OFD Sender: No OFD packet to send [07:14:25]OFD Sender: No OFD packet to send [07:14:30]OFD Sender: No OFD packet to send [07:14:35]OFD Sender: No OFD packet to send [07:14:40]OFD Sender: No OFD packet to send [07:14:45]OFD Sender: No OFD packet to send [07:14:50]OFD Sender: No OFD packet to send [07:14:55]OFD Sender: No OFD packet to send [07:15:00]OFD Sender: No OFD packet to send [07:15:05]OFD Sender: No OFD packet to send [07:15:10]OFD Sender: No OFD packet to send [07:15:15]OFD Sender: No OFD packet to send [07:15:20]OFD Sender: No OFD packet to send [07:15:25]OFD Sender: No OFD packet to send [07:15:30]OFD Sender: No OFD packet to send [07:15:35]OFD Sender: No OFD packet to send [07:15:41]OFD Sender: No OFD packet to send [07:15:46]OFD Sender: No OFD packet to send [07:15:51]OFD Sender: No OFD packet to send [07:15:56]OFD Sender: No OFD packet to send [07:16:01]OFD Sender: No OFD packet to send [07:16:06]OFD Sender: No OFD packet to send [07:16:11]OFD Sender: No OFD packet to send [07:16:16]OFD Sender: No OFD packet to send [07:16:21]OFD Sender: No OFD packet to send [07:16:26]OFD Sender: No OFD packet to send [07:16:31]OFD Sender: No OFD packet to send [07:16:36]OFD Sender: No OFD packet to send [07:16:41]OFD Sender: No OFD packet to send [07:16:46]OFD Sender: No OFD packet to send [07:16:51]OFD Sender: No OFD packet to send [07:16:56]OFD Sender: No OFD packet to send [07:17:01]OFD Sender: No OFD packet to send [07:17:06]OFD Sender: No OFD packet to send [07:17:11]OFD Sender: No OFD packet to send [07:17:16]OFD Sender: No OFD packet to send [07:17:21]OFD Sender: No OFD packet to send [07:17:26]OFD Sender: No OFD packet to send [07:17:31]OFD Sender: No OFD packet to send [07:17:36]OFD Sender: No OFD packet to send [07:17:41]OFD Sender: No OFD packet to send [07:17:46]OFD Sender: No OFD packet to send [07:17:51]OFD Sender: No OFD packet to send [07:17:56]OFD Sender: No OFD packet to send [07:18:01]OFD Sender: No OFD packet to send [07:18:06]OFD Sender: No OFD packet to send [07:18:11]OFD Sender: No OFD packet to send [07:18:16]OFD Sender: No OFD packet to send [07:18:21]OFD Sender: No OFD packet to send [07:18:26]OFD Sender: No OFD packet to send [07:18:31]OFD Sender: No OFD packet to send [07:18:36]OFD Sender: No OFD packet to send [07:18:41]OFD Sender: No OFD packet to send [07:18:46]OFD Sender: No OFD packet to send [07:18:51]OFD Sender: No OFD packet to send [07:18:56]OFD Sender: No OFD packet to send [07:19:01]OFD Sender: No OFD packet to send [07:19:06]OFD Sender: No OFD packet to send [07:19:11]OFD Sender: No OFD packet to send [07:19:16]OFD Sender: No OFD packet to send [07:19:21]OFD Sender: No OFD packet to send [07:19:26]OFD Sender: No OFD packet to send [07:19:31]OFD Sender: No OFD packet to send [07:19:36]OFD Sender: No OFD packet to send [07:19:41]OFD Sender: No OFD packet to send [07:19:46]OFD Sender: No OFD packet to send [07:19:51]OFD Sender: No OFD packet to send [07:19:56]OFD Sender: No OFD packet to send [07:20:01]OFD Sender: No OFD packet to send [07:20:06]OFD Sender: No OFD packet to send [07:20:11]OFD Sender: No OFD packet to send [07:20:16]OFD Sender: No OFD packet to send [07:20:21]OFD Sender: No OFD packet to send [07:20:26]OFD Sender: No OFD packet to send [07:20:31]OFD Sender: No OFD packet to send [07:20:36]OFD Sender: No OFD packet to send [07:20:41]OFD Sender: No OFD packet to send [07:20:46]OFD Sender: No OFD packet to send [07:20:51]OFD Sender: No OFD packet to send [07:20:56]OFD Sender: No OFD packet to send [07:21:01]OFD Sender: No OFD packet to send [07:21:06]OFD Sender: No OFD packet to send [07:21:11]OFD Sender: No OFD packet to send [07:21:16]OFD Sender: No OFD packet to send [07:21:21]OFD Sender: No OFD packet to send [07:21:26]OFD Sender: No OFD packet to send [07:21:31]OFD Sender: No OFD packet to send [07:21:36]OFD Sender: No OFD packet to send [07:21:41]OFD Sender: No OFD packet to send [07:21:46]OFD Sender: No OFD packet to send [07:21:51]OFD Sender: No OFD packet to send [07:21:56]OFD Sender: No OFD packet to send [07:22:01]OFD Sender: No OFD packet to send [07:22:06]OFD Sender: No OFD packet to send [07:22:11]OFD Sender: No OFD packet to send [07:22:16]OFD Sender: No OFD packet to send [07:22:21]OFD Sender: No OFD packet to send [07:22:26]OFD Sender: No OFD packet to send [07:22:31]OFD Sender: No OFD packet to send [07:22:36]OFD Sender: No OFD packet to send [07:22:41]OFD Sender: No OFD packet to send [07:22:46]OFD Sender: No OFD packet to send [07:22:51]OFD Sender: No OFD packet to send [07:22:56]OFD Sender: No OFD packet to send [07:23:01]OFD Sender: No OFD packet to send [07:23:06]OFD Sender: No OFD packet to send [07:23:11]OFD Sender: No OFD packet to send [07:23:16]OFD Sender: No OFD packet to send [07:23:21]OFD Sender: No OFD packet to send [07:23:26]OFD Sender: No OFD packet to send [07:23:31]OFD Sender: No OFD packet to send [07:23:36]OFD Sender: No OFD packet to send [07:23:41]OFD Sender: No OFD packet to send [07:23:46]OFD Sender: No OFD packet to send [07:23:51]OFD Sender: No OFD packet to send [07:23:56]OFD Sender: No OFD packet to send [07:24:01]OFD Sender: No OFD packet to send [07:24:06]OFD Sender: No OFD packet to send [07:24:11]OFD Sender: No OFD packet to send [07:24:16]OFD Sender: No OFD packet to send [07:24:21]OFD Sender: No OFD packet to send [07:24:26]OFD Sender: No OFD packet to send [07:24:31]OFD Sender: No OFD packet to send [07:24:36]OFD Sender: No OFD packet to send [07:24:41]OFD Sender: No OFD packet to send [07:24:46]OFD Sender: No OFD packet to send [07:24:51]OFD Sender: No OFD packet to send [07:24:56]OFD Sender: No OFD packet to send [07:25:01]OFD Sender: No OFD packet to send [07:25:06]OFD Sender: No OFD packet to send [07:25:11]OFD Sender: No OFD packet to send [07:25:16]OFD Sender: No OFD packet to send [07:25:21]OFD Sender: No OFD packet to send [07:25:26]OFD Sender: No OFD packet to send [07:25:31]OFD Sender: No OFD packet to send [07:25:36]OFD Sender: No OFD packet to send [07:25:41]OFD Sender: No OFD packet to send [07:25:46]OFD Sender: No OFD packet to send [07:25:51]OFD Sender: No OFD packet to send [07:25:56]OFD Sender: No OFD packet to send [07:26:01]OFD Sender: No OFD packet to send [07:26:06]OFD Sender: No OFD packet to send [07:26:11]OFD Sender: No OFD packet to send [07:26:16]OFD Sender: No OFD packet to send [07:26:21]OFD Sender: No OFD packet to send [07:26:26]OFD Sender: No OFD packet to send [07:26:31]OFD Sender: No OFD packet to send [07:26:36]OFD Sender: No OFD packet to send [07:26:41]OFD Sender: No OFD packet to send [07:26:46]OFD Sender: No OFD packet to send [07:26:51]OFD Sender: No OFD packet to send [07:26:56]OFD Sender: No OFD packet to send [07:27:01]OFD Sender: No OFD packet to send [07:27:06]OFD Sender: No OFD packet to send [07:27:11]OFD Sender: No OFD packet to send [07:27:16]OFD Sender: No OFD packet to send [07:27:21]OFD Sender: No OFD packet to send [07:27:26]OFD Sender: No OFD packet to send [07:27:31]OFD Sender: No OFD packet to send [07:27:36]OFD Sender: No OFD packet to send [07:27:41]OFD Sender: No OFD packet to send [07:27:46]OFD Sender: No OFD packet to send [07:27:51]OFD Sender: No OFD packet to send [07:27:56]OFD Sender: No OFD packet to send [07:28:01]OFD Sender: No OFD packet to send [07:28:06]OFD Sender: No OFD packet to send [07:28:11]OFD Sender: No OFD packet to send [07:28:16]OFD Sender: No OFD packet to send [07:28:21]OFD Sender: No OFD packet to send [07:28:26]OFD Sender: No OFD packet to send [07:28:31]OFD Sender: No OFD packet to send [07:28:36]OFD Sender: No OFD packet to send [07:28:41]OFD Sender: No OFD packet to send [07:28:46]OFD Sender: No OFD packet to send [07:28:51]OFD Sender: No OFD packet to send [07:28:56]OFD Sender: No OFD packet to send [07:29:01]OFD Sender: No OFD packet to send [07:29:06]OFD Sender: No OFD packet to send [07:29:11]OFD Sender: No OFD packet to send [07:29:16]OFD Sender: No OFD packet to send [07:29:21]OFD Sender: No OFD packet to send [07:29:26]OFD Sender: No OFD packet to send [07:29:31]OFD Sender: No OFD packet to send [07:29:36]OFD Sender: No OFD packet to send [07:29:41]OFD Sender: No OFD packet to send [07:29:46]OFD Sender: No OFD packet to send [07:29:51]OFD Sender: No OFD packet to send [07:29:56]OFD Sender: No OFD packet to send [07:30:01]OFD Sender: No OFD packet to send [07:30:06]OFD Sender: No OFD packet to send [07:30:11]OFD Sender: No OFD packet to send [07:30:16]OFD Sender: No OFD packet to send [07:30:21]OFD Sender: No OFD packet to send [07:30:26]OFD Sender: No OFD packet to send [07:30:31]OFD Sender: No OFD packet to send [07:30:36]OFD Sender: No OFD packet to send [07:30:41]OFD Sender: No OFD packet to send [07:30:46]OFD Sender: No OFD packet to send [07:30:51]OFD Sender: No OFD packet to send [07:30:56]OFD Sender: No OFD packet to send [07:31:01]OFD Sender: No OFD packet to send [07:31:06]OFD Sender: No OFD packet to send [07:31:11]OFD Sender: No OFD packet to send [07:31:16]OFD Sender: No OFD packet to send [07:31:21]OFD Sender: No OFD packet to send [07:31:26]OFD Sender: No OFD packet to send [07:31:31]OFD Sender: No OFD packet to send [07:31:36]OFD Sender: No OFD packet to send [07:31:41]OFD Sender: No OFD packet to send [07:31:46]OFD Sender: No OFD packet to send [07:31:51]OFD Sender: No OFD packet to send [07:31:56]OFD Sender: No OFD packet to send [07:32:01]OFD Sender: No OFD packet to send [07:32:06]OFD Sender: No OFD packet to send [07:32:11]OFD Sender: No OFD packet to send [07:32:16]OFD Sender: No OFD packet to send [07:32:21]OFD Sender: No OFD packet to send [07:32:23]accept exits with 8 [07:32:23]New connection [07:32:23]New thread 3067129188 created [07:32:23]Thread 3067272548 joined [07:32:23]Waiting for new connection... [07:32:23] Sock 8.Parse request [07:32:23]Sock 8.Check first char [07:32:23]Sock 8.First char is OK [07:32:23]request: POST /json_proto HTTP/1.0 [07:32:23]Method: POST [07:32:23]URL: /json_proto [07:32:23]Method is POST - this is cgi request [07:32:23]url: /json_proto [07:32:23]query_string will be loaded in cgi processing [07:32:23]execute_cgi json_proto POST (null) [07:32:23]execute_cgi path=json_proto method=POST [07:32:23]POST find Content-Length [07:32:23]Host: 172.17.39.4:8080 [07:32:23]Content-Length: 771 [07:32:23]Content-Type: application/json [07:32:23] [07:32:23]POST finish read [07:32:23]Found Content-Length = 771 [07:32:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129492", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:32:23]execute_script... [07:32: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)129492", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:32:23]POST & json_proto [07:32:23]process_json_proto [07:32:23]json parsed OK: [07:32:23]protocol is kg_v1.0 [07:32:23]action value=close_receipt [07:32:23]process_action close_receipt [07:32:23]cmd_close_receipt [07:32:23]MH_GetDate [07:32:23]Write to MH i2c: F0 00 00 D2 35 F6 [07:32:23]Write i2c OK [07:32:23]MH_I2C_Read... [07:32:23]Read from MH i2c: F0 [07:32:23]MH_I2C_Read... [07:32:23]Read from MH i2c: F0 09 00 [07:32:23]MH_I2C_Read... [07:32:23]Read from MH i2c: F0 09 00 D2 35 00 0E 7F 93 66 2D 25 5D 64 98 [07:32:23]GetLastDocTimeStamp 1720940869 [07:32:23]current date 1720942350 [07:32:23]FM_GetShiftState [07:32:23]SAM_PROTO_GetShiftState [07:32:23]wFMCommunicate request_size=4 [07:32:23]MH_SAM_APDU [07:32:23]CAPDU: 80 13 01 00 [07:32:23]Write to MH i2c: E2 08 00 D3 35 80 13 01 00 00 00 00 00 85 [07:32:23]Write i2c OK [07:32:23]MH_I2C_Read... [07:32:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:32:23]Read from MH i2c: E2 [07:32:23]MH_I2C_Read... [07:32:23]Read from MH i2c: E2 0E 00 [07:32:23]MH_I2C_Read... [07:32:23]Read from MH i2c: E2 0E 00 D3 35 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 2C [07:32:23]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [07:32:23]wFMCommunicate OK [07:32:23]SAM_PROTO_GetShiftState done [07:32:23]FM_GetShiftState done [07:32:23]opened in 1720917126 [07:32:23]opened+sec_in_day 1721003526 [07:32:23]quantity*price = 20000 [07:32:23]sum+1 = 20001 [07:32:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 40 14.07.2024 07:32 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57023 ФПД: 109002955830482 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T073230&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57023&fm=109002955830482&tin=02508201610067®Number=0000000000091208&sum=20000 0 [07:32:25]StoreToDocumentArchive [07:32:25]shift 496 fd 57023 [07:32:25]save to /storage/0496/doc_00057023 [07:32:25]save last doc name /storage/0496/doc_00057023 to /storage/kkm_last_doc_name [07:32:25]save OK [07:32:25]Clear old archive folders... [07:32:25]ProcessDocumentItem done err = 0, tmpTLVsize=283 [07:32:25]tlvbuf is B6FA69B0 [07:32:25]SAM_PROTO_ClearQueue [07:32:25]wFMCommunicate request_size=4 [07:32:25]MH_SAM_APDU [07:32:25]CAPDU: 80 09 00 00 [07:32:25]Write to MH i2c: E2 08 00 E0 35 80 09 00 00 00 00 00 00 87 [07:32:25]Write i2c OK [07:32:25]MH_I2C_Read... [07:32:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:32:25]Read from MH i2c: E2 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 03 00 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 03 00 E0 35 00 90 00 89 [07:32:25]RAPDU: 90 00 [07:32:25]wFMCommunicate OK [07:32:25]SAM_PROTO_ClearQueue done [07:32:25]KKMCreateOFDPacket [07:32:25]OFDProtocolAddRootSTLVToBuf [07:32:25]FM_MakeSignedData [07:32:25]FM_MakeSignedData [07:32:25]SAM_PROTO_SignData [07:32:25]wFMCommunicate request_size=4 [07:32:25]MH_SAM_APDU [07:32:25]CAPDU: 80 0D 01 02 [07:32:25]Write to MH i2c: E2 08 00 E1 35 80 0D 01 02 00 00 00 00 8F [07:32:25]Write i2c OK [07:32:25]MH_I2C_Read... [07:32:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:32:25]Read from MH i2c: E2 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 03 00 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 03 00 E1 35 00 90 00 8A [07:32:25]RAPDU: 90 00 [07:32:25]wFMCommunicate OK [07:32:25]wFMCommunicate request_size=255 [07:32:25]MH_SAM_APDU [07:32:25]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 36 32 38 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 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 28 00 00 00 F4 03 04 00 0E 7F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 [07:32:25]Write to MH i2c: E2 02 01 E2 35 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 36 32 38 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 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 28 00 00 00 F4 03 04 00 0E 7F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 00 00 97 [07:32:25]Write i2c OK [07:32:25]MH_I2C_Read... [07:32:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:32:25]Read from MH i2c: E2 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 03 00 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 03 00 E2 35 00 90 00 8B [07:32:25]RAPDU: 90 00 [07:32:25]wFMCommunicate OK [07:32:25]wFMCommunicate request_size=42 [07:32:25]MH_SAM_APDU [07:32:25]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BF DE 00 00 35 04 06 00 63 23 3A 76 34 D2 [07:32:25]Write to MH i2c: E2 2D 00 E3 35 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BF DE 00 00 35 04 06 00 63 23 3A 76 34 D2 00 00 47 [07:32:25]Write i2c OK [07:32:25]MH_I2C_Read... [07:32:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:32:25]Read from MH i2c: E2 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 03 00 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 03 00 E3 35 00 90 00 8C [07:32:25]RAPDU: 90 00 [07:32:25]wFMCommunicate OK [07:32:25]wFMCommunicate request_size=4 [07:32:25]MH_SAM_APDU [07:32:25]CAPDU: 80 0D 03 02 [07:32:25]Write to MH i2c: E2 08 00 E4 35 80 0D 03 02 00 00 00 00 94 [07:32:25]Write i2c OK [07:32:25]MH_I2C_Read... [07:32:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:32:25]Read from MH i2c: E2 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 0B 00 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 0B 00 E4 35 00 73 42 B4 A8 D2 56 73 C2 90 00 03 [07:32:25]RAPDU: 73 42 B4 A8 D2 56 73 C2 90 00 [07:32:25]wFMCommunicate OK [07:32:25]SAM_PROTO_SignData done [07:32:25]FM_MakeSignedData done [07:32:25]CreateOFDProtocolMessage [07:32:25]wFMCommunicate request_size=4 [07:32:25]MH_SAM_APDU [07:32:25]CAPDU: 80 11 00 00 [07:32:25]Write to MH i2c: E2 08 00 E5 35 80 11 00 00 00 00 00 00 94 [07:32:25]Write i2c OK [07:32:25]MH_I2C_Read... [07:32:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:32:25]Read from MH i2c: E2 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 17 00 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: E2 17 00 E5 35 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EE [07:32:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:32:25]wFMCommunicate OK [07:32:25]CreateOFDProtocolMessage done [07:32:25]OFDSenderStorePacket 57023 [07:32:25]StoreOFDPacket docnum=57023 [07:32:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 79 D5 27 01 C5 7F 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 36 32 38 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 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 28 00 00 00 F4 03 04 00 0E 7F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BF DE 00 00 35 04 06 00 63 23 3A 76 34 D2 73 42 B4 A8 D2 56 73 C2 [07:32:25]CheckFolder [07:32:25]dirname=/storage/ofd_packets [07:32:25]CheckFolder done [07:32:25]ProducePacketName [07:32:25]name=ofd_packets/00057023 [07:32:25]NVStorageSaveData ofd_packets/00057023 [07:32:25]File name is /storage/ofd_packets/00057023 [07:32:25]Write 333 bytes [07:32:25]NVStorageSaveData done [07:32:25]OFDSenderStorePacket done [07:32:25]KKMCreateOFDPacket done [07:32:25]NVStorageSaveData kkm_last_timestamp [07:32:25]File name is /storage/kkm_last_timestamp [07:32:25]Write 4 bytes [07:32:25]NVStorageSaveData done [07:32:25]ExternCall_PrintAddStr [07:32:25]wPrintStart [07:32:25]Write to MH i2c: 01 00 00 E6 35 1B [07:32:25]Write i2c OK [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: 01 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: 01 07 00 [07:32:25]MH_I2C_Read... [07:32:25]Read from MH i2c: 01 07 00 E6 35 00 00 00 00 00 FF 0F 30 [07:32:25]RasterBufferAndPrint [07:32:25]line Счет N : (3)129492 [07:32:25]line ИНН: 02508201610067 [07:32:25]line Контрольно-Кассовый Чек [07:32:25]line ПРОДАЖА [07:32:25]line Товар: 4700002086281 [07:32:25]line Водка Белое золото 0,24л [07:32:25]line 1.000 * 200.00 [07:32:25]line = 200.00 [07:32:25]line НДС 12% НСП 1% [07:32:25]line > о реализуемом товаре [07:32:25]line ИТОГО: 200.00 [07:32:25]line НСП 1% : 1.77 [07:32:25]line НДС 12% : 21.24 [07:32:25]line Наличными: 200.00 [07:32:25]line Безнал.: 0.00 [07:32:25]line Место: АЗС № 132 "Партнер Нефть" [07:32:25]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:32:25]line СНО: Общий режим [07:32:25]line Чек 40 14.07.2024 07:32 [07:32:25]line Смена: 496 ФФД: 1.0 [07:32:25]line ЗНМ: 0300000132 [07:32:25]line РНМ: 0000000000091208 [07:32:25]line Версия ККМ: 001 [07:32:25]line ФМ: 0000000000874857 [07:32:25]line ФД: 57023 [07:32:25]line ФПД: 109002955830482 [07:32:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T073230&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57023&fm=109002955830482&tin=02508201610067®Number=0000000000091208&sum=20000 [07:32:25]line 0 [07:32:25]OFD Sender: Processing packet 57023 [packets to send 38, broken 37] [07:32:25]ProducePacketName [07:32:25]name=ofd_packets/00057023 [07:32:25]OFD Sender: To server: pG, [07:32:25]CommunicateWithHost lk.salyk.kg:30040 [07:32:25]ConnectInit lk.salyk.kg [07:32:25]written 0, free lines is 4095 [07:32:26]Connected sock=11 [07:32:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 79 D5 27 01 C5 7F 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 36 32 38 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 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 28 00 00 00 F4 03 04 00 0E 7F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 BF DE 00 00 35 04 06 00 63 23 3A 76 34 D2 73 42 B4 A8 D2 56 73 C2 [07:32:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E3 CA 47 00 DA 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 38 37 34 38 35 37 10 04 04 00 BF DE 00 00 F4 03 04 00 60 25 93 66 B6 04 01 00 00 5F 39 E0 34 85 57 4A 66 [07:32:26]CommunicateWithHost err = 0 [07:32:26]CheckOFDResponse [07:32:26]1017 (14) - 77093643461234 [07:32:26]1041 (16) - 0000000000874857 [07:32:26]1040 (4) - 57023 [07:32:26]1012 (4) - 14.07.2024 01:09 [07:32:26]1206 (1) - 0 [07:32:26]OFD Sender: Remove packet 57023 [07:32:26]ProducePacketName [07:32:26]name=ofd_packets/00057023 [07:32:26]NVStorageDeleteData [07:32:26]Write to MH i2c: 01 00 00 0E 36 44 [07:32:26]Write i2c OK [07:32:26]MH_I2C_Read... [07:32:26]Read from MH i2c: 01 [07:32:26]MH_I2C_Read... [07:32:26]Read from MH i2c: 01 07 00 [07:32:26]MH_I2C_Read... [07:32:26]Read from MH i2c: 01 07 00 0E 36 00 00 00 00 00 FA 0C 51 [07:32:26]RasterBufferAndPrint [07:32:26]line [07:32:26]line [07:32:26]line [07:32:26]line [07:32:26]line [07:32:26]written 0, free lines is 3328 [07:32:26]MH_Cut [07:32:26]Write to MH i2c: D1 01 00 15 36 01 1D [07:32:26]Write i2c OK [07:32:26]MH_I2C_Read... [07:32:26]Read from MH i2c: D1 [07:32:26]MH_I2C_Read... [07:32:26]Read from MH i2c: D1 01 00 [07:32:26]MH_I2C_Read... [07:32:26]Read from MH i2c: D1 01 00 15 36 00 1C [07:32:26]Write to MH i2c: 01 00 00 16 36 4C [07:32:26]Write i2c OK [07:32:26]MH_I2C_Read... [07:32:26]OFD Sender: No OFD packet to send [07:32:27]*** Cut start [07:32:27]*** Partial cut [07:32:27]*** CUTSNS_PIN = 1 [07:32:27]*** CUTSNS_PIN = 0 [07:32:27]*** Brake cut motor [07:32:27]Read from MH i2c: 01 [07:32:27]MH_I2C_Read... [07:32:27]*** Stop cut motor [07:32:27]*** Cut end [07:32:27]Read from MH i2c: 01 07 00 [07:32:27]MH_I2C_Read... [07:32:27]Read from MH i2c: 01 07 00 16 36 00 00 00 00 00 FF 0F 61 [07:32:27]process_action close_receipt done [07:32:27]requested_data is exist [07:32:27]produce_requested_data [07:32:27]requested_item fm.sn is exist - process it [07:32:27]wFMCommunicate request_size=4 [07:32:27]MH_SAM_APDU [07:32:27]CAPDU: 80 11 00 00 [07:32:27]Write to MH i2c: E2 08 00 17 36 80 11 00 00 00 00 00 00 C7 [07:32:27]Write i2c OK [07:32:27]MH_I2C_Read... [07:32:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:32:27]Read from MH i2c: E2 [07:32:27]MH_I2C_Read... [07:32:27]Read from MH i2c: E2 17 00 [07:32:27]MH_I2C_Read... [07:32:27]Read from MH i2c: E2 17 00 17 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 21 [07:32:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:32:27]wFMCommunicate OK [07:32:27]requested_item fd.num is exist - process it [07:32:27]SAM_PROTO_GetFieldsCounters [07:32:27]wFMCommunicate request_size=4 [07:32:27]MH_SAM_APDU [07:32:27]CAPDU: 80 13 00 00 [07:32:27]Write to MH i2c: E2 08 00 18 36 80 13 00 00 00 00 00 00 CA [07:32:27]Write i2c OK [07:32:27]MH_I2C_Read... [07:32:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:32:27]Read from MH i2c: E2 [07:32:27]MH_I2C_Read... [07:32:27]Read from MH i2c: E2 62 00 [07:32:27]MH_I2C_Read... [07:32:27]Read from MH i2c: E2 62 00 18 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BF DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 F3 [07:32:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 BF DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 28 00 00 00 5E 04 04 00 28 00 00 00 57 04 04 00 29 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:32:27]wFMCommunicate OK [07:32:27]SAM_PROTO_GetFieldsCounters done [07:32:27]requested_item shift.num is exist - process it [07:32:27]requested_item shift.opened is exist - process it [07:32:27]req_shift_opened [07:32:27]FM_GetShiftState [07:32:27]SAM_PROTO_GetShiftState [07:32:27]wFMCommunicate request_size=4 [07:32:27]MH_SAM_APDU [07:32:27]CAPDU: 80 13 01 00 [07:32:27]Write to MH i2c: E2 08 00 19 36 80 13 01 00 00 00 00 00 CC [07:32:27]Write i2c OK [07:32:27]MH_I2C_Read... [07:32:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:32:27]Read from MH i2c: E2 [07:32:27]MH_I2C_Read... [07:32:27]Read from MH i2c: E2 0E 00 [07:32:27]MH_I2C_Read... [07:32:27]Read from MH i2c: E2 0E 00 19 36 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 73 [07:32:27]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [07:32:27]wFMCommunicate OK [07:32:27]SAM_PROTO_GetShiftState done [07:32:27]FM_GetShiftState done [07:32:27]req_shift_opened done [07:32:27]requested_item shift.open_date is exist - process it [07:32:27]req_shift_open_date [07:32:27]req_shift_open_date done [07:32:27]requested_item shift.sale.total is exist - process it [07:32:27]SAM_PROTO_GetShiftData [07:32:27]wFMCommunicate request_size=4 [07:32:27]MH_SAM_APDU [07:32:27]CAPDU: 80 13 02 00 [07:32:27]Write to MH i2c: E2 08 00 1A 36 80 13 02 00 00 00 00 00 CE [07:32:27]Write i2c OK [07:32:27]MH_I2C_Read... [07:32:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:32:28]Read from MH i2c: E2 [07:32:28]MH_I2C_Read... [07:32:28]Read from MH i2c: E2 FD 00 [07:32:28]MH_I2C_Read... [07:32:28]Read from MH i2c: E2 FD 00 1A 36 00 BB 04 AA 04 B7 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 64 9C 18 70 04 03 00 7C 14 15 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0D 9D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BA 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 61 [07:32:28]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 28 00 00 00 69 04 9B 00 6F 04 04 00 26 00 00 00 B1 04 03 00 64 9C 18 70 04 03 00 7C 14 15 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0D 9D 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BA 37 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [07:32:28]wFMCommunicate OK [07:32:28]wFMCommunicate request_size=4 [07:32:28]MH_SAM_APDU [07:32:28]CAPDU: 80 17 00 00 [07:32:28]Write to MH i2c: E2 08 00 1B 36 80 17 00 00 00 00 00 00 D1 [07:32:28]Write i2c OK [07:32:28]MH_I2C_Read... [07:32:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:32:28]Read from MH i2c: E2 [07:32:28]MH_I2C_Read... [07:32:28]Read from MH i2c: E2 FD 00 [07:32:28]MH_I2C_Read... [07:32:28]Read from MH i2c: E2 FD 00 1B 36 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 64 [07:32:28]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:32:28]wFMCommunicate OK [07:32:28]wFMCommunicate request_size=4 [07:32:28]MH_SAM_APDU [07:32:28]CAPDU: 80 17 00 00 [07:32:28]Write to MH i2c: E2 08 00 1C 36 80 17 00 00 00 00 00 00 D2 [07:32:28]Write i2c OK [07:32:28]MH_I2C_Read... [07:32:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:32:28]Read from MH i2c: E2 [07:32:28]MH_I2C_Read... [07:32:28]Read from MH i2c: E2 FD 00 [07:32:28]MH_I2C_Read... [07:32:28]Read from MH i2c: E2 FD 00 1C 36 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FE [07:32:29]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:32:29]wFMCommunicate OK [07:32:29]wFMCommunicate request_size=4 [07:32:29]MH_SAM_APDU [07:32:29]CAPDU: 80 17 00 00 [07:32:29]Write to MH i2c: E2 08 00 1D 36 80 17 00 00 00 00 00 00 D3 [07:32:29]Write i2c OK [07:32:29]MH_I2C_Read... [07:32:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:32:29]Read from MH i2c: E2 [07:32:29]MH_I2C_Read... [07:32:29]Read from MH i2c: E2 FD 00 [07:32:29]MH_I2C_Read... [07:32:29]Read from MH i2c: E2 FD 00 1D 36 00 00 00 EF 03 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 90 00 48 [07:32:29]RAPDU: 00 00 EF 03 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 90 00 [07:32:29]wFMCommunicate OK [07:32:29]wFMCommunicate request_size=4 [07:32:29]MH_SAM_APDU [07:32:29]CAPDU: 80 17 00 00 [07:32:29]Write to MH i2c: E2 08 00 1E 36 80 17 00 00 00 00 00 00 D4 [07:32:29]Write i2c OK [07:32:29]MH_I2C_Read... [07:32:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [07:32:29]Read from MH i2c: E2 [07:32:29]MH_I2C_Read... [07:32:29]Read from MH i2c: E2 D8 00 [07:32:29]MH_I2C_Read... [07:32:29]Read from MH i2c: E2 D8 00 1E 36 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 BB [07:32:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [07:32:29]wFMCommunicate OK [07:32:29]SAM_PROTO_GetShiftData done [07:32:29]requested_item shift.sale.total_cash is exist - process it [07:32:29]requested_item shift.sale_refund.total is exist - process it [07:32:29]requested_item shift.sale_refund.total_cash is exist - process it [07:32:29]produce_requested_data done [07:32:29]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57023,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":16129.00,"shift.sale.total_cash":13815.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [07:32:29]process_action_free close_receipt [07:32:29]json_value_free [07:32:29]json_value_free done [07:32:29]process_json_proto returns [07:32:29]Send response to host [07:32:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57023,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":16129.00,"shift.sale.total_cash":13815.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [07:32:29]free response buf [07:32:29]execute_script done [07:32:29]execute_script returns [07:32:29]free content buf [07:32:29]Sock 8.Close socket [07:32:29]Sock 8.Thread stoped [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:37]OFD Sender: No OFD packet to send [07:35:42]OFD Sender: No OFD packet to send [07:35:47]OFD Sender: No OFD packet to send [07:35:52]OFD Sender: No OFD packet to send [07:35:57]OFD Sender: No OFD packet to send [07:36:02]OFD Sender: No OFD packet to send [07:36:07]OFD Sender: No OFD packet to send [07:36:12]OFD Sender: No OFD packet to send [07:36:17]OFD Sender: No OFD packet to send [07:36:22]OFD Sender: No OFD packet to send [07:36:27]OFD Sender: No OFD packet to send [07:36:32]OFD Sender: No OFD packet to send [07:36:37]OFD Sender: No OFD packet to send [07:36:42]OFD Sender: No OFD packet to send [07:36:47]OFD Sender: No OFD packet to send [07:36:52]OFD Sender: No OFD packet to send [07:36:57]OFD Sender: No OFD packet to send [07:37:02]OFD Sender: No OFD packet to send [07:37:07]OFD Sender: No OFD packet to send [07:37:12]OFD Sender: No OFD packet to send [07:37:17]OFD Sender: No OFD packet to send [07:37:22]OFD Sender: No OFD packet to send [07:37:27]OFD Sender: No OFD packet to send [07:37:32]OFD Sender: No OFD packet to send [07:37:37]OFD Sender: No OFD packet to send [07:37:42]OFD Sender: No OFD packet to send [07:37:47]OFD Sender: No OFD packet to send [07:37:52]OFD Sender: No OFD packet to send [07:37:57]OFD Sender: No OFD packet to send [07:38:02]OFD Sender: No OFD packet to send [07:38:07]OFD Sender: No OFD packet to send [07:38:12]OFD Sender: No OFD packet to send [07:38:17]OFD Sender: No OFD packet to send [07:38:22]OFD Sender: No OFD packet to send [07:38:27]OFD Sender: No OFD packet to send [07:38:32]OFD Sender: No OFD packet to send [07:38:37]OFD Sender: No OFD packet to send [07:38:42]OFD Sender: No OFD packet to send [07:38:47]OFD Sender: No OFD packet to send [07:38:52]OFD Sender: No OFD packet to send [07:38:57]OFD Sender: No OFD packet to send [07:39:02]OFD Sender: No OFD packet to send [07:39:07]OFD Sender: No OFD packet to send [07:39:12]OFD Sender: No OFD packet to send [07:39:17]OFD Sender: No OFD packet to send [07:39:22]OFD Sender: No OFD packet to send [07:39:27]OFD Sender: No OFD packet to send [07:39:32]OFD Sender: No OFD packet to send [07:39:37]OFD Sender: No OFD packet to send [07:39:42]OFD Sender: No OFD packet to send [07:39:47]OFD Sender: No OFD packet to send [07:39:52]OFD Sender: No OFD packet to send [07:39:57]OFD Sender: No OFD packet to send [07:40:02]OFD Sender: No OFD packet to send [07:40:07]OFD Sender: No OFD packet to send [07:40:12]OFD Sender: No OFD packet to send [07:40:17]OFD Sender: No OFD packet to send [07:40:22]OFD Sender: No OFD packet to send [07:40:27]OFD Sender: No OFD packet to send [07:40:32]OFD Sender: No OFD packet to send [07:40:37]OFD Sender: No OFD packet to send [07:40:42]OFD Sender: No OFD packet to send [07:40:47]OFD Sender: No OFD packet to send [07:40:52]OFD Sender: No OFD packet to send [07:40:57]OFD Sender: No OFD packet to send [07:41:02]OFD Sender: No OFD packet to send [07:41:07]OFD Sender: No OFD packet to send [07:41:12]OFD Sender: No OFD packet to send [07:41:17]OFD Sender: No OFD packet to send [07:41:22]OFD Sender: No OFD packet to send [07:41:27]OFD Sender: No OFD packet to send [07:41:32]OFD Sender: No OFD packet to send [07:41:37]OFD Sender: No OFD packet to send [07:41:42]OFD Sender: No OFD packet to send [07:41:47]OFD Sender: No OFD packet to send [07:41:52]OFD Sender: No OFD packet to send [07:41:57]OFD Sender: No OFD packet to send [07:42:02]OFD Sender: No OFD packet to send [07:42:07]OFD Sender: No OFD packet to send [07:42:12]OFD Sender: No OFD packet to send [07:42:17]OFD Sender: No OFD packet to send [07:42:22]OFD Sender: No OFD packet to send [07:42:27]OFD Sender: No OFD packet to send [07:42:32]OFD Sender: No OFD packet to send [07:42:37]OFD Sender: No OFD packet to send [07:42:42]OFD Sender: No OFD packet to send [07:42:47]OFD Sender: No OFD packet to send [07:42:52]OFD Sender: No OFD packet to send [07:42:57]OFD Sender: No OFD packet to send [07:43:02]OFD Sender: No OFD packet to send [07:43:07]OFD Sender: No OFD packet to send [07:43:12]OFD Sender: No OFD packet to send [07:43:17]OFD Sender: No OFD packet to send [07:43:22]OFD Sender: No OFD packet to send [07:43:27]OFD Sender: No OFD packet to send [07:43:32]OFD Sender: No OFD packet to send [07:43:37]OFD Sender: No OFD packet to send [07:43:42]OFD Sender: No OFD packet to send [07:43:47]OFD Sender: No OFD packet to send [07:43:52]OFD Sender: No OFD packet to send [07:43:57]OFD Sender: No OFD packet to send [07:44:02]OFD Sender: No OFD packet to send [07:44:07]OFD Sender: No OFD packet to send [07:44:12]OFD Sender: No OFD packet to send [07:44:17]OFD Sender: No OFD packet to send [07:44:22]OFD Sender: No OFD packet to send [07:44:27]OFD Sender: No OFD packet to send [07:44:32]OFD Sender: No OFD packet to send [07:44:37]OFD Sender: No OFD packet to send [07:44:42]OFD Sender: No OFD packet to send [07:44:47]OFD Sender: No OFD packet to send [07:44:52]OFD Sender: No OFD packet to send [07:44:57]OFD Sender: No OFD packet to send [07:45:02]OFD Sender: No OFD packet to send [07:45:07]OFD Sender: No OFD packet to send [07:45:12]OFD Sender: No OFD packet to send [07:45:17]OFD Sender: No OFD packet to send [07:45:22]OFD Sender: No OFD packet to send [07:45:27]OFD Sender: No OFD packet to send [07:45:32]OFD Sender: No OFD packet to send [07:45:37]OFD Sender: No OFD packet to send [07:45:42]OFD Sender: No OFD packet to send [07:45:47]OFD Sender: No OFD packet to send [07:45:52]OFD Sender: No OFD packet to send [07:45:57]OFD Sender: No OFD packet to send [07:46:02]OFD Sender: No OFD packet to send [07:46:07]OFD Sender: No OFD packet to send [07:46:12]OFD Sender: No OFD packet to send [07:46:17]OFD Sender: No OFD packet to send [07:46:22]OFD Sender: No OFD packet to send [07:46:27]OFD Sender: No OFD packet to send [07:46:32]OFD Sender: No OFD packet to send [07:46:37]OFD Sender: No OFD packet to send [07:46:42]OFD Sender: No OFD packet to send [07:46:47]OFD Sender: No OFD packet to send [07:46:52]OFD Sender: No OFD packet to send [07:46:57]OFD Sender: No OFD packet to send [07:47:02]OFD Sender: No OFD packet to send [07:47:07]OFD Sender: No OFD packet to send [07:47:12]OFD Sender: No OFD packet to send [07:47:17]OFD Sender: No OFD packet to send [07:47:22]OFD Sender: No OFD packet to send [07:47:27]OFD Sender: No OFD packet to send [07:47:32]OFD Sender: No OFD packet to send [07:47:37]OFD Sender: No OFD packet to send [07:47:42]OFD Sender: No OFD packet to send [07:47:47]OFD Sender: No OFD packet to send [07:47:52]OFD Sender: No OFD packet to send [07:47:57]OFD Sender: No OFD packet to send [07:48:02]OFD Sender: No OFD packet to send [07:48:07]OFD Sender: No OFD packet to send [07:48:12]OFD Sender: No OFD packet to send [07:48:17]OFD Sender: No OFD packet to send [07:48:22]OFD Sender: No OFD packet to send [07:48:27]OFD Sender: No OFD packet to send [07:48:32]OFD Sender: No OFD packet to send [07:48:37]OFD Sender: No OFD packet to send [07:48:42]OFD Sender: No OFD packet to send [07:48:47]OFD Sender: No OFD packet to send [07:48:52]OFD Sender: No OFD packet to send [07:48:57]OFD Sender: No OFD packet to send [07:49:02]OFD Sender: No OFD packet to send [07:49:07]OFD Sender: No OFD packet to send [07:49:12]OFD Sender: No OFD packet to send [07:49:17]OFD Sender: No OFD packet to send [07:49:22]OFD Sender: No OFD packet to send [07:49:27]OFD Sender: No OFD packet to send [07:49:32]OFD Sender: No OFD packet to send [07:49:37]OFD Sender: No OFD packet to send [07:49:42]OFD Sender: No OFD packet to send [07:49:47]OFD Sender: No OFD packet to send [07:49:52]OFD Sender: No OFD packet to send [07:49:57]OFD Sender: No OFD packet to send [07:50:02]OFD Sender: No OFD packet to send [07:50:07]OFD Sender: No OFD packet to send [07:50:12]OFD Sender: No OFD packet to send [07:50:17]OFD Sender: No OFD packet to send [07:50:22]OFD Sender: No OFD packet to send [07:50:27]OFD Sender: No OFD packet to send [07:50:32]OFD Sender: No OFD packet to send [07:50:37]OFD Sender: No OFD packet to send [07:50:42]OFD Sender: No OFD packet to send [07:50:47]OFD Sender: No OFD packet to send [07:50:52]OFD Sender: No OFD packet to send [07:50:57]OFD Sender: No OFD packet to send [07:51:02]OFD Sender: No OFD packet to send [07:51:07]OFD Sender: No OFD packet to send [07:51:12]OFD Sender: No OFD packet to send [07:51:17]OFD Sender: No OFD packet to send [07:51:22]OFD Sender: No OFD packet to send [07:51:27]OFD Sender: No OFD packet to send [07:51:32]OFD Sender: No OFD packet to send [07:51:37]OFD Sender: No OFD packet to send [07:51:42]OFD Sender: No OFD packet to send [07:51:47]OFD Sender: No OFD packet to send [07:51:52]OFD Sender: No OFD packet to send [07:51:57]OFD Sender: No OFD packet to send [07:52:02]OFD Sender: No OFD packet to send [07:52:07]OFD Sender: No OFD packet to send [07:52:12]OFD Sender: No OFD packet to send [07:52:17]OFD Sender: No OFD packet to send [07:52:22]OFD Sender: No OFD packet to send [07:52:27]OFD Sender: No OFD packet to send [07:52:32]OFD Sender: No OFD packet to send [07:52:37]OFD Sender: No OFD packet to send [07:52:42]OFD Sender: No OFD packet to send [07:52:47]OFD Sender: No OFD packet to send [07:52:52]OFD Sender: No OFD packet to send [07:52:57]OFD Sender: No OFD packet to send [07:53:02]OFD Sender: No OFD packet to send [07:53:07]OFD Sender: No OFD packet to send [07:53:12]OFD Sender: No OFD packet to send [07:53:17]OFD Sender: No OFD packet to send [07:53:22]OFD Sender: No OFD packet to send [07:53:27]OFD Sender: No OFD packet to send [07:53:32]OFD Sender: No OFD packet to send [07:53:37]OFD Sender: No OFD packet to send [07:53:42]OFD Sender: No OFD packet to send [07:53:47]OFD Sender: No OFD packet to send [07:53:52]OFD Sender: No OFD packet to send [07:53:57]OFD Sender: No OFD packet to send [07:54:02]OFD Sender: No OFD packet to send [07:54:07]OFD Sender: No OFD packet to send [07:54:12]OFD Sender: No OFD packet to send [07:54:17]OFD Sender: No OFD packet to send [07:54:22]OFD Sender: No OFD packet to send [07:54:27]OFD Sender: No OFD packet to send [07:54:32]OFD Sender: No OFD packet to send [07:54:38]OFD Sender: No OFD packet to send [07:54:43]OFD Sender: No OFD packet to send [07:54:48]OFD Sender: No OFD packet to send [07:54:53]OFD Sender: No OFD packet to send [07:54:58]OFD Sender: No OFD packet to send [07:55:03]OFD Sender: No OFD packet to send [07:55:08]OFD Sender: No OFD packet to send [07:55:13]OFD Sender: No OFD packet to send [07:55:18]OFD Sender: No OFD packet to send [07:55:23]OFD Sender: No OFD packet to send [07:55:28]OFD Sender: No OFD packet to send [07:55:33]OFD Sender: No OFD packet to send [07:55:38]OFD Sender: No OFD packet to send [07:55:43]OFD Sender: No OFD packet to send [07:55:48]OFD Sender: No OFD packet to send [07:55:53]OFD Sender: No OFD packet to send [07:55:58]OFD Sender: No OFD packet to send [07:56:03]OFD Sender: No OFD packet to send [07:56:08]OFD Sender: No OFD packet to send [07:56:13]OFD Sender: No OFD packet to send [07:56:18]OFD Sender: No OFD packet to send [07:56:23]OFD Sender: No OFD packet to send [07:56:28]OFD Sender: No OFD packet to send [07:56:33]OFD Sender: No OFD packet to send [07:56:38]OFD Sender: No OFD packet to send [07:56:43]OFD Sender: No OFD packet to send [07:56:48]OFD Sender: No OFD packet to send [07:56:53]OFD Sender: No OFD packet to send [07:56:58]OFD Sender: No OFD packet to send [07:57:03]OFD Sender: No OFD packet to send [07:57:08]OFD Sender: No OFD packet to send [07:57:13]OFD Sender: No OFD packet to send [07:57:18]OFD Sender: No OFD packet to send [07:57:23]OFD Sender: No OFD packet to send [07:57:28]OFD Sender: No OFD packet to send [07:57:33]OFD Sender: No OFD packet to send [07:57:38]OFD Sender: No OFD packet to send [07:57:43]OFD Sender: No OFD packet to send [07:57:48]OFD Sender: No OFD packet to send [07:57:53]OFD Sender: No OFD packet to send [07:57:58]OFD Sender: No OFD packet to send [07:58:03]OFD Sender: No OFD packet to send [07:58:08]OFD Sender: No OFD packet to send [07:58:13]OFD Sender: No OFD packet to send [07:58:18]OFD Sender: No OFD packet to send [07:58:21]accept exits with 9 [07:58:21]New connection [07:58:21]New thread 3067272548 created [07:58:21]Thread 3067129188 joined [07:58:21]Waiting for new connection... [07:58:21] Sock 9.Parse request [07:58:21]Sock 9.Check first char [07:58:21]Sock 9.First char is OK [07:58:21]request: POST /json_proto HTTP/1.0 [07:58:21]Method: POST [07:58:21]URL: /json_proto [07:58:21]Method is POST - this is cgi request [07:58:21]url: /json_proto [07:58:21]query_string will be loaded in cgi processing [07:58:21]execute_cgi json_proto POST (null) [07:58:21]execute_cgi path=json_proto method=POST [07:58:21]POST find Content-Length [07:58:21]Host: 172.17.39.4:8080 [07:58:21]Content-Length: 750 [07:58:21]Content-Type: application/json [07:58:21] [07:58:21]POST finish read [07:58:21]Found Content-Length = 750 [07:58:21]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129493", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:58:21]execute_script... [07:58: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)129493", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [07:58:21]POST & json_proto [07:58:21]process_json_proto [07:58:21]json parsed OK: [07:58:21]protocol is kg_v1.0 [07:58:21]action value=close_receipt [07:58:21]process_action close_receipt [07:58:21]cmd_close_receipt [07:58:21]MH_GetDate [07:58:21]Write to MH i2c: F0 00 00 1F 36 44 [07:58:21]Write i2c OK [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: F0 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: F0 09 00 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: F0 09 00 1F 36 00 24 85 93 66 2D 25 5D 64 02 [07:58:21]GetLastDocTimeStamp 1720942350 [07:58:21]current date 1720943908 [07:58:21]FM_GetShiftState [07:58:21]SAM_PROTO_GetShiftState [07:58:21]wFMCommunicate request_size=4 [07:58:21]MH_SAM_APDU [07:58:21]CAPDU: 80 13 01 00 [07:58:21]Write to MH i2c: E2 08 00 20 36 80 13 01 00 00 00 00 00 D3 [07:58:21]Write i2c OK [07:58:21]MH_I2C_Read... [07:58:21]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:21]Read from MH i2c: E2 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: E2 0E 00 [07:58:21]MH_I2C_Read... [07:58:21]Read from MH i2c: E2 0E 00 20 36 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 7A [07:58:21]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [07:58:21]wFMCommunicate OK [07:58:21]SAM_PROTO_GetShiftState done [07:58:21]FM_GetShiftState done [07:58:21]opened in 1720917126 [07:58:21]opened+sec_in_day 1721003526 [07:58:21]quantity*price = 13000 [07:58:21]sum+1 = 13001 [07:58:21]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 41 14.07.2024 07:58 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57024 ФПД: 194593679450871 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T075828&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57024&fm=194593679450871&tin=02508201610067®Number=0000000000091208&sum=13000 0 [07:58:23]StoreToDocumentArchive [07:58:23]shift 496 fd 57024 [07:58:23]save to /storage/0496/doc_00057024 [07:58:23]save last doc name /storage/0496/doc_00057024 to /storage/kkm_last_doc_name [07:58:23]save OK [07:58:23]Clear old archive folders... [07:58:23]ProcessDocumentItem done err = 0, tmpTLVsize=282 [07:58:23]tlvbuf is 01D45D50 [07:58:23]SAM_PROTO_ClearQueue [07:58:23]wFMCommunicate request_size=4 [07:58:23]MH_SAM_APDU [07:58:23]CAPDU: 80 09 00 00 [07:58:23]Write to MH i2c: E2 08 00 2D 36 80 09 00 00 00 00 00 00 D5 [07:58:23]Write i2c OK [07:58:23]MH_I2C_Read... [07:58:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [07:58:23]Read from MH i2c: E2 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 03 00 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 03 00 2D 36 00 90 00 D7 [07:58:23]RAPDU: 90 00 [07:58:23]wFMCommunicate OK [07:58:23]SAM_PROTO_ClearQueue done [07:58:23]KKMCreateOFDPacket [07:58:23]OFDProtocolAddRootSTLVToBuf [07:58:23]FM_MakeSignedData [07:58:23]FM_MakeSignedData [07:58:23]SAM_PROTO_SignData [07:58:23]wFMCommunicate request_size=4 [07:58:23]MH_SAM_APDU [07:58:23]CAPDU: 80 0D 01 02 [07:58:23]Write to MH i2c: E2 08 00 2E 36 80 0D 01 02 00 00 00 00 DD [07:58:23]Write i2c OK [07:58:23]MH_I2C_Read... [07:58:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [07:58:23]OFD Sender: No OFD packet to send [07:58:23]Read from MH i2c: E2 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 03 00 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 03 00 2E 36 00 90 00 D8 [07:58:23]RAPDU: 90 00 [07:58:23]wFMCommunicate OK [07:58:23]wFMCommunicate request_size=255 [07:58:23]MH_SAM_APDU [07:58:23]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 29 00 00 00 F4 03 04 00 24 85 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [07:58:23]Write to MH i2c: E2 02 01 2F 36 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 29 00 00 00 F4 03 04 00 24 85 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 A3 [07:58:23]Write i2c OK [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 [07:58:23]MH_I2C_Read... [07:58:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:23]Read from MH i2c: E2 03 00 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 03 00 2F 36 00 90 00 D9 [07:58:23]RAPDU: 90 00 [07:58:23]wFMCommunicate OK [07:58:23]wFMCommunicate request_size=41 [07:58:23]MH_SAM_APDU [07:58:23]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C0 DE 00 00 35 04 06 00 B0 FB 5F 23 A2 F7 [07:58:23]Write to MH i2c: E2 2C 00 30 36 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C0 DE 00 00 35 04 06 00 B0 FB 5F 23 A2 F7 00 00 1A [07:58:23]Write i2c OK [07:58:23]MH_I2C_Read... [07:58:23]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [07:58:23]Read from MH i2c: E2 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 03 00 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 03 00 30 36 00 90 00 DA [07:58:23]RAPDU: 90 00 [07:58:23]wFMCommunicate OK [07:58:23]wFMCommunicate request_size=4 [07:58:23]MH_SAM_APDU [07:58:23]CAPDU: 80 0D 03 02 [07:58:23]Write to MH i2c: E2 08 00 31 36 80 0D 03 02 00 00 00 00 E2 [07:58:23]Write i2c OK [07:58:23]MH_I2C_Read... [07:58:23]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [07:58:23]Read from MH i2c: E2 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 0B 00 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 0B 00 31 36 00 A5 98 BB 67 14 33 26 E1 90 00 90 [07:58:23]RAPDU: A5 98 BB 67 14 33 26 E1 90 00 [07:58:23]wFMCommunicate OK [07:58:23]SAM_PROTO_SignData done [07:58:23]FM_MakeSignedData done [07:58:23]CreateOFDProtocolMessage [07:58:23]wFMCommunicate request_size=4 [07:58:23]MH_SAM_APDU [07:58:23]CAPDU: 80 11 00 00 [07:58:23]Write to MH i2c: E2 08 00 32 36 80 11 00 00 00 00 00 00 E2 [07:58:23]Write i2c OK [07:58:23]MH_I2C_Read... [07:58:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:23]Read from MH i2c: E2 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 17 00 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: E2 17 00 32 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3C [07:58:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:58:23]wFMCommunicate OK [07:58:23]CreateOFDProtocolMessage done [07:58:23]OFDSenderStorePacket 57024 [07:58:23]StoreOFDPacket docnum=57024 [07:58:23]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 2C 8B 26 01 60 1C 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 29 00 00 00 F4 03 04 00 24 85 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C0 DE 00 00 35 04 06 00 B0 FB 5F 23 A2 F7 A5 98 BB 67 14 33 26 E1 [07:58:23]CheckFolder [07:58:23]dirname=/storage/ofd_packets [07:58:23]CheckFolder done [07:58:23]ProducePacketName [07:58:23]name=ofd_packets/00057024 [07:58:23]NVStorageSaveData ofd_packets/00057024 [07:58:23]File name is /storage/ofd_packets/00057024 [07:58:23]Write 332 bytes [07:58:23]NVStorageSaveData done [07:58:23]OFDSenderStorePacket done [07:58:23]KKMCreateOFDPacket done [07:58:23]NVStorageSaveData kkm_last_timestamp [07:58:23]File name is /storage/kkm_last_timestamp [07:58:23]Write 4 bytes [07:58:23]NVStorageSaveData done [07:58:23]ExternCall_PrintAddStr [07:58:23]wPrintStart [07:58:23]Write to MH i2c: 01 00 00 33 36 69 [07:58:23]Write i2c OK [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: 01 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: 01 07 00 [07:58:23]MH_I2C_Read... [07:58:23]Read from MH i2c: 01 07 00 33 36 00 00 00 00 00 FF 0F 7E [07:58:23]RasterBufferAndPrint [07:58:23]line Счет N : (3)129493 [07:58:23]line ИНН: 02508201610067 [07:58:23]line Контрольно-Кассовый Чек [07:58:23]line ПРОДАЖА [07:58:23]line Товар: 2000036220012 [07:58:23]line Кофе Капучино XL(GABB TRADE) [07:58:23]line 1.000 * 130.00 [07:58:23]line = 130.00 [07:58:23]line НДС 12% НСП 1% [07:58:23]line > о реализуемом товаре [07:58:23]line ИТОГО: 130.00 [07:58:23]line НСП 1% : 1.15 [07:58:23]line НДС 12% : 13.80 [07:58:23]line Наличными: 130.00 [07:58:23]line Безнал.: 0.00 [07:58:23]line Место: АЗС № 132 "Партнер Нефть" [07:58:23]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [07:58:23]line СНО: Общий режим [07:58:23]line Чек 41 14.07.2024 07:58 [07:58:23]line Смена: 496 ФФД: 1.0 [07:58:23]line ЗНМ: 0300000132 [07:58:23]line РНМ: 0000000000091208 [07:58:23]line Версия ККМ: 001 [07:58:23]line ФМ: 0000000000874857 [07:58:23]line ФД: 57024 [07:58:23]line ФПД: 194593679450871 [07:58:23]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T075828&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57024&fm=194593679450871&tin=02508201610067®Number=0000000000091208&sum=13000 [07:58:23]line 0 [07:58:24]written 0, free lines is 4095 [07:58:24]OFD Sender: Processing packet 57024 [packets to send 38, broken 37] [07:58:24]ProducePacketName [07:58:24]name=ofd_packets/00057024 [07:58:24]OFD Sender: To server: pG, [07:58:24]CommunicateWithHost lk.salyk.kg:30040 [07:58:24]ConnectInit lk.salyk.kg [07:58:24]Connected sock=10 [07:58:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 2C 8B 26 01 60 1C 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 29 00 00 00 F4 03 04 00 24 85 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C0 DE 00 00 35 04 06 00 B0 FB 5F 23 A2 F7 A5 98 BB 67 14 33 26 E1 [07:58:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 0A FE 47 00 56 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 38 37 34 38 35 37 10 04 04 00 C0 DE 00 00 F4 03 04 00 76 2B 93 66 B6 04 01 00 00 31 ED 4B 5C 82 0D CE 08 [07:58:24]CommunicateWithHost err = 0 [07:58:24]CheckOFDResponse [07:58:24]1017 (14) - 77093643461234 [07:58:24]1041 (16) - 0000000000874857 [07:58:24]1040 (4) - 57024 [07:58:24]1012 (4) - 14.07.2024 01:35 [07:58:24]1206 (1) - 0 [07:58:24]OFD Sender: Remove packet 57024 [07:58:24]ProducePacketName [07:58:24]name=ofd_packets/00057024 [07:58:24]NVStorageDeleteData [07:58:24]Write to MH i2c: 01 00 00 5C 36 92 [07:58:24]Write i2c OK [07:58:24]MH_I2C_Read... [07:58:24]Read from MH i2c: 01 [07:58:24]MH_I2C_Read... [07:58:24]Read from MH i2c: 01 07 00 [07:58:24]MH_I2C_Read... [07:58:24]Read from MH i2c: 01 07 00 5C 36 00 00 00 00 00 E1 0C 86 [07:58:24]RasterBufferAndPrint [07:58:24]line [07:58:24]line [07:58:24]line [07:58:24]line [07:58:24]line [07:58:24]written 0, free lines is 3307 [07:58:24]MH_Cut [07:58:24]Write to MH i2c: D1 01 00 63 36 01 6B [07:58:24]Write i2c OK [07:58:24]MH_I2C_Read... [07:58:24]Read from MH i2c: D1 [07:58:24]MH_I2C_Read... [07:58:24]Read from MH i2c: D1 01 00 [07:58:24]MH_I2C_Read... [07:58:24]Read from MH i2c: D1 01 00 63 36 00 6A [07:58:24]Write to MH i2c: 01 00 00 64 36 9A [07:58:24]Write i2c OK [07:58:24]MH_I2C_Read... [07:58:24]OFD Sender: No OFD packet to send [07:58:25]*** Cut start [07:58:25]*** Partial cut [07:58:25]*** CUTSNS_PIN = 1 [07:58:25]*** CUTSNS_PIN = 0 [07:58:25]*** Brake cut motor [07:58:25]Read from MH i2c: 01 [07:58:25]MH_I2C_Read... [07:58:25]*** Stop cut motor [07:58:25]*** Cut end [07:58:25]Read from MH i2c: 01 07 00 [07:58:25]MH_I2C_Read... [07:58:25]Read from MH i2c: 01 07 00 64 36 00 00 00 00 00 FF 0F AF [07:58:25]process_action close_receipt done [07:58:25]requested_data is exist [07:58:25]produce_requested_data [07:58:25]requested_item fm.sn is exist - process it [07:58:25]wFMCommunicate request_size=4 [07:58:25]MH_SAM_APDU [07:58:25]CAPDU: 80 11 00 00 [07:58:25]Write to MH i2c: E2 08 00 65 36 80 11 00 00 00 00 00 00 15 [07:58:25]Write i2c OK [07:58:25]MH_I2C_Read... [07:58:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [07:58:25]Read from MH i2c: E2 [07:58:25]MH_I2C_Read... [07:58:25]Read from MH i2c: E2 17 00 [07:58:25]MH_I2C_Read... [07:58:25]Read from MH i2c: E2 17 00 65 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6F [07:58:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [07:58:25]wFMCommunicate OK [07:58:25]requested_item fd.num is exist - process it [07:58:25]SAM_PROTO_GetFieldsCounters [07:58:25]wFMCommunicate request_size=4 [07:58:25]MH_SAM_APDU [07:58:25]CAPDU: 80 13 00 00 [07:58:25]Write to MH i2c: E2 08 00 66 36 80 13 00 00 00 00 00 00 18 [07:58:25]Write i2c OK [07:58:25]MH_I2C_Read... [07:58:25]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [07:58:26]Read from MH i2c: E2 [07:58:26]MH_I2C_Read... [07:58:26]Read from MH i2c: E2 62 00 [07:58:26]MH_I2C_Read... [07:58:26]Read from MH i2c: E2 62 00 66 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C0 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [07:58:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C0 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 29 00 00 00 5E 04 04 00 29 00 00 00 57 04 04 00 2A 00 00 00 19 04 04 00 00 00 00 00 90 00 [07:58:26]wFMCommunicate OK [07:58:26]SAM_PROTO_GetFieldsCounters done [07:58:26]requested_item shift.num is exist - process it [07:58:26]requested_item shift.opened is exist - process it [07:58:26]req_shift_opened [07:58:26]FM_GetShiftState [07:58:26]SAM_PROTO_GetShiftState [07:58:26]wFMCommunicate request_size=4 [07:58:26]MH_SAM_APDU [07:58:26]CAPDU: 80 13 01 00 [07:58:26]Write to MH i2c: E2 08 00 67 36 80 13 01 00 00 00 00 00 1A [07:58:26]Write i2c OK [07:58:26]MH_I2C_Read... [07:58:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [07:58:26]Read from MH i2c: E2 [07:58:26]MH_I2C_Read... [07:58:26]Read from MH i2c: E2 0E 00 [07:58:26]MH_I2C_Read... [07:58:26]Read from MH i2c: E2 0E 00 67 36 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C1 [07:58:26]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [07:58:26]wFMCommunicate OK [07:58:26]SAM_PROTO_GetShiftState done [07:58:26]FM_GetShiftState done [07:58:26]req_shift_opened done [07:58:26]requested_item shift.open_date is exist - process it [07:58:26]req_shift_open_date [07:58:26]req_shift_open_date done [07:58:26]requested_item shift.sale.total is exist - process it [07:58:26]SAM_PROTO_GetShiftData [07:58:26]wFMCommunicate request_size=4 [07:58:26]MH_SAM_APDU [07:58:26]CAPDU: 80 13 02 00 [07:58:26]Write to MH i2c: E2 08 00 68 36 80 13 02 00 00 00 00 00 1C [07:58:26]Write i2c OK [07:58:26]MH_I2C_Read... [07:58:26]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [07:58:26]Read from MH i2c: E2 [07:58:26]MH_I2C_Read... [07:58:26]Read from MH i2c: E2 FD 00 [07:58:26]MH_I2C_Read... [07:58:26]Read from MH i2c: E2 FD 00 68 36 00 BB 04 AA 04 B7 04 6E 04 04 00 29 00 00 00 69 04 9B 00 6F 04 04 00 27 00 00 00 B1 04 03 00 2C CF 18 70 04 03 00 44 47 15 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 71 A2 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2D 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 84 [07:58:26]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 29 00 00 00 69 04 9B 00 6F 04 04 00 27 00 00 00 B1 04 03 00 2C CF 18 70 04 03 00 44 47 15 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 71 A2 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2D 38 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [07:58:26]wFMCommunicate OK [07:58:26]wFMCommunicate request_size=4 [07:58:26]MH_SAM_APDU [07:58:26]CAPDU: 80 17 00 00 [07:58:26]Write to MH i2c: E2 08 00 69 36 80 17 00 00 00 00 00 00 1F [07:58:26]Write i2c OK [07:58:26]MH_I2C_Read... [07:58:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:58:26]Read from MH i2c: E2 [07:58:26]MH_I2C_Read... [07:58:26]Read from MH i2c: E2 FD 00 [07:58:26]MH_I2C_Read... [07:58:26]Read from MH i2c: E2 FD 00 69 36 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B2 [07:58:26]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:58:26]wFMCommunicate OK [07:58:26]wFMCommunicate request_size=4 [07:58:26]MH_SAM_APDU [07:58:26]CAPDU: 80 17 00 00 [07:58:26]Write to MH i2c: E2 08 00 6A 36 80 17 00 00 00 00 00 00 20 [07:58:26]Write i2c OK [07:58:26]MH_I2C_Read... [07:58:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:58:27]Read from MH i2c: E2 [07:58:27]MH_I2C_Read... [07:58:27]Read from MH i2c: E2 FD 00 [07:58:27]MH_I2C_Read... [07:58:27]Read from MH i2c: E2 FD 00 6A 36 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [07:58:27]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [07:58:27]wFMCommunicate OK [07:58:27]wFMCommunicate request_size=4 [07:58:27]MH_SAM_APDU [07:58:27]CAPDU: 80 17 00 00 [07:58:27]Write to MH i2c: E2 08 00 6B 36 80 17 00 00 00 00 00 00 21 [07:58:27]Write i2c OK [07:58:27]MH_I2C_Read... [07:58:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [07:58:27]Read from MH i2c: E2 [07:58:27]MH_I2C_Read... [07:58:27]Read from MH i2c: E2 FD 00 [07:58:27]MH_I2C_Read... [07:58:27]Read from MH i2c: E2 FD 00 6B 36 00 00 00 EF 03 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 90 00 96 [07:58:27]RAPDU: 00 00 EF 03 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 90 00 [07:58:27]wFMCommunicate OK [07:58:27]wFMCommunicate request_size=4 [07:58:27]MH_SAM_APDU [07:58:27]CAPDU: 80 17 00 00 [07:58:27]Write to MH i2c: E2 08 00 6C 36 80 17 00 00 00 00 00 00 22 [07:58:27]Write i2c OK [07:58:27]MH_I2C_Read... [07:58:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [07:58:27]Read from MH i2c: E2 [07:58:27]MH_I2C_Read... [07:58:27]Read from MH i2c: E2 D8 00 [07:58:27]MH_I2C_Read... [07:58:27]Read from MH i2c: E2 D8 00 6C 36 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 09 [07:58:27]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [07:58:27]wFMCommunicate OK [07:58:27]SAM_PROTO_GetShiftData done [07:58:27]requested_item shift.sale.total_cash is exist - process it [07:58:27]requested_item shift.sale_refund.total is exist - process it [07:58:27]requested_item shift.sale_refund.total_cash is exist - process it [07:58:27]produce_requested_data done [07:58:27]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57024,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":16259.00,"shift.sale.total_cash":13945.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [07:58:27]process_action_free close_receipt [07:58:27]json_value_free [07:58:27]json_value_free done [07:58:27]process_json_proto returns [07:58:27]Send response to host [07:58:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57024,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":16259.00,"shift.sale.total_cash":13945.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [07:58:27]free response buf [07:58:27]execute_script done [07:58:27]execute_script returns [07:58:27]free content buf [07:58:27]Sock 9.Close socket [07:58:27]Sock 9.Thread stoped [07:58:29]OFD Sender: No OFD packet to send [07:58:34]OFD Sender: No OFD packet to send [07:58:39]OFD Sender: No OFD packet to send [07:58:44]OFD Sender: No OFD packet to send [07:58:49]OFD Sender: No OFD packet to send [07:58:54]OFD Sender: No OFD packet to send [07:58:59]OFD Sender: No OFD packet to send [07:59:04]OFD Sender: No OFD packet to send [07:59:09]OFD Sender: No OFD packet to send [07:59:14]OFD Sender: No OFD packet to send [07:59:19]OFD Sender: No OFD packet to send [07:59:24]OFD Sender: No OFD packet to send [07:59:29]OFD Sender: No OFD packet to send [07:59:34]OFD Sender: No OFD packet to send [07:59:39]OFD Sender: No OFD packet to send [07:59:44]OFD Sender: No OFD packet to send [07:59:49]OFD Sender: No OFD packet to send [07:59:54]OFD Sender: No OFD packet to send [07:59:59]OFD Sender: No OFD packet to send [08:00:04]OFD Sender: No OFD packet to send [08:00:09]OFD Sender: No OFD packet to send [08:00:14]OFD Sender: No OFD packet to send [08:00:19]OFD Sender: No OFD packet to send [08:00:25]OFD Sender: No OFD packet to send [08:00:30]OFD Sender: No OFD packet to send [08:00:35]OFD Sender: No OFD packet to send [08:00:40]OFD Sender: No OFD packet to send [08:00:45]OFD Sender: No OFD packet to send [08:00:50]OFD Sender: No OFD packet to send [08:00:55]OFD Sender: No OFD packet to send [08:01:00]OFD Sender: No OFD packet to send [08:01:05]OFD Sender: No OFD packet to send [08:01:10]OFD Sender: No OFD packet to send [08:01:15]OFD Sender: No OFD packet to send [08:01:20]OFD Sender: No OFD packet to send [08:01:25]OFD Sender: No OFD packet to send [08:01:30]OFD Sender: No OFD packet to send [08:01:35]OFD Sender: No OFD packet to send [08:01:40]OFD Sender: No OFD packet to send [08:01:45]OFD Sender: No OFD packet to send [08:01:50]OFD Sender: No OFD packet to send [08:01:55]OFD Sender: No OFD packet to send [08:02:00]OFD Sender: No OFD packet to send [08:02:05]OFD Sender: No OFD packet to send [08:02:10]OFD Sender: No OFD packet to send [08:02:15]OFD Sender: No OFD packet to send [08:02:20]OFD Sender: No OFD packet to send [08:02:25]OFD Sender: No OFD packet to send [08:02:30]OFD Sender: No OFD packet to send [08:02:35]OFD Sender: No OFD packet to send [08:02:40]OFD Sender: No OFD packet to send [08:02:45]OFD Sender: No OFD packet to send [08:02:50]OFD Sender: No OFD packet to send [08:02:55]OFD Sender: No OFD packet to send [08:03:00]OFD Sender: No OFD packet to send [08:03:05]OFD Sender: No OFD packet to send [08:03:10]OFD Sender: No OFD packet to send [08:03:15]OFD Sender: No OFD packet to send [08:03:20]OFD Sender: No OFD packet to send [08:03:25]OFD Sender: No OFD packet to send [08:03:30]OFD Sender: No OFD packet to send [08:03:35]OFD Sender: No OFD packet to send [08:03:40]OFD Sender: No OFD packet to send [08:03:45]OFD Sender: No OFD packet to send [08:03:49]accept exits with 8 [08:03:49]New connection [08:03:49]New thread 3067129188 created [08:03:49]Thread 3067272548 joined [08:03:49]Waiting for new connection... [08:03:49] Sock 8.Parse request [08:03:49]Sock 8.Check first char [08:03:49]Sock 8.First char is OK [08:03:49]request: POST /json_proto HTTP/1.0 [08:03:49]Method: POST [08:03:49]URL: /json_proto [08:03:49]Method is POST - this is cgi request [08:03:49]url: /json_proto [08:03:49]query_string will be loaded in cgi processing [08:03:49]execute_cgi json_proto POST (null) [08:03:49]execute_cgi path=json_proto method=POST [08:03:49]POST find Content-Length [08:03:49]Host: 172.17.39.4:8080 [08:03:49]Content-Length: 775 [08:03:49]Content-Type: application/json [08:03:49] [08:03:49]POST finish read [08:03:49]Found Content-Length = 775 [08:03:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855164", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 10.410, "sum" : 700.59, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:03:49]execute_script... [08:03: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)855164", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 10.410, "sum" : 700.59, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:03:49]POST & json_proto [08:03:49]process_json_proto [08:03:49]json parsed OK: [08:03:49]protocol is kg_v1.0 [08:03:49]action value=close_receipt [08:03:49]process_action close_receipt [08:03:49]cmd_close_receipt [08:03:49]MH_GetDate [08:03:49]Write to MH i2c: F0 00 00 6D 36 92 [08:03:49]Write i2c OK [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: F0 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: F0 09 00 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: F0 09 00 6D 36 00 6C 86 93 66 2D 25 5D 64 99 [08:03:49]GetLastDocTimeStamp 1720943908 [08:03:49]current date 1720944236 [08:03:49]FM_GetShiftState [08:03:49]SAM_PROTO_GetShiftState [08:03:49]wFMCommunicate request_size=4 [08:03:49]MH_SAM_APDU [08:03:49]CAPDU: 80 13 01 00 [08:03:49]Write to MH i2c: E2 08 00 6E 36 80 13 01 00 00 00 00 00 21 [08:03:49]Write i2c OK [08:03:49]MH_I2C_Read... [08:03:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:03:49]Read from MH i2c: E2 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 0E 00 [08:03:49]MH_I2C_Read... [08:03:49]Read from MH i2c: E2 0E 00 6E 36 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C8 [08:03:49]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [08:03:49]wFMCommunicate OK [08:03:49]SAM_PROTO_GetShiftState done [08:03:49]FM_GetShiftState done [08:03:49]opened in 1720917126 [08:03:49]opened+sec_in_day 1721003526 [08:03:49]quantity*price = 70059 [08:03:49]sum+1 = 70060 [08:03:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.59 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.40 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 42 14.07.2024 08:03 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57025 ФПД: 116384053350412 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T080356&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57025&fm=116384053350412&tin=02508201610067®Number=0000000000091208&sum=70000 [08:03:50]StoreToDocumentArchive [08:03:50]shift 496 fd 57025 [08:03:50]save to /storage/0496/doc_00057025 [08:03:50]save last doc name /storage/0496/doc_00057025 to /storage/kkm_last_doc_name [08:03:50]save OK [08:03:50]Clear old archive folders... [08:03:50]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:03:50]tlvbuf is 01D28080 [08:03:50]SAM_PROTO_ClearQueue [08:03:50]wFMCommunicate request_size=4 [08:03:50]MH_SAM_APDU [08:03:50]CAPDU: 80 09 00 00 [08:03:50]Write to MH i2c: E2 08 00 7B 36 80 09 00 00 00 00 00 00 23 [08:03:50]Write i2c OK [08:03:50]MH_I2C_Read... [08:03:50]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:03:50]Read from MH i2c: E2 [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: E2 03 00 [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: E2 03 00 7B 36 00 90 00 25 [08:03:50]RAPDU: 90 00 [08:03:50]wFMCommunicate OK [08:03:50]SAM_PROTO_ClearQueue done [08:03:50]KKMCreateOFDPacket [08:03:50]OFDProtocolAddRootSTLVToBuf [08:03:50]FM_MakeSignedData [08:03:50]FM_MakeSignedData [08:03:50]SAM_PROTO_SignData [08:03:50]wFMCommunicate request_size=4 [08:03:50]MH_SAM_APDU [08:03:50]CAPDU: 80 0D 01 02 [08:03:50]Write to MH i2c: E2 08 00 7C 36 80 0D 01 02 00 00 00 00 2B [08:03:50]Write i2c OK [08:03:50]MH_I2C_Read... [08:03:50]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:03:50]Read from MH i2c: E2 [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: E2 03 00 [08:03:50]MH_I2C_Read... [08:03:50]Read from MH i2c: E2 03 00 7C 36 00 90 00 26 [08:03:50]RAPDU: 90 00 [08:03:50]wFMCommunicate OK [08:03:50]wFMCommunicate request_size=255 [08:03:50]MH_SAM_APDU [08:03:50]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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 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 10 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 2A 00 00 00 F4 03 04 00 6C 86 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C1 DE 00 00 35 04 06 00 [08:03:50]Write to MH i2c: E2 02 01 7D 36 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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 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 10 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 2A 00 00 00 F4 03 04 00 6C 86 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C1 DE 00 00 35 04 06 00 00 00 0B [08:03:50]Write i2c OK [08:03:50]MH_I2C_Read... [08:03:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:03:51]Read from MH i2c: E2 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 03 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 03 00 7D 36 00 90 00 27 [08:03:51]RAPDU: 90 00 [08:03:51]wFMCommunicate OK [08:03:51]wFMCommunicate request_size=11 [08:03:51]MH_SAM_APDU [08:03:51]CAPDU: 80 0D 02 02 06 69 D9 C6 28 50 0C [08:03:51]Write to MH i2c: E2 0E 00 7E 36 80 0D 02 02 06 00 69 D9 C6 28 50 0C 00 00 C6 [08:03:51]Write i2c OK [08:03:51]MH_I2C_Read... [08:03:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:03:51]Read from MH i2c: E2 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 03 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 03 00 7E 36 00 90 00 28 [08:03:51]RAPDU: 90 00 [08:03:51]wFMCommunicate OK [08:03:51]wFMCommunicate request_size=4 [08:03:51]MH_SAM_APDU [08:03:51]CAPDU: 80 0D 03 02 [08:03:51]Write to MH i2c: E2 08 00 7F 36 80 0D 03 02 00 00 00 00 30 [08:03:51]Write i2c OK [08:03:51]MH_I2C_Read... [08:03:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:03:51]Read from MH i2c: E2 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 0B 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 0B 00 7F 36 00 11 5F A8 62 D0 0D 15 DA 90 00 77 [08:03:51]RAPDU: 11 5F A8 62 D0 0D 15 DA 90 00 [08:03:51]wFMCommunicate OK [08:03:51]SAM_PROTO_SignData done [08:03:51]FM_MakeSignedData done [08:03:51]CreateOFDProtocolMessage [08:03:51]wFMCommunicate request_size=4 [08:03:51]MH_SAM_APDU [08:03:51]CAPDU: 80 11 00 00 [08:03:51]Write to MH i2c: E2 08 00 80 36 80 11 00 00 00 00 00 00 30 [08:03:51]Write i2c OK [08:03:51]MH_I2C_Read... [08:03:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:03:51]Read from MH i2c: E2 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 17 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: E2 17 00 80 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8A [08:03:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:03:51]wFMCommunicate OK [08:03:51]CreateOFDProtocolMessage done [08:03:51]OFDSenderStorePacket 57025 [08:03:51]StoreOFDPacket docnum=57025 [08:03:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 01 00 00 EE 9C 08 01 05 5A 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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 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 10 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 2A 00 00 00 F4 03 04 00 6C 86 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C1 DE 00 00 35 04 06 00 69 D9 C6 28 50 0C 11 5F A8 62 D0 0D 15 DA [08:03:51]CheckFolder [08:03:51]dirname=/storage/ofd_packets [08:03:51]CheckFolder done [08:03:51]ProducePacketName [08:03:51]name=ofd_packets/00057025 [08:03:51]NVStorageSaveData ofd_packets/00057025 [08:03:51]File name is /storage/ofd_packets/00057025 [08:03:51]Write 302 bytes [08:03:51]NVStorageSaveData done [08:03:51]OFDSenderStorePacket done [08:03:51]KKMCreateOFDPacket done [08:03:51]NVStorageSaveData kkm_last_timestamp [08:03:51]File name is /storage/kkm_last_timestamp [08:03:51]Write 4 bytes [08:03:51]NVStorageSaveData done [08:03:51]ExternCall_PrintAddStr [08:03:51]wPrintStart [08:03:51]Write to MH i2c: 01 00 00 81 36 B7 [08:03:51]Write i2c OK [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: 01 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: 01 07 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: 01 07 00 81 36 00 00 00 00 00 FF 0F CC [08:03:51]RasterBufferAndPrint [08:03:51]line Счет N : (1)855164 [08:03:51]line ИНН: 02508201610067 [08:03:51]line Контрольно-Кассовый Чек [08:03:51]line ПРОДАЖА [08:03:51]line ТРК (МРК, ГНК) : 32 [08:03:51]line Товар: 2710124130 [08:03:51]line SUPER 92-К-5 [08:03:51]line 10.410 * 67.30 [08:03:51]line = 700.59 [08:03:51]line НДС 12% НСП 1% [08:03:51]line > о реализуемом товаре [08:03:51]line ОКРУГЛЕНИЕ: -0.59 [08:03:51]line ИТОГО: 700.00 [08:03:51]line Внесено: 700.00 [08:03:51]line СДАЧА: 0.00 [08:03:51]line НСП 1% : 6.20 [08:03:51]line НДС 12% : 74.40 [08:03:51]line Наличными: 700.00 [08:03:51]line Безнал.: 0.00 [08:03:51]line Место: АЗС № 132 "Партнер Нефть" [08:03:51]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:03:51]line СНО: Общий режим [08:03:51]line Чек 42 14.07.2024 08:03 [08:03:51]line Смена: 496 ФФД: 1.0 [08:03:51]line ЗНМ: 0300000132 [08:03:51]line РНМ: 0000000000091208 [08:03:51]line Версия ККМ: 001 [08:03:51]line ФМ: 0000000000874857 [08:03:51]line ФД: 57025 [08:03:51]line ФПД: 116384053350412 [08:03:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T080356&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57025&fm=116384053350412&tin=02508201610067®Number=0000000000091208&sum=70000 [08:03:51]OFD Sender: Processing packet 57025 [packets to send 38, broken 37] [08:03:51]ProducePacketName [08:03:51]name=ofd_packets/00057025 [08:03:51]OFD Sender: To server: pG, [08:03:51]CommunicateWithHost lk.salyk.kg:30040 [08:03:51]ConnectInit lk.salyk.kg [08:03:51]written 0, free lines is 4095 [08:03:51]Connected sock=10 [08:03:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 01 00 00 EE 9C 08 01 05 5A 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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 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 10 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 2A 00 00 00 F4 03 04 00 6C 86 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C1 DE 00 00 35 04 06 00 69 D9 C6 28 50 0C 11 5F A8 62 D0 0D 15 DA [08:03:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 00 9E 47 00 11 B1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C1 DE 00 00 F4 03 04 00 BE 2C 93 66 B6 04 01 00 00 70 20 11 E2 6F A4 5A 6C [08:03:51]CommunicateWithHost err = 0 [08:03:51]CheckOFDResponse [08:03:51]1017 (14) - 77093643461234 [08:03:51]1041 (16) - 0000000000874857 [08:03:51]1040 (4) - 57025 [08:03:51]1012 (4) - 14.07.2024 01:41 [08:03:51]1206 (1) - 0 [08:03:51]OFD Sender: Remove packet 57025 [08:03:51]ProducePacketName [08:03:51]name=ofd_packets/00057025 [08:03:51]NVStorageDeleteData [08:03:51]Write to MH i2c: 01 00 00 AC 36 E2 [08:03:51]Write i2c OK [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: 01 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: 01 07 00 [08:03:51]MH_I2C_Read... [08:03:51]Read from MH i2c: 01 07 00 AC 36 00 00 00 00 00 DD 0C D2 [08:03:51]RasterBufferAndPrint [08:03:51]line [08:03:51]line [08:03:51]line [08:03:51]line [08:03:51]line [08:03:51]written 0, free lines is 3299 [08:03:52]MH_Cut [08:03:52]Write to MH i2c: D1 01 00 B3 36 01 BB [08:03:52]Write i2c OK [08:03:52]MH_I2C_Read... [08:03:52]Read from MH i2c: D1 [08:03:52]MH_I2C_Read... [08:03:52]Read from MH i2c: D1 01 00 [08:03:52]MH_I2C_Read... [08:03:52]Read from MH i2c: D1 01 00 B3 36 00 BA [08:03:52]Write to MH i2c: 01 00 00 B4 36 EA [08:03:52]Write i2c OK [08:03:52]MH_I2C_Read... [08:03:52]OFD Sender: No OFD packet to send [08:03:52]*** Cut start [08:03:52]*** Partial cut [08:03:52]*** CUTSNS_PIN = 1 [08:03:52]*** CUTSNS_PIN = 0 [08:03:53]*** Brake cut motor [08:03:53]Read from MH i2c: 01 [08:03:53]MH_I2C_Read... [08:03:53]*** Stop cut motor [08:03:53]*** Cut end [08:03:53]Read from MH i2c: 01 07 00 [08:03:53]MH_I2C_Read... [08:03:53]Read from MH i2c: 01 07 00 B4 36 00 00 00 00 00 FF 0F FF [08:03:53]process_action close_receipt done [08:03:53]requested_data is exist [08:03:53]produce_requested_data [08:03:53]requested_item fm.sn is exist - process it [08:03:53]wFMCommunicate request_size=4 [08:03:53]MH_SAM_APDU [08:03:53]CAPDU: 80 11 00 00 [08:03:53]Write to MH i2c: E2 08 00 B5 36 80 11 00 00 00 00 00 00 65 [08:03:53]Write i2c OK [08:03:53]MH_I2C_Read... [08:03:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:03:53]Read from MH i2c: E2 [08:03:53]MH_I2C_Read... [08:03:53]Read from MH i2c: E2 17 00 [08:03:53]MH_I2C_Read... [08:03:53]Read from MH i2c: E2 17 00 B5 36 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BF [08:03:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:03:53]wFMCommunicate OK [08:03:53]requested_item fd.num is exist - process it [08:03:53]SAM_PROTO_GetFieldsCounters [08:03:53]wFMCommunicate request_size=4 [08:03:53]MH_SAM_APDU [08:03:53]CAPDU: 80 13 00 00 [08:03:53]Write to MH i2c: E2 08 00 B6 36 80 13 00 00 00 00 00 00 68 [08:03:53]Write i2c OK [08:03:53]MH_I2C_Read... [08:03:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:03:53]Read from MH i2c: E2 [08:03:53]MH_I2C_Read... [08:03:53]Read from MH i2c: E2 62 00 [08:03:53]MH_I2C_Read... [08:03:53]Read from MH i2c: E2 62 00 B6 36 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C1 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 99 [08:03:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C1 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2A 00 00 00 5E 04 04 00 2A 00 00 00 57 04 04 00 2B 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:03:53]wFMCommunicate OK [08:03:53]SAM_PROTO_GetFieldsCounters done [08:03:53]requested_item shift.num is exist - process it [08:03:53]requested_item shift.opened is exist - process it [08:03:53]req_shift_opened [08:03:53]FM_GetShiftState [08:03:53]SAM_PROTO_GetShiftState [08:03:53]wFMCommunicate request_size=4 [08:03:53]MH_SAM_APDU [08:03:53]CAPDU: 80 13 01 00 [08:03:53]Write to MH i2c: E2 08 00 B7 36 80 13 01 00 00 00 00 00 6A [08:03:53]Write i2c OK [08:03:53]MH_I2C_Read... [08:03:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:03:53]Read from MH i2c: E2 [08:03:53]MH_I2C_Read... [08:03:53]Read from MH i2c: E2 0E 00 [08:03:53]MH_I2C_Read... [08:03:53]Read from MH i2c: E2 0E 00 B7 36 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 11 [08:03:53]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [08:03:53]wFMCommunicate OK [08:03:53]SAM_PROTO_GetShiftState done [08:03:53]FM_GetShiftState done [08:03:53]req_shift_opened done [08:03:53]requested_item shift.open_date is exist - process it [08:03:53]req_shift_open_date [08:03:53]req_shift_open_date done [08:03:53]requested_item shift.sale.total is exist - process it [08:03:53]SAM_PROTO_GetShiftData [08:03:53]wFMCommunicate request_size=4 [08:03:53]MH_SAM_APDU [08:03:53]CAPDU: 80 13 02 00 [08:03:53]Write to MH i2c: E2 08 00 B8 36 80 13 02 00 00 00 00 00 6C [08:03:53]Write i2c OK [08:03:53]MH_I2C_Read... [08:03:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:03:54]Read from MH i2c: E2 [08:03:54]MH_I2C_Read... [08:03:54]Read from MH i2c: E2 FD 00 [08:03:54]MH_I2C_Read... [08:03:54]Read from MH i2c: E2 FD 00 B8 36 00 BB 04 AA 04 B7 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 9C E0 19 70 04 03 00 B4 58 16 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 81 BF 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 99 3A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 75 [08:03:54]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 2A 00 00 00 69 04 9B 00 6F 04 04 00 28 00 00 00 B1 04 03 00 9C E0 19 70 04 03 00 B4 58 16 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 81 BF 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 99 3A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [08:03:54]wFMCommunicate OK [08:03:54]wFMCommunicate request_size=4 [08:03:54]MH_SAM_APDU [08:03:54]CAPDU: 80 17 00 00 [08:03:54]Write to MH i2c: E2 08 00 B9 36 80 17 00 00 00 00 00 00 6F [08:03:54]Write i2c OK [08:03:54]MH_I2C_Read... [08:03:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:03:54]Read from MH i2c: E2 [08:03:54]MH_I2C_Read... [08:03:54]Read from MH i2c: E2 FD 00 [08:03:54]MH_I2C_Read... [08:03:54]Read from MH i2c: E2 FD 00 B9 36 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 02 [08:03:54]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:03:54]wFMCommunicate OK [08:03:54]wFMCommunicate request_size=4 [08:03:54]MH_SAM_APDU [08:03:54]CAPDU: 80 17 00 00 [08:03:54]Write to MH i2c: E2 08 00 BA 36 80 17 00 00 00 00 00 00 70 [08:03:54]Write i2c OK [08:03:54]MH_I2C_Read... [08:03:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:03:54]Read from MH i2c: E2 [08:03:54]MH_I2C_Read... [08:03:54]Read from MH i2c: E2 FD 00 [08:03:54]MH_I2C_Read... [08:03:54]Read from MH i2c: E2 FD 00 BA 36 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9C [08:03:54]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:03:54]wFMCommunicate OK [08:03:54]wFMCommunicate request_size=4 [08:03:54]MH_SAM_APDU [08:03:54]CAPDU: 80 17 00 00 [08:03:54]Write to MH i2c: E2 08 00 BB 36 80 17 00 00 00 00 00 00 71 [08:03:54]Write i2c OK [08:03:54]MH_I2C_Read... [08:03:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:03:54]Read from MH i2c: E2 [08:03:54]MH_I2C_Read... [08:03:54]Read from MH i2c: E2 FD 00 [08:03:54]MH_I2C_Read... [08:03:54]Read from MH i2c: E2 FD 00 BB 36 00 00 00 EF 03 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 90 00 E6 [08:03:55]RAPDU: 00 00 EF 03 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 90 00 [08:03:55]wFMCommunicate OK [08:03:55]wFMCommunicate request_size=4 [08:03:55]MH_SAM_APDU [08:03:55]CAPDU: 80 17 00 00 [08:03:55]Write to MH i2c: E2 08 00 BC 36 80 17 00 00 00 00 00 00 72 [08:03:55]Write i2c OK [08:03:55]MH_I2C_Read... [08:03:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [08:03:55]Read from MH i2c: E2 [08:03:55]MH_I2C_Read... [08:03:55]Read from MH i2c: E2 D8 00 [08:03:55]MH_I2C_Read... [08:03:55]Read from MH i2c: E2 D8 00 BC 36 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 59 [08:03:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:03:55]wFMCommunicate OK [08:03:55]SAM_PROTO_GetShiftData done [08:03:55]requested_item shift.sale.total_cash is exist - process it [08:03:55]requested_item shift.sale_refund.total is exist - process it [08:03:55]requested_item shift.sale_refund.total_cash is exist - process it [08:03:55]produce_requested_data done [08:03:55]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57025,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":16959.00,"shift.sale.total_cash":14645.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [08:03:55]process_action_free close_receipt [08:03:55]json_value_free [08:03:55]json_value_free done [08:03:55]process_json_proto returns [08:03:55]Send response to host [08:03:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57025,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":16959.00,"shift.sale.total_cash":14645.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [08:03:55]free response buf [08:03:55]execute_script done [08:03:55]execute_script returns [08:03:55]free content buf [08:03:55]Sock 8.Close socket [08:03:55]Sock 8.Thread stoped [08:03:57]OFD Sender: No OFD packet to send [08:04:02]OFD Sender: No OFD packet to send [08:04:07]OFD Sender: No OFD packet to send [08:04:12]OFD Sender: No OFD packet to send [08:04:17]OFD Sender: No OFD packet to send [08:04:22]OFD Sender: No OFD packet to send [08:04:27]OFD Sender: No OFD packet to send [08:04:32]OFD Sender: No OFD packet to send [08:04:37]OFD Sender: No OFD packet to send [08:04:42]OFD Sender: No OFD packet to send [08:04:47]OFD Sender: No OFD packet to send [08:04:52]OFD Sender: No OFD packet to send [08:04:57]OFD Sender: No OFD packet to send [08:05:02]OFD Sender: No OFD packet to send [08:05:07]OFD Sender: No OFD packet to send [08:05:12]OFD Sender: No OFD packet to send [08:05:17]OFD Sender: No OFD packet to send [08:05:22]OFD Sender: No OFD packet to send [08:05:27]OFD Sender: No OFD packet to send [08:05:32]OFD Sender: No OFD packet to send [08:05:37]OFD Sender: No OFD packet to send [08:05:42]OFD Sender: No OFD packet to send [08:05:47]OFD Sender: No OFD packet to send [08:05:52]OFD Sender: No OFD packet to send [08:05:57]OFD Sender: No OFD packet to send [00:00:09] *** EcrCore started. Build 196 *** [00:00:09]/dev/ttyS4 opened [00:00:09]MH_InterfaceInit /dev/i2c-1 [00:00:09]Malloc ok [00:00:09]MH_GetMetrics [00:00:09]Write to MH i2c: 00 00 00 01 00 00 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 73 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 18 [00:00:09]Are we in boot? [00:00:09]We are in boot - try to switch [00:00:09]Write to MH i2c: A0 00 00 02 00 A1 [00:00:09]Write i2c OK [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 [00:00:09]MH_I2C_Read... [00:00:09]Read from MH i2c: A0 01 00 [00:00:09]MH_I2C_Read... [00:00:09]*** Check firmware version 30620, crc_r 49A1A6DB, crc_c: 49A1A6DB, size: 53248 [00:00:09]*** [00:00:09]Read from MH i2c: A0 01 00 02 00 00 A2 [00:00:09]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:09]*** Waiting for read because exit forced [00:00:09]*** 10 ms more... [00:00:09]*** MH1903S init start (LINUX_LIGHT) [00:00:09]*** Compilation Date Jun 20 2023 Time 12:36:20 [00:00:09]*** Serial: 3139303353513838 5400000000572573 (1903SQ88T) [00:00:09]*** User serial: FFFFFFFFFFFFFFFF FFFFFFFFFFFFFFFF () [00:00:09]*** step 0: 5000 (2650, 2350 REF) [00:00:09]*** step 1: 4835 (2500, 2335 REF) [00:00:09]*** step 2: 4676 (2440, 2236 REF) [00:00:09]*** step 3: 4523 (2280, 2243 REF) [00:00:09]*** step 4: 4376 (2160, 2216 REF) [00:00:09]*** step 5: 4235 (2050, 2185 REF) [00:00:09]*** step 6: 4098 (1950, 2148 REF) [00:00:09]*** step 7: 3967 (1870, 2097 REF) [00:00:09]*** step 8: 3840 (1828, 2012 REF) [00:00:09]*** step 9: 3719 (1728, 1991 REF) [00:00:09]*** step 10: 3601 (1675, 1926 REF) [00:00:09]*** step 11: 3488 (1635, 1853 REF) [00:00:09]*** step 12: 3379 (1595, 1784 REF) [00:00:09]*** step 13: 3275 (1565, 1710 REF) [00:00:09]*** step 14: 3174 (1543, 1631 REF) [00:00:09]*** step 15: 3077 (1523, 1554 REF) [00:00:09]*** step 16: 2983 (1503, 1480 REF) [00:00:09]*** step 17: 2893 (1486, 1407 REF) [00:00:09]*** step 18: 2806 (1466, 1340 REF) [00:00:09]*** step 19: 2723 (1426, 1297 REF) [00:00:09]*** step 20: 2642 (1406, 1236 REF) [00:00:09]*** step 21: 2565 (1384, 1181 REF) [00:00:09]*** step 22: 2490 (1364, 1126 REF) [00:00:09]*** step 23: 2418 (1344, 1074 REF) [00:00:09]*** step 24: 2349 (1322, 1027 REF) [00:00:09]*** step 25: 2283 (1302, 981 REF) [00:00:09]*** step 26: 2218 (1282, 936 REF) [00:00:09]*** step 27: 2157 (1262, 895 REF) [00:00:09]*** step 28: 2097 (1242, 855 REF) [00:00:09]*** step 29: 2040 (1222, 818 REF) [00:00:09]*** step 30: 1985 (1202, 783 REF) [00:00:09]*** step 31: 1932 (1191, 741 REF) [00:00:09]*** step 32: 1880 (1181, 699 REF) [00:00:09]*** step 33: 1831 (1171, 660 REF) [00:00:09]*** step 34: 1784 (1161, 623 REF) [00:00:09]*** step 35: 1738 (1151, 587 REF) [00:00:09]*** step 36: 1694 (1141, 553 REF) [00:00:09]*** step 37: 1652 (1131, 521 REF) [00:00:09]*** step 38: 1611 (1121, 490 REF) [00:00:09]*** step 39: 1572 (1111, 461 REF) [00:00:09]*** step 40: 1534 (1103, 431 REF) [00:00:09]*** step 41: 1497 (1093, 404 REF) [00:00:09]*** step 42: 1462 (1083, 379 REF) [00:00:09]*** step 43: 1428 (1073, 355 REF) [00:00:09]*** step 44: 1396 (1063, 333 REF) [00:00:09]*** step 45: 1365 (1053, 312 REF) [00:00:09]*** step 46: 1334 (1043, 291 REF) [00:00:09]*** step 47: 1305 (1033, 272 REF) [00:00:09]*** step 48: 1277 (1023, 254 REF) [00:00:09]*** step 49: 1250 (1013, 237 REF) [00:00:09]*** step 50: 1224 (990, 234 REF) [00:00:09]*** step 51: 1199 (980, 219 REF) [00:00:09]*** step 52: 1175 (970, 205 REF) [00:00:09]*** step 53: 1152 (960, 192 REF) [00:00:09]*** step 54: 1130 (950, 180 REF) [00:00:09]*** step 55: 1108 (940, 168 REF) [00:00:09]*** step 56: 1088 (930, 158 REF) [00:00:09]*** step 57: 1068 (920, 148 REF) [00:00:09]*** step 58: 1049 (910, 139 REF) [00:00:09]*** step 59: 1030 (900, 130 REF) [00:00:09]*** step 60: 1012 (890, 122 REF) [00:00:09]*** step 61: 995 (880, 115 REF) [00:00:09]*** step 62: 979 (870, 109 REF) [00:00:09]*** step 63: 963 (860, 103 REF) [00:00:09]*** step 64: 948 (850, 98 REF) [00:00:09]*** step 65: 933 (840, 93 REF) [00:00:09]*** step 66: 919 (830, 89 REF) [00:00:09]*** step 67: 905 (820, 85 REF) [00:00:09]*** step 68: 892 (810, 82 REF) [00:00:09]*** step 69: 879 (800, 79 REF) [00:00:09]*** step 70: 867 (790, 77 REF) [00:00:09]*** step 71: 855 (780, 75 REF) [00:00:09]*** step 72: 844 (770, 74 REF) [00:00:09]*** step 73: 833 (760, 73 REF) [00:00:09]*** step 74: 822 (750, 72 REF) [00:00:09]*** step 75: 812 (740, 72 REF) [00:00:09]*** step 76: 803 (730, 73 REF) [00:00:09]*** step 77: 793 (720, 73 REF) [00:00:09]*** step 78: 784 (710, 74 REF) [00:00:09]*** step 79: 776 (700, 76 REF) [00:00:09]*** step 80: 767 (690, 77 REF) [00:00:09]*** step 81: 759 (680, 79 REF) [00:00:09]*** step 82: 751 (670, 81 REF) [00:00:09]*** step 83: 744 (660, 84 REF) [00:00:09]*** step 84: 737 (650, 87 REF) [00:00:09]*** step 85: 730 (640, 90 REF) [00:00:09]*** step 86: 723 (630, 93 REF) [00:00:09]*** step 87: 717 (620, 97 REF) [00:00:09]*** step 88: 710 (610, 100 REF) [00:00:09]*** step 89: 705 (600, 105 REF) [00:00:09]*** step 90: 699 [00:00:09]*** step 91: 693 [00:00:09]*** step 92: 688 [00:00:09]*** step 93: 683 [00:00:09]*** step 94: 678 [00:00:09]*** step 95: 673 [00:00:09]*** step 96: 669 [00:00:09]*** step 97: 664 [00:00:09]*** step 98: 660 [00:00:09]*** step 99: 656 [00:00:09]*** step 100: 652 [00:00:09]*** step 101: 648 [00:00:09]*** step 102: 644 [00:00:09]*** step 103: 641 [00:00:09]*** step 104: 638 [00:00:09]*** step 105: 634 [00:00:09]*** step 106: 631 [00:00:09]*** step 107: 628 [00:00:09]*** step 108: 625 [00:00:09]*** step 109: 622 [00:00:09]*** step 110: 620 [00:00:09]*** step 111: 617 [00:00:09]*** step 112: 615 [00:00:09]*** step 113: 612 [00:00:09]*** step 114: 610 [00:00:09]*** step 115: 608 [00:00:09]*** step 116: 605 [00:00:09]*** step 117: 603 [00:00:09]*** step 118: 601 [00:00:09]*** step 119: 599 [00:00:09]*** printer: Printer HW initialized [00:00:09]*** initSamCard finished [00:00:09]*** RTC: 37118417+1683825965=1720944382 [00:00:09]*** BPK Status Register BPK_RDY = 0x0 [00:00:09]*** SEN State Register SEN_STATE = 0x200ff [00:00:09]*** 32K Frequency Sensor Enable SEN_XTAL32_EN = 0x80000055 [00:00:09]*** Analog Control Register 0 SEN_ANA0 = 0x33530623 [00:00:09]*** Is cutter blocked? [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 03 00 02 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 03 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 73 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 19 [00:00:10]Are we in boot? [00:00:10]We are not in boot now [00:00:10]Write to MH i2c: 01 00 00 04 00 04 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 01 07 00 04 00 00 00 00 00 00 FF 0F 19 [00:00:10]Model is 3 [00:00:10]MH firmware is 30620 [00:00:10]MH boot firmware is 3 [00:00:10]MH_SetPrinterDots 448 [00:00:10]HeadWidthInBytes 56 [00:00:10]maxmasksize 7 [00:00:10]Write to MH i2c: D6 06 00 05 00 41 00 40 00 FF FF 5F [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D6 01 00 05 00 00 DB [00:00:10]Write to MH i2c: D5 00 00 06 00 DA [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: D5 01 00 06 00 00 DB [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]LoadDictionaryFromArray [00:00:10]Load OK [00:00:10]ExternCall_SetCallbacks [00:00:10]NVStorageInit [00:00:10]MH_GetDate [00:00:10]Write to MH i2c: F0 00 00 07 00 F6 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: F0 09 00 07 00 00 FF 86 93 66 2D 25 5D 64 90 [08:06:23]Current date/time: 14.07.2024 08:06 [08:06:23]FM_Init [08:06:23]wFMConnect [08:06:23]MH_SAM_On [08:06:23]Write to MH i2c: E0 00 00 08 00 E7 [08:06:23]Write i2c OK [08:06:23]MH_I2C_Read... [08:06:23]*** iso7816_init finished! [08:06:23]*** atr: [08:06:23]*** 0F 3B D5 18 FF 81 91 FE [08:06:23]*** 1F C3 80 73 C8 21 10 0A [08:06:23]*** 00 00 00 00 00 00 00 00 [08:06:23]*** 00 00 00 00 00 00 00 00 [08:06:23]*** 00 00 00 00 00 00 00 00 [08:06:23]*** 00 00 00 00 00 00 00 00 [08:06:23]*** 00 00 00 00 00 00 00 00 [08:06:23]*** 00 00 00 00 00 00 00 00 [08:06:23]Read from MH i2c: E0 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E0 10 00 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E0 10 00 08 00 00 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A 06 [08:06:23]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [08:06:23]wFMCommunicate request_size=10 [08:06:23]MH_SAM_APDU [08:06:23]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [08:06:23]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [08:06:23]Write i2c OK [08:06:23]MH_I2C_Read... [08:06:23]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [08:06:23]Read from MH i2c: E2 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 03 00 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [08:06:23]RAPDU: 90 00 [08:06:23]wFMCommunicate OK [08:06:23]wFMCommunicate request_size=4 [08:06:23]MH_SAM_APDU [08:06:23]CAPDU: 80 11 00 00 [08:06:23]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [08:06:23]Write i2c OK [08:06:23]MH_I2C_Read... [08:06:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:06:23]Read from MH i2c: E2 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 17 00 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DE [08:06:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:06:23]wFMCommunicate OK [08:06:23]Detected FM SN is 0000000000874857 [08:06:23]Stored FM SN is 0000000000874857 [08:06:23]wFMCommunicate request_size=9 [08:06:23]MH_SAM_APDU [08:06:23]CAPDU: 80 16 00 00 04 4B 69 00 00 [08:06:23]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 4B 69 00 00 00 00 46 [08:06:23]Write i2c OK [08:06:23]MH_I2C_Read... [08:06:23]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [08:06:23]Read from MH i2c: E2 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 03 00 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [08:06:23]RAPDU: 90 00 [08:06:23]wFMCommunicate OK [08:06:23]FM PIN OK [08:06:23]wFMCommunicate request_size=8 [08:06:23]MH_SAM_APDU [08:06:23]CAPDU: 80 14 04 00 03 02 00 01 [08:06:23]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [08:06:23]Write i2c OK [08:06:23]MH_I2C_Read... [08:06:23]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [08:06:23]Read from MH i2c: E2 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 03 00 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [08:06:23]RAPDU: 90 00 [08:06:23]wFMCommunicate OK [08:06:23]wFMCommunicate request_size=13 [08:06:23]MH_SAM_APDU [08:06:23]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [08:06:23]Write to MH i2c: E2 10 00 0D 00 80 14 04 01 08 00 07 00 01 02 03 04 05 06 00 00 BB [08:06:23]Write i2c OK [08:06:23]MH_I2C_Read... [08:06:23]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [08:06:23]Read from MH i2c: E2 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 03 00 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [08:06:23]RAPDU: 90 00 [08:06:23]wFMCommunicate OK [08:06:23]wFMCommunicate request_size=4 [08:06:23]MH_SAM_APDU [08:06:23]CAPDU: 80 11 00 00 [08:06:23]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [08:06:23]Write i2c OK [08:06:23]MH_I2C_Read... [08:06:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:06:23]Read from MH i2c: E2 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 17 00 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E2 [08:06:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:06:23]wFMCommunicate OK [08:06:23]DocumentArchiveInit [08:06:23]Start Httpd... [08:06:23]Httpd thread 3067878756 created [08:06:23]Write to MH i2c: 01 00 00 0F 00 0F [08:06:23]Write i2c OK [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: 01 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: 01 07 00 [08:06:23]MH_I2C_Read... [08:06:23]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [08:06:23]MH Int Process started [08:06:23]Allocated Socket 8 [08:06:23]Bind OK [08:06:23]Listen OK [08:06:23]httpd running on port 8080 [08:06:23]Waiting for new connection... [08:06:23]OFD Sender: No OFD packet to send [08:06:28]OFD Sender: No OFD packet to send [08:06:33]OFD Sender: No OFD packet to send [08:06:38]OFD Sender: No OFD packet to send [08:06:43]OFD Sender: No OFD packet to send [08:06:48]OFD Sender: No OFD packet to send [08:06:53]OFD Sender: No OFD packet to send [08:06:58]OFD Sender: No OFD packet to send [08:07:03]OFD Sender: No OFD packet to send [08:07:08]OFD Sender: No OFD packet to send [08:07:13]OFD Sender: No OFD packet to send [08:07:18]OFD Sender: No OFD packet to send [08:07:23]OFD Sender: No OFD packet to send [08:07:28]OFD Sender: No OFD packet to send [08:07:33]OFD Sender: No OFD packet to send [08:07:38]OFD Sender: No OFD packet to send [08:07:43]OFD Sender: No OFD packet to send [08:07:48]OFD Sender: No OFD packet to send [08:07:53]OFD Sender: No OFD packet to send [08:07:58]OFD Sender: No OFD packet to send [08:08:03]OFD Sender: No OFD packet to send [08:08:08]OFD Sender: No OFD packet to send [08:08:13]OFD Sender: No OFD packet to send [08:08:18]OFD Sender: No OFD packet to send [08:08:23]OFD Sender: No OFD packet to send [08:08:28]OFD Sender: No OFD packet to send [08:08:33]OFD Sender: No OFD packet to send [08:08:38]OFD Sender: No OFD packet to send [08:08:43]OFD Sender: No OFD packet to send [08:08:48]OFD Sender: No OFD packet to send [08:08:53]OFD Sender: No OFD packet to send [08:08:58]OFD Sender: No OFD packet to send [08:09:03]OFD Sender: No OFD packet to send [08:09:08]OFD Sender: No OFD packet to send [08:09:13]OFD Sender: No OFD packet to send [08:09:18]OFD Sender: No OFD packet to send [08:09:23]OFD Sender: No OFD packet to send [08:09:28]OFD Sender: No OFD packet to send [08:09:33]OFD Sender: No OFD packet to send [08:09:38]OFD Sender: No OFD packet to send [08:09:43]OFD Sender: No OFD packet to send [08:09:48]OFD Sender: No OFD packet to send [08:09:53]OFD Sender: No OFD packet to send [08:09:58]OFD Sender: No OFD packet to send [08:10:03]OFD Sender: No OFD packet to send [08:10:08]OFD Sender: No OFD packet to send [08:10:13]OFD Sender: No OFD packet to send [08:10:18]OFD Sender: No OFD packet to send [08:10:23]OFD Sender: No OFD packet to send [08:10:28]OFD Sender: No OFD packet to send [08:10:33]OFD Sender: No OFD packet to send [08:10:38]OFD Sender: No OFD packet to send [08:10:43]OFD Sender: No OFD packet to send [08:10:48]OFD Sender: No OFD packet to send [08:10:53]OFD Sender: No OFD packet to send [08:10:58]OFD Sender: No OFD packet to send [08:11:03]OFD Sender: No OFD packet to send [08:11:08]OFD Sender: No OFD packet to send [08:11:13]OFD Sender: No OFD packet to send [08:11:18]OFD Sender: No OFD packet to send [08:11:23]OFD Sender: No OFD packet to send [08:11:28]OFD Sender: No OFD packet to send [08:11:33]OFD Sender: No OFD packet to send [08:11:38]OFD Sender: No OFD packet to send [08:11:43]OFD Sender: No OFD packet to send [08:11:48]OFD Sender: No OFD packet to send [08:11:53]OFD Sender: No OFD packet to send [08:11:58]OFD Sender: No OFD packet to send [08:12:03]OFD Sender: No OFD packet to send [08:12:08]OFD Sender: No OFD packet to send [08:12:13]OFD Sender: No OFD packet to send [08:12:18]OFD Sender: No OFD packet to send [08:12:23]OFD Sender: No OFD packet to send [08:12:28]OFD Sender: No OFD packet to send [08:12:33]OFD Sender: No OFD packet to send [08:12:38]OFD Sender: No OFD packet to send [08:12:43]OFD Sender: No OFD packet to send [08:12:48]OFD Sender: No OFD packet to send [08:12:53]OFD Sender: No OFD packet to send [08:12:58]OFD Sender: No OFD packet to send [08:13:03]OFD Sender: No OFD packet to send [08:13:08]OFD Sender: No OFD packet to send [08:13:13]OFD Sender: No OFD packet to send [08:13:18]OFD Sender: No OFD packet to send [08:13:23]OFD Sender: No OFD packet to send [08:13:28]OFD Sender: No OFD packet to send [08:13:33]OFD Sender: No OFD packet to send [08:13:38]OFD Sender: No OFD packet to send [08:13:43]OFD Sender: No OFD packet to send [08:13:48]OFD Sender: No OFD packet to send [08:13:53]OFD Sender: No OFD packet to send [08:13:58]OFD Sender: No OFD packet to send [08:14:03]OFD Sender: No OFD packet to send [08:14:08]OFD Sender: No OFD packet to send [08:14:13]OFD Sender: No OFD packet to send [08:14:18]OFD Sender: No OFD packet to send [08:14:23]OFD Sender: No OFD packet to send [08:14:28]OFD Sender: No OFD packet to send [08:14:33]OFD Sender: No OFD packet to send [08:14:38]OFD Sender: No OFD packet to send [08:14:43]OFD Sender: No OFD packet to send [08:14:48]OFD Sender: No OFD packet to send [08:14:53]OFD Sender: No OFD packet to send [08:14:58]OFD Sender: No OFD packet to send [08:15:03]OFD Sender: No OFD packet to send [08:15:08]OFD Sender: No OFD packet to send [08:15:13]OFD Sender: No OFD packet to send [08:15:18]OFD Sender: No OFD packet to send [08:15:23]OFD Sender: No OFD packet to send [08:15:28]OFD Sender: No OFD packet to send [08:15:33]OFD Sender: No OFD packet to send [08:15:38]OFD Sender: No OFD packet to send [08:15:43]OFD Sender: No OFD packet to send [08:15:48]OFD Sender: No OFD packet to send [08:15:53]OFD Sender: No OFD packet to send [08:15:59]OFD Sender: No OFD packet to send [08:16:04]OFD Sender: No OFD packet to send [08:16:09]OFD Sender: No OFD packet to send [08:16:14]OFD Sender: No OFD packet to send [08:16:19]OFD Sender: No OFD packet to send [08:16:24]OFD Sender: No OFD packet to send [08:16:29]OFD Sender: No OFD packet to send [08:16:34]OFD Sender: No OFD packet to send [08:16:39]OFD Sender: No OFD packet to send [08:16:44]OFD Sender: No OFD packet to send [08:16:49]OFD Sender: No OFD packet to send [08:16:54]OFD Sender: No OFD packet to send [08:16:59]OFD Sender: No OFD packet to send [08:17:04]OFD Sender: No OFD packet to send [08:17:09]OFD Sender: No OFD packet to send [08:17:14]OFD Sender: No OFD packet to send [08:17:19]OFD Sender: No OFD packet to send [08:17:24]OFD Sender: No OFD packet to send [08:17:29]OFD Sender: No OFD packet to send [08:17:34]OFD Sender: No OFD packet to send [08:17:39]OFD Sender: No OFD packet to send [08:17:44]OFD Sender: No OFD packet to send [08:17:49]OFD Sender: No OFD packet to send [08:17:54]OFD Sender: No OFD packet to send [08:17:59]OFD Sender: No OFD packet to send [08:18:04]OFD Sender: No OFD packet to send [08:18:09]OFD Sender: No OFD packet to send [08:18:14]OFD Sender: No OFD packet to send [08:18:19]OFD Sender: No OFD packet to send [08:18:24]OFD Sender: No OFD packet to send [08:18:29]OFD Sender: No OFD packet to send [08:18:34]OFD Sender: No OFD packet to send [08:18:39]OFD Sender: No OFD packet to send [08:18:44]OFD Sender: No OFD packet to send [08:18:49]OFD Sender: No OFD packet to send [08:18:54]OFD Sender: No OFD packet to send [08:18:59]OFD Sender: No OFD packet to send [08:19:04]OFD Sender: No OFD packet to send [08:19:09]OFD Sender: No OFD packet to send [08:19:14]OFD Sender: No OFD packet to send [08:19:19]OFD Sender: No OFD packet to send [08:19:24]OFD Sender: No OFD packet to send [08:19:29]OFD Sender: No OFD packet to send [08:19:34]OFD Sender: No OFD packet to send [08:19:39]OFD Sender: No OFD packet to send [08:19:44]OFD Sender: No OFD packet to send [08:19:49]OFD Sender: No OFD packet to send [08:19:54]OFD Sender: No OFD packet to send [08:19:59]OFD Sender: No OFD packet to send [08:20:04]OFD Sender: No OFD packet to send [08:20:09]OFD Sender: No OFD packet to send [08:20:14]OFD Sender: No OFD packet to send [08:20:19]OFD Sender: No OFD packet to send [08:20:24]OFD Sender: No OFD packet to send [08:20:29]OFD Sender: No OFD packet to send [08:20:34]OFD Sender: No OFD packet to send [08:20:39]OFD Sender: No OFD packet to send [08:20:44]OFD Sender: No OFD packet to send [08:20:49]OFD Sender: No OFD packet to send [08:20:54]OFD Sender: No OFD packet to send [08:20:59]OFD Sender: No OFD packet to send [08:21:04]OFD Sender: No OFD packet to send [08:21:09]OFD Sender: No OFD packet to send [08:21:14]OFD Sender: No OFD packet to send [08:21:19]OFD Sender: No OFD packet to send [08:21:24]OFD Sender: No OFD packet to send [08:21:29]OFD Sender: No OFD packet to send [08:21:34]OFD Sender: No OFD packet to send [08:21:39]OFD Sender: No OFD packet to send [08:21:44]OFD Sender: No OFD packet to send [08:21:49]OFD Sender: No OFD packet to send [08:21:54]OFD Sender: No OFD packet to send [08:21:59]OFD Sender: No OFD packet to send [08:22:04]OFD Sender: No OFD packet to send [08:22:09]OFD Sender: No OFD packet to send [08:22:14]OFD Sender: No OFD packet to send [08:22:19]OFD Sender: No OFD packet to send [08:22:24]OFD Sender: No OFD packet to send [08:22:29]OFD Sender: No OFD packet to send [08:22:34]OFD Sender: No OFD packet to send [08:22:39]OFD Sender: No OFD packet to send [08:22:44]OFD Sender: No OFD packet to send [08:22:49]OFD Sender: No OFD packet to send [08:22:54]OFD Sender: No OFD packet to send [08:22:59]OFD Sender: No OFD packet to send [08:23:04]OFD Sender: No OFD packet to send [08:23:09]OFD Sender: No OFD packet to send [08:23:14]OFD Sender: No OFD packet to send [08:23:19]OFD Sender: No OFD packet to send [08:23:24]OFD Sender: No OFD packet to send [08:23:29]OFD Sender: No OFD packet to send [08:23:34]OFD Sender: No OFD packet to send [08:23:39]OFD Sender: No OFD packet to send [08:23:44]OFD Sender: No OFD packet to send [08:23:49]OFD Sender: No OFD packet to send [08:23:54]OFD Sender: No OFD packet to send [08:23:59]OFD Sender: No OFD packet to send [08:24:04]OFD Sender: No OFD packet to send [08:24:09]OFD Sender: No OFD packet to send [08:24:14]OFD Sender: No OFD packet to send [08:24:19]OFD Sender: No OFD packet to send [08:24:24]OFD Sender: No OFD packet to send [08:24:29]OFD Sender: No OFD packet to send [08:24:34]OFD Sender: No OFD packet to send [08:24:39]OFD Sender: No OFD packet to send [08:24:44]OFD Sender: No OFD packet to send [08:24:49]OFD Sender: No OFD packet to send [08:24:54]OFD Sender: No OFD packet to send [08:24:59]OFD Sender: No OFD packet to send [08:25:04]OFD Sender: No OFD packet to send [08:25:09]OFD Sender: No OFD packet to send [08:25:14]OFD Sender: No OFD packet to send [08:25:19]OFD Sender: No OFD packet to send [08:25:24]OFD Sender: No OFD packet to send [08:25:29]OFD Sender: No OFD packet to send [08:25:34]OFD Sender: No OFD packet to send [08:25:39]OFD Sender: No OFD packet to send [08:25:44]OFD Sender: No OFD packet to send [08:25:49]OFD Sender: No OFD packet to send [08:25:54]OFD Sender: No OFD packet to send [08:25:59]OFD Sender: No OFD packet to send [08:26:04]OFD Sender: No OFD packet to send [08:26:09]OFD Sender: No OFD packet to send [08:26:14]OFD Sender: No OFD packet to send [08:26:19]OFD Sender: No OFD packet to send [08:26:24]OFD Sender: No OFD packet to send [08:26:29]OFD Sender: No OFD packet to send [08:26:34]OFD Sender: No OFD packet to send [08:26:39]OFD Sender: No OFD packet to send [08:26:44]OFD Sender: No OFD packet to send [08:26:49]OFD Sender: No OFD packet to send [08:26:53]accept exits with 9 [08:26:53]New connection [08:26:53]New thread 3067592036 created [08:26:53]Waiting for new connection... [08:26:53] Sock 9.Parse request [08:26:53]Sock 9.Check first char [08:26:53]Sock 9.First char is OK [08:26:53]request: POST /json_proto HTTP/1.0 [08:26:53]Method: POST [08:26:53]URL: /json_proto [08:26:53]Method is POST - this is cgi request [08:26:53]url: /json_proto [08:26:53]query_string will be loaded in cgi processing [08:26:53]execute_cgi json_proto POST (null) [08:26:53]execute_cgi path=json_proto method=POST [08:26:53]POST find Content-Length [08:26:53]Host: 172.17.39.4:8080 [08:26:53]Content-Length: 771 [08:26:53]Content-Type: application/json [08:26:53] [08:26:53]POST finish read [08:26:53]Found Content-Length = 771 [08:26:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129494", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:26:53]execute_script... [08:26: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)129494", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:26:53]POST & json_proto [08:26:53]process_json_proto [08:26:53]json parsed OK: [08:26:53]protocol is kg_v1.0 [08:26:53]action value=close_receipt [08:26:53]process_action close_receipt [08:26:53]cmd_close_receipt [08:26:53]MH_GetDate [08:26:53]Write to MH i2c: F0 00 00 10 00 FF [08:26:53]Write i2c OK [08:26:53]MH_I2C_Read... [08:26:53]Read from MH i2c: F0 [08:26:53]MH_I2C_Read... [08:26:53]Read from MH i2c: F0 09 00 [08:26:53]MH_I2C_Read... [08:26:53]Read from MH i2c: F0 09 00 10 00 00 CD 8B 93 66 2D 25 5D 64 6C [08:26:53]GetLastDocTimeStamp 1720944236 [08:26:53]current date 1720945613 [08:26:53]FM_GetShiftState [08:26:53]SAM_PROTO_GetShiftState [08:26:53]wFMCommunicate request_size=4 [08:26:53]MH_SAM_APDU [08:26:53]CAPDU: 80 13 01 00 [08:26:53]Write to MH i2c: E2 08 00 11 00 80 13 01 00 00 00 00 00 8E [08:26:53]Write i2c OK [08:26:53]MH_I2C_Read... [08:26:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:26:53]Read from MH i2c: E2 [08:26:53]MH_I2C_Read... [08:26:53]Read from MH i2c: E2 0E 00 [08:26:53]MH_I2C_Read... [08:26:53]Read from MH i2c: E2 0E 00 11 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 35 [08:26:53]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [08:26:53]wFMCommunicate OK [08:26:53]SAM_PROTO_GetShiftState done [08:26:53]FM_GetShiftState done [08:26:53]opened in 1720917126 [08:26:53]opened+sec_in_day 1721003526 [08:26:53]quantity*price = 20000 [08:26:53]sum+1 = 20001 [08:26:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 43 14.07.2024 08:26 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57026 ФПД: 231982168792049 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T082653&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57026&fm=231982168792049&tin=02508201610067®Number=0000000000091208&sum=20000 0 [08:26:54]StoreToDocumentArchive [08:26:54]shift 496 fd 57026 [08:26:54]save to /storage/0496/doc_00057026 [08:26:54]save last doc name /storage/0496/doc_00057026 to /storage/kkm_last_doc_name [08:26:54]save OK [08:26:54]Clear old archive folders... [08:26:54]ProcessDocumentItem done err = 0, tmpTLVsize=283 [08:26:54]tlvbuf is 00FAB900 [08:26:54]SAM_PROTO_ClearQueue [08:26:54]wFMCommunicate request_size=4 [08:26:54]MH_SAM_APDU [08:26:54]CAPDU: 80 09 00 00 [08:26:54]Write to MH i2c: E2 08 00 1E 00 80 09 00 00 00 00 00 00 90 [08:26:54]OFD Sender: No OFD packet to send [08:26:54]Write i2c OK [08:26:54]MH_I2C_Read... [08:26:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:26:54]Read from MH i2c: E2 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 03 00 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 03 00 1E 00 00 90 00 92 [08:26:54]RAPDU: 90 00 [08:26:54]wFMCommunicate OK [08:26:54]SAM_PROTO_ClearQueue done [08:26:54]KKMCreateOFDPacket [08:26:54]OFDProtocolAddRootSTLVToBuf [08:26:54]FM_MakeSignedData [08:26:54]FM_MakeSignedData [08:26:54]SAM_PROTO_SignData [08:26:54]wFMCommunicate request_size=4 [08:26:54]MH_SAM_APDU [08:26:54]CAPDU: 80 0D 01 02 [08:26:54]Write to MH i2c: E2 08 00 1F 00 80 0D 01 02 00 00 00 00 98 [08:26:54]Write i2c OK [08:26:54]MH_I2C_Read... [08:26:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:26:54]Read from MH i2c: E2 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 03 00 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 03 00 1F 00 00 90 00 93 [08:26:54]RAPDU: 90 00 [08:26:54]wFMCommunicate OK [08:26:54]wFMCommunicate request_size=255 [08:26:54]MH_SAM_APDU [08:26:54]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 36 32 38 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 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 2B 00 00 00 F4 03 04 00 CD 8B 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 [08:26:54]Write to MH i2c: E2 02 01 20 00 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 36 32 38 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 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 2B 00 00 00 F4 03 04 00 CD 8B 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 00 00 6E [08:26:54]Write i2c OK [08:26:54]MH_I2C_Read... [08:26:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:26:54]Read from MH i2c: E2 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 03 00 [08:26:54]MH_I2C_Read... [08:26:54]Read from MH i2c: E2 03 00 20 00 00 90 00 94 [08:26:54]RAPDU: 90 00 [08:26:54]wFMCommunicate OK [08:26:54]wFMCommunicate request_size=42 [08:26:54]MH_SAM_APDU [08:26:54]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C2 DE 00 00 35 04 06 00 D2 FC 8E C3 DB F1 [08:26:54]Write to MH i2c: E2 2D 00 21 00 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C2 DE 00 00 35 04 06 00 D2 FC 8E C3 DB F1 00 00 02 [08:26:54]Write i2c OK [08:26:54]MH_I2C_Read... [08:26:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:26:55]Read from MH i2c: E2 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: E2 03 00 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: E2 03 00 21 00 00 90 00 95 [08:26:55]RAPDU: 90 00 [08:26:55]wFMCommunicate OK [08:26:55]wFMCommunicate request_size=4 [08:26:55]MH_SAM_APDU [08:26:55]CAPDU: 80 0D 03 02 [08:26:55]Write to MH i2c: E2 08 00 22 00 80 0D 03 02 00 00 00 00 9D [08:26:55]Write i2c OK [08:26:55]MH_I2C_Read... [08:26:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:26:55]Read from MH i2c: E2 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: E2 0B 00 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: E2 0B 00 22 00 00 82 FC 15 9C 11 36 B7 58 90 00 23 [08:26:55]RAPDU: 82 FC 15 9C 11 36 B7 58 90 00 [08:26:55]wFMCommunicate OK [08:26:55]SAM_PROTO_SignData done [08:26:55]FM_MakeSignedData done [08:26:55]CreateOFDProtocolMessage [08:26:55]wFMCommunicate request_size=4 [08:26:55]MH_SAM_APDU [08:26:55]CAPDU: 80 11 00 00 [08:26:55]Write to MH i2c: E2 08 00 23 00 80 11 00 00 00 00 00 00 9D [08:26:55]Write i2c OK [08:26:55]MH_I2C_Read... [08:26:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:26:55]Read from MH i2c: E2 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: E2 17 00 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: E2 17 00 23 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F7 [08:26:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:26:55]wFMCommunicate OK [08:26:55]CreateOFDProtocolMessage done [08:26:55]OFDSenderStorePacket 57026 [08:26:55]StoreOFDPacket docnum=57026 [08:26:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 B7 36 27 01 73 F7 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 36 32 38 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 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 2B 00 00 00 F4 03 04 00 CD 8B 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C2 DE 00 00 35 04 06 00 D2 FC 8E C3 DB F1 82 FC 15 9C 11 36 B7 58 [08:26:55]CheckFolder [08:26:55]dirname=/storage/ofd_packets [08:26:55]CheckFolder done [08:26:55]ProducePacketName [08:26:55]name=ofd_packets/00057026 [08:26:55]NVStorageSaveData ofd_packets/00057026 [08:26:55]File name is /storage/ofd_packets/00057026 [08:26:55]Write 333 bytes [08:26:55]NVStorageSaveData done [08:26:55]OFDSenderStorePacket done [08:26:55]KKMCreateOFDPacket done [08:26:55]NVStorageSaveData kkm_last_timestamp [08:26:55]File name is /storage/kkm_last_timestamp [08:26:55]Write 4 bytes [08:26:55]NVStorageSaveData done [08:26:55]ExternCall_PrintAddStr [08:26:55]wPrintStart [08:26:55]Write to MH i2c: 01 00 00 24 00 24 [08:26:55]Write i2c OK [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: 01 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: 01 07 00 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: 01 07 00 24 00 00 00 00 00 00 FF 0F 39 [08:26:55]RasterBufferAndPrint [08:26:55]line Счет N : (3)129494 [08:26:55]line ИНН: 02508201610067 [08:26:55]line Контрольно-Кассовый Чек [08:26:55]line ПРОДАЖА [08:26:55]line Товар: 4700002086281 [08:26:55]line Водка Белое золото 0,24л [08:26:55]line 1.000 * 200.00 [08:26:55]line = 200.00 [08:26:55]line НДС 12% НСП 1% [08:26:55]line > о реализуемом товаре [08:26:55]line ИТОГО: 200.00 [08:26:55]line НСП 1% : 1.77 [08:26:55]line НДС 12% : 21.24 [08:26:55]line Наличными: 200.00 [08:26:55]line Безнал.: 0.00 [08:26:55]line Место: АЗС № 132 "Партнер Нефть" [08:26:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:26:55]line СНО: Общий режим [08:26:55]line Чек 43 14.07.2024 08:26 [08:26:55]line Смена: 496 ФФД: 1.0 [08:26:55]line ЗНМ: 0300000132 [08:26:55]line РНМ: 0000000000091208 [08:26:55]line Версия ККМ: 001 [08:26:55]line ФМ: 0000000000874857 [08:26:55]line ФД: 57026 [08:26:55]line ФПД: 231982168792049 [08:26:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T082653&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57026&fm=231982168792049&tin=02508201610067®Number=0000000000091208&sum=20000 [08:26:55]line 0 [08:26:55]written 0, free lines is 4095 [08:26:55]OFD Sender: Processing packet 57026 [packets to send 38, broken 37] [08:26:55]ProducePacketName [08:26:55]name=ofd_packets/00057026 [08:26:55]OFD Sender: To server: pG, [08:26:55]CommunicateWithHost lk.salyk.kg:30040 [08:26:55]ConnectInit lk.salyk.kg [08:26:55]Connected sock=10 [08:26:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 B7 36 27 01 73 F7 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 36 32 38 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 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 2B 00 00 00 F4 03 04 00 CD 8B 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C2 DE 00 00 35 04 06 00 D2 FC 8E C3 DB F1 82 FC 15 9C 11 36 B7 58 [08:26:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 97 9A 47 00 88 C1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C2 DE 00 00 F4 03 04 00 1F 32 93 66 B6 04 01 00 00 3F 12 18 F9 E0 B6 3C FE [08:26:55]CommunicateWithHost err = 0 [08:26:55]CheckOFDResponse [08:26:55]1017 (14) - 77093643461234 [08:26:55]1041 (16) - 0000000000874857 [08:26:55]1040 (4) - 57026 [08:26:55]1012 (4) - 14.07.2024 02:04 [08:26:55]1206 (1) - 0 [08:26:55]OFD Sender: Remove packet 57026 [08:26:55]ProducePacketName [08:26:55]name=ofd_packets/00057026 [08:26:55]NVStorageDeleteData [08:26:55]Write to MH i2c: 01 00 00 4C 00 4C [08:26:55]Write i2c OK [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: 01 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: 01 07 00 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: 01 07 00 4C 00 00 00 00 00 00 07 0D 67 [08:26:55]RasterBufferAndPrint [08:26:55]line [08:26:55]line [08:26:55]line [08:26:55]line [08:26:55]line [08:26:55]written 0, free lines is 3341 [08:26:55]MH_Cut [08:26:55]Write to MH i2c: D1 01 00 53 00 01 25 [08:26:55]Write i2c OK [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: D1 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: D1 01 00 [08:26:55]MH_I2C_Read... [08:26:55]Read from MH i2c: D1 01 00 53 00 00 24 [08:26:55]Write to MH i2c: 01 00 00 54 00 54 [08:26:55]Write i2c OK [08:26:55]MH_I2C_Read... [08:26:56]OFD Sender: No OFD packet to send [08:26:56]*** Cut start [08:26:56]*** Partial cut [08:26:56]*** CUTSNS_PIN = 1 [08:26:56]*** CUTSNS_PIN = 0 [08:26:56]*** Brake cut motor [08:26:56]Read from MH i2c: 01 [08:26:56]MH_I2C_Read... [08:26:56]*** Stop cut motor [08:26:56]*** Cut end [08:26:56]Read from MH i2c: 01 07 00 [08:26:56]MH_I2C_Read... [08:26:56]Read from MH i2c: 01 07 00 54 00 00 00 00 00 00 FF 0F 69 [08:26:56]process_action close_receipt done [08:26:56]requested_data is exist [08:26:56]produce_requested_data [08:26:56]requested_item fm.sn is exist - process it [08:26:56]wFMCommunicate request_size=4 [08:26:56]MH_SAM_APDU [08:26:56]CAPDU: 80 11 00 00 [08:26:56]Write to MH i2c: E2 08 00 55 00 80 11 00 00 00 00 00 00 CF [08:26:56]Write i2c OK [08:26:56]MH_I2C_Read... [08:26:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:26:56]Read from MH i2c: E2 [08:26:56]MH_I2C_Read... [08:26:56]Read from MH i2c: E2 17 00 [08:26:56]MH_I2C_Read... [08:26:56]Read from MH i2c: E2 17 00 55 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 29 [08:26:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:26:56]wFMCommunicate OK [08:26:56]requested_item fd.num is exist - process it [08:26:56]SAM_PROTO_GetFieldsCounters [08:26:56]wFMCommunicate request_size=4 [08:26:56]MH_SAM_APDU [08:26:56]CAPDU: 80 13 00 00 [08:26:56]Write to MH i2c: E2 08 00 56 00 80 13 00 00 00 00 00 00 D2 [08:26:57]Write i2c OK [08:26:57]MH_I2C_Read... [08:26:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:26:57]Read from MH i2c: E2 [08:26:57]MH_I2C_Read... [08:26:57]Read from MH i2c: E2 62 00 [08:26:57]MH_I2C_Read... [08:26:57]Read from MH i2c: E2 62 00 56 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C2 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 07 [08:26:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C2 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2B 00 00 00 5E 04 04 00 2B 00 00 00 57 04 04 00 2C 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:26:57]wFMCommunicate OK [08:26:57]SAM_PROTO_GetFieldsCounters done [08:26:57]requested_item shift.num is exist - process it [08:26:57]requested_item shift.opened is exist - process it [08:26:57]req_shift_opened [08:26:57]FM_GetShiftState [08:26:57]SAM_PROTO_GetShiftState [08:26:57]wFMCommunicate request_size=4 [08:26:57]MH_SAM_APDU [08:26:57]CAPDU: 80 13 01 00 [08:26:57]Write to MH i2c: E2 08 00 57 00 80 13 01 00 00 00 00 00 D4 [08:26:57]Write i2c OK [08:26:57]MH_I2C_Read... [08:26:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:26:57]Read from MH i2c: E2 [08:26:57]MH_I2C_Read... [08:26:57]Read from MH i2c: E2 0E 00 [08:26:57]MH_I2C_Read... [08:26:57]Read from MH i2c: E2 0E 00 57 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 7B [08:26:57]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [08:26:57]wFMCommunicate OK [08:26:57]SAM_PROTO_GetShiftState done [08:26:57]FM_GetShiftState done [08:26:57]req_shift_opened done [08:26:57]requested_item shift.open_date is exist - process it [08:26:57]req_shift_open_date [08:26:57]req_shift_open_date done [08:26:57]requested_item shift.sale.total is exist - process it [08:26:57]SAM_PROTO_GetShiftData [08:26:57]wFMCommunicate request_size=4 [08:26:57]MH_SAM_APDU [08:26:57]CAPDU: 80 13 02 00 [08:26:57]Write to MH i2c: E2 08 00 58 00 80 13 02 00 00 00 00 00 D6 [08:26:57]Write i2c OK [08:26:57]MH_I2C_Read... [08:26:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:26:57]Read from MH i2c: E2 [08:26:57]MH_I2C_Read... [08:26:57]Read from MH i2c: E2 FD 00 [08:26:57]MH_I2C_Read... [08:26:57]Read from MH i2c: E2 FD 00 58 00 00 BB 04 AA 04 B7 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 29 00 00 00 B1 04 03 00 BC 2E 1A 70 04 03 00 D4 A6 16 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CD C7 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4A 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 C4 [08:26:57]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 2B 00 00 00 69 04 9B 00 6F 04 04 00 29 00 00 00 B1 04 03 00 BC 2E 1A 70 04 03 00 D4 A6 16 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CD C7 02 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4A 3B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [08:26:57]wFMCommunicate OK [08:26:57]wFMCommunicate request_size=4 [08:26:57]MH_SAM_APDU [08:26:57]CAPDU: 80 17 00 00 [08:26:57]Write to MH i2c: E2 08 00 59 00 80 17 00 00 00 00 00 00 D9 [08:26:57]Write i2c OK [08:26:57]MH_I2C_Read... [08:26:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:26:57]Read from MH i2c: E2 [08:26:57]MH_I2C_Read... [08:26:57]Read from MH i2c: E2 FD 00 [08:26:57]MH_I2C_Read... [08:26:57]Read from MH i2c: E2 FD 00 59 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 6C [08:26:57]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:26:57]wFMCommunicate OK [08:26:57]wFMCommunicate request_size=4 [08:26:57]MH_SAM_APDU [08:26:57]CAPDU: 80 17 00 00 [08:26:57]Write to MH i2c: E2 08 00 5A 00 80 17 00 00 00 00 00 00 DA [08:26:57]Write i2c OK [08:26:57]MH_I2C_Read... [08:26:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:26:58]Read from MH i2c: E2 [08:26:58]MH_I2C_Read... [08:26:58]Read from MH i2c: E2 FD 00 [08:26:58]MH_I2C_Read... [08:26:58]Read from MH i2c: E2 FD 00 5A 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 06 [08:26:58]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:26:58]wFMCommunicate OK [08:26:58]wFMCommunicate request_size=4 [08:26:58]MH_SAM_APDU [08:26:58]CAPDU: 80 17 00 00 [08:26:58]Write to MH i2c: E2 08 00 5B 00 80 17 00 00 00 00 00 00 DB [08:26:58]Write i2c OK [08:26:58]MH_I2C_Read... [08:26:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:26:58]Read from MH i2c: E2 [08:26:58]MH_I2C_Read... [08:26:58]Read from MH i2c: E2 FD 00 [08:26:58]MH_I2C_Read... [08:26:58]Read from MH i2c: E2 FD 00 5B 00 00 00 00 EF 03 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 90 00 50 [08:26:58]RAPDU: 00 00 EF 03 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 90 00 [08:26:58]wFMCommunicate OK [08:26:58]wFMCommunicate request_size=4 [08:26:58]MH_SAM_APDU [08:26:58]CAPDU: 80 17 00 00 [08:26:58]Write to MH i2c: E2 08 00 5C 00 80 17 00 00 00 00 00 00 DC [08:26:58]Write i2c OK [08:26:58]MH_I2C_Read... [08:26:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [08:26:58]Read from MH i2c: E2 [08:26:58]MH_I2C_Read... [08:26:58]Read from MH i2c: E2 D8 00 [08:26:58]MH_I2C_Read... [08:26:58]Read from MH i2c: E2 D8 00 5C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C3 [08:26:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:26:58]wFMCommunicate OK [08:26:58]SAM_PROTO_GetShiftData done [08:26:58]requested_item shift.sale.total_cash is exist - process it [08:26:58]requested_item shift.sale_refund.total is exist - process it [08:26:58]requested_item shift.sale_refund.total_cash is exist - process it [08:26:58]produce_requested_data done [08:26:58]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57026,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":17159.00,"shift.sale.total_cash":14845.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [08:26:58]process_action_free close_receipt [08:26:58]json_value_free [08:26:58]json_value_free done [08:26:58]process_json_proto returns [08:26:58]Send response to host [08:26:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57026,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":17159.00,"shift.sale.total_cash":14845.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [08:26:58]free response buf [08:26:58]execute_script done [08:26:58]execute_script returns [08:26:58]free content buf [08:26:58]Sock 9.Close socket [08:26:58]Sock 9.Thread stoped [08:27:01]OFD Sender: No OFD packet to send [08:27:06]OFD Sender: No OFD packet to send [08:27:11]OFD Sender: No OFD packet to send [08:27:16]OFD Sender: No OFD packet to send [08:27:21]OFD Sender: No OFD packet to send [08:27:26]OFD Sender: No OFD packet to send [08:27:31]OFD Sender: No OFD packet to send [08:27:36]OFD Sender: No OFD packet to send [08:27:41]OFD Sender: No OFD packet to send [08:27:46]OFD Sender: No OFD packet to send [08:27:51]OFD Sender: No OFD packet to send [08:27:56]OFD Sender: No OFD packet to send [08:28:01]OFD Sender: No OFD packet to send [08:28:06]OFD Sender: No OFD packet to send [08:28:11]OFD Sender: No OFD packet to send [08:28:16]OFD Sender: No OFD packet to send [08:28:21]OFD Sender: No OFD packet to send [08:28:26]OFD Sender: No OFD packet to send [08:28:31]OFD Sender: No OFD packet to send [08:28:36]OFD Sender: No OFD packet to send [08:28:41]OFD Sender: No OFD packet to send [08:28:46]OFD Sender: No OFD packet to send [08:28:51]OFD Sender: No OFD packet to send [08:28:56]OFD Sender: No OFD packet to send [08:29:01]OFD Sender: No OFD packet to send [08:29:06]OFD Sender: No OFD packet to send [08:29:11]OFD Sender: No OFD packet to send [08:29:16]OFD Sender: No OFD packet to send [08:29:21]OFD Sender: No OFD packet to send [08:29:26]OFD Sender: No OFD packet to send [08:29:31]OFD Sender: No OFD packet to send [08:29:36]OFD Sender: No OFD packet to send [08:29:41]OFD Sender: No OFD packet to send [08:29:46]OFD Sender: No OFD packet to send [08:29:51]OFD Sender: No OFD packet to send [08:29:56]OFD Sender: No OFD packet to send [08:30:01]OFD Sender: No OFD packet to send [08:30:06]OFD Sender: No OFD packet to send [08:30:11]OFD Sender: No OFD packet to send [08:30:16]OFD Sender: No OFD packet to send [08:30:21]OFD Sender: No OFD packet to send [08:30:26]OFD Sender: No OFD packet to send [08:30:31]OFD Sender: No OFD packet to send [08:30:36]OFD Sender: No OFD packet to send [08:30:41]OFD Sender: No OFD packet to send [08:30:46]OFD Sender: No OFD packet to send [08:30:51]OFD Sender: No OFD packet to send [08:30:56]OFD Sender: No OFD packet to send [08:31:01]OFD Sender: No OFD packet to send [08:31:06]OFD Sender: No OFD packet to send [08:31:11]OFD Sender: No OFD packet to send [08:31:16]OFD Sender: No OFD packet to send [08:31:21]OFD Sender: No OFD packet to send [08:31:26]OFD Sender: No OFD packet to send [08:31:31]OFD Sender: No OFD packet to send [08:31:36]OFD Sender: No OFD packet to send [08:31:41]OFD Sender: No OFD packet to send [08:31:46]OFD Sender: No OFD packet to send [08:31:51]OFD Sender: No OFD packet to send [08:31:56]OFD Sender: No OFD packet to send [08:32:01]OFD Sender: No OFD packet to send [08:32:06]OFD Sender: No OFD packet to send [08:32:11]OFD Sender: No OFD packet to send [08:32:16]OFD Sender: No OFD packet to send [08:32:21]OFD Sender: No OFD packet to send [08:32:26]OFD Sender: No OFD packet to send [08:32:31]OFD Sender: No OFD packet to send [08:32:36]OFD Sender: No OFD packet to send [08:32:41]OFD Sender: No OFD packet to send [08:32:46]OFD Sender: No OFD packet to send [08:32:51]OFD Sender: No OFD packet to send [08:32:56]OFD Sender: No OFD packet to send [08:33:01]OFD Sender: No OFD packet to send [08:33:06]OFD Sender: No OFD packet to send [08:33:11]OFD Sender: No OFD packet to send [08:33:16]OFD Sender: No OFD packet to send [08:33:21]OFD Sender: No OFD packet to send [08:33:26]OFD Sender: No OFD packet to send [08:33:31]OFD Sender: No OFD packet to send [08:33:36]OFD Sender: No OFD packet to send [08:33:41]OFD Sender: No OFD packet to send [08:33:46]OFD Sender: No OFD packet to send [08:33:51]OFD Sender: No OFD packet to send [08:33:56]OFD Sender: No OFD packet to send [08:34:01]OFD Sender: No OFD packet to send [08:34:06]OFD Sender: No OFD packet to send [08:34:11]OFD Sender: No OFD packet to send [08:34:16]OFD Sender: No OFD packet to send [08:34:21]OFD Sender: No OFD packet to send [08:34:26]OFD Sender: No OFD packet to send [08:34:31]OFD Sender: No OFD packet to send [08:34:36]OFD Sender: No OFD packet to send [08:34:41]OFD Sender: No OFD packet to send [08:34:46]OFD Sender: No OFD packet to send [08:34:51]OFD Sender: No OFD packet to send [08:34:56]OFD Sender: No OFD packet to send [08:35:01]OFD Sender: No OFD packet to send [08:35:06]OFD Sender: No OFD packet to send [08:35:11]OFD Sender: No OFD packet to send [08:35:16]OFD Sender: No OFD packet to send [08:35:21]OFD Sender: No OFD packet to send [08:35:26]OFD Sender: No OFD packet to send [08:35:31]OFD Sender: No OFD packet to send [08:35:36]OFD Sender: No OFD packet to send [08:35:41]OFD Sender: No OFD packet to send [08:35:46]OFD Sender: No OFD packet to send [08:35:51]OFD Sender: No OFD packet to send [08:35:56]OFD Sender: No OFD packet to send [08:36:01]OFD Sender: No OFD packet to send [08:36:06]OFD Sender: No OFD packet to send [08:36:11]OFD Sender: No OFD packet to send [08:36:16]OFD Sender: No OFD packet to send [08:36:21]OFD Sender: No OFD packet to send [08:36:26]OFD Sender: No OFD packet to send [08:36:31]OFD Sender: No OFD packet to send [08:36:36]OFD Sender: No OFD packet to send [08:36:41]OFD Sender: No OFD packet to send [08:36:46]OFD Sender: No OFD packet to send [08:36:51]OFD Sender: No OFD packet to send [08:36:56]OFD Sender: No OFD packet to send [08:37:01]OFD Sender: No OFD packet to send [08:37:06]OFD Sender: No OFD packet to send [08:37:11]OFD Sender: No OFD packet to send [08:37:16]OFD Sender: No OFD packet to send [08:37:21]OFD Sender: No OFD packet to send [08:37:26]OFD Sender: No OFD packet to send [08:37:31]OFD Sender: No OFD packet to send [08:37:36]OFD Sender: No OFD packet to send [08:37:41]OFD Sender: No OFD packet to send [08:37:46]OFD Sender: No OFD packet to send [08:37:51]OFD Sender: No OFD packet to send [08:37:56]OFD Sender: No OFD packet to send [08:38:01]OFD Sender: No OFD packet to send [08:38:06]OFD Sender: No OFD packet to send [08:38:11]OFD Sender: No OFD packet to send [08:38:16]OFD Sender: No OFD packet to send [08:38:21]OFD Sender: No OFD packet to send [08:38:26]OFD Sender: No OFD packet to send [08:38:31]OFD Sender: No OFD packet to send [08:38:36]OFD Sender: No OFD packet to send [08:38:41]OFD Sender: No OFD packet to send [08:38:46]OFD Sender: No OFD packet to send [08:38:51]OFD Sender: No OFD packet to send [08:38:56]OFD Sender: No OFD packet to send [08:39:01]OFD Sender: No OFD packet to send [08:39:06]OFD Sender: No OFD packet to send [08:39:11]OFD Sender: No OFD packet to send [08:39:16]OFD Sender: No OFD packet to send [08:39:21]OFD Sender: No OFD packet to send [08:39:26]OFD Sender: No OFD packet to send [08:39:31]OFD Sender: No OFD packet to send [08:39:36]OFD Sender: No OFD packet to send [08:39:41]OFD Sender: No OFD packet to send [08:39:46]OFD Sender: No OFD packet to send [08:39:51]OFD Sender: No OFD packet to send [08:39:56]OFD Sender: No OFD packet to send [08:40:01]OFD Sender: No OFD packet to send [08:40:06]OFD Sender: No OFD packet to send [08:40:09]accept exits with 7 [08:40:09]New connection [08:40:09]New thread 3067448676 created [08:40:09]Thread 3067592036 joined [08:40:09]Waiting for new connection... [08:40:09] Sock 7.Parse request [08:40:09]Sock 7.Check first char [08:40:09]Sock 7.First char is OK [08:40:09]request: POST /json_proto HTTP/1.0 [08:40:09]Method: POST [08:40:09]URL: /json_proto [08:40:09]Method is POST - this is cgi request [08:40:09]url: /json_proto [08:40:09]query_string will be loaded in cgi processing [08:40:09]execute_cgi json_proto POST (null) [08:40:09]execute_cgi path=json_proto method=POST [08:40:09]POST find Content-Length [08:40:09]Host: 172.17.39.4:8080 [08:40:09]Content-Length: 739 [08:40:09]Content-Type: application/json [08:40:09] [08:40:09]POST finish read [08:40:09]Found Content-Length = 739 [08:40:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855167", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 25.260, "sum" : 1700.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:40:09]execute_script... [08:40:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855167", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 62", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 25.260, "sum" : 1700.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1700.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [08:40:09]POST & json_proto [08:40:09]process_json_proto [08:40:09]json parsed OK: [08:40:09]protocol is kg_v1.0 [08:40:09]action value=close_receipt [08:40:09]process_action close_receipt [08:40:09]cmd_close_receipt [08:40:09]MH_GetDate [08:40:09]Write to MH i2c: F0 00 00 5D 00 4C [08:40:09]Write i2c OK [08:40:09]MH_I2C_Read... [08:40:09]Read from MH i2c: F0 [08:40:09]MH_I2C_Read... [08:40:09]Read from MH i2c: F0 09 00 [08:40:09]MH_I2C_Read... [08:40:09]Read from MH i2c: F0 09 00 5D 00 00 EA 8E 93 66 2D 25 5D 64 D9 [08:40:09]GetLastDocTimeStamp 1720945613 [08:40:09]current date 1720946410 [08:40:09]FM_GetShiftState [08:40:09]SAM_PROTO_GetShiftState [08:40:09]wFMCommunicate request_size=4 [08:40:09]MH_SAM_APDU [08:40:09]CAPDU: 80 13 01 00 [08:40:09]Write to MH i2c: E2 08 00 5E 00 80 13 01 00 00 00 00 00 DB [08:40:09]Write i2c OK [08:40:09]MH_I2C_Read... [08:40:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:09]Read from MH i2c: E2 [08:40:09]MH_I2C_Read... [08:40:09]Read from MH i2c: E2 0E 00 [08:40:09]MH_I2C_Read... [08:40:09]Read from MH i2c: E2 0E 00 5E 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 82 [08:40:09]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [08:40:09]wFMCommunicate OK [08:40:09]SAM_PROTO_GetShiftState done [08:40:09]FM_GetShiftState done [08:40:09]opened in 1720917126 [08:40:09]opened+sec_in_day 1721003526 [08:40:09]quantity*price = 169999 [08:40:09]sum+1 = 170001 [08:40:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 1700.00 НСП 1% : 15.04 НДС 12% : 180.53 Наличными: 1700.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 44 14.07.2024 08:40 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57027 ФПД: 29900942730337 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T084010&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57027&fm=29900942730337&tin=02508201610067®Number=0000000000091208&sum=170000 [08:40:11]StoreToDocumentArchive [08:40:11]shift 496 fd 57027 [08:40:11]save to /storage/0496/doc_00057027 [08:40:11]save last doc name /storage/0496/doc_00057027 to /storage/kkm_last_doc_name [08:40:11]save OK [08:40:11]Clear old archive folders... [08:40:11]ProcessDocumentItem done err = 0, tmpTLVsize=252 [08:40:11]tlvbuf is 00FAF7C0 [08:40:11]SAM_PROTO_ClearQueue [08:40:11]wFMCommunicate request_size=4 [08:40:11]MH_SAM_APDU [08:40:11]CAPDU: 80 09 00 00 [08:40:11]Write to MH i2c: E2 08 00 6B 00 80 09 00 00 00 00 00 00 DD [08:40:11]Write i2c OK [08:40:11]MH_I2C_Read... [08:40:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [08:40:11]Read from MH i2c: E2 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 03 00 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 03 00 6B 00 00 90 00 DF [08:40:11]RAPDU: 90 00 [08:40:11]wFMCommunicate OK [08:40:11]SAM_PROTO_ClearQueue done [08:40:11]KKMCreateOFDPacket [08:40:11]OFDProtocolAddRootSTLVToBuf [08:40:11]FM_MakeSignedData [08:40:11]FM_MakeSignedData [08:40:11]SAM_PROTO_SignData [08:40:11]wFMCommunicate request_size=4 [08:40:11]MH_SAM_APDU [08:40:11]CAPDU: 80 0D 01 02 [08:40:11]Write to MH i2c: E2 08 00 6C 00 80 0D 01 02 00 00 00 00 E5 [08:40:11]Write i2c OK [08:40:11]MH_I2C_Read... [08:40:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [08:40:11]Read from MH i2c: E2 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 03 00 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 03 00 6C 00 00 90 00 E0 [08:40:11]RAPDU: 90 00 [08:40:11]wFMCommunicate OK [08:40:11]wFMCommunicate request_size=255 [08:40:11]MH_SAM_APDU [08:40: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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AC 62 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 10 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 46 00 00 00 00 07 04 06 00 10 98 02 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 EA 8E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C3 DE 00 00 35 04 06 00 [08:40:11]Write to MH i2c: E2 02 01 6D 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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AC 62 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 10 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 46 00 00 00 00 07 04 06 00 10 98 02 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 EA 8E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C3 DE 00 00 35 04 06 00 00 00 DD [08:40:11]Write i2c OK [08:40:11]MH_I2C_Read... [08:40:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:11]Read from MH i2c: E2 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 03 00 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 03 00 6D 00 00 90 00 E1 [08:40:11]RAPDU: 90 00 [08:40:11]wFMCommunicate OK [08:40:11]wFMCommunicate request_size=11 [08:40:11]MH_SAM_APDU [08:40:11]CAPDU: 80 0D 02 02 06 1B 31 DB 11 E4 61 [08:40:11]Write to MH i2c: E2 0E 00 6E 00 80 0D 02 02 06 00 1B 31 DB 11 E4 61 00 00 71 [08:40:11]Write i2c OK [08:40:11]MH_I2C_Read... [08:40:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [08:40:11]Read from MH i2c: E2 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 03 00 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 03 00 6E 00 00 90 00 E2 [08:40:11]RAPDU: 90 00 [08:40:11]wFMCommunicate OK [08:40:11]wFMCommunicate request_size=4 [08:40:11]MH_SAM_APDU [08:40:11]CAPDU: 80 0D 03 02 [08:40:11]Write to MH i2c: E2 08 00 6F 00 80 0D 03 02 00 00 00 00 EA [08:40:11]Write i2c OK [08:40:11]MH_I2C_Read... [08:40:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [08:40:11]Read from MH i2c: E2 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 0B 00 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 0B 00 6F 00 00 C3 85 0F 8F 3A FD FE F8 90 00 FE [08:40:11]RAPDU: C3 85 0F 8F 3A FD FE F8 90 00 [08:40:11]wFMCommunicate OK [08:40:11]SAM_PROTO_SignData done [08:40:11]FM_MakeSignedData done [08:40:11]CreateOFDProtocolMessage [08:40:11]wFMCommunicate request_size=4 [08:40:11]MH_SAM_APDU [08:40:11]CAPDU: 80 11 00 00 [08:40:11]Write to MH i2c: E2 08 00 70 00 80 11 00 00 00 00 00 00 EA [08:40:11]Write i2c OK [08:40:11]MH_I2C_Read... [08:40:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:11]Read from MH i2c: E2 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 17 00 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: E2 17 00 70 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 44 [08:40:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:40:11]wFMCommunicate OK [08:40:11]CreateOFDProtocolMessage done [08:40:11]OFDSenderStorePacket 57027 [08:40:11]StoreOFDPacket docnum=57027 [08:40:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 01 00 00 55 14 08 01 5A 30 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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AC 62 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 10 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 46 00 00 00 00 07 04 06 00 10 98 02 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 EA 8E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C3 DE 00 00 35 04 06 00 1B 31 DB 11 E4 61 C3 85 0F 8F 3A FD FE F8 [08:40:11]CheckFolder [08:40:11]dirname=/storage/ofd_packets [08:40:11]CheckFolder done [08:40:11]ProducePacketName [08:40:11]name=ofd_packets/00057027 [08:40:11]NVStorageSaveData ofd_packets/00057027 [08:40:11]File name is /storage/ofd_packets/00057027 [08:40:11]Write 302 bytes [08:40:11]NVStorageSaveData done [08:40:11]OFDSenderStorePacket done [08:40:11]KKMCreateOFDPacket done [08:40:11]NVStorageSaveData kkm_last_timestamp [08:40:11]File name is /storage/kkm_last_timestamp [08:40:11]Write 4 bytes [08:40:11]NVStorageSaveData done [08:40:11]ExternCall_PrintAddStr [08:40:11]wPrintStart [08:40:11]Write to MH i2c: 01 00 00 71 00 71 [08:40:11]Write i2c OK [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: 01 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: 01 07 00 [08:40:11]MH_I2C_Read... [08:40:11]Read from MH i2c: 01 07 00 71 00 00 00 00 00 00 FF 0F 86 [08:40:11]RasterBufferAndPrint [08:40:11]line Счет N : (1)855167 [08:40:11]line ИНН: 02508201610067 [08:40:11]line Контрольно-Кассовый Чек [08:40:11]line ПРОДАЖА [08:40:11]line ТРК (МРК, ГНК) : 62 [08:40:11]line Товар: 2710124130 [08:40:11]line SUPER 92-К-5 [08:40:11]line 25.260 * 67.30 [08:40:11]line = 1700.00 [08:40:11]line НДС 12% НСП 1% [08:40:11]line > о реализуемом товаре [08:40:11]line ИТОГО: 1700.00 [08:40:11]line НСП 1% : 15.04 [08:40:11]line НДС 12% : 180.53 [08:40:11]line Наличными: 1700.00 [08:40:11]line Безнал.: 0.00 [08:40:11]line Место: АЗС № 132 "Партнер Нефть" [08:40:11]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:40:11]line СНО: Общий режим [08:40:11]line Чек 44 14.07.2024 08:40 [08:40:11]line Смена: 496 ФФД: 1.0 [08:40:11]line ЗНМ: 0300000132 [08:40:11]line РНМ: 0000000000091208 [08:40:11]line Версия ККМ: 001 [08:40:11]line ФМ: 0000000000874857 [08:40:11]line ФД: 57027 [08:40:11]line ФПД: 29900942730337 [08:40:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T084010&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57027&fm=29900942730337&tin=02508201610067®Number=0000000000091208&sum=170000 [08:40:11]OFD Sender: Processing packet 57027 [packets to send 38, broken 37] [08:40:11]ProducePacketName [08:40:11]name=ofd_packets/00057027 [08:40:11]OFD Sender: To server: pG, [08:40:11]CommunicateWithHost lk.salyk.kg:30040 [08:40:11]ConnectInit lk.salyk.kg [08:40:11]written 0, free lines is 4095 [08:40:11]Connected sock=10 [08:40:11]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 01 00 00 55 14 08 01 5A 30 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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AC 62 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 10 98 02 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 98 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E0 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 85 46 00 00 00 00 07 04 06 00 10 98 02 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 EA 8E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C3 DE 00 00 35 04 06 00 1B 31 DB 11 E4 61 C3 85 0F 8F 3A FD FE F8 [08:40:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 2C B4 47 00 D4 DD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C3 DE 00 00 F4 03 04 00 3B 35 93 66 B6 04 01 00 00 D0 CA 65 9C B1 90 03 46 [08:40:12]CommunicateWithHost err = 0 [08:40:12]CheckOFDResponse [08:40:12]1017 (14) - 77093643461234 [08:40:12]1041 (16) - 0000000000874857 [08:40:12]1040 (4) - 57027 [08:40:12]1012 (4) - 14.07.2024 02:17 [08:40:12]1206 (1) - 0 [08:40:12]OFD Sender: Remove packet 57027 [08:40:12]ProducePacketName [08:40:12]name=ofd_packets/00057027 [08:40:12]NVStorageDeleteData [08:40:12]Write to MH i2c: 01 00 00 99 00 99 [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: 01 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: 01 07 00 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: 01 07 00 99 00 00 00 00 00 00 20 0D CD [08:40:12]RasterBufferAndPrint [08:40:12]line [08:40:12]line [08:40:12]line [08:40:12]line [08:40:12]line [08:40:12]written 0, free lines is 3367 [08:40:12]MH_Cut [08:40:12]Write to MH i2c: D1 01 00 A0 00 01 72 [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: D1 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: D1 01 00 [08:40:12]MH_I2C_Read... [08:40:12]Read from MH i2c: D1 01 00 A0 00 00 71 [08:40:12]Write to MH i2c: 01 00 00 A1 00 A1 [08:40:12]Write i2c OK [08:40:12]MH_I2C_Read... [08:40:12]OFD Sender: No OFD packet to send [08:40:13]*** Cut start [08:40:13]*** Partial cut [08:40:13]*** CUTSNS_PIN = 1 [08:40:13]*** CUTSNS_PIN = 0 [08:40:13]*** Brake cut motor [08:40:13]Read from MH i2c: 01 [08:40:13]MH_I2C_Read... [08:40:13]*** Stop cut motor [08:40:13]*** Cut end [08:40:13]Read from MH i2c: 01 07 00 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: 01 07 00 A1 00 00 00 00 00 00 FF 0F B6 [08:40:13]process_action close_receipt done [08:40:13]requested_data is exist [08:40:13]produce_requested_data [08:40:13]requested_item fm.sn is exist - process it [08:40:13]wFMCommunicate request_size=4 [08:40:13]MH_SAM_APDU [08:40:13]CAPDU: 80 11 00 00 [08:40:13]Write to MH i2c: E2 08 00 A2 00 80 11 00 00 00 00 00 00 1C [08:40:13]Write i2c OK [08:40:13]MH_I2C_Read... [08:40:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [08:40:13]Read from MH i2c: E2 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: E2 17 00 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: E2 17 00 A2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 76 [08:40:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:40:13]wFMCommunicate OK [08:40:13]requested_item fd.num is exist - process it [08:40:13]SAM_PROTO_GetFieldsCounters [08:40:13]wFMCommunicate request_size=4 [08:40:13]MH_SAM_APDU [08:40:13]CAPDU: 80 13 00 00 [08:40:13]Write to MH i2c: E2 08 00 A3 00 80 13 00 00 00 00 00 00 1F [08:40:13]Write i2c OK [08:40:13]MH_I2C_Read... [08:40:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [08:40:13]Read from MH i2c: E2 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: E2 62 00 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: E2 62 00 A3 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C3 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 58 [08:40:13]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C3 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2C 00 00 00 5E 04 04 00 2C 00 00 00 57 04 04 00 2D 00 00 00 19 04 04 00 00 00 00 00 90 00 [08:40:13]wFMCommunicate OK [08:40:13]SAM_PROTO_GetFieldsCounters done [08:40:13]requested_item shift.num is exist - process it [08:40:13]requested_item shift.opened is exist - process it [08:40:13]req_shift_opened [08:40:13]FM_GetShiftState [08:40:13]SAM_PROTO_GetShiftState [08:40:13]wFMCommunicate request_size=4 [08:40:13]MH_SAM_APDU [08:40:13]CAPDU: 80 13 01 00 [08:40:13]Write to MH i2c: E2 08 00 A4 00 80 13 01 00 00 00 00 00 21 [08:40:13]Write i2c OK [08:40:13]MH_I2C_Read... [08:40:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [08:40:13]Read from MH i2c: E2 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: E2 0E 00 [08:40:13]MH_I2C_Read... [08:40:13]Read from MH i2c: E2 0E 00 A4 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C8 [08:40:13]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [08:40:13]wFMCommunicate OK [08:40:13]SAM_PROTO_GetShiftState done [08:40:13]FM_GetShiftState done [08:40:13]req_shift_opened done [08:40:13]requested_item shift.open_date is exist - process it [08:40:13]req_shift_open_date [08:40:13]req_shift_open_date done [08:40:13]requested_item shift.sale.total is exist - process it [08:40:13]SAM_PROTO_GetShiftData [08:40:13]wFMCommunicate request_size=4 [08:40:13]MH_SAM_APDU [08:40:13]CAPDU: 80 13 02 00 [08:40:13]Write to MH i2c: E2 08 00 A5 00 80 13 02 00 00 00 00 00 23 [08:40:13]Write i2c OK [08:40:13]MH_I2C_Read... [08:40:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:40:14]Read from MH i2c: E2 [08:40:14]MH_I2C_Read... [08:40:14]Read from MH i2c: E2 FD 00 [08:40:14]MH_I2C_Read... [08:40:14]Read from MH i2c: E2 FD 00 A5 00 00 BB 04 AA 04 B7 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 CC C6 1C 70 04 03 00 E4 3E 19 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 0E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2A 41 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 1B [08:40:14]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 2C 00 00 00 69 04 9B 00 6F 04 04 00 2A 00 00 00 B1 04 03 00 CC C6 1C 70 04 03 00 E4 3E 19 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 52 0E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 2A 41 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [08:40:14]wFMCommunicate OK [08:40:14]wFMCommunicate request_size=4 [08:40:14]MH_SAM_APDU [08:40:14]CAPDU: 80 17 00 00 [08:40:14]Write to MH i2c: E2 08 00 A6 00 80 17 00 00 00 00 00 00 26 [08:40:14]Write i2c OK [08:40:14]MH_I2C_Read... [08:40:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:40:14]Read from MH i2c: E2 [08:40:14]MH_I2C_Read... [08:40:14]Read from MH i2c: E2 FD 00 [08:40:14]MH_I2C_Read... [08:40:14]Read from MH i2c: E2 FD 00 A6 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B9 [08:40:14]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:40:14]wFMCommunicate OK [08:40:14]wFMCommunicate request_size=4 [08:40:14]MH_SAM_APDU [08:40:14]CAPDU: 80 17 00 00 [08:40:14]Write to MH i2c: E2 08 00 A7 00 80 17 00 00 00 00 00 00 27 [08:40:14]Write i2c OK [08:40:14]MH_I2C_Read... [08:40:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:40:14]Read from MH i2c: E2 [08:40:14]MH_I2C_Read... [08:40:14]Read from MH i2c: E2 FD 00 [08:40:14]MH_I2C_Read... [08:40:14]Read from MH i2c: E2 FD 00 A7 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 53 [08:40:14]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:40:14]wFMCommunicate OK [08:40:14]wFMCommunicate request_size=4 [08:40:14]MH_SAM_APDU [08:40:14]CAPDU: 80 17 00 00 [08:40:14]Write to MH i2c: E2 08 00 A8 00 80 17 00 00 00 00 00 00 28 [08:40:14]Write i2c OK [08:40:14]MH_I2C_Read... [08:40:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:40:15]Read from MH i2c: E2 [08:40:15]MH_I2C_Read... [08:40:15]Read from MH i2c: E2 FD 00 [08:40:15]MH_I2C_Read... [08:40:15]Read from MH i2c: E2 FD 00 A8 00 00 00 00 EF 03 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 90 00 9D [08:40:15]RAPDU: 00 00 EF 03 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 90 00 [08:40:15]wFMCommunicate OK [08:40:15]wFMCommunicate request_size=4 [08:40:15]MH_SAM_APDU [08:40:15]CAPDU: 80 17 00 00 [08:40:15]Write to MH i2c: E2 08 00 A9 00 80 17 00 00 00 00 00 00 29 [08:40:15]Write i2c OK [08:40:15]MH_I2C_Read... [08:40:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [08:40:15]Read from MH i2c: E2 [08:40:15]MH_I2C_Read... [08:40:15]Read from MH i2c: E2 D8 00 [08:40:15]MH_I2C_Read... [08:40:15]Read from MH i2c: E2 D8 00 A9 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 10 [08:40:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:40:15]wFMCommunicate OK [08:40:15]SAM_PROTO_GetShiftData done [08:40:15]requested_item shift.sale.total_cash is exist - process it [08:40:15]requested_item shift.sale_refund.total is exist - process it [08:40:15]requested_item shift.sale_refund.total_cash is exist - process it [08:40:15]produce_requested_data done [08:40:15]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57027,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":18859.00,"shift.sale.total_cash":16545.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [08:40:15]process_action_free close_receipt [08:40:15]json_value_free [08:40:15]json_value_free done [08:40:15]process_json_proto returns [08:40:15]Send response to host [08:40:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57027,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":18859.00,"shift.sale.total_cash":16545.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [08:40:15]free response buf [08:40:15]execute_script done [08:40:15]execute_script returns [08:40:15]free content buf [08:40:15]Sock 7.Close socket [08:40:15]Sock 7.Thread stoped [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 3067592036 created [08:41:53]Thread 3067448676 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.39.4:8080 [08:41:53]Content-Length: 781 [08:41:53]Content-Type: application/json [08:41:53] [08:41:53]POST finish read [08:41:53]Found Content-Length = 781 [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)855168", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [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)855168", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 6.040, "sum" : 400.45, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [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 AA 00 99 [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 AA 00 00 51 8F 93 66 2D 25 5D 64 8E [08:41:53]GetLastDocTimeStamp 1720946410 [08:41:53]current date 1720946513 [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 AB 00 80 13 01 00 00 00 00 00 28 [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 AB 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 CF [08:41:53]RAPDU: 09 00 01 86 1C 93 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 1720917126 [08:41:53]opened+sec_in_day 1721003526 [08:41:53]quantity*price = 40045 [08:41:53]sum+1 = 40046 [08:41:53]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 400.00 Внесено: 400.00 СДАЧА: 0.00 НСП 1% : 3.54 НДС 12% : 42.53 Наличными: 400.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 45 14.07.2024 08:41 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57028 ФПД: 249927883164510 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T084153&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57028&fm=249927883164510&tin=02508201610067®Number=0000000000091208&sum=40000 [08:41:54]StoreToDocumentArchive [08:41:54]shift 496 fd 57028 [08:41:54]save to /storage/0496/doc_00057028 [08:41:54]save last doc name /storage/0496/doc_00057028 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 00FAF0D0 [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 B8 00 80 09 00 00 00 00 00 00 2A [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 B8 00 00 90 00 2C [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 B9 00 80 0D 01 02 00 00 00 00 32 [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 B9 00 00 90 00 2D [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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 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 9D 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 2D 00 00 00 F4 03 04 00 51 8F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DE 00 00 35 04 06 00 E3 [08:41:54]Write to MH i2c: E2 02 01 BA 00 80 0D 02 02 FA 00 03 00 FB 00 1E 04 01 00 01 23 04 4D 00 8A 04 0A 00 32 37 31 30 31 32 34 31 33 30 06 04 0C 00 D0 90 D0 B8 2D 39 32 2D D0 9A 2D 35 FF 03 08 00 03 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 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 9D 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 2D 00 00 00 F4 03 04 00 51 8F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DE 00 00 35 04 06 00 E3 00 00 39 [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 BA 00 00 90 00 2E [08:41:55]RAPDU: 90 00 [08:41:55]wFMCommunicate OK [08:41:55]wFMCommunicate request_size=10 [08:41:55]MH_SAM_APDU [08:41:55]CAPDU: 80 0D 02 02 05 4E DE B2 0B 5E [08:41:55]Write to MH i2c: E2 0D 00 BB 00 80 0D 02 02 05 00 4E DE B2 0B 5E 00 00 86 [08:41:55]Write i2c OK [08:41:55]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 BB 00 00 90 00 2F [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 BC 00 80 0D 03 02 00 00 00 00 37 [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 BC 00 00 24 24 A6 F8 A3 12 91 69 90 00 CD [08:41:55]RAPDU: 24 24 A6 F8 A3 12 91 69 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 BD 00 80 11 00 00 00 00 00 00 37 [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 BD 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 91 [08:41:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [08:41:55]wFMCommunicate OK [08:41:55]CreateOFDProtocolMessage done [08:41:55]OFDSenderStorePacket 57028 [08:41:55]StoreOFDPacket docnum=57028 [08:41:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 83 4E 07 01 EA 0A 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 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 9D 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 2D 00 00 00 F4 03 04 00 51 8F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DE 00 00 35 04 06 00 E3 4E DE B2 0B 5E 24 24 A6 F8 A3 12 91 69 [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/00057028 [08:41:55]NVStorageSaveData ofd_packets/00057028 [08:41:55]File name is /storage/ofd_packets/00057028 [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 BE 00 BE [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 BE 00 00 00 00 00 00 FF 0F D3 [08:41:55]RasterBufferAndPrint [08:41:55]line Счет N : (1)855168 [08:41:55]line ИНН: 02508201610067 [08:41:55]line Контрольно-Кассовый Чек [08:41:55]line ПРОДАЖА [08:41:55]line ТРК (МРК, ГНК) : 53 [08:41:55]line Товар: 2710124130 [08:41:55]line Аи-92-К-5 [08:41:55]line 6.040 * 66.30 [08:41:55]line = 400.45 [08:41:55]line НДС 12% НСП 1% [08:41:55]line > о реализуемом товаре [08:41:55]line ОКРУГЛЕНИЕ: -0.45 [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.53 [08:41:55]line Наличными: 400.00 [08:41:55]line Безнал.: 0.00 [08:41:55]line Место: АЗС № 132 "Партнер Нефть" [08:41:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [08:41:55]line СНО: Общий режим [08:41:55]line Чек 45 14.07.2024 08:41 [08:41:55]line Смена: 496 ФФД: 1.0 [08:41:55]line ЗНМ: 0300000132 [08:41:55]line РНМ: 0000000000091208 [08:41:55]line Версия ККМ: 001 [08:41:55]line ФМ: 0000000000874857 [08:41:55]line ФД: 57028 [08:41:55]line ФПД: 249927883164510 [08:41:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T084153&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57028&fm=249927883164510&tin=02508201610067®Number=0000000000091208&sum=40000 [08:41:55]written 0, free lines is 4095 [08:41:55]OFD Sender: Processing packet 57028 [packets to send 38, broken 37] [08:41:55]ProducePacketName [08:41:55]name=ofd_packets/00057028 [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]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 38 37 34 38 35 37 0F 01 00 00 83 4E 07 01 EA 0A 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 98 17 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 6D 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 9D 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 2D 00 00 00 F4 03 04 00 51 8F 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DE 00 00 35 04 06 00 E3 4E DE B2 0B 5E 24 24 A6 F8 A3 12 91 69 [08:41:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 BE F1 47 00 24 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C4 DE 00 00 F4 03 04 00 A3 35 93 66 B6 04 01 00 00 B0 6A 71 8E 10 0A 4E CB [08:41:55]CommunicateWithHost err = 0 [08:41:55]CheckOFDResponse [08:41:55]1017 (14) - 77093643461234 [08:41:55]1041 (16) - 0000000000874857 [08:41:55]1040 (4) - 57028 [08:41:55]1012 (4) - 14.07.2024 02:19 [08:41:55]1206 (1) - 0 [08:41:55]OFD Sender: Remove packet 57028 [08:41:55]ProducePacketName [08:41:55]name=ofd_packets/00057028 [08:41:55]NVStorageDeleteData [08:41:56]Write to MH i2c: 01 00 00 E9 00 E9 [08:41:56]Write i2c OK [08:41:56]MH_I2C_Read... [08:41:56]Read from MH i2c: 01 [08:41:56]MH_I2C_Read... [08:41:56]Read from MH i2c: 01 07 00 [08:41:56]MH_I2C_Read... [08:41:56]Read from MH i2c: 01 07 00 E9 00 00 00 00 00 00 DD 0C D9 [08:41:56]RasterBufferAndPrint [08:41:56]line [08:41:56]line [08:41:56]line [08:41:56]line [08:41:56]line [08:41:56]written 0, free lines is 3299 [08:41:56]MH_Cut [08:41:56]Write to MH i2c: D1 01 00 F0 00 01 C2 [08:41:56]Write i2c OK [08:41:56]MH_I2C_Read... [08:41:56]Read from MH i2c: D1 [08:41:56]MH_I2C_Read... [08:41:56]Read from MH i2c: D1 01 00 [08:41:56]MH_I2C_Read... [08:41:56]Read from MH i2c: D1 01 00 F0 00 00 C1 [08:41:56]Write to MH i2c: 01 00 00 F1 00 F1 [08:41:56]Write i2c OK [08:41:56]MH_I2C_Read... [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:57]*** 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 F1 00 00 00 00 00 00 FF 0F 06 [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 F2 00 80 11 00 00 00 00 00 00 6C [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 F2 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C6 [08:41:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 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 F3 00 80 13 00 00 00 00 00 00 6F [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 F3 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C4 DE 00 00 0E 04 04 00 F0 01 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 AC [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 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C4 DE 00 00 0E 04 04 00 F0 01 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 [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 F4 00 80 13 01 00 00 00 00 00 71 [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 F4 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 18 [08:41:57]RAPDU: 09 00 01 86 1C 93 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]requested_item shift.sale.total is exist - process it [08:41:57]SAM_PROTO_GetShiftData [08:41:57]wFMCommunicate request_size=4 [08:41:57]MH_SAM_APDU [08:41:57]CAPDU: 80 13 02 00 [08:41:57]Write to MH i2c: E2 08 00 F5 00 80 13 02 00 00 00 00 00 73 [08:41:57]Write i2c OK [08:41:57]MH_I2C_Read... [08:41:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [08:41:58]Read from MH i2c: E2 [08:41:58]MH_I2C_Read... [08:41:58]Read from MH i2c: E2 FD 00 [08:41:58]MH_I2C_Read... [08:41:58]Read from MH i2c: E2 FD 00 F5 00 00 BB 04 AA 04 B7 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 0C 63 1D 70 04 03 00 24 DB 19 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EF 1E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 38 [08:41:58]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 2D 00 00 00 69 04 9B 00 6F 04 04 00 2B 00 00 00 B1 04 03 00 0C 63 1D 70 04 03 00 24 DB 19 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 EF 1E 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 8C 42 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [08:41:58]wFMCommunicate OK [08:41:58]wFMCommunicate request_size=4 [08:41:58]MH_SAM_APDU [08:41:58]CAPDU: 80 17 00 00 [08:41:58]Write to MH i2c: E2 08 00 F6 00 80 17 00 00 00 00 00 00 76 [08:41:58]Write i2c OK [08:41:58]MH_I2C_Read... [08:41:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:41:58]Read from MH i2c: E2 [08:41:58]MH_I2C_Read... [08:41:58]Read from MH i2c: E2 FD 00 [08:41:58]MH_I2C_Read... [08:41:58]Read from MH i2c: E2 FD 00 F6 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 09 [08:41:58]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:41:58]wFMCommunicate OK [08:41:58]wFMCommunicate request_size=4 [08:41:58]MH_SAM_APDU [08:41:58]CAPDU: 80 17 00 00 [08:41:58]Write to MH i2c: E2 08 00 F7 00 80 17 00 00 00 00 00 00 77 [08:41:58]Write i2c OK [08:41:58]MH_I2C_Read... [08:41:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:41:58]Read from MH i2c: E2 [08:41:58]MH_I2C_Read... [08:41:58]Read from MH i2c: E2 FD 00 [08:41:58]MH_I2C_Read... [08:41:58]Read from MH i2c: E2 FD 00 F7 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A3 [08:41:58]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [08:41:58]wFMCommunicate OK [08:41:58]wFMCommunicate request_size=4 [08:41:58]MH_SAM_APDU [08:41:58]CAPDU: 80 17 00 00 [08:41:58]Write to MH i2c: E2 08 00 F8 00 80 17 00 00 00 00 00 00 78 [08:41:58]Write i2c OK [08:41:58]MH_I2C_Read... [08:41:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [08:41:58]Read from MH i2c: E2 [08:41:58]MH_I2C_Read... [08:41:58]Read from MH i2c: E2 FD 00 [08:41:58]MH_I2C_Read... [08:41:58]Read from MH i2c: E2 FD 00 F8 00 00 00 00 EF 03 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 90 00 ED [08:41:59]RAPDU: 00 00 EF 03 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 90 00 [08:41:59]wFMCommunicate OK [08:41:59]wFMCommunicate request_size=4 [08:41:59]MH_SAM_APDU [08:41:59]CAPDU: 80 17 00 00 [08:41:59]Write to MH i2c: E2 08 00 F9 00 80 17 00 00 00 00 00 00 79 [08:41:59]Write i2c OK [08:41:59]MH_I2C_Read... [08:41:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [08:41:59]Read from MH i2c: E2 [08:41:59]MH_I2C_Read... [08:41:59]Read from MH i2c: E2 D8 00 [08:41:59]MH_I2C_Read... [08:41:59]Read from MH i2c: E2 D8 00 F9 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 60 [08:41:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [08:41:59]wFMCommunicate OK [08:41:59]SAM_PROTO_GetShiftData done [08:41:59]requested_item shift.sale.total_cash is exist - process it [08:41:59]requested_item shift.sale_refund.total is exist - process it [08:41:59]requested_item shift.sale_refund.total_cash is exist - process it [08:41:59]produce_requested_data done [08:41:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57028,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":19259.00,"shift.sale.total_cash":16945.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [08:41:59]process_action_free close_receipt [08:41:59]json_value_free [08:41:59]json_value_free done [08:41:59]process_json_proto returns [08:41:59]Send response to host [08:41:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57028,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":19259.00,"shift.sale.total_cash":16945.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [08:41:59]free response buf [08:41:59]execute_script done [08:41:59]execute_script returns [08:41:59]free content buf [08:41:59]Sock 9.Close socket [08:41:59]Sock 9.Thread stoped [08:42:01]OFD Sender: No OFD packet to send [08:42:06]OFD Sender: No OFD packet to send [08:42:11]OFD Sender: No OFD packet to send [08:42:16]OFD Sender: No OFD packet to send [08:42:21]OFD Sender: No OFD packet to send [08:42:26]OFD Sender: No OFD packet to send [08:42:31]OFD Sender: No OFD packet to send [08:42:36]OFD Sender: No OFD packet to send [08:42:41]OFD Sender: No OFD packet to send [08:42:46]OFD Sender: No OFD packet to send [08:42:51]OFD Sender: No OFD packet to send [08:42:56]OFD Sender: No OFD packet to send [08:43:01]OFD Sender: No OFD packet to send [08:43:06]OFD Sender: No OFD packet to send [08:43:11]OFD Sender: No OFD packet to send [08:43:16]OFD Sender: No OFD packet to send [08:43:21]OFD Sender: No OFD packet to send [08:43:26]OFD Sender: No OFD packet to send [08:43:31]OFD Sender: No OFD packet to send [08:43:36]OFD Sender: No OFD packet to send [08:43:41]OFD Sender: No OFD packet to send [08:43:46]OFD Sender: No OFD packet to send [08:43:51]OFD Sender: No OFD packet to send [08:43:56]OFD Sender: No OFD packet to send [08:44:01]OFD Sender: No OFD packet to send [08:44:06]OFD Sender: No OFD packet to send [08:44:11]OFD Sender: No OFD packet to send [08:44:16]OFD Sender: No OFD packet to send [08:44:21]OFD Sender: No OFD packet to send [08:44:26]OFD Sender: No OFD packet to send [08:44:31]OFD Sender: No OFD packet to send [08:44:36]OFD Sender: No OFD packet to send [08:44:41]OFD Sender: No OFD packet to send [08:44:46]OFD Sender: No OFD packet to send [08:44:51]OFD Sender: No OFD packet to send [08:44:56]OFD Sender: No OFD packet to send [08:45:01]OFD Sender: No OFD packet to send [08:45:06]OFD Sender: No OFD packet to send [08:45:11]OFD Sender: No OFD packet to send [08:45:16]OFD Sender: No OFD packet to send [08:45:21]OFD Sender: No OFD packet to send [08:45:26]OFD Sender: No OFD packet to send [08:45:31]OFD Sender: No OFD packet to send [08:45:36]OFD Sender: No OFD packet to send [08:45:41]OFD Sender: No OFD packet to send [08:45:46]OFD Sender: No OFD packet to send [08:45:51]OFD Sender: No OFD packet to send [08:45:56]OFD Sender: No OFD packet to send [08:46:01]OFD Sender: No OFD packet to send [08:46:06]OFD Sender: No OFD packet to send [08:46:11]OFD Sender: No OFD packet to send [08:46:16]OFD Sender: No OFD packet to send [08:46:21]OFD Sender: No OFD packet to send [08:46:26]OFD Sender: No OFD packet to send [08:46:31]OFD Sender: No OFD packet to send [08:46:36]OFD Sender: No OFD packet to send [08:46:41]OFD Sender: No OFD packet to send [08:46:46]OFD Sender: No OFD packet to send [08:46:51]OFD Sender: No OFD packet to send [08:46:56]OFD Sender: No OFD packet to send [08:47:01]OFD Sender: No OFD packet to send [08:47:06]OFD Sender: No OFD packet to send [08:47:11]OFD Sender: No OFD packet to send [08:47:16]OFD Sender: No OFD packet to send [08:47:21]OFD Sender: No OFD packet to send [08:47:26]OFD Sender: No OFD packet to send [08:47:31]OFD Sender: No OFD packet to send [08:47:36]OFD Sender: No OFD packet to send [08:47:41]OFD Sender: No OFD packet to send [08:47:46]OFD Sender: No OFD packet to send [08:47:51]OFD Sender: No OFD packet to send [08:47:56]OFD Sender: No OFD packet to send [08:48:01]OFD Sender: No OFD packet to send [08:48:06]OFD Sender: No OFD packet to send [08:48:11]OFD Sender: No OFD packet to send [08:48:16]OFD Sender: No OFD packet to send [08:48:21]OFD Sender: No OFD packet to send [08:48:26]OFD Sender: No OFD packet to send [08:48:31]OFD Sender: No OFD packet to send [08:48:36]OFD Sender: No OFD packet to send [08:48:41]OFD Sender: No OFD packet to send [08:48:46]OFD Sender: No OFD packet to send [08:48:51]OFD Sender: No OFD packet to send [08:48:56]OFD Sender: No OFD packet to send [08:49:01]OFD Sender: No OFD packet to send [08:49:06]OFD Sender: No OFD packet to send [08:49:11]OFD Sender: No OFD packet to send [08:49:16]OFD Sender: No OFD packet to send [08:49:21]OFD Sender: No OFD packet to send [08:49:26]OFD Sender: No OFD packet to send [08:49:31]OFD Sender: No OFD packet to send [08:49:36]OFD Sender: No OFD packet to send [08:49:41]OFD Sender: No OFD packet to send [08:49:46]OFD Sender: No OFD packet to send [08:49:51]OFD Sender: No OFD packet to send [08:49:56]OFD Sender: No OFD packet to send [08:50:01]OFD Sender: No OFD packet to send [08:50:06]OFD Sender: No OFD packet to send [08:50:11]OFD Sender: No OFD packet to send [08:50:16]OFD Sender: No OFD packet to send [08:50:21]OFD Sender: No OFD packet to send [08:50:26]OFD Sender: No OFD packet to send [08:50:31]OFD Sender: No OFD packet to send [08:50:36]OFD Sender: No OFD packet to send [08:50:41]OFD Sender: No OFD packet to send [08:50:46]OFD Sender: No OFD packet to send [08:50:51]OFD Sender: No OFD packet to send [08:50:56]OFD Sender: No OFD packet to send [08:51:01]OFD Sender: No OFD packet to send [08:51:06]OFD Sender: No OFD packet to send [08:51:11]OFD Sender: No OFD packet to send [08:51:16]OFD Sender: No OFD packet to send [08:51:22]OFD Sender: No OFD packet to send [08:51:27]OFD Sender: No OFD packet to send [08:51:32]OFD Sender: No OFD packet to send [08:51:37]OFD Sender: No OFD packet to send [08:51:42]OFD Sender: No OFD packet to send [08:51:47]OFD Sender: No OFD packet to send [08:51:52]OFD Sender: No OFD packet to send [08:51:57]OFD Sender: No OFD packet to send [08:52:02]OFD Sender: No OFD packet to send [08:52:07]OFD Sender: No OFD packet to send [08:52:12]OFD Sender: No OFD packet to send [08:52:17]OFD Sender: No OFD packet to send [08:52:22]OFD Sender: No OFD packet to send [08:52:27]OFD Sender: No OFD packet to send [08:52:32]OFD Sender: No OFD packet to send [08:52:37]OFD Sender: No OFD packet to send [08:52:42]OFD Sender: No OFD packet to send [08:52:47]OFD Sender: No OFD packet to send [08:52:52]OFD Sender: No OFD packet to send [08:52:57]OFD Sender: No OFD packet to send [08:53:02]OFD Sender: No OFD packet to send [08:53:07]OFD Sender: No OFD packet to send [08:53:12]OFD Sender: No OFD packet to send [08:53:17]OFD Sender: No OFD packet to send [08:53:22]OFD Sender: No OFD packet to send [08:53:27]OFD Sender: No OFD packet to send [08:53:32]OFD Sender: No OFD packet to send [08:53:37]OFD Sender: No OFD packet to send [08:53:42]OFD Sender: No OFD packet to send [08:53:47]OFD Sender: No OFD packet to send [08:53:52]OFD Sender: No OFD packet to send [08:53:57]OFD Sender: No OFD packet to send [08:54:02]OFD Sender: No OFD packet to send [08:54:07]OFD Sender: No OFD packet to send [08:54:12]OFD Sender: No OFD packet to send [08:54:17]OFD Sender: No OFD packet to send [08:54:22]OFD Sender: No OFD packet to send [08:54:27]OFD Sender: No OFD packet to send [08:54:32]OFD Sender: No OFD packet to send [08:54:37]OFD Sender: No OFD packet to send [08:54:42]OFD Sender: No OFD packet to send [08:54:47]OFD Sender: No OFD packet to send [08:54:52]OFD Sender: No OFD packet to send [08:54:57]OFD Sender: No OFD packet to send [08:55:02]OFD Sender: No OFD packet to send [08:55:07]OFD Sender: No OFD packet to send [08:55:12]OFD Sender: No OFD packet to send [08:55:17]OFD Sender: No OFD packet to send [08:55:22]OFD Sender: No OFD packet to send [08:55:27]OFD Sender: No OFD packet to send [08:55:32]OFD Sender: No OFD packet to send [08:55:37]OFD Sender: No OFD packet to send [08:55:42]OFD Sender: No OFD packet to send [08:55:47]OFD Sender: No OFD packet to send [08:55:52]OFD Sender: No OFD packet to send [08:55:57]OFD Sender: No OFD packet to send [08:56:02]OFD Sender: No OFD packet to send [08:56:07]OFD Sender: No OFD packet to send [08:56:12]OFD Sender: No OFD packet to send [08:56:17]OFD Sender: No OFD packet to send [08:56:22]OFD Sender: No OFD packet to send [08:56:27]OFD Sender: No OFD packet to send [08:56:32]OFD Sender: No OFD packet to send [08:56:37]OFD Sender: No OFD packet to send [08:56:42]OFD Sender: No OFD packet to send [08:56:47]OFD Sender: No OFD packet to send [08:56:52]OFD Sender: No OFD packet to send [08:56:57]OFD Sender: No OFD packet to send [08:57:02]OFD Sender: No OFD packet to send [08:57:07]OFD Sender: No OFD packet to send [08:57:12]OFD Sender: No OFD packet to send [08:57:17]OFD Sender: No OFD packet to send [08:57:22]OFD Sender: No OFD packet to send [08:57:27]OFD Sender: No OFD packet to send [08:57:32]OFD Sender: No OFD packet to send [08:57:37]OFD Sender: No OFD packet to send [08:57:42]OFD Sender: No OFD packet to send [08:57:47]OFD Sender: No OFD packet to send [08:57:52]OFD Sender: No OFD packet to send [08:57:57]OFD Sender: No OFD packet to send [08:58:02]OFD Sender: No OFD packet to send [08:58:07]OFD Sender: No OFD packet to send [08:58:12]OFD Sender: No OFD packet to send [08:58:17]OFD Sender: No OFD packet to send [08:58:22]OFD Sender: No OFD packet to send [08:58:27]OFD Sender: No OFD packet to send [08:58:32]OFD Sender: No OFD packet to send [08:58:37]OFD Sender: No OFD packet to send [08:58:42]OFD Sender: No OFD packet to send [08:58:47]OFD Sender: No OFD packet to send [08:58:52]OFD Sender: No OFD packet to send [08:58:57]OFD Sender: No OFD packet to send [08:59:02]OFD Sender: No OFD packet to send [08:59:07]OFD Sender: No OFD packet to send [08:59:12]OFD Sender: No OFD packet to send [08:59:17]OFD Sender: No OFD packet to send [08:59:22]OFD Sender: No OFD packet to send [08:59:27]OFD Sender: No OFD packet to send [08:59:32]OFD Sender: No OFD packet to send [08:59:37]OFD Sender: No OFD packet to send [08:59:42]OFD Sender: No OFD packet to send [08:59:47]OFD Sender: No OFD packet to send [08:59:52]OFD Sender: No OFD packet to send [08:59:57]OFD Sender: No OFD packet to send [09:00:02]OFD Sender: No OFD packet to send [09:00:07]OFD Sender: No OFD packet to send [09:00:12]OFD Sender: No OFD packet to send [09:00:17]OFD Sender: No OFD packet to send [09:00:22]OFD Sender: No OFD packet to send [09:00:27]OFD Sender: No OFD packet to send [09:00:32]OFD Sender: No OFD packet to send [09:00:37]OFD Sender: No OFD packet to send [09:00:42]OFD Sender: No OFD packet to send [09:00:47]OFD Sender: No OFD packet to send [09:00:52]OFD Sender: No OFD packet to send [09:00:57]OFD Sender: No OFD packet to send [09:01:02]OFD Sender: No OFD packet to send [09:01:07]OFD Sender: No OFD packet to send [09:01:12]OFD Sender: No OFD packet to send [09:01:17]OFD Sender: No OFD packet to send [09:01:22]OFD Sender: No OFD packet to send [09:01:27]OFD Sender: No OFD packet to send [09:01:32]OFD Sender: No OFD packet to send [09:01:37]OFD Sender: No OFD packet to send [09:01:42]OFD Sender: No OFD packet to send [09:01:47]OFD Sender: No OFD packet to send [09:01:52]OFD Sender: No OFD packet to send [09:01:57]OFD Sender: No OFD packet to send [09:02:02]OFD Sender: No OFD packet to send [09:02:07]OFD Sender: No OFD packet to send [09:02:12]OFD Sender: No OFD packet to send [09:02:17]OFD Sender: No OFD packet to send [09:02:22]OFD Sender: No OFD packet to send [09:02:27]OFD Sender: No OFD packet to send [09:02:32]OFD Sender: No OFD packet to send [09:02:37]OFD Sender: No OFD packet to send [09:02:42]OFD Sender: No OFD packet to send [09:02:47]OFD Sender: No OFD packet to send [09:02:52]OFD Sender: No OFD packet to send [09:02:57]OFD Sender: No OFD packet to send [09:03:02]OFD Sender: No OFD packet to send [09:03:07]OFD Sender: No OFD packet to send [09:03:12]OFD Sender: No OFD packet to send [09:03:17]OFD Sender: No OFD packet to send [09:03:22]OFD Sender: No OFD packet to send [09:03:27]OFD Sender: No OFD packet to send [09:03:32]OFD Sender: No OFD packet to send [09:03:37]OFD Sender: No OFD packet to send [09:03:38]accept exits with 7 [09:03:38]New connection [09:03:38]New thread 3067448676 created [09:03:38]Thread 3067592036 joined [09:03:38]Waiting for new connection... [09:03:38] Sock 7.Parse request [09:03:38]Sock 7.Check first char [09:03:38]Sock 7.First char is OK [09:03:38]request: POST /json_proto HTTP/1.0 [09:03:38]Method: POST [09:03:38]URL: /json_proto [09:03:38]Method is POST - this is cgi request [09:03:38]url: /json_proto [09:03:38]query_string will be loaded in cgi processing [09:03:38]execute_cgi json_proto POST (null) [09:03:38]execute_cgi path=json_proto method=POST [09:03:38]POST find Content-Length [09:03:38]Host: 172.17.39.4:8080 [09:03:38]Content-Length: 998 [09:03:38]Content-Type: application/json [09:03:38] [09:03:38]POST finish read [09:03:38]Found Content-Length = 998 [09:03:38]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129495", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000038180017", "name": "\u041A\u043E\u0444\u0435 \u041C\u043E\u043A\u043A\u043E\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:03:38]execute_script... [09:03:38]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129495", "tax_sys" : 0, "items" : [ { "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000038180017", "name": "\u041A\u043E\u0444\u0435 \u041C\u043E\u043A\u043A\u043E\u0447\u0438\u043D\u043E (GABB TRADE)", "price" : 120.00, "quantity" : 1.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 250.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:03:38]POST & json_proto [09:03:38]process_json_proto [09:03:38]json parsed OK: [09:03:38]protocol is kg_v1.0 [09:03:38]action value=close_receipt [09:03:38]process_action close_receipt [09:03:38]cmd_close_receipt [09:03:38]MH_GetDate [09:03:38]Write to MH i2c: F0 00 00 FA 00 E9 [09:03:38]Write i2c OK [09:03:38]MH_I2C_Read... [09:03:38]Read from MH i2c: F0 [09:03:38]MH_I2C_Read... [09:03:38]Read from MH i2c: F0 09 00 [09:03:38]MH_I2C_Read... [09:03:38]Read from MH i2c: F0 09 00 FA 00 00 6B 94 93 66 2D 25 5D 64 FD [09:03:38]GetLastDocTimeStamp 1720946513 [09:03:38]current date 1720947819 [09:03:38]FM_GetShiftState [09:03:38]SAM_PROTO_GetShiftState [09:03:38]wFMCommunicate request_size=4 [09:03:38]MH_SAM_APDU [09:03:38]CAPDU: 80 13 01 00 [09:03:38]Write to MH i2c: E2 08 00 FB 00 80 13 01 00 00 00 00 00 78 [09:03:38]Write i2c OK [09:03:38]MH_I2C_Read... [09:03:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:38]Read from MH i2c: E2 [09:03:38]MH_I2C_Read... [09:03:38]Read from MH i2c: E2 0E 00 [09:03:38]MH_I2C_Read... [09:03:38]Read from MH i2c: E2 0E 00 FB 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 1F [09:03:38]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [09:03:38]wFMCommunicate OK [09:03:38]SAM_PROTO_GetShiftState done [09:03:38]FM_GetShiftState done [09:03:38]opened in 1720917126 [09:03:38]opened+sec_in_day 1721003526 [09:03:38]quantity*price = 13000 [09:03:38]sum+1 = 13001 [09:03:38]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000038180017 Кофе Моккочино (GABB TRADE) 1.000 * 120.00 = 120.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 250.00 НСП 1% : 2.21 НДС 12% : 26.54 Наличными: 250.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 46 14.07.2024 09:03 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57029 ФПД: 223862723840082 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T090339&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57029&fm=223862723840082&tin=02508201610067®Number=0000000000091208&sum=25000 0 [09:03:39]StoreToDocumentArchive [09:03:39]shift 496 fd 57029 [09:03:39]save to /storage/0496/doc_00057029 [09:03:39]save last doc name /storage/0496/doc_00057029 to /storage/kkm_last_doc_name [09:03:39]save OK [09:03:39]Clear old archive folders... [09:03:39]ProcessDocumentItem done err = 0, tmpTLVsize=388 [09:03:39]tlvbuf is 00FA0B90 [09:03:39]SAM_PROTO_ClearQueue [09:03:39]wFMCommunicate request_size=4 [09:03:39]MH_SAM_APDU [09:03:39]CAPDU: 80 09 00 00 [09:03:39]Write to MH i2c: E2 08 00 08 01 80 09 00 00 00 00 00 00 7B [09:03:39]Write i2c OK [09:03:39]MH_I2C_Read... [09:03:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:03:39]Read from MH i2c: E2 [09:03:39]MH_I2C_Read... [09:03:39]Read from MH i2c: E2 03 00 [09:03:39]MH_I2C_Read... [09:03:39]Read from MH i2c: E2 03 00 08 01 00 90 00 7D [09:03:39]RAPDU: 90 00 [09:03:39]wFMCommunicate OK [09:03:39]SAM_PROTO_ClearQueue done [09:03:39]KKMCreateOFDPacket [09:03:39]OFDProtocolAddRootSTLVToBuf [09:03:39]FM_MakeSignedData [09:03:39]FM_MakeSignedData [09:03:39]SAM_PROTO_SignData [09:03:39]wFMCommunicate request_size=4 [09:03:39]MH_SAM_APDU [09:03:39]CAPDU: 80 0D 01 02 [09:03:39]Write to MH i2c: E2 08 00 09 01 80 0D 01 02 00 00 00 00 83 [09:03:39]Write i2c OK [09:03:39]MH_I2C_Read... [09:03:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:03:39]Read from MH i2c: E2 [09:03:39]MH_I2C_Read... [09:03:39]Read from MH i2c: E2 03 00 [09:03:39]MH_I2C_Read... [09:03:39]Read from MH i2c: E2 03 00 09 01 00 90 00 7E [09:03:39]RAPDU: 90 00 [09:03:39]wFMCommunicate OK [09:03:39]wFMCommunicate request_size=255 [09:03:39]MH_SAM_APDU [09:03:39]CAPDU: 80 0D 02 02 FA 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 [09:03:39]Write to MH i2c: E2 02 01 0A 01 80 0D 02 02 FA 00 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A8 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 00 00 7B [09:03:39]Write i2c OK [09:03:39]MH_I2C_Read... [09:03:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:40]Read from MH i2c: E2 [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: E2 03 00 [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: E2 03 00 0A 01 00 90 00 7F [09:03:40]RAPDU: 90 00 [09:03:40]wFMCommunicate OK [09:03:40]wFMCommunicate request_size=147 [09:03:40]MH_SAM_APDU [09:03:40]CAPDU: 80 0D 02 02 8E F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 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 2E 00 00 00 F4 03 04 00 6B 94 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C5 DE 00 00 35 04 06 00 CB 9A 1A 22 08 52 [09:03:40]Write to MH i2c: E2 96 00 0B 01 80 0D 02 02 8E 00 F7 03 06 00 DD 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5E 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 2E 00 00 00 F4 03 04 00 6B 94 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C5 DE 00 00 35 04 06 00 CB 9A 1A 22 08 52 00 00 D4 [09:03:40]Write i2c OK [09:03:40]MH_I2C_Read... [09:03:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:03:40]Read from MH i2c: E2 [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: E2 03 00 [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: E2 03 00 0B 01 00 90 00 80 [09:03:40]RAPDU: 90 00 [09:03:40]wFMCommunicate OK [09:03:40]wFMCommunicate request_size=4 [09:03:40]MH_SAM_APDU [09:03:40]CAPDU: 80 0D 03 02 [09:03:40]Write to MH i2c: E2 08 00 0C 01 80 0D 03 02 00 00 00 00 88 [09:03:40]Write i2c OK [09:03:40]MH_I2C_Read... [09:03:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:03:40]Read from MH i2c: E2 [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: E2 0B 00 [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: E2 0B 00 0C 01 00 24 33 89 46 5F 5A 6D 94 90 00 69 [09:03:40]RAPDU: 24 33 89 46 5F 5A 6D 94 90 00 [09:03:40]wFMCommunicate OK [09:03:40]SAM_PROTO_SignData done [09:03:40]FM_MakeSignedData done [09:03:40]CreateOFDProtocolMessage [09:03:40]wFMCommunicate request_size=4 [09:03:40]MH_SAM_APDU [09:03:40]CAPDU: 80 11 00 00 [09:03:40]Write to MH i2c: E2 08 00 0D 01 80 11 00 00 00 00 00 00 88 [09:03:40]Write i2c OK [09:03:40]MH_I2C_Read... [09:03:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:40]Read from MH i2c: E2 [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: E2 17 00 [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: E2 17 00 0D 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E2 [09:03:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:03:40]wFMCommunicate OK [09:03:40]CreateOFDProtocolMessage done [09:03:40]OFDSenderStorePacket 57029 [09:03:40]StoreOFDPacket docnum=57029 [09:03:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 98 01 00 00 83 54 90 01 C7 90 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 5E 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 2E 00 00 00 F4 03 04 00 6B 94 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C5 DE 00 00 35 04 06 00 CB 9A 1A 22 08 52 24 33 89 46 5F 5A 6D 94 [09:03:40]CheckFolder [09:03:40]dirname=/storage/ofd_packets [09:03:40]CheckFolder done [09:03:40]ProducePacketName [09:03:40]name=ofd_packets/00057029 [09:03:40]NVStorageSaveData ofd_packets/00057029 [09:03:40]File name is /storage/ofd_packets/00057029 [09:03:40]Write 438 bytes [09:03:40]NVStorageSaveData done [09:03:40]OFDSenderStorePacket done [09:03:40]KKMCreateOFDPacket done [09:03:40]NVStorageSaveData kkm_last_timestamp [09:03:40]File name is /storage/kkm_last_timestamp [09:03:40]Write 4 bytes [09:03:40]NVStorageSaveData done [09:03:40]ExternCall_PrintAddStr [09:03:40]wPrintStart [09:03:40]Write to MH i2c: 01 00 00 0E 01 0F [09:03:40]Write i2c OK [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: 01 [09:03:40]MH_I2C_Read... [09:03:40]Read from MH i2c: 01 07 00 [09:03:40]MH_I2C_Read... [09:03:40]OFD Sender: Processing packet 57029 [packets to send 38, broken 37] [09:03:40]ProducePacketName [09:03:40]name=ofd_packets/00057029 [09:03:40]Read from MH i2c: OFD Sender: To server: pG, [09:03:40]01 CommunicateWithHost lk.salyk.kg:30040 [09:03:40]07 ConnectInit lk.salyk.kg [09:03:40]00 0E 01 00 00 00 00 00 FF 0F 24 [09:03:40]RasterBufferAndPrint [09:03:40]line Счет N : (3)129495 [09:03:40]line ИНН: 02508201610067 [09:03:40]line Контрольно-Кассовый Чек [09:03:40]line ПРОДАЖА [09:03:40]line Товар: 2000036230011 [09:03:40]line Кофе Латте XL(GABB TRADE) [09:03:40]line 1.000 * 130.00 [09:03:40]line = 130.00 [09:03:40]line НДС 12% НСП 1% [09:03:40]line > о реализуемом товаре [09:03:40]line Товар: 2000038180017 [09:03:40]line Кофе Моккочино (GABB TRADE) [09:03:40]line 1.000 * 120.00 [09:03:40]line = 120.00 [09:03:40]line НДС 12% НСП 1% [09:03:40]line > о реализуемом товаре [09:03:40]line ИТОГО: 250.00 [09:03:40]line НСП 1% : 2.21 [09:03:40]line НДС 12% : 26.54 [09:03:40]line Наличными: 250.00 [09:03:40]line Безнал.: 0.00 [09:03:40]line Место: АЗС № 132 "Партнер Нефть" [09:03:40]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:03:40]line СНО: Общий режим [09:03:40]line Чек 46 14.07.2024 09:03 [09:03:40]line Смена: 496 ФФД: 1.0 [09:03:40]line ЗНМ: 0300000132 [09:03:40]line РНМ: 0000000000091208 [09:03:40]line Версия ККМ: 001 [09:03:40]line ФМ: 0000000000874857 [09:03:40]line ФД: 57029 [09:03:40]line ФПД: 223862723840082 [09:03:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T090339&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57029&fm=223862723840082&tin=02508201610067®Number=0000000000091208&sum=25000 [09:03:40]line 0 [09:03:40]written 0, free lines is 4095 [09:03:40]Connected sock=10 [09:03:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 98 01 00 00 83 54 90 01 C7 90 5A 03 01 00 03 00 84 01 1E 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 38 31 38 30 30 31 37 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9C D0 BE D0 BA D0 BA D0 BE D1 87 D0 B8 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E0 2E 00 00 00 00 13 04 06 00 E0 2E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 5E 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 2E 00 00 00 F4 03 04 00 6B 94 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C5 DE 00 00 35 04 06 00 CB 9A 1A 22 08 52 24 33 89 46 5F 5A 6D 94 [09:03:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 87 F8 47 00 00 23 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C5 DE 00 00 F4 03 04 00 BC 3A 93 66 B6 04 01 00 00 BF E6 59 D3 C7 86 56 69 [09:03:41]CommunicateWithHost err = 0 [09:03:41]CheckOFDResponse [09:03:41]1017 (14) - 77093643461234 [09:03:41]1041 (16) - 0000000000874857 [09:03:41]1040 (4) - 57029 [09:03:41]1012 (4) - 14.07.2024 02:41 [09:03:41]1206 (1) - 0 [09:03:41]OFD Sender: Remove packet 57029 [09:03:41]ProducePacketName [09:03:41]name=ofd_packets/00057029 [09:03:41]NVStorageDeleteData [09:03:41]Write to MH i2c: 01 00 00 3D 01 3E [09:03:41]Write i2c OK [09:03:41]MH_I2C_Read... [09:03:41]Read from MH i2c: 01 [09:03:41]MH_I2C_Read... [09:03:41]Read from MH i2c: 01 07 00 [09:03:41]MH_I2C_Read... [09:03:41]Read from MH i2c: 01 07 00 3D 01 00 00 00 00 00 A4 0C F5 [09:03:41]RasterBufferAndPrint [09:03:41]line [09:03:41]line [09:03:41]line [09:03:41]line [09:03:41]line [09:03:41]written 0, free lines is 3242 [09:03:41]MH_Cut [09:03:41]Write to MH i2c: D1 01 00 44 01 01 17 [09:03:41]Write i2c OK [09:03:41]MH_I2C_Read... [09:03:41]Read from MH i2c: D1 [09:03:41]MH_I2C_Read... [09:03:41]Read from MH i2c: D1 01 00 [09:03:41]MH_I2C_Read... [09:03:41]Read from MH i2c: D1 01 00 44 01 00 16 [09:03:41]Write to MH i2c: 01 00 00 45 01 46 [09:03:41]Write i2c OK [09:03:41]MH_I2C_Read... [09:03:41]OFD Sender: No OFD packet to send [09:03:42]*** Cut start [09:03:42]*** Partial cut [09:03:42]*** CUTSNS_PIN = 1 [09:03:42]*** CUTSNS_PIN = 0 [09:03:42]*** Brake cut motor [09:03:42]Read from MH i2c: 01 [09:03:42]MH_I2C_Read... [09:03:42]*** Stop cut motor [09:03:42]*** Cut end [09:03:42]Read from MH i2c: 01 07 00 [09:03:42]MH_I2C_Read... [09:03:42]Read from MH i2c: 01 07 00 45 01 00 00 00 00 00 FF 0F 5B [09:03:42]process_action close_receipt done [09:03:42]requested_data is exist [09:03:42]produce_requested_data [09:03:42]requested_item fm.sn is exist - process it [09:03:42]wFMCommunicate request_size=4 [09:03:42]MH_SAM_APDU [09:03:42]CAPDU: 80 11 00 00 [09:03:42]Write to MH i2c: E2 08 00 46 01 80 11 00 00 00 00 00 00 C1 [09:03:42]Write i2c OK [09:03:42]MH_I2C_Read... [09:03:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:03:42]Read from MH i2c: E2 [09:03:42]MH_I2C_Read... [09:03:42]Read from MH i2c: E2 17 00 [09:03:42]MH_I2C_Read... [09:03:42]Read from MH i2c: E2 17 00 46 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1B [09:03:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:03:42]wFMCommunicate OK [09:03:42]requested_item fd.num is exist - process it [09:03:42]SAM_PROTO_GetFieldsCounters [09:03:42]wFMCommunicate request_size=4 [09:03:42]MH_SAM_APDU [09:03:42]CAPDU: 80 13 00 00 [09:03:42]Write to MH i2c: E2 08 00 47 01 80 13 00 00 00 00 00 00 C4 [09:03:42]Write i2c OK [09:03:42]MH_I2C_Read... [09:03:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:03:42]Read from MH i2c: E2 [09:03:42]MH_I2C_Read... [09:03:42]Read from MH i2c: E2 62 00 [09:03:42]MH_I2C_Read... [09:03:42]Read from MH i2c: E2 62 00 47 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C5 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 05 [09:03:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C5 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2E 00 00 00 5E 04 04 00 2E 00 00 00 57 04 04 00 2F 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:03:42]wFMCommunicate OK [09:03:42]SAM_PROTO_GetFieldsCounters done [09:03:42]requested_item shift.num is exist - process it [09:03:42]requested_item shift.opened is exist - process it [09:03:42]req_shift_opened [09:03:42]FM_GetShiftState [09:03:42]SAM_PROTO_GetShiftState [09:03:42]wFMCommunicate request_size=4 [09:03:42]MH_SAM_APDU [09:03:42]CAPDU: 80 13 01 00 [09:03:42]Write to MH i2c: E2 08 00 48 01 80 13 01 00 00 00 00 00 C6 [09:03:42]Write i2c OK [09:03:42]MH_I2C_Read... [09:03:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:03:42]Read from MH i2c: E2 [09:03:42]MH_I2C_Read... [09:03:42]Read from MH i2c: E2 0E 00 [09:03:42]MH_I2C_Read... [09:03:42]Read from MH i2c: E2 0E 00 48 01 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 6D [09:03:42]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [09:03:42]wFMCommunicate OK [09:03:42]SAM_PROTO_GetShiftState done [09:03:42]FM_GetShiftState done [09:03:42]req_shift_opened done [09:03:42]requested_item shift.open_date is exist - process it [09:03:42]req_shift_open_date [09:03:42]req_shift_open_date done [09:03:42]requested_item shift.sale.total is exist - process it [09:03:42]SAM_PROTO_GetShiftData [09:03:42]wFMCommunicate request_size=4 [09:03:42]MH_SAM_APDU [09:03:42]CAPDU: 80 13 02 00 [09:03:42]Write to MH i2c: E2 08 00 49 01 80 13 02 00 00 00 00 00 C8 [09:03:42]Write i2c OK [09:03:42]MH_I2C_Read... [09:03:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:03:43]Read from MH i2c: E2 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: E2 FD 00 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: E2 FD 00 49 01 00 BB 04 AA 04 B7 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 B4 C4 1D 70 04 03 00 CC 3C 1A 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4D 29 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 69 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 E9 [09:03:43]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 2E 00 00 00 69 04 9B 00 6F 04 04 00 2C 00 00 00 B1 04 03 00 B4 C4 1D 70 04 03 00 CC 3C 1A 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 4D 29 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 69 43 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [09:03:43]wFMCommunicate OK [09:03:43]wFMCommunicate request_size=4 [09:03:43]MH_SAM_APDU [09:03:43]CAPDU: 80 17 00 00 [09:03:43]Write to MH i2c: E2 08 00 4A 01 80 17 00 00 00 00 00 00 CB [09:03:43]Write i2c OK [09:03:43]MH_I2C_Read... [09:03:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:03:43]Read from MH i2c: E2 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: E2 FD 00 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: E2 FD 00 4A 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5E [09:03:43]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:03:43]wFMCommunicate OK [09:03:43]wFMCommunicate request_size=4 [09:03:43]MH_SAM_APDU [09:03:43]CAPDU: 80 17 00 00 [09:03:43]Write to MH i2c: E2 08 00 4B 01 80 17 00 00 00 00 00 00 CC [09:03:43]Write i2c OK [09:03:43]MH_I2C_Read... [09:03:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:03:43]Read from MH i2c: E2 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: E2 FD 00 [09:03:43]MH_I2C_Read... [09:03:43]Read from MH i2c: E2 FD 00 4B 01 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F8 [09:03:43]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:03:44]wFMCommunicate OK [09:03:44]wFMCommunicate request_size=4 [09:03:44]MH_SAM_APDU [09:03:44]CAPDU: 80 17 00 00 [09:03:44]Write to MH i2c: E2 08 00 4C 01 80 17 00 00 00 00 00 00 CD [09:03:44]Write i2c OK [09:03:44]MH_I2C_Read... [09:03:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:03:44]Read from MH i2c: E2 [09:03:44]MH_I2C_Read... [09:03:44]Read from MH i2c: E2 FD 00 [09:03:44]MH_I2C_Read... [09:03:44]Read from MH i2c: E2 FD 00 4C 01 00 00 00 EF 03 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 90 00 42 [09:03:44]RAPDU: 00 00 EF 03 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 90 00 [09:03:44]wFMCommunicate OK [09:03:44]wFMCommunicate request_size=4 [09:03:44]MH_SAM_APDU [09:03:44]CAPDU: 80 17 00 00 [09:03:44]Write to MH i2c: E2 08 00 4D 01 80 17 00 00 00 00 00 00 CE [09:03:44]Write i2c OK [09:03:44]MH_I2C_Read... [09:03:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [09:03:44]Read from MH i2c: E2 [09:03:44]MH_I2C_Read... [09:03:44]Read from MH i2c: E2 D8 00 [09:03:44]MH_I2C_Read... [09:03:44]Read from MH i2c: E2 D8 00 4D 01 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 B5 [09:03:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:03:44]wFMCommunicate OK [09:03:44]SAM_PROTO_GetShiftData done [09:03:44]requested_item shift.sale.total_cash is exist - process it [09:03:44]requested_item shift.sale_refund.total is exist - process it [09:03:44]requested_item shift.sale_refund.total_cash is exist - process it [09:03:44]produce_requested_data done [09:03:44]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57029,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":19509.00,"shift.sale.total_cash":17195.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [09:03:44]process_action_free close_receipt [09:03:44]json_value_free [09:03:44]json_value_free done [09:03:44]process_json_proto returns [09:03:44]Send response to host [09:03:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57029,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":19509.00,"shift.sale.total_cash":17195.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [09:03:44]free response buf [09:03:44]execute_script done [09:03:44]execute_script returns [09:03:44]free content buf [09:03:44]Sock 7.Close socket [09:03:44]Sock 7.Thread stoped [09:03:46]OFD Sender: No OFD packet to send [09:03:51]OFD Sender: No OFD packet to send [09:03:56]OFD Sender: No OFD packet to send [09:04:01]OFD Sender: No OFD packet to send [09:04:06]OFD Sender: No OFD packet to send [09:04:11]OFD Sender: No OFD packet to send [09:04:16]OFD Sender: No OFD packet to send [09:04:21]OFD Sender: No OFD packet to send [09:04:26]OFD Sender: No OFD packet to send [09:04:31]OFD Sender: No OFD packet to send [09:04:36]OFD Sender: No OFD packet to send [09:04:41]OFD Sender: No OFD packet to send [09:04:46]OFD Sender: No OFD packet to send [09:04:51]OFD Sender: No OFD packet to send [09:04:56]OFD Sender: No OFD packet to send [09:05:01]OFD Sender: No OFD packet to send [09:05:06]OFD Sender: No OFD packet to send [09:05:11]OFD Sender: No OFD packet to send [09:05:16]OFD Sender: No OFD packet to send [09:05:21]OFD Sender: No OFD packet to send [09:05:26]OFD Sender: No OFD packet to send [09:05:31]OFD Sender: No OFD packet to send [09:05:36]OFD Sender: No OFD packet to send [09:05:41]OFD Sender: No OFD packet to send [09:05:46]OFD Sender: No OFD packet to send [09:05:51]OFD Sender: No OFD packet to send [09:05:56]OFD Sender: No OFD packet to send [09:06:01]OFD Sender: No OFD packet to send [09:06:06]OFD Sender: No OFD packet to send [09:06:11]OFD Sender: No OFD packet to send [09:06:16]OFD Sender: No OFD packet to send [09:06:21]OFD Sender: No OFD packet to send [09:06:26]OFD Sender: No OFD packet to send [09:06:31]OFD Sender: No OFD packet to send [09:06:36]OFD Sender: No OFD packet to send [09:06:41]OFD Sender: No OFD packet to send [09:06:46]OFD Sender: No OFD packet to send [09:06:51]OFD Sender: No OFD packet to send [09:06:56]OFD Sender: No OFD packet to send [09:07:01]OFD Sender: No OFD packet to send [09:07:06]OFD Sender: No OFD packet to send [09:07:11]OFD Sender: No OFD packet to send [09:07:16]OFD Sender: No OFD packet to send [09:07:21]OFD Sender: No OFD packet to send [09:07:26]OFD Sender: No OFD packet to send [09:07:31]OFD Sender: No OFD packet to send [09:07:36]OFD Sender: No OFD packet to send [09:07:41]OFD Sender: No OFD packet to send [09:07:46]OFD Sender: No OFD packet to send [09:07:51]OFD Sender: No OFD packet to send [09:07:56]OFD Sender: No OFD packet to send [09:08:01]OFD Sender: No OFD packet to send [09:08:06]OFD Sender: No OFD packet to send [09:08:11]OFD Sender: No OFD packet to send [09:08:16]OFD Sender: No OFD packet to send [09:08:21]OFD Sender: No OFD packet to send [09:08:26]OFD Sender: No OFD packet to send [09:08:31]OFD Sender: No OFD packet to send [09:08:36]OFD Sender: No OFD packet to send [09:08:41]OFD Sender: No OFD packet to send [09:08:46]OFD Sender: No OFD packet to send [09:08:51]OFD Sender: No OFD packet to send [09:08:56]OFD Sender: No OFD packet to send [09:09:01]OFD Sender: No OFD packet to send [09:09:06]OFD Sender: No OFD packet to send [09:09:11]OFD Sender: No OFD packet to send [09:09:16]OFD Sender: No OFD packet to send [09:09:21]OFD Sender: No OFD packet to send [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:17]OFD Sender: No OFD packet to send [09:10:22]OFD Sender: No OFD packet to send [09:10:27]OFD Sender: No OFD packet to send [09:10:32]OFD Sender: No OFD packet to send [09:10:37]OFD Sender: No OFD packet to send [09:10:42]OFD Sender: No OFD packet to send [09:10:47]OFD Sender: No OFD packet to send [09:10:52]OFD Sender: No OFD packet to send [09:10:57]OFD Sender: No OFD packet to send [09:11:02]OFD Sender: No OFD packet to send [09:11:07]OFD Sender: No OFD packet to send [09:11:12]OFD Sender: No OFD packet to send [09:11:17]OFD Sender: No OFD packet to send [09:11:22]OFD Sender: No OFD packet to send [09:11:27]OFD Sender: No OFD packet to send [09:11:32]OFD Sender: No OFD packet to send [09:11:37]OFD Sender: No OFD packet to send [09:11:42]OFD Sender: No OFD packet to send [09:11:47]OFD Sender: No OFD packet to send [09:11:52]OFD Sender: No OFD packet to send [09:11:57]OFD Sender: No OFD packet to send [09:12:02]OFD Sender: No OFD packet to send [09:12:07]OFD Sender: No OFD packet to send [09:12:12]OFD Sender: No OFD packet to send [09:12:17]OFD Sender: No OFD packet to send [09:12:22]OFD Sender: No OFD packet to send [09:12:27]OFD Sender: No OFD packet to send [09:12:32]OFD Sender: No OFD packet to send [09:12:37]OFD Sender: No OFD packet to send [09:12:42]OFD Sender: No OFD packet to send [09:12:47]OFD Sender: No OFD packet to send [09:12:52]OFD Sender: No OFD packet to send [09:12:57]OFD Sender: No OFD packet to send [09:13:00]accept exits with 9 [09:13:00]New connection [09:13:00]New thread 3067592036 created [09:13:00]Thread 3067448676 joined [09:13:00]Waiting for new connection... [09:13:00] Sock 9.Parse request [09:13:00]Sock 9.Check first char [09:13:00]Sock 9.First char is OK [09:13:00]request: POST /json_proto HTTP/1.0 [09:13:00]Method: POST [09:13:00]URL: /json_proto [09:13:00]Method is POST - this is cgi request [09:13:00]url: /json_proto [09:13:00]query_string will be loaded in cgi processing [09:13:00]execute_cgi json_proto POST (null) [09:13:00]execute_cgi path=json_proto method=POST [09:13:00]POST find Content-Length [09:13:00]Host: 172.17.39.4:8080 [09:13:00]Content-Length: 782 [09:13:00]Content-Type: application/json [09:13:00] [09:13:00]POST finish read [09:13:00]Found Content-Length = 782 [09:13:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855181", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 10.560, "sum" : 700.13, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:13:00]execute_script... [09:13: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 : (1)855181", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 53", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 10.560, "sum" : 700.13, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:13:00]POST & json_proto [09:13:00]process_json_proto [09:13:00]json parsed OK: [09:13:00]protocol is kg_v1.0 [09:13:00]action value=close_receipt [09:13:00]process_action close_receipt [09:13:00]cmd_close_receipt [09:13:00]MH_GetDate [09:13:00]Write to MH i2c: F0 00 00 4E 01 3E [09:13:00]Write i2c OK [09:13:00]MH_I2C_Read... [09:13:00]Read from MH i2c: F0 [09:13:00]MH_I2C_Read... [09:13:00]Read from MH i2c: F0 09 00 [09:13:00]MH_I2C_Read... [09:13:00]Read from MH i2c: F0 09 00 4E 01 00 9D 96 93 66 2D 25 5D 64 86 [09:13:00]GetLastDocTimeStamp 1720947819 [09:13:00]current date 1720948381 [09:13:00]FM_GetShiftState [09:13:00]SAM_PROTO_GetShiftState [09:13:00]wFMCommunicate request_size=4 [09:13:00]MH_SAM_APDU [09:13:00]CAPDU: 80 13 01 00 [09:13:00]Write to MH i2c: E2 08 00 4F 01 80 13 01 00 00 00 00 00 CD [09:13:00]Write i2c OK [09:13:00]MH_I2C_Read... [09:13:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:00]Read from MH i2c: E2 [09:13:00]MH_I2C_Read... [09:13:00]Read from MH i2c: E2 0E 00 [09:13:00]MH_I2C_Read... [09:13:00]Read from MH i2c: E2 0E 00 4F 01 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 74 [09:13:00]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [09:13:00]wFMCommunicate OK [09:13:00]SAM_PROTO_GetShiftState done [09:13:00]FM_GetShiftState done [09:13:00]opened in 1720917126 [09:13:00]opened+sec_in_day 1721003526 [09:13:00]quantity*price = 70012 [09:13:00]sum+1 = 70014 [09:13:00]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.13 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.35 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 47 14.07.2024 09:13 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57030 ФПД: 242873169669922 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T091301&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57030&fm=242873169669922&tin=02508201610067®Number=0000000000091208&sum=70000 [09:13:01]StoreToDocumentArchive [09:13:01]shift 496 fd 57030 [09:13:01]save to /storage/0496/doc_00057030 [09:13:01]save last doc name /storage/0496/doc_00057030 to /storage/kkm_last_doc_name [09:13:01]save OK [09:13:01]Clear old archive folders... [09:13:01]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:13:01]tlvbuf is 00FA26C0 [09:13:01]SAM_PROTO_ClearQueue [09:13:01]wFMCommunicate request_size=4 [09:13:01]MH_SAM_APDU [09:13:01]CAPDU: 80 09 00 00 [09:13:01]Write to MH i2c: E2 08 00 5C 01 80 09 00 00 00 00 00 00 CF [09:13:01]Write i2c OK [09:13:01]MH_I2C_Read... [09:13:01]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:13:02]Read from MH i2c: E2 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 03 00 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 03 00 5C 01 00 90 00 D1 [09:13:02]RAPDU: 90 00 [09:13:02]wFMCommunicate OK [09:13:02]SAM_PROTO_ClearQueue done [09:13:02]KKMCreateOFDPacket [09:13:02]OFDProtocolAddRootSTLVToBuf [09:13:02]FM_MakeSignedData [09:13:02]FM_MakeSignedData [09:13:02]SAM_PROTO_SignData [09:13:02]wFMCommunicate request_size=4 [09:13:02]MH_SAM_APDU [09:13:02]CAPDU: 80 0D 01 02 [09:13:02]Write to MH i2c: E2 08 00 5D 01 80 0D 01 02 00 00 00 00 D7 [09:13:02]Write i2c OK [09:13:02]MH_I2C_Read... [09:13:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:13:02]Read from MH i2c: E2 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 03 00 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 03 00 5D 01 00 90 00 D2 [09:13:02]RAPDU: 90 00 [09:13:02]wFMCommunicate OK [09:13:02]wFMCommunicate request_size=255 [09:13:02]MH_SAM_APDU [09:13: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 40 29 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 7D 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 0B 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 2F 00 00 00 F4 03 04 00 9D 96 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C6 DE 00 00 35 04 06 00 DC [09:13:02]Write to MH i2c: E2 02 01 5E 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 40 29 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 7D 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 0B 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 2F 00 00 00 F4 03 04 00 9D 96 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C6 DE 00 00 35 04 06 00 DC 00 00 40 [09:13:02]Write i2c OK [09:13:02]MH_I2C_Read... [09:13:02]OFD Sender: No OFD packet to send [09:13:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:02]Read from MH i2c: E2 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 03 00 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 03 00 5E 01 00 90 00 D3 [09:13:02]RAPDU: 90 00 [09:13:02]wFMCommunicate OK [09:13:02]wFMCommunicate request_size=10 [09:13:02]MH_SAM_APDU [09:13:02]CAPDU: 80 0D 02 02 05 E4 51 00 EF 22 [09:13:02]Write to MH i2c: E2 0D 00 5F 01 80 0D 02 02 05 00 E4 51 00 EF 22 00 00 2A [09:13:02]Write i2c OK [09:13:02]MH_I2C_Read... [09:13:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:13:02]Read from MH i2c: E2 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 03 00 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 03 00 5F 01 00 90 00 D4 [09:13:02]RAPDU: 90 00 [09:13:02]wFMCommunicate OK [09:13:02]wFMCommunicate request_size=4 [09:13:02]MH_SAM_APDU [09:13:02]CAPDU: 80 0D 03 02 [09:13:02]Write to MH i2c: E2 08 00 60 01 80 0D 03 02 00 00 00 00 DC [09:13:02]Write i2c OK [09:13:02]MH_I2C_Read... [09:13:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:13:02]Read from MH i2c: E2 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 0B 00 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 0B 00 60 01 00 DF 43 50 F2 7F CA 32 9F 90 00 5B [09:13:02]RAPDU: DF 43 50 F2 7F CA 32 9F 90 00 [09:13:02]wFMCommunicate OK [09:13:02]SAM_PROTO_SignData done [09:13:02]FM_MakeSignedData done [09:13:02]CreateOFDProtocolMessage [09:13:02]wFMCommunicate request_size=4 [09:13:02]MH_SAM_APDU [09:13:02]CAPDU: 80 11 00 00 [09:13:02]Write to MH i2c: E2 08 00 61 01 80 11 00 00 00 00 00 00 DC [09:13:02]Write i2c OK [09:13:02]MH_I2C_Read... [09:13:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:02]Read from MH i2c: E2 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 17 00 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: E2 17 00 61 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 36 [09:13:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:13:02]wFMCommunicate OK [09:13:02]CreateOFDProtocolMessage done [09:13:02]OFDSenderStorePacket 57030 [09:13:02]StoreOFDPacket docnum=57030 [09:13:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 6F 86 07 01 F6 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 40 29 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 7D 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 0B 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 2F 00 00 00 F4 03 04 00 9D 96 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C6 DE 00 00 35 04 06 00 DC E4 51 00 EF 22 DF 43 50 F2 7F CA 32 9F [09:13:02]CheckFolder [09:13:02]dirname=/storage/ofd_packets [09:13:02]CheckFolder done [09:13:02]ProducePacketName [09:13:02]name=ofd_packets/00057030 [09:13:02]NVStorageSaveData ofd_packets/00057030 [09:13:02]File name is /storage/ofd_packets/00057030 [09:13:02]Write 301 bytes [09:13:02]NVStorageSaveData done [09:13:02]OFDSenderStorePacket done [09:13:02]KKMCreateOFDPacket done [09:13:02]NVStorageSaveData kkm_last_timestamp [09:13:02]File name is /storage/kkm_last_timestamp [09:13:02]Write 4 bytes [09:13:02]NVStorageSaveData done [09:13:02]ExternCall_PrintAddStr [09:13:02]wPrintStart [09:13:02]Write to MH i2c: 01 00 00 62 01 63 [09:13:02]OFD Sender: Processing packet 57030 [packets to send 38, broken 37] [09:13:02]ProducePacketName [09:13:02]name=ofd_packets/00057030 [09:13:02]OFD Sender: To server: pG, [09:13:02]CommunicateWithHost lk.salyk.kg:30040 [09:13:02]ConnectInit lk.salyk.kg [09:13:02]Write i2c OK [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: 01 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: 01 07 00 [09:13:02]MH_I2C_Read... [09:13:02]Read from MH i2c: 01 07 00 62 01 00 00 00 00 00 FF 0F 78 [09:13:02]RasterBufferAndPrint [09:13:02]line Счет N : (1)855181 [09:13:02]line ИНН: 02508201610067 [09:13:02]line Контрольно-Кассовый Чек [09:13:02]line ПРОДАЖА [09:13:02]line ТРК (МРК, ГНК) : 53 [09:13:02]line Товар: 2710124130 [09:13:02]line Аи-92-К-5 [09:13:02]line 10.560 * 66.30 [09:13:02]line = 700.13 [09:13:02]line НДС 12% НСП 1% [09:13:02]line > о реализуемом товаре [09:13:02]line ОКРУГЛЕНИЕ: -0.13 [09:13:02]line ИТОГО: 700.00 [09:13:02]line Внесено: 700.00 [09:13:02]line СДАЧА: 0.00 [09:13:02]line НСП 1% : 6.20 [09:13:02]line НДС 12% : 74.35 [09:13:02]line Наличными: 700.00 [09:13:02]line Безнал.: 0.00 [09:13:02]line Место: АЗС № 132 "Партнер Нефть" [09:13:02]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:13:02]line СНО: Общий режим [09:13:02]line Чек 47 14.07.2024 09:13 [09:13:02]line Смена: 496 ФФД: 1.0 [09:13:02]line ЗНМ: 0300000132 [09:13:02]line РНМ: 0000000000091208 [09:13:02]line Версия ККМ: 001 [09:13:02]line ФМ: 0000000000874857 [09:13:02]line ФД: 57030 [09:13:02]line ФПД: 242873169669922 [09:13:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T091301&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57030&fm=242873169669922&tin=02508201610067®Number=0000000000091208&sum=70000 [09:13:02]written 0, free lines is 4095 [09:13:02]Connected sock=10 [09:13:02]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 6F 86 07 01 F6 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 40 29 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 7D 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 0B 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 2F 00 00 00 F4 03 04 00 9D 96 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C6 DE 00 00 35 04 06 00 DC E4 51 00 EF 22 DF 43 50 F2 7F CA 32 9F [09:13:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E4 23 47 00 2D 44 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C6 DE 00 00 F4 03 04 00 EE 3C 93 66 B6 04 01 00 00 B4 CC 43 BD 12 F8 B0 F5 [09:13:03]CommunicateWithHost err = 0 [09:13:03]CheckOFDResponse [09:13:03]1017 (14) - 77093643461234 [09:13:03]1041 (16) - 0000000000874857 [09:13:03]1040 (4) - 57030 [09:13:03]1012 (4) - 14.07.2024 02:50 [09:13:03]1206 (1) - 0 [09:13:03]OFD Sender: Remove packet 57030 [09:13:03]ProducePacketName [09:13:03]name=ofd_packets/00057030 [09:13:03]NVStorageDeleteData [09:13:03]Write to MH i2c: 01 00 00 8D 01 8E [09:13:03]Write i2c OK [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: 01 [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: 01 07 00 [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: 01 07 00 8D 01 00 00 00 00 00 CE 0C 6F [09:13:03]RasterBufferAndPrint [09:13:03]line [09:13:03]line [09:13:03]line [09:13:03]line [09:13:03]line [09:13:03]written 0, free lines is 3284 [09:13:03]MH_Cut [09:13:03]Write to MH i2c: D1 01 00 94 01 01 67 [09:13:03]Write i2c OK [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: D1 [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: D1 01 00 [09:13:03]MH_I2C_Read... [09:13:03]Read from MH i2c: D1 01 00 94 01 00 66 [09:13:03]Write to MH i2c: 01 00 00 95 01 96 [09:13:03]Write i2c OK [09:13:03]MH_I2C_Read... [09:13:03]OFD Sender: No OFD packet to send [09:13:04]*** Cut start [09:13:04]*** Partial cut [09:13:04]*** CUTSNS_PIN = 1 [09:13:04]*** CUTSNS_PIN = 0 [09:13:04]*** Brake cut motor [09:13:04]Read from MH i2c: 01 [09:13:04]MH_I2C_Read... [09:13:04]*** Stop cut motor [09:13:04]Read from MH i2c: 01 07 00 [09:13:04]MH_I2C_Read... [09:13:04]*** Cut end [09:13:04]Read from MH i2c: 01 07 00 95 01 00 00 00 00 00 FF 0F AB [09:13:04]process_action close_receipt done [09:13:04]requested_data is exist [09:13:04]produce_requested_data [09:13:04]requested_item fm.sn is exist - process it [09:13:04]wFMCommunicate request_size=4 [09:13:04]MH_SAM_APDU [09:13:04]CAPDU: 80 11 00 00 [09:13:04]Write to MH i2c: E2 08 00 96 01 80 11 00 00 00 00 00 00 11 [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:13:04]Read from MH i2c: E2 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 17 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 17 00 96 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6B [09:13:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:13:04]wFMCommunicate OK [09:13:04]requested_item fd.num is exist - process it [09:13:04]SAM_PROTO_GetFieldsCounters [09:13:04]wFMCommunicate request_size=4 [09:13:04]MH_SAM_APDU [09:13:04]CAPDU: 80 13 00 00 [09:13:04]Write to MH i2c: E2 08 00 97 01 80 13 00 00 00 00 00 00 14 [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:13:04]Read from MH i2c: E2 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 62 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 62 00 97 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C6 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 59 [09:13:04]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C6 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 2F 00 00 00 5E 04 04 00 2F 00 00 00 57 04 04 00 30 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:13:04]wFMCommunicate OK [09:13:04]SAM_PROTO_GetFieldsCounters done [09:13:04]requested_item shift.num is exist - process it [09:13:04]requested_item shift.opened is exist - process it [09:13:04]req_shift_opened [09:13:04]FM_GetShiftState [09:13:04]SAM_PROTO_GetShiftState [09:13:04]wFMCommunicate request_size=4 [09:13:04]MH_SAM_APDU [09:13:04]CAPDU: 80 13 01 00 [09:13:04]Write to MH i2c: E2 08 00 98 01 80 13 01 00 00 00 00 00 16 [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:13:04]Read from MH i2c: E2 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 0E 00 [09:13:04]MH_I2C_Read... [09:13:04]Read from MH i2c: E2 0E 00 98 01 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 BD [09:13:04]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [09:13:04]wFMCommunicate OK [09:13:04]SAM_PROTO_GetShiftState done [09:13:04]FM_GetShiftState done [09:13:04]req_shift_opened done [09:13:04]requested_item shift.open_date is exist - process it [09:13:04]req_shift_open_date [09:13:04]req_shift_open_date done [09:13:04]requested_item shift.sale.total is exist - process it [09:13:04]SAM_PROTO_GetShiftData [09:13:04]wFMCommunicate request_size=4 [09:13:04]MH_SAM_APDU [09:13:04]CAPDU: 80 13 02 00 [09:13:04]Write to MH i2c: E2 08 00 99 01 80 13 02 00 00 00 00 00 18 [09:13:04]Write i2c OK [09:13:04]MH_I2C_Read... [09:13:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:13:05]Read from MH i2c: E2 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: E2 FD 00 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: E2 FD 00 99 01 00 BB 04 AA 04 B7 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 24 D6 1E 70 04 03 00 3C 4E 1B 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 58 46 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D5 45 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 D7 [09:13:05]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 2F 00 00 00 69 04 9B 00 6F 04 04 00 2D 00 00 00 B1 04 03 00 24 D6 1E 70 04 03 00 3C 4E 1B 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 58 46 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D5 45 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [09:13:05]wFMCommunicate OK [09:13:05]wFMCommunicate request_size=4 [09:13:05]MH_SAM_APDU [09:13:05]CAPDU: 80 17 00 00 [09:13:05]Write to MH i2c: E2 08 00 9A 01 80 17 00 00 00 00 00 00 1B [09:13:05]Write i2c OK [09:13:05]MH_I2C_Read... [09:13:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:13:05]Read from MH i2c: E2 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: E2 FD 00 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: E2 FD 00 9A 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AE [09:13:05]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:13:05]wFMCommunicate OK [09:13:05]wFMCommunicate request_size=4 [09:13:05]MH_SAM_APDU [09:13:05]CAPDU: 80 17 00 00 [09:13:05]Write to MH i2c: E2 08 00 9B 01 80 17 00 00 00 00 00 00 1C [09:13:05]Write i2c OK [09:13:05]MH_I2C_Read... [09:13:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:13:05]Read from MH i2c: E2 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: E2 FD 00 [09:13:05]MH_I2C_Read... [09:13:05]Read from MH i2c: E2 FD 00 9B 01 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 48 [09:13:05]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:13:05]wFMCommunicate OK [09:13:05]wFMCommunicate request_size=4 [09:13:05]MH_SAM_APDU [09:13:05]CAPDU: 80 17 00 00 [09:13:05]Write to MH i2c: E2 08 00 9C 01 80 17 00 00 00 00 00 00 1D [09:13:05]Write i2c OK [09:13:05]MH_I2C_Read... [09:13:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:13:06]Read from MH i2c: E2 [09:13:06]MH_I2C_Read... [09:13:06]Read from MH i2c: E2 FD 00 [09:13:06]MH_I2C_Read... [09:13:06]Read from MH i2c: E2 FD 00 9C 01 00 00 00 EF 03 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 90 00 92 [09:13:06]RAPDU: 00 00 EF 03 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 90 00 [09:13:06]wFMCommunicate OK [09:13:06]wFMCommunicate request_size=4 [09:13:06]MH_SAM_APDU [09:13:06]CAPDU: 80 17 00 00 [09:13:06]Write to MH i2c: E2 08 00 9D 01 80 17 00 00 00 00 00 00 1E [09:13:06]Write i2c OK [09:13:06]MH_I2C_Read... [09:13:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [09:13:06]Read from MH i2c: E2 [09:13:06]MH_I2C_Read... [09:13:06]Read from MH i2c: E2 D8 00 [09:13:06]MH_I2C_Read... [09:13:06]Read from MH i2c: E2 D8 00 9D 01 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 05 [09:13:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:13:06]wFMCommunicate OK [09:13:06]SAM_PROTO_GetShiftData done [09:13:06]requested_item shift.sale.total_cash is exist - process it [09:13:06]requested_item shift.sale_refund.total is exist - process it [09:13:06]requested_item shift.sale_refund.total_cash is exist - process it [09:13:06]produce_requested_data done [09:13:06]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57030,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20209.00,"shift.sale.total_cash":17895.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [09:13:06]process_action_free close_receipt [09:13:06]json_value_free [09:13:06]json_value_free done [09:13:06]process_json_proto returns [09:13:06]Send response to host [09:13:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57030,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20209.00,"shift.sale.total_cash":17895.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [09:13:06]free response buf [09:13:06]execute_script done [09:13:06]execute_script returns [09:13:06]free content buf [09:13:06]Sock 9.Close socket [09:13:06]Sock 9.Thread stoped [09:13:08]OFD Sender: No OFD packet to send [09:13:13]OFD Sender: No OFD packet to send [09:13:18]OFD Sender: No OFD packet to send [09:13:23]OFD Sender: No OFD packet to send [09:13:28]OFD Sender: No OFD packet to send [09:13:33]OFD Sender: No OFD packet to send [09:13:38]OFD Sender: No OFD packet to send [09:13:43]OFD Sender: No OFD packet to send [09:13:48]OFD Sender: No OFD packet to send [09:13:53]OFD Sender: No OFD packet to send [09:13:58]OFD Sender: No OFD packet to send [09:14:03]OFD Sender: No OFD packet to send [09:14:08]OFD Sender: No OFD packet to send [09:14:13]OFD Sender: No OFD packet to send [09:14:18]OFD Sender: No OFD packet to send [09:14:23]accept exits with 7 [09:14:23]New connection [09:14:23]New thread 3067448676 created [09:14:23]Thread 3067592036 joined [09:14:23]Waiting for new connection... [09:14:23] Sock 7.Parse request [09:14:23]Sock 7.Check first char [09:14:23]Sock 7.First char is OK [09:14:23]request: POST /json_proto HTTP/1.0 [09:14:23]Method: POST [09:14:23]URL: /json_proto [09:14:23]Method is POST - this is cgi request [09:14:23]url: /json_proto [09:14:23]query_string will be loaded in cgi processing [09:14:23]execute_cgi json_proto POST (null) [09:14:23]execute_cgi path=json_proto method=POST [09:14:23]POST find Content-Length [09:14:23]Host: 172.17.39.4:8080 [09:14:23]Content-Length: 781 [09:14:23]Content-Type: application/json [09:14:23] [09:14:23]POST finish read [09:14:23]Found Content-Length = 781 [09:14:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855182", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.530, "sum" : 300.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:14:23]execute_script... [09:14:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855182", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 33", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 4.530, "sum" : 300.34, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 300.00, "total" : 300.00, "payments": [ { "type": 0, "sum" : 300.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:14:23]POST & json_proto [09:14:23]process_json_proto [09:14:23]json parsed OK: [09:14:23]protocol is kg_v1.0 [09:14:23]action value=close_receipt [09:14:23]process_action close_receipt [09:14:23]cmd_close_receipt [09:14:23]MH_GetDate [09:14:23]Write to MH i2c: F0 00 00 9E 01 8E [09:14:23]Write i2c OK [09:14:23]MH_I2C_Read... [09:14:23]Read from MH i2c: F0 [09:14:23]MH_I2C_Read... [09:14:23]Read from MH i2c: F0 09 00 [09:14:23]MH_I2C_Read... [09:14:23]Read from MH i2c: F0 09 00 9E 01 00 EF 96 93 66 2D 25 5D 64 28 [09:14:23]GetLastDocTimeStamp 1720948381 [09:14:23]current date 1720948463 [09:14:23]FM_GetShiftState [09:14:23]SAM_PROTO_GetShiftState [09:14:23]wFMCommunicate request_size=4 [09:14:23]MH_SAM_APDU [09:14:23]CAPDU: 80 13 01 00 [09:14:23]Write to MH i2c: E2 08 00 9F 01 80 13 01 00 00 00 00 00 1D [09:14:23]Write i2c OK [09:14:23]MH_I2C_Read... [09:14:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:14:23]Read from MH i2c: E2 [09:14:23]MH_I2C_Read... [09:14:23]Read from MH i2c: E2 0E 00 [09:14:23]MH_I2C_Read... [09:14:23]Read from MH i2c: E2 0E 00 9F 01 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C4 [09:14:23]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [09:14:23]wFMCommunicate OK [09:14:23]SAM_PROTO_GetShiftState done [09:14:23]FM_GetShiftState done [09:14:23]opened in 1720917126 [09:14:23]opened+sec_in_day 1721003526 [09:14:23]quantity*price = 30033 [09:14:23]sum+1 = 30035 [09:14:23]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.34 ИТОГО: 300.00 Внесено: 300.00 СДАЧА: 0.00 НСП 1% : 2.66 НДС 12% : 31.89 Наличными: 300.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 48 14.07.2024 09:14 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57031 ФПД: 89312466074817 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T091423&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57031&fm=89312466074817&tin=02508201610067®Number=0000000000091208&sum=30000 [09:14:24]StoreToDocumentArchive [09:14:24]shift 496 fd 57031 [09:14:24]save to /storage/0496/doc_00057031 [09:14:24]save last doc name /storage/0496/doc_00057031 to /storage/kkm_last_doc_name [09:14:24]save OK [09:14:24]Clear old archive folders... [09:14:24]ProcessDocumentItem done err = 0, tmpTLVsize=251 [09:14:24]tlvbuf is 00FB3560 [09:14:24]SAM_PROTO_ClearQueue [09:14:24]wFMCommunicate request_size=4 [09:14:24]MH_SAM_APDU [09:14:24]CAPDU: 80 09 00 00 [09:14:24]Write to MH i2c: E2 08 00 AC 01 80 09 00 00 00 00 00 00 1F [09:14:24]Write i2c OK [09:14:24]MH_I2C_Read... [09:14:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:14:24]Read from MH i2c: E2 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 03 00 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 03 00 AC 01 00 90 00 21 [09:14:24]RAPDU: 90 00 [09:14:24]wFMCommunicate OK [09:14:24]SAM_PROTO_ClearQueue done [09:14:24]KKMCreateOFDPacket [09:14:24]OFDProtocolAddRootSTLVToBuf [09:14:24]FM_MakeSignedData [09:14:24]FM_MakeSignedData [09:14:24]SAM_PROTO_SignData [09:14:24]wFMCommunicate request_size=4 [09:14:24]MH_SAM_APDU [09:14:24]CAPDU: 80 0D 01 02 [09:14:24]Write to MH i2c: E2 08 00 AD 01 80 0D 01 02 00 00 00 00 27 [09:14:24]Write i2c OK [09:14:24]MH_I2C_Read... [09:14:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:14:24]Read from MH i2c: E2 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 03 00 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 03 00 AD 01 00 90 00 22 [09:14:24]RAPDU: 90 00 [09:14:24]wFMCommunicate OK [09:14:24]wFMCommunicate request_size=255 [09:14:24]MH_SAM_APDU [09:14:24]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 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 EF 96 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C7 DE 00 00 35 04 06 00 51 [09:14:24]Write to MH i2c: E2 02 01 AE 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 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 EF 96 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C7 DE 00 00 35 04 06 00 51 00 00 27 [09:14:24]Write i2c OK [09:14:24]MH_I2C_Read... [09:14:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:14:24]Read from MH i2c: E2 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 03 00 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 03 00 AE 01 00 90 00 23 [09:14:24]RAPDU: 90 00 [09:14:24]wFMCommunicate OK [09:14:24]wFMCommunicate request_size=10 [09:14:24]MH_SAM_APDU [09:14:24]CAPDU: 80 0D 02 02 05 3A AD D0 7C C1 [09:14:24]Write to MH i2c: E2 0D 00 AF 01 80 0D 02 02 05 00 3A AD D0 7C C1 00 00 28 [09:14:24]Write i2c OK [09:14:24]MH_I2C_Read... [09:14:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:14:24]Read from MH i2c: E2 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 03 00 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 03 00 AF 01 00 90 00 24 [09:14:24]RAPDU: 90 00 [09:14:24]wFMCommunicate OK [09:14:24]wFMCommunicate request_size=4 [09:14:24]MH_SAM_APDU [09:14:24]CAPDU: 80 0D 03 02 [09:14:24]Write to MH i2c: E2 08 00 B0 01 80 0D 03 02 00 00 00 00 2C [09:14:24]Write i2c OK [09:14:24]MH_I2C_Read... [09:14:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:14:24]Read from MH i2c: E2 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 0B 00 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 0B 00 B0 01 00 7F 8F 1F BE 8D F2 1C D8 90 00 8B [09:14:24]RAPDU: 7F 8F 1F BE 8D F2 1C D8 90 00 [09:14:24]wFMCommunicate OK [09:14:24]SAM_PROTO_SignData done [09:14:24]FM_MakeSignedData done [09:14:24]CreateOFDProtocolMessage [09:14:24]wFMCommunicate request_size=4 [09:14:24]MH_SAM_APDU [09:14:24]CAPDU: 80 11 00 00 [09:14:24]Write to MH i2c: E2 08 00 B1 01 80 11 00 00 00 00 00 00 2C [09:14:24]Write i2c OK [09:14:24]MH_I2C_Read... [09:14:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:14:24]Read from MH i2c: E2 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 17 00 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: E2 17 00 B1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 86 [09:14:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:14:24]wFMCommunicate OK [09:14:24]CreateOFDProtocolMessage done [09:14:24]OFDSenderStorePacket 57031 [09:14:24]StoreOFDPacket docnum=57031 [09:14:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 36 D0 07 01 E5 4B 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 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 EF 96 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C7 DE 00 00 35 04 06 00 51 3A AD D0 7C C1 7F 8F 1F BE 8D F2 1C D8 [09:14:24]CheckFolder [09:14:24]dirname=/storage/ofd_packets [09:14:24]CheckFolder done [09:14:24]ProducePacketName [09:14:24]name=ofd_packets/00057031 [09:14:24]NVStorageSaveData ofd_packets/00057031 [09:14:24]File name is /storage/ofd_packets/00057031 [09:14:24]Write 301 bytes [09:14:24]NVStorageSaveData done [09:14:24]OFDSenderStorePacket done [09:14:24]KKMCreateOFDPacket done [09:14:24]NVStorageSaveData kkm_last_timestamp [09:14:24]File name is /storage/kkm_last_timestamp [09:14:24]Write 4 bytes [09:14:24]NVStorageSaveData done [09:14:24]ExternCall_PrintAddStr [09:14:24]wPrintStart [09:14:24]Write to MH i2c: 01 00 00 B2 01 B3 [09:14:24]Write i2c OK [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: 01 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: 01 07 00 [09:14:24]MH_I2C_Read... [09:14:24]Read from MH i2c: 01 07 00 B2 01 00 00 00 00 00 FF 0F C8 [09:14:24]RasterBufferAndPrint [09:14:24]line Счет N : (1)855182 [09:14:24]line ИНН: 02508201610067 [09:14:24]line Контрольно-Кассовый Чек [09:14:24]line ПРОДАЖА [09:14:24]line ТРК (МРК, ГНК) : 33 [09:14:24]line Товар: 2710124130 [09:14:24]line Аи-92-К-5 [09:14:24]line 4.530 * 66.30 [09:14:24]line = 300.34 [09:14:24]line НДС 12% НСП 1% [09:14:24]line > о реализуемом товаре [09:14:24]line ОКРУГЛЕНИЕ: -0.34 [09:14:24]line ИТОГО: 300.00 [09:14:24]line Внесено: 300.00 [09:14:24]line СДАЧА: 0.00 [09:14:24]line НСП 1% : 2.66 [09:14:24]line НДС 12% : 31.89 [09:14:24]line Наличными: 300.00 [09:14:24]line Безнал.: 0.00 [09:14:24]line Место: АЗС № 132 "Партнер Нефть" [09:14:24]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:14:24]line СНО: Общий режим [09:14:24]line Чек 48 14.07.2024 09:14 [09:14:24]line Смена: 496 ФФД: 1.0 [09:14:24]line ЗНМ: 0300000132 [09:14:24]line РНМ: 0000000000091208 [09:14:24]line Версия ККМ: 001 [09:14:24]line ФМ: 0000000000874857 [09:14:24]line ФД: 57031 [09:14:24]line ФПД: 89312466074817 [09:14:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T091423&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57031&fm=89312466074817&tin=02508201610067®Number=0000000000091208&sum=30000 [09:14:25]OFD Sender: Processing packet 57031 [packets to send 38, broken 37] [09:14:25]ProducePacketName [09:14:25]name=ofd_packets/00057031 [09:14:25]OFD Sender: To server: pG, [09:14:25]CommunicateWithHost lk.salyk.kg:30040 [09:14:25]ConnectInit lk.salyk.kg [09:14:25]written 0, free lines is 4095 [09:14:25]Connected sock=10 [09:14:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 36 D0 07 01 E5 4B 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 B2 11 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 52 75 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 30 75 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 0A 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 75 0C 00 00 00 00 07 04 06 00 30 75 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 30 00 00 00 F4 03 04 00 EF 96 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C7 DE 00 00 35 04 06 00 51 3A AD D0 7C C1 7F 8F 1F BE 8D F2 1C D8 [09:14:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 15 BD 47 00 95 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C7 DE 00 00 F4 03 04 00 41 3D 93 66 B6 04 01 00 00 89 DF 9B 55 6C F2 8E 40 [09:14:25]CommunicateWithHost err = 0 [09:14:25]CheckOFDResponse [09:14:25]1017 (14) - 77093643461234 [09:14:25]1041 (16) - 0000000000874857 [09:14:25]1040 (4) - 57031 [09:14:25]1012 (4) - 14.07.2024 02:51 [09:14:25]1206 (1) - 0 [09:14:25]OFD Sender: Remove packet 57031 [09:14:25]ProducePacketName [09:14:25]name=ofd_packets/00057031 [09:14:25]NVStorageDeleteData [09:14:25]Write to MH i2c: 01 00 00 DD 01 DE [09:14:25]Write i2c OK [09:14:25]MH_I2C_Read... [09:14:25]Read from MH i2c: 01 [09:14:25]MH_I2C_Read... [09:14:25]Read from MH i2c: 01 07 00 [09:14:25]MH_I2C_Read... [09:14:25]Read from MH i2c: 01 07 00 DD 01 00 00 00 00 00 DC 0C CD [09:14:25]RasterBufferAndPrint [09:14:25]line [09:14:25]line [09:14:25]line [09:14:25]line [09:14:25]line [09:14:25]written 0, free lines is 3299 [09:14:25]MH_Cut [09:14:25]Write to MH i2c: D1 01 00 E4 01 01 B7 [09:14:25]Write i2c OK [09:14:25]MH_I2C_Read... [09:14:25]Read from MH i2c: D1 [09:14:25]MH_I2C_Read... [09:14:25]Read from MH i2c: D1 01 00 [09:14:25]MH_I2C_Read... [09:14:25]Read from MH i2c: D1 01 00 E4 01 00 B6 [09:14:25]Write to MH i2c: 01 00 00 E5 01 E6 [09:14:25]Write i2c OK [09:14:25]MH_I2C_Read... [09:14:25]OFD Sender: No OFD packet to send [09:14:26]*** Cut start [09:14:26]*** Partial cut [09:14:26]*** CUTSNS_PIN = 1 [09:14:26]*** CUTSNS_PIN = 0 [09:14:26]*** Brake cut motor [09:14:26]Read from MH i2c: 01 [09:14:26]MH_I2C_Read... [09:14:26]*** Stop cut motor [09:14:26]*** Cut end [09:14:26]Read from MH i2c: 01 07 00 [09:14:26]MH_I2C_Read... [09:14:26]Read from MH i2c: 01 07 00 E5 01 00 00 00 00 00 FF 0F FB [09:14:26]process_action close_receipt done [09:14:26]requested_data is exist [09:14:26]produce_requested_data [09:14:26]requested_item fm.sn is exist - process it [09:14:26]wFMCommunicate request_size=4 [09:14:26]MH_SAM_APDU [09:14:26]CAPDU: 80 11 00 00 [09:14:26]Write to MH i2c: E2 08 00 E6 01 80 11 00 00 00 00 00 00 61 [09:14:26]Write i2c OK [09:14:26]MH_I2C_Read... [09:14:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:14:27]Read from MH i2c: E2 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 17 00 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 17 00 E6 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BB [09:14:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:14:27]wFMCommunicate OK [09:14:27]requested_item fd.num is exist - process it [09:14:27]SAM_PROTO_GetFieldsCounters [09:14:27]wFMCommunicate request_size=4 [09:14:27]MH_SAM_APDU [09:14:27]CAPDU: 80 13 00 00 [09:14:27]Write to MH i2c: E2 08 00 E7 01 80 13 00 00 00 00 00 00 64 [09:14:27]Write i2c OK [09:14:27]MH_I2C_Read... [09:14:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:14:27]Read from MH i2c: E2 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 62 00 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 62 00 E7 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C7 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 AD [09:14:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C7 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 30 00 00 00 5E 04 04 00 30 00 00 00 57 04 04 00 31 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:14:27]wFMCommunicate OK [09:14:27]SAM_PROTO_GetFieldsCounters done [09:14:27]requested_item shift.num is exist - process it [09:14:27]requested_item shift.opened is exist - process it [09:14:27]req_shift_opened [09:14:27]FM_GetShiftState [09:14:27]SAM_PROTO_GetShiftState [09:14:27]wFMCommunicate request_size=4 [09:14:27]MH_SAM_APDU [09:14:27]CAPDU: 80 13 01 00 [09:14:27]Write to MH i2c: E2 08 00 E8 01 80 13 01 00 00 00 00 00 66 [09:14:27]Write i2c OK [09:14:27]MH_I2C_Read... [09:14:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:14:27]Read from MH i2c: E2 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 0E 00 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 0E 00 E8 01 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 0D [09:14:27]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [09:14:27]wFMCommunicate OK [09:14:27]SAM_PROTO_GetShiftState done [09:14:27]FM_GetShiftState done [09:14:27]req_shift_opened done [09:14:27]requested_item shift.open_date is exist - process it [09:14:27]req_shift_open_date [09:14:27]req_shift_open_date done [09:14:27]requested_item shift.sale.total is exist - process it [09:14:27]SAM_PROTO_GetShiftData [09:14:27]wFMCommunicate request_size=4 [09:14:27]MH_SAM_APDU [09:14:27]CAPDU: 80 13 02 00 [09:14:27]Write to MH i2c: E2 08 00 E9 01 80 13 02 00 00 00 00 00 68 [09:14:27]Write i2c OK [09:14:27]MH_I2C_Read... [09:14:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:14:27]Read from MH i2c: E2 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 FD 00 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 FD 00 E9 01 00 BB 04 AA 04 B7 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 54 4B 1F 70 04 03 00 6C C3 1B 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CD 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DF 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 00 [09:14:27]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 30 00 00 00 69 04 9B 00 6F 04 04 00 2E 00 00 00 B1 04 03 00 54 4B 1F 70 04 03 00 6C C3 1B 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CD 52 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DF 46 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [09:14:27]wFMCommunicate OK [09:14:27]wFMCommunicate request_size=4 [09:14:27]MH_SAM_APDU [09:14:27]CAPDU: 80 17 00 00 [09:14:27]Write to MH i2c: E2 08 00 EA 01 80 17 00 00 00 00 00 00 6B [09:14:27]Write i2c OK [09:14:27]MH_I2C_Read... [09:14:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:14:27]Read from MH i2c: E2 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 FD 00 [09:14:27]MH_I2C_Read... [09:14:27]Read from MH i2c: E2 FD 00 EA 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FE [09:14:27]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:14:27]wFMCommunicate OK [09:14:27]wFMCommunicate request_size=4 [09:14:27]MH_SAM_APDU [09:14:27]CAPDU: 80 17 00 00 [09:14:27]Write to MH i2c: E2 08 00 EB 01 80 17 00 00 00 00 00 00 6C [09:14:27]Write i2c OK [09:14:27]MH_I2C_Read... [09:14:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:14:28]Read from MH i2c: E2 [09:14:28]MH_I2C_Read... [09:14:28]Read from MH i2c: E2 FD 00 [09:14:28]MH_I2C_Read... [09:14:28]Read from MH i2c: E2 FD 00 EB 01 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 98 [09:14:28]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:14:28]wFMCommunicate OK [09:14:28]wFMCommunicate request_size=4 [09:14:28]MH_SAM_APDU [09:14:28]CAPDU: 80 17 00 00 [09:14:28]Write to MH i2c: E2 08 00 EC 01 80 17 00 00 00 00 00 00 6D [09:14:28]Write i2c OK [09:14:28]MH_I2C_Read... [09:14:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:14:28]Read from MH i2c: E2 [09:14:28]MH_I2C_Read... [09:14:28]Read from MH i2c: E2 FD 00 [09:14:28]MH_I2C_Read... [09:14:28]Read from MH i2c: E2 FD 00 EC 01 00 00 00 EF 03 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 90 00 E2 [09:14:28]RAPDU: 00 00 EF 03 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 90 00 [09:14:28]wFMCommunicate OK [09:14:28]wFMCommunicate request_size=4 [09:14:28]MH_SAM_APDU [09:14:28]CAPDU: 80 17 00 00 [09:14:28]Write to MH i2c: E2 08 00 ED 01 80 17 00 00 00 00 00 00 6E [09:14:28]Write i2c OK [09:14:28]MH_I2C_Read... [09:14:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [09:14:28]Read from MH i2c: E2 [09:14:28]MH_I2C_Read... [09:14:28]Read from MH i2c: E2 D8 00 [09:14:28]MH_I2C_Read... [09:14:28]Read from MH i2c: E2 D8 00 ED 01 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 55 [09:14:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:14:28]wFMCommunicate OK [09:14:28]SAM_PROTO_GetShiftData done [09:14:28]requested_item shift.sale.total_cash is exist - process it [09:14:28]requested_item shift.sale_refund.total is exist - process it [09:14:28]requested_item shift.sale_refund.total_cash is exist - process it [09:14:28]produce_requested_data done [09:14:28]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57031,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20509.00,"shift.sale.total_cash":18195.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [09:14:28]process_action_free close_receipt [09:14:28]json_value_free [09:14:28]json_value_free done [09:14:28]process_json_proto returns [09:14:28]Send response to host [09:14:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57031,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20509.00,"shift.sale.total_cash":18195.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [09:14:28]free response buf [09:14:28]execute_script done [09:14:28]execute_script returns [09:14:28]free content buf [09:14:28]Sock 7.Close socket [09:14:28]Sock 7.Thread stoped [09:14:31]OFD Sender: No OFD packet to send [09:14:36]OFD Sender: No OFD packet to send [09:14:41]OFD Sender: No OFD packet to send [09:14:46]OFD Sender: No OFD packet to send [09:14:51]OFD Sender: No OFD packet to send [09:14:56]OFD Sender: No OFD packet to send [09:15:01]OFD Sender: No OFD packet to send [09:15:06]OFD Sender: No OFD packet to send [09:15:11]OFD Sender: No OFD packet to send [09:15:16]OFD Sender: No OFD packet to send [09:15:21]OFD Sender: No OFD packet to send [09:15:26]OFD Sender: No OFD packet to send [09:15:31]OFD Sender: No OFD packet to send [09:15:36]OFD Sender: No OFD packet to send [09:15:41]OFD Sender: No OFD packet to send [09:15:46]OFD Sender: No OFD packet to send [09:15:51]OFD Sender: No OFD packet to send [09:15:56]OFD Sender: No OFD packet to send [09:16:01]OFD Sender: No OFD packet to send [09:16:06]OFD Sender: No OFD packet to send [09:16:11]OFD Sender: No OFD packet to send [09:16:16]OFD Sender: No OFD packet to send [09:16:21]OFD Sender: No OFD packet to send [09:16:26]OFD Sender: No OFD packet to send [09:16:31]OFD Sender: No OFD packet to send [09:16:36]OFD Sender: No OFD packet to send [09:16:41]OFD Sender: No OFD packet to send [09:16:46]OFD Sender: No OFD packet to send [09:16:51]OFD Sender: No OFD packet to send [09:16:56]OFD Sender: No OFD packet to send [09:17:01]OFD Sender: No OFD packet to send [09:17:06]OFD Sender: No OFD packet to send [09:17:11]OFD Sender: No OFD packet to send [09:17:16]OFD Sender: No OFD packet to send [09:17:21]OFD Sender: No OFD packet to send [09:17:26]OFD Sender: No OFD packet to send [09:17:31]OFD Sender: No OFD packet to send [09:17:36]OFD Sender: No OFD packet to send [09:17:41]OFD Sender: No OFD packet to send [09:17:46]OFD Sender: No OFD packet to send [09:17:51]OFD Sender: No OFD packet to send [09:17:56]OFD Sender: No OFD packet to send [09:18:01]OFD Sender: No OFD packet to send [09:18:06]OFD Sender: No OFD packet to send [09:18:11]OFD Sender: No OFD packet to send [09:18:16]OFD Sender: No OFD packet to send [09:18:21]OFD Sender: No OFD packet to send [09:18:26]OFD Sender: No OFD packet to send [09:18:31]OFD Sender: No OFD packet to send [09:18:36]OFD Sender: No OFD packet to send [09:18:41]OFD Sender: No OFD packet to send [09:18:46]OFD Sender: No OFD packet to send [09:18:51]OFD Sender: No OFD packet to send [09:18:56]OFD Sender: No OFD packet to send [09:19:01]OFD Sender: No OFD packet to send [09:19:06]OFD Sender: No OFD packet to send [09:19:11]OFD Sender: No OFD packet to send [09:19:16]OFD Sender: No OFD packet to send [09:19:21]OFD Sender: No OFD packet to send [09:19:26]OFD Sender: No OFD packet to send [09:19:31]OFD Sender: No OFD packet to send [09:19:36]OFD Sender: No OFD packet to send [09:19:41]OFD Sender: No OFD packet to send [09:19:46]OFD Sender: No OFD packet to send [09:19:51]OFD Sender: No OFD packet to send [09:19:56]OFD Sender: No OFD packet to send [09:20:01]OFD Sender: No OFD packet to send [09:20:06]OFD Sender: No OFD packet to send [09:20:11]OFD Sender: No OFD packet to send [09:20:16]OFD Sender: No OFD packet to send [09:20:21]OFD Sender: No OFD packet to send [09:20:26]OFD Sender: No OFD packet to send [09:20:31]OFD Sender: No OFD packet to send [09:20:36]OFD Sender: No OFD packet to send [09:20:41]OFD Sender: No OFD packet to send [09:20:46]OFD Sender: No OFD packet to send [09:20:51]OFD Sender: No OFD packet to send [09:20:56]OFD Sender: No OFD packet to send [09:21:01]OFD Sender: No OFD packet to send [09:21:06]OFD Sender: No OFD packet to send [09:21:11]OFD Sender: No OFD packet to send [09:21:16]OFD Sender: No OFD packet to send [09:21:21]OFD Sender: No OFD packet to send [09:21:26]OFD Sender: No OFD packet to send [09:21:31]OFD Sender: No OFD packet to send [09:21:36]OFD Sender: No OFD packet to send [09:21:41]OFD Sender: No OFD packet to send [09:21:46]OFD Sender: No OFD packet to send [09:21:51]OFD Sender: No OFD packet to send [09:21:56]OFD Sender: No OFD packet to send [09:22:01]OFD Sender: No OFD packet to send [09:22:06]OFD Sender: No OFD packet to send [09:22:11]OFD Sender: No OFD packet to send [09:22:16]OFD Sender: No OFD packet to send [09:22:21]OFD Sender: No OFD packet to send [09:22:26]OFD Sender: No OFD packet to send [09:22:31]OFD Sender: No OFD packet to send [09:22:36]OFD Sender: No OFD packet to send [09:22:41]OFD Sender: No OFD packet to send [09:22:46]OFD Sender: No OFD packet to send [09:22:51]OFD Sender: No OFD packet to send [09:22:56]OFD Sender: No OFD packet to send [09:23:01]OFD Sender: No OFD packet to send [09:23:06]OFD Sender: No OFD packet to send [09:23:11]OFD Sender: No OFD packet to send [09:23:16]OFD Sender: No OFD packet to send [09:23:21]OFD Sender: No OFD packet to send [09:23:26]OFD Sender: No OFD packet to send [09:23:31]OFD Sender: No OFD packet to send [09:23:36]OFD Sender: No OFD packet to send [09:23:41]OFD Sender: No OFD packet to send [09:23:46]OFD Sender: No OFD packet to send [09:23:51]OFD Sender: No OFD packet to send [09:23:56]OFD Sender: No OFD packet to send [09:24:01]OFD Sender: No OFD packet to send [09:24:06]OFD Sender: No OFD packet to send [09:24:11]OFD Sender: No OFD packet to send [09:24:16]OFD Sender: No OFD packet to send [09:24:21]OFD Sender: No OFD packet to send [09:24:26]OFD Sender: No OFD packet to send [09:24:31]OFD Sender: No OFD packet to send [09:24:36]OFD Sender: No OFD packet to send [09:24:41]OFD Sender: No OFD packet to send [09:24:46]OFD Sender: No OFD packet to send [09:24:51]OFD Sender: No OFD packet to send [09:24:56]OFD Sender: No OFD packet to send [09:25:01]OFD Sender: No OFD packet to send [09:25:06]OFD Sender: No OFD packet to send [09:25:11]OFD Sender: No OFD packet to send [09:25:16]OFD Sender: No OFD packet to send [09:25:21]OFD Sender: No OFD packet to send [09:25:26]OFD Sender: No OFD packet to send [09:25:31]OFD Sender: No OFD packet to send [09:25:36]OFD Sender: No OFD packet to send [09:25:41]OFD Sender: No OFD packet to send [09:25:46]OFD Sender: No OFD packet to send [09:25:51]OFD Sender: No OFD packet to send [09:25:56]OFD Sender: No OFD packet to send [09:26:01]OFD Sender: No OFD packet to send [09:26:06]OFD Sender: No OFD packet to send [09:26:11]OFD Sender: No OFD packet to send [09:26:16]OFD Sender: No OFD packet to send [09:26:21]OFD Sender: No OFD packet to send [09:26:26]OFD Sender: No OFD packet to send [09:26:31]OFD Sender: No OFD packet to send [09:26:36]OFD Sender: No OFD packet to send [09:26:41]OFD Sender: No OFD packet to send [09:26:46]OFD Sender: No OFD packet to send [09:26:51]OFD Sender: No OFD packet to send [09:26:56]OFD Sender: No OFD packet to send [09:27:01]OFD Sender: No OFD packet to send [09:27:06]OFD Sender: No OFD packet to send [09:27:11]OFD Sender: No OFD packet to send [09:27:16]OFD Sender: No OFD packet to send [09:27:21]OFD Sender: No OFD packet to send [09:27:26]OFD Sender: No OFD packet to send [09:27:31]OFD Sender: No OFD packet to send [09:27:36]OFD Sender: No OFD packet to send [09:27:41]OFD Sender: No OFD packet to send [09:27:46]OFD Sender: No OFD packet to send [09:27:51]OFD Sender: No OFD packet to send [09:27:56]OFD Sender: No OFD packet to send [09:28:01]OFD Sender: No OFD packet to send [09:28:06]OFD Sender: No OFD packet to send [09:28:11]OFD Sender: No OFD packet to send [09:28:16]OFD Sender: No OFD packet to send [09:28:21]OFD Sender: No OFD packet to send [09:28:26]OFD Sender: No OFD packet to send [09:28:31]OFD Sender: No OFD packet to send [09:28:36]OFD Sender: No OFD packet to send [09:28:41]OFD Sender: No OFD packet to send [09:28:46]OFD Sender: No OFD packet to send [09:28:51]OFD Sender: No OFD packet to send [09:28:56]OFD Sender: No OFD packet to send [09:29:01]OFD Sender: No OFD packet to send [09:29:06]OFD Sender: No OFD packet to send [09:29:11]OFD Sender: No OFD packet to send [09:29:16]OFD Sender: No OFD packet to send [09:29:21]OFD Sender: No OFD packet to send [09:29:26]OFD Sender: No OFD packet to send [09:29:31]OFD Sender: No OFD packet to send [09:29:36]OFD Sender: No OFD packet to send [09:29:41]OFD Sender: No OFD packet to send [09:29:46]OFD Sender: No OFD packet to send [09:29:51]OFD Sender: No OFD packet to send [09:29:56]OFD Sender: No OFD packet to send [09:30:01]OFD Sender: No OFD packet to send [09:30:06]OFD Sender: No OFD packet to send [09:30:11]OFD Sender: No OFD packet to send [09:30:16]OFD Sender: No OFD packet to send [09:30:21]OFD Sender: No OFD packet to send [09:30:26]OFD Sender: No OFD packet to send [09:30:31]OFD Sender: No OFD packet to send [09:30:36]OFD Sender: No OFD packet to send [09:30:41]OFD Sender: No OFD packet to send [09:30:46]OFD Sender: No OFD packet to send [09:30:51]OFD Sender: No OFD packet to send [09:30:56]OFD Sender: No OFD packet to send [09:31:01]OFD Sender: No OFD packet to send [09:31:06]OFD Sender: No OFD packet to send [09:31:11]OFD Sender: No OFD packet to send [09:31:16]OFD Sender: No OFD packet to send [09:31:21]OFD Sender: No OFD packet to send [09:31:26]OFD Sender: No OFD packet to send [09:31:31]OFD Sender: No OFD packet to send [09:31:36]OFD Sender: No OFD packet to send [09:31:41]OFD Sender: No OFD packet to send [09:31:46]OFD Sender: No OFD packet to send [09:31:51]OFD Sender: No OFD packet to send [09:31:56]OFD Sender: No OFD packet to send [09:32:01]OFD Sender: No OFD packet to send [09:32:06]OFD Sender: No OFD packet to send [09:32:11]OFD Sender: No OFD packet to send [09:32:16]OFD Sender: No OFD packet to send [09:32:21]OFD Sender: No OFD packet to send [09:32:26]OFD Sender: No OFD packet to send [09:32:31]OFD Sender: No OFD packet to send [09:32:36]OFD Sender: No OFD packet to send [09:32:41]OFD Sender: No OFD packet to send [09:32:46]OFD Sender: No OFD packet to send [09:32:51]OFD Sender: No OFD packet to send [09:32:56]OFD Sender: No OFD packet to send [09:33:01]OFD Sender: No OFD packet to send [09:33:06]OFD Sender: No OFD packet to send [09:33:11]OFD Sender: No OFD packet to send [09:33:16]OFD Sender: No OFD packet to send [09:33:22]OFD Sender: No OFD packet to send [09:33:27]OFD Sender: No OFD packet to send [09:33:32]OFD Sender: No OFD packet to send [09:33:37]OFD Sender: No OFD packet to send [09:33:42]OFD Sender: No OFD packet to send [09:33:47]OFD Sender: No OFD packet to send [09:33:52]OFD Sender: No OFD packet to send [09:33:57]OFD Sender: No OFD packet to send [09:34:02]OFD Sender: No OFD packet to send [09:34:07]OFD Sender: No OFD packet to send [09:34:12]OFD Sender: No OFD packet to send [09:34:17]OFD Sender: No OFD packet to send [09:34:22]OFD Sender: No OFD packet to send [09:34:27]OFD Sender: No OFD packet to send [09:34:32]OFD Sender: No OFD packet to send [09:34:37]OFD Sender: No OFD packet to send [09:34:42]OFD Sender: No OFD packet to send [09:34:47]OFD Sender: No OFD packet to send [09:34:52]OFD Sender: No OFD packet to send [09:34:57]OFD Sender: No OFD packet to send [09:35:02]OFD Sender: No OFD packet to send [09:35:07]OFD Sender: No OFD packet to send [09:35:12]OFD Sender: No OFD packet to send [09:35:17]OFD Sender: No OFD packet to send [09:35:22]OFD Sender: No OFD packet to send [09:35:27]OFD Sender: No OFD packet to send [09:35:32]OFD Sender: No OFD packet to send [09:35:37]OFD Sender: No OFD packet to send [09:35:42]OFD Sender: No OFD packet to send [09:35:47]OFD Sender: No OFD packet to send [09:35:52]OFD Sender: No OFD packet to send [09:35:57]OFD Sender: No OFD packet to send [09:36:02]OFD Sender: No OFD packet to send [09:36:07]OFD Sender: No OFD packet to send [09:36:12]OFD Sender: No OFD packet to send [09:36:17]OFD Sender: No OFD packet to send [09:36:22]OFD Sender: No OFD packet to send [09:36:27]OFD Sender: No OFD packet to send [09:36:32]OFD Sender: No OFD packet to send [09:36:37]OFD Sender: No OFD packet to send [09:36:42]OFD Sender: No OFD packet to send [09:36:47]OFD Sender: No OFD packet to send [09:36:52]OFD Sender: No OFD packet to send [09:36:57]OFD Sender: No OFD packet to send [09:37:02]OFD Sender: No OFD packet to send [09:37:07]OFD Sender: No OFD packet to send [09:37:12]OFD Sender: No OFD packet to send [09:37:17]OFD Sender: No OFD packet to send [09:37:22]OFD Sender: No OFD packet to send [09:37:27]OFD Sender: No OFD packet to send [09:37:32]OFD Sender: No OFD packet to send [09:37:37]OFD Sender: No OFD packet to send [09:37:42]OFD Sender: No OFD packet to send [09:37:47]OFD Sender: No OFD packet to send [09:37:52]OFD Sender: No OFD packet to send [09:37:57]OFD Sender: No OFD packet to send [09:38:02]OFD Sender: No OFD packet to send [09:38:07]OFD Sender: No OFD packet to send [09:38:12]OFD Sender: No OFD packet to send [09:38:17]OFD Sender: No OFD packet to send [09:38:22]OFD Sender: No OFD packet to send [09:38:27]OFD Sender: No OFD packet to send [09:38:32]OFD Sender: No OFD packet to send [09:38:37]OFD Sender: No OFD packet to send [09:38:42]OFD Sender: No OFD packet to send [09:38:47]OFD Sender: No OFD packet to send [09:38:52]OFD Sender: No OFD packet to send [09:38:57]OFD Sender: No OFD packet to send [09:39:02]OFD Sender: No OFD packet to send [09:39:07]OFD Sender: No OFD packet to send [09:39:12]OFD Sender: No OFD packet to send [09:39:17]OFD Sender: No OFD packet to send [09:39:22]OFD Sender: No OFD packet to send [09:39:27]OFD Sender: No OFD packet to send [09:39:32]OFD Sender: No OFD packet to send [09:39:37]OFD Sender: No OFD packet to send [09:39:42]OFD Sender: No OFD packet to send [09:39:47]OFD Sender: No OFD packet to send [09:39:52]OFD Sender: No OFD packet to send [09:39:57]OFD Sender: No OFD packet to send [09:40:02]OFD Sender: No OFD packet to send [09:40:07]OFD Sender: No OFD packet to send [09:40:12]OFD Sender: No OFD packet to send [09:40:17]OFD Sender: No OFD packet to send [09:40:22]OFD Sender: No OFD packet to send [09:40:27]OFD Sender: No OFD packet to send [09:40:32]OFD Sender: No OFD packet to send [09:40:37]OFD Sender: No OFD packet to send [09:40:42]OFD Sender: No OFD packet to send [09:40:47]OFD Sender: No OFD packet to send [09:40:52]OFD Sender: No OFD packet to send [09:40:57]OFD Sender: No OFD packet to send [09:41:02]OFD Sender: No OFD packet to send [09:41:07]OFD Sender: No OFD packet to send [09:41:12]OFD Sender: No OFD packet to send [09:41:17]OFD Sender: No OFD packet to send [09:41:22]OFD Sender: No OFD packet to send [09:41:27]OFD Sender: No OFD packet to send [09:41:32]OFD Sender: No OFD packet to send [09:41:37]OFD Sender: No OFD packet to send [09:41:42]OFD Sender: No OFD packet to send [09:41:47]OFD Sender: No OFD packet to send [09:41:52]OFD Sender: No OFD packet to send [09:41:57]OFD Sender: No OFD packet to send [09:42:02]OFD Sender: No OFD packet to send [09:42:07]OFD Sender: No OFD packet to send [09:42:12]OFD Sender: No OFD packet to send [09:42:17]OFD Sender: No OFD packet to send [09:42:22]OFD Sender: No OFD packet to send [09:42:27]OFD Sender: No OFD packet to send [09:42:32]OFD Sender: No OFD packet to send [09:42:37]OFD Sender: No OFD packet to send [09:42:42]OFD Sender: No OFD packet to send [09:42:47]OFD Sender: No OFD packet to send [09:42:52]OFD Sender: No OFD packet to send [09:42:57]OFD Sender: No OFD packet to send [09:43:02]OFD Sender: No OFD packet to send [09:43:07]OFD Sender: No OFD packet to send [09:43:12]OFD Sender: No OFD packet to send [09:43:17]OFD Sender: No OFD packet to send [09:43:22]OFD Sender: No OFD packet to send [09:43:27]OFD Sender: No OFD packet to send [09:43:32]OFD Sender: No OFD packet to send [09:43:37]OFD Sender: No OFD packet to send [09:43:42]OFD Sender: No OFD packet to send [09:43:47]OFD Sender: No OFD packet to send [09:43:52]OFD Sender: No OFD packet to send [09:43:57]OFD Sender: No OFD packet to send [09:44:02]OFD Sender: No OFD packet to send [09:44:07]OFD Sender: No OFD packet to send [09:44:12]OFD Sender: No OFD packet to send [09:44:17]OFD Sender: No OFD packet to send [09:44:22]OFD Sender: No OFD packet to send [09:44:27]OFD Sender: No OFD packet to send [09:44:32]OFD Sender: No OFD packet to send [09:44:37]OFD Sender: No OFD packet to send [09:44:42]OFD Sender: No OFD packet to send [09:44:47]OFD Sender: No OFD packet to send [09:44:52]OFD Sender: No OFD packet to send [09:44:57]OFD Sender: No OFD packet to send [09:45:02]OFD Sender: No OFD packet to send [09:45:07]OFD Sender: No OFD packet to send [09:45:12]OFD Sender: No OFD packet to send [09:45:17]OFD Sender: No OFD packet to send [09:45:22]OFD Sender: No OFD packet to send [09:45:27]OFD Sender: No OFD packet to send [09:45:32]OFD Sender: No OFD packet to send [09:45:37]OFD Sender: No OFD packet to send [09:45:42]OFD Sender: No OFD packet to send [09:45:47]OFD Sender: No OFD packet to send [09:45:52]OFD Sender: No OFD packet to send [09:45:57]OFD Sender: No OFD packet to send [09:46:02]OFD Sender: No OFD packet to send [09:46:07]OFD Sender: No OFD packet to send [09:46:12]OFD Sender: No OFD packet to send [09:46:17]OFD Sender: No OFD packet to send [09:46:22]OFD Sender: No OFD packet to send [09:46:27]OFD Sender: No OFD packet to send [09:46:32]OFD Sender: No OFD packet to send [09:46:37]OFD Sender: No OFD packet to send [09:46:42]OFD Sender: No OFD packet to send [09:46:47]OFD Sender: No OFD packet to send [09:46:52]OFD Sender: No OFD packet to send [09:46:57]OFD Sender: No OFD packet to send [09:47:02]OFD Sender: No OFD packet to send [09:47:07]OFD Sender: No OFD packet to send [09:47:12]OFD Sender: No OFD packet to send [09:47:17]OFD Sender: No OFD packet to send [09:47:22]OFD Sender: No OFD packet to send [09:47:27]OFD Sender: No OFD packet to send [09:47:32]OFD Sender: No OFD packet to send [09:47:37]OFD Sender: No OFD packet to send [09:47:42]OFD Sender: No OFD packet to send [09:47:47]OFD Sender: No OFD packet to send [09:47:52]OFD Sender: No OFD packet to send [09:47:57]OFD Sender: No OFD packet to send [09:48:02]OFD Sender: No OFD packet to send [09:48:07]OFD Sender: No OFD packet to send [09:48:12]OFD Sender: No OFD packet to send [09:48:17]OFD Sender: No OFD packet to send [09:48:22]OFD Sender: No OFD packet to send [09:48:27]OFD Sender: No OFD packet to send [09:48:32]OFD Sender: No OFD packet to send [09:48:37]OFD Sender: No OFD packet to send [09:48:39]accept exits with 9 [09:48:39]New connection [09:48:39]New thread 3067592036 created [09:48:39]Thread 3067448676 joined [09:48:39]Waiting for new connection... [09:48:39] Sock 9.Parse request [09:48:39]Sock 9.Check first char [09:48:39]Sock 9.First char is OK [09:48:39]request: POST /json_proto HTTP/1.0 [09:48:39]Method: POST [09:48:39]URL: /json_proto [09:48:39]Method is POST - this is cgi request [09:48:39]url: /json_proto [09:48:39]query_string will be loaded in cgi processing [09:48:39]execute_cgi json_proto POST (null) [09:48:39]execute_cgi path=json_proto method=POST [09:48:39]POST find Content-Length [09:48:39]Host: 172.17.39.4:8080 [09:48:39]Content-Length: 754 [09:48:39]Content-Type: application/json [09:48:39] [09:48:39]POST finish read [09:48:39]Found Content-Length = 754 [09:48:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129496", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:48:39]execute_script... [09:48:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129496", "tax_sys" : 0, "items" : [ { "code": "2000034730018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E (GABB TRADE)", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [09:48:39]POST & json_proto [09:48:39]process_json_proto [09:48:39]json parsed OK: [09:48:39]protocol is kg_v1.0 [09:48:39]action value=close_receipt [09:48:39]process_action close_receipt [09:48:39]cmd_close_receipt [09:48:39]MH_GetDate [09:48:39]Write to MH i2c: F0 00 00 EE 01 DE [09:48:39]Write i2c OK [09:48:39]MH_I2C_Read... [09:48:39]Read from MH i2c: F0 [09:48:39]MH_I2C_Read... [09:48:39]Read from MH i2c: F0 09 00 [09:48:39]MH_I2C_Read... [09:48:39]Read from MH i2c: F0 09 00 EE 01 00 F7 9E 93 66 2D 25 5D 64 88 [09:48:39]GetLastDocTimeStamp 1720948463 [09:48:39]current date 1720950519 [09:48:39]FM_GetShiftState [09:48:39]SAM_PROTO_GetShiftState [09:48:39]wFMCommunicate request_size=4 [09:48:39]MH_SAM_APDU [09:48:39]CAPDU: 80 13 01 00 [09:48:39]Write to MH i2c: E2 08 00 EF 01 80 13 01 00 00 00 00 00 6D [09:48:39]Write i2c OK [09:48:39]MH_I2C_Read... [09:48:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:48:39]Read from MH i2c: E2 [09:48:39]MH_I2C_Read... [09:48:39]Read from MH i2c: E2 0E 00 [09:48:39]MH_I2C_Read... [09:48:39]Read from MH i2c: E2 0E 00 EF 01 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 14 [09:48:39]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [09:48:39]wFMCommunicate OK [09:48:39]SAM_PROTO_GetShiftState done [09:48:39]FM_GetShiftState done [09:48:39]opened in 1720917126 [09:48:39]opened+sec_in_day 1721003526 [09:48:39]quantity*price = 10500 [09:48:39]sum+1 = 10501 [09:48:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 49 14.07.2024 09:48 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57032 ФПД: 18134563150111 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T094839&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57032&fm=18134563150111&tin=02508201610067®Number=0000000000091208&sum=10500 0 [09:48:40]StoreToDocumentArchive [09:48:40]shift 496 fd 57032 [09:48:40]save to /storage/0496/doc_00057032 [09:48:40]save last doc name /storage/0496/doc_00057032 to /storage/kkm_last_doc_name [09:48:40]save OK [09:48:40]Clear old archive folders... [09:48:40]ProcessDocumentItem done err = 0, tmpTLVsize=282 [09:48:40]tlvbuf is 00FAA290 [09:48:40]SAM_PROTO_ClearQueue [09:48:40]wFMCommunicate request_size=4 [09:48:40]MH_SAM_APDU [09:48:40]CAPDU: 80 09 00 00 [09:48:40]Write to MH i2c: E2 08 00 FC 01 80 09 00 00 00 00 00 00 6F [09:48:40]Write i2c OK [09:48:40]MH_I2C_Read... [09:48:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [09:48:40]Read from MH i2c: E2 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 03 00 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 03 00 FC 01 00 90 00 71 [09:48:40]RAPDU: 90 00 [09:48:40]wFMCommunicate OK [09:48:40]SAM_PROTO_ClearQueue done [09:48:40]KKMCreateOFDPacket [09:48:40]OFDProtocolAddRootSTLVToBuf [09:48:40]FM_MakeSignedData [09:48:40]FM_MakeSignedData [09:48:40]SAM_PROTO_SignData [09:48:40]wFMCommunicate request_size=4 [09:48:40]MH_SAM_APDU [09:48:40]CAPDU: 80 0D 01 02 [09:48:40]Write to MH i2c: E2 08 00 FD 01 80 0D 01 02 00 00 00 00 77 [09:48:40]Write i2c OK [09:48:40]MH_I2C_Read... [09:48:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [09:48:40]Read from MH i2c: E2 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 03 00 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 03 00 FD 01 00 90 00 72 [09:48:40]RAPDU: 90 00 [09:48:40]wFMCommunicate OK [09:48:40]wFMCommunicate request_size=255 [09:48:40]MH_SAM_APDU [09:48:40]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 F7 9E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [09:48:40]Write to MH i2c: E2 02 01 FE 01 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 F7 9E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 EA [09:48:40]Write i2c OK [09:48:40]MH_I2C_Read... [09:48:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:48:40]Read from MH i2c: E2 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 03 00 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 03 00 FE 01 00 90 00 73 [09:48:40]RAPDU: 90 00 [09:48:40]wFMCommunicate OK [09:48:40]wFMCommunicate request_size=41 [09:48:40]MH_SAM_APDU [09:48:40]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DE 00 00 35 04 06 00 10 7E 48 31 D9 1F [09:48:40]Write to MH i2c: E2 2C 00 FF 01 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DE 00 00 35 04 06 00 10 7E 48 31 D9 1F 00 00 F5 [09:48:40]Write i2c OK [09:48:40]MH_I2C_Read... [09:48:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [09:48:40]Read from MH i2c: E2 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 03 00 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 03 00 FF 01 00 90 00 74 [09:48:40]RAPDU: 90 00 [09:48:40]wFMCommunicate OK [09:48:40]wFMCommunicate request_size=4 [09:48:40]MH_SAM_APDU [09:48:40]CAPDU: 80 0D 03 02 [09:48:40]Write to MH i2c: E2 08 00 00 02 80 0D 03 02 00 00 00 00 7D [09:48:40]Write i2c OK [09:48:40]MH_I2C_Read... [09:48:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [09:48:40]Read from MH i2c: E2 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 0B 00 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 0B 00 00 02 00 93 81 AD C5 83 ED 2E 9A 90 00 3C [09:48:40]RAPDU: 93 81 AD C5 83 ED 2E 9A 90 00 [09:48:40]wFMCommunicate OK [09:48:40]SAM_PROTO_SignData done [09:48:40]FM_MakeSignedData done [09:48:40]CreateOFDProtocolMessage [09:48:40]wFMCommunicate request_size=4 [09:48:40]MH_SAM_APDU [09:48:40]CAPDU: 80 11 00 00 [09:48:40]Write to MH i2c: E2 08 00 01 02 80 11 00 00 00 00 00 00 7D [09:48:40]Write i2c OK [09:48:40]MH_I2C_Read... [09:48:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:48:40]Read from MH i2c: E2 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 17 00 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: E2 17 00 01 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D7 [09:48:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:48:40]wFMCommunicate OK [09:48:40]CreateOFDProtocolMessage done [09:48:40]OFDSenderStorePacket 57032 [09:48:40]StoreOFDPacket docnum=57032 [09:48:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 B5 E8 26 01 31 91 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 F7 9E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DE 00 00 35 04 06 00 10 7E 48 31 D9 1F 93 81 AD C5 83 ED 2E 9A [09:48:40]CheckFolder [09:48:40]dirname=/storage/ofd_packets [09:48:40]CheckFolder done [09:48:40]ProducePacketName [09:48:40]name=ofd_packets/00057032 [09:48:40]NVStorageSaveData ofd_packets/00057032 [09:48:40]File name is /storage/ofd_packets/00057032 [09:48:40]Write 332 bytes [09:48:40]NVStorageSaveData done [09:48:40]OFDSenderStorePacket done [09:48:40]KKMCreateOFDPacket done [09:48:40]NVStorageSaveData kkm_last_timestamp [09:48:40]File name is /storage/kkm_last_timestamp [09:48:40]Write 4 bytes [09:48:40]NVStorageSaveData done [09:48:40]ExternCall_PrintAddStr [09:48:40]wPrintStart [09:48:40]Write to MH i2c: 01 00 00 02 02 04 [09:48:40]Write i2c OK [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: 01 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: 01 07 00 [09:48:40]MH_I2C_Read... [09:48:40]Read from MH i2c: 01 07 00 02 02 00 00 00 00 00 FF 0F 19 [09:48:40]RasterBufferAndPrint [09:48:40]line Счет N : (3)129496 [09:48:40]line ИНН: 02508201610067 [09:48:40]line Контрольно-Кассовый Чек [09:48:40]line ПРОДАЖА [09:48:40]line Товар: 2000034730018 [09:48:40]line Кофе Американо (GABB TRADE) [09:48:40]line 1.000 * 105.00 [09:48:40]line = 105.00 [09:48:40]line НДС 12% НСП 1% [09:48:40]line > о реализуемом товаре [09:48:40]line ИТОГО: 105.00 [09:48:40]line НСП 1% : 0.93 [09:48:40]line НДС 12% : 11.15 [09:48:40]line Наличными: 105.00 [09:48:40]line Безнал.: 0.00 [09:48:40]line Место: АЗС № 132 "Партнер Нефть" [09:48:40]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [09:48:40]line СНО: Общий режим [09:48:40]line Чек 49 14.07.2024 09:48 [09:48:40]line Смена: 496 ФФД: 1.0 [09:48:40]line ЗНМ: 0300000132 [09:48:40]line РНМ: 0000000000091208 [09:48:40]line Версия ККМ: 001 [09:48:40]line ФМ: 0000000000874857 [09:48:40]line ФД: 57032 [09:48:40]line ФПД: 18134563150111 [09:48:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T094839&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57032&fm=18134563150111&tin=02508201610067®Number=0000000000091208&sum=10500 [09:48:41]OFD Sender: Processing packet 57032 [packets to send 38, broken 37] [09:48:41]ProducePacketName [09:48:41]name=ofd_packets/00057032 [09:48:41]OFD Sender: To server: pG, [09:48:41]CommunicateWithHost lk.salyk.kg:30040 [09:48:41]ConnectInit lk.salyk.kg [09:48:41]line 0 [09:48:41]written 0, free lines is 4095 [09:48:41]Connected sock=10 [09:48:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 B5 E8 26 01 31 91 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 31 00 00 00 F4 03 04 00 F7 9E 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DE 00 00 35 04 06 00 10 7E 48 31 D9 1F 93 81 AD C5 83 ED 2E 9A [09:48:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 03 68 47 00 E4 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C8 DE 00 00 F4 03 04 00 49 45 93 66 B6 04 01 00 00 25 81 88 D4 8A C8 CB 30 [09:48:41]CommunicateWithHost err = 0 [09:48:41]CheckOFDResponse [09:48:41]1017 (14) - 77093643461234 [09:48:41]1041 (16) - 0000000000874857 [09:48:41]1040 (4) - 57032 [09:48:41]1012 (4) - 14.07.2024 03:26 [09:48:41]1206 (1) - 0 [09:48:41]OFD Sender: Remove packet 57032 [09:48:41]ProducePacketName [09:48:41]name=ofd_packets/00057032 [09:48:41]NVStorageDeleteData [09:48:41]Write to MH i2c: 01 00 00 2B 02 2D [09:48:41]Write i2c OK [09:48:41]MH_I2C_Read... [09:48:41]Read from MH i2c: 01 [09:48:41]MH_I2C_Read... [09:48:41]Read from MH i2c: 01 07 00 [09:48:41]MH_I2C_Read... [09:48:41]Read from MH i2c: 01 07 00 2B 02 00 00 00 00 00 E0 0C 20 [09:48:41]RasterBufferAndPrint [09:48:41]line [09:48:41]line [09:48:41]line [09:48:41]line [09:48:41]line [09:48:41]written 0, free lines is 3302 [09:48:41]MH_Cut [09:48:41]Write to MH i2c: D1 01 00 32 02 01 06 [09:48:41]Write i2c OK [09:48:41]MH_I2C_Read... [09:48:41]Read from MH i2c: D1 [09:48:41]MH_I2C_Read... [09:48:41]Read from MH i2c: D1 01 00 [09:48:41]MH_I2C_Read... [09:48:41]Read from MH i2c: D1 01 00 32 02 00 05 [09:48:41]Write to MH i2c: 01 00 00 33 02 35 [09:48:41]Write i2c OK [09:48:41]MH_I2C_Read... [09:48:42]OFD Sender: No OFD packet to send [09:48:42]*** Cut start [09:48:42]*** Partial cut [09:48:42]*** CUTSNS_PIN = 1 [09:48:42]*** CUTSNS_PIN = 0 [09:48:42]*** Brake cut motor [09:48:43]Read from MH i2c: 01 [09:48:43]MH_I2C_Read... [09:48:43]*** Stop cut motor [09:48:43]*** Cut end [09:48:43]Read from MH i2c: 01 07 00 [09:48:43]MH_I2C_Read... [09:48:43]Read from MH i2c: 01 07 00 33 02 00 00 00 00 00 FF 0F 4A [09:48:43]process_action close_receipt done [09:48:43]requested_data is exist [09:48:43]produce_requested_data [09:48:43]requested_item fm.sn is exist - process it [09:48:43]wFMCommunicate request_size=4 [09:48:43]MH_SAM_APDU [09:48:43]CAPDU: 80 11 00 00 [09:48:43]Write to MH i2c: E2 08 00 34 02 80 11 00 00 00 00 00 00 B0 [09:48:43]Write i2c OK [09:48:43]MH_I2C_Read... [09:48:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [09:48:43]Read from MH i2c: E2 [09:48:43]MH_I2C_Read... [09:48:43]Read from MH i2c: E2 17 00 [09:48:43]MH_I2C_Read... [09:48:43]Read from MH i2c: E2 17 00 34 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0A [09:48:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [09:48:43]wFMCommunicate OK [09:48:43]requested_item fd.num is exist - process it [09:48:43]SAM_PROTO_GetFieldsCounters [09:48:43]wFMCommunicate request_size=4 [09:48:43]MH_SAM_APDU [09:48:43]CAPDU: 80 13 00 00 [09:48:43]Write to MH i2c: E2 08 00 35 02 80 13 00 00 00 00 00 00 B3 [09:48:43]Write i2c OK [09:48:43]MH_I2C_Read... [09:48:43]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [09:48:43]Read from MH i2c: E2 [09:48:43]MH_I2C_Read... [09:48:43]Read from MH i2c: E2 62 00 [09:48:43]MH_I2C_Read... [09:48:43]Read from MH i2c: E2 62 00 35 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C8 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 00 [09:48:43]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C8 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 31 00 00 00 5E 04 04 00 31 00 00 00 57 04 04 00 32 00 00 00 19 04 04 00 00 00 00 00 90 00 [09:48:43]wFMCommunicate OK [09:48:43]SAM_PROTO_GetFieldsCounters done [09:48:43]requested_item shift.num is exist - process it [09:48:43]requested_item shift.opened is exist - process it [09:48:43]req_shift_opened [09:48:43]FM_GetShiftState [09:48:43]SAM_PROTO_GetShiftState [09:48:43]wFMCommunicate request_size=4 [09:48:43]MH_SAM_APDU [09:48:43]CAPDU: 80 13 01 00 [09:48:43]Write to MH i2c: E2 08 00 36 02 80 13 01 00 00 00 00 00 B5 [09:48:43]Write i2c OK [09:48:43]MH_I2C_Read... [09:48:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [09:48:43]Read from MH i2c: E2 [09:48:43]MH_I2C_Read... [09:48:43]Read from MH i2c: E2 0E 00 [09:48:43]MH_I2C_Read... [09:48:43]Read from MH i2c: E2 0E 00 36 02 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 5C [09:48:43]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [09:48:43]wFMCommunicate OK [09:48:43]SAM_PROTO_GetShiftState done [09:48:43]FM_GetShiftState done [09:48:43]req_shift_opened done [09:48:43]requested_item shift.open_date is exist - process it [09:48:43]req_shift_open_date [09:48:43]req_shift_open_date done [09:48:43]requested_item shift.sale.total is exist - process it [09:48:43]SAM_PROTO_GetShiftData [09:48:43]wFMCommunicate request_size=4 [09:48:43]MH_SAM_APDU [09:48:43]CAPDU: 80 13 02 00 [09:48:43]Write to MH i2c: E2 08 00 37 02 80 13 02 00 00 00 00 00 B7 [09:48:43]Write i2c OK [09:48:43]MH_I2C_Read... [09:48:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [09:48:43]Read from MH i2c: E2 [09:48:43]MH_I2C_Read... [09:48:43]Read from MH i2c: E2 FD 00 [09:48:43]MH_I2C_Read... [09:48:43]Read from MH i2c: E2 FD 00 37 02 00 BB 04 AA 04 B7 04 6E 04 04 00 31 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 58 74 1F 70 04 03 00 70 EC 1B 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 28 57 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3C 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 69 [09:48:43]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 31 00 00 00 69 04 9B 00 6F 04 04 00 2F 00 00 00 B1 04 03 00 58 74 1F 70 04 03 00 70 EC 1B 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 28 57 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3C 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [09:48:43]wFMCommunicate OK [09:48:43]wFMCommunicate request_size=4 [09:48:43]MH_SAM_APDU [09:48:43]CAPDU: 80 17 00 00 [09:48:43]Write to MH i2c: E2 08 00 38 02 80 17 00 00 00 00 00 00 BA [09:48:43]Write i2c OK [09:48:43]MH_I2C_Read... [09:48:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:48:44]Read from MH i2c: E2 [09:48:44]MH_I2C_Read... [09:48:44]Read from MH i2c: E2 FD 00 [09:48:44]MH_I2C_Read... [09:48:44]Read from MH i2c: E2 FD 00 38 02 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4D [09:48:44]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:48:44]wFMCommunicate OK [09:48:44]wFMCommunicate request_size=4 [09:48:44]MH_SAM_APDU [09:48:44]CAPDU: 80 17 00 00 [09:48:44]Write to MH i2c: E2 08 00 39 02 80 17 00 00 00 00 00 00 BB [09:48:44]Write i2c OK [09:48:44]MH_I2C_Read... [09:48:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:48:44]Read from MH i2c: E2 [09:48:44]MH_I2C_Read... [09:48:44]Read from MH i2c: E2 FD 00 [09:48:44]MH_I2C_Read... [09:48:44]Read from MH i2c: E2 FD 00 39 02 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E7 [09:48:44]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [09:48:44]wFMCommunicate OK [09:48:44]wFMCommunicate request_size=4 [09:48:44]MH_SAM_APDU [09:48:44]CAPDU: 80 17 00 00 [09:48:44]Write to MH i2c: E2 08 00 3A 02 80 17 00 00 00 00 00 00 BC [09:48:44]Write i2c OK [09:48:44]MH_I2C_Read... [09:48:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [09:48:44]Read from MH i2c: E2 [09:48:44]MH_I2C_Read... [09:48:44]Read from MH i2c: E2 FD 00 [09:48:44]MH_I2C_Read... [09:48:44]Read from MH i2c: E2 FD 00 3A 02 00 00 00 EF 03 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 90 00 31 [09:48:44]RAPDU: 00 00 EF 03 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 90 00 [09:48:44]wFMCommunicate OK [09:48:44]wFMCommunicate request_size=4 [09:48:44]MH_SAM_APDU [09:48:44]CAPDU: 80 17 00 00 [09:48:44]Write to MH i2c: E2 08 00 3B 02 80 17 00 00 00 00 00 00 BD [09:48:44]Write i2c OK [09:48:44]MH_I2C_Read... [09:48:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [09:48:44]Read from MH i2c: E2 [09:48:44]MH_I2C_Read... [09:48:44]Read from MH i2c: E2 D8 00 [09:48:44]MH_I2C_Read... [09:48:44]Read from MH i2c: E2 D8 00 3B 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 A4 [09:48:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [09:48:44]wFMCommunicate OK [09:48:44]SAM_PROTO_GetShiftData done [09:48:44]requested_item shift.sale.total_cash is exist - process it [09:48:44]requested_item shift.sale_refund.total is exist - process it [09:48:44]requested_item shift.sale_refund.total_cash is exist - process it [09:48:44]produce_requested_data done [09:48:44]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57032,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20614.00,"shift.sale.total_cash":18300.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [09:48:44]process_action_free close_receipt [09:48:44]json_value_free [09:48:44]json_value_free done [09:48:44]process_json_proto returns [09:48:44]Send response to host [09:48:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57032,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20614.00,"shift.sale.total_cash":18300.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [09:48:44]free response buf [09:48:44]execute_script done [09:48:44]execute_script returns [09:48:44]free content buf [09:48:44]Sock 9.Close socket [09:48:44]Sock 9.Thread stoped [09:48:47]OFD Sender: No OFD packet to send [09:48:52]OFD Sender: No OFD packet to send [09:48:57]OFD Sender: No OFD packet to send [09:49:02]OFD Sender: No OFD packet to send [09:49:07]OFD Sender: No OFD packet to send [09:49:12]OFD Sender: No OFD packet to send [09:49:17]OFD Sender: No OFD packet to send [09:49:22]OFD Sender: No OFD packet to send [09:49:27]OFD Sender: No OFD packet to send [09:49:32]OFD Sender: No OFD packet to send [09:49:37]OFD Sender: No OFD packet to send [09:49:42]OFD Sender: No OFD packet to send [09:49:47]OFD Sender: No OFD packet to send [09:49:52]OFD Sender: No OFD packet to send [09:49:57]OFD Sender: No OFD packet to send [09:50:02]OFD Sender: No OFD packet to send [09:50:07]OFD Sender: No OFD packet to send [09:50:12]OFD Sender: No OFD packet to send [09:50:17]OFD Sender: No OFD packet to send [09:50:22]OFD Sender: No OFD packet to send [09:50:27]OFD Sender: No OFD packet to send [09:50:32]OFD Sender: No OFD packet to send [09:50:37]OFD Sender: No OFD packet to send [09:50:42]OFD Sender: No OFD packet to send [09:50:47]OFD Sender: No OFD packet to send [09:50:52]OFD Sender: No OFD packet to send [09:50:57]OFD Sender: No OFD packet to send [09:51:02]OFD Sender: No OFD packet to send [09:51:07]OFD Sender: No OFD packet to send [09:51:12]OFD Sender: No OFD packet to send [09:51:17]OFD Sender: No OFD packet to send [09:51:22]OFD Sender: No OFD packet to send [09:51:27]OFD Sender: No OFD packet to send [09:51:32]OFD Sender: No OFD packet to send [09:51:37]OFD Sender: No OFD packet to send [09:51:42]OFD Sender: No OFD packet to send [09:51:47]OFD Sender: No OFD packet to send [09:51:52]OFD Sender: No OFD packet to send [09:51:57]OFD Sender: No OFD packet to send [09:52:02]OFD Sender: No OFD packet to send [09:52:07]OFD Sender: No OFD packet to send [09:52:12]OFD Sender: No OFD packet to send [09:52:17]OFD Sender: No OFD packet to send [09:52:22]OFD Sender: No OFD packet to send [09:52:27]OFD Sender: No OFD packet to send [09:52:32]OFD Sender: No OFD packet to send [09:52:37]OFD Sender: No OFD packet to send [09:52:42]OFD Sender: No OFD packet to send [09:52:47]OFD Sender: No OFD packet to send [09:52:52]OFD Sender: No OFD packet to send [09:52:57]OFD Sender: No OFD packet to send [09:53:02]OFD Sender: No OFD packet to send [09:53:07]OFD Sender: No OFD packet to send [09:53:12]OFD Sender: No OFD packet to send [09:53:17]OFD Sender: No OFD packet to send [09:53:22]OFD Sender: No OFD packet to send [09:53:27]OFD Sender: No OFD packet to send [09:53:32]OFD Sender: No OFD packet to send [09:53:37]OFD Sender: No OFD packet to send [09:53:42]OFD Sender: No OFD packet to send [09:53:47]OFD Sender: No OFD packet to send [09:53:52]OFD Sender: No OFD packet to send [09:53:57]OFD Sender: No OFD packet to send [09:54:02]OFD Sender: No OFD packet to send [09:54:07]OFD Sender: No OFD packet to send [09:54:12]OFD Sender: No OFD packet to send [09:54:17]OFD Sender: No OFD packet to send [09:54:22]OFD Sender: No OFD packet to send [09:54:27]OFD Sender: No OFD packet to send [09:54:32]OFD Sender: No OFD packet to send [09:54:37]OFD Sender: No OFD packet to send [09:54:42]OFD Sender: No OFD packet to send [09:54:47]OFD Sender: No OFD packet to send [09:54:52]OFD Sender: No OFD packet to send [09:54:57]OFD Sender: No OFD packet to send [09:55:02]OFD Sender: No OFD packet to send [09:55:07]OFD Sender: No OFD packet to send [09:55:12]OFD Sender: No OFD packet to send [09:55:17]OFD Sender: No OFD packet to send [09:55:22]OFD Sender: No OFD packet to send [09:55:27]OFD Sender: No OFD packet to send [09:55:32]OFD Sender: No OFD packet to send [09:55:37]OFD Sender: No OFD packet to send [09:55:42]OFD Sender: No OFD packet to send [09:55:47]OFD Sender: No OFD packet to send [09:55:52]OFD Sender: No OFD packet to send [09:55:57]OFD Sender: No OFD packet to send [09:56:02]OFD Sender: No OFD packet to send [09:56:07]OFD Sender: No OFD packet to send [09:56:12]OFD Sender: No OFD packet to send [09:56:17]OFD Sender: No OFD packet to send [09:56:22]OFD Sender: No OFD packet to send [09:56:27]OFD Sender: No OFD packet to send [09:56:32]OFD Sender: No OFD packet to send [09:56:37]OFD Sender: No OFD packet to send [09:56:42]OFD Sender: No OFD packet to send [09:56:47]OFD Sender: No OFD packet to send [09:56:52]OFD Sender: No OFD packet to send [09:56:57]OFD Sender: No OFD packet to send [09:57:02]OFD Sender: No OFD packet to send [09:57:07]OFD Sender: No OFD packet to send [09:57:12]OFD Sender: No OFD packet to send [09:57:17]OFD Sender: No OFD packet to send [09:57:22]OFD Sender: No OFD packet to send [09:57:27]OFD Sender: No OFD packet to send [09:57:32]OFD Sender: No OFD packet to send [09:57:37]OFD Sender: No OFD packet to send [09:57:42]OFD Sender: No OFD packet to send [09:57:47]OFD Sender: No OFD packet to send [09:57:52]OFD Sender: No OFD packet to send [09:57:57]OFD Sender: No OFD packet to send [09:58:02]OFD Sender: No OFD packet to send [09:58:07]OFD Sender: No OFD packet to send [09:58:12]OFD Sender: No OFD packet to send [09:58:17]OFD Sender: No OFD packet to send [09:58:22]OFD Sender: No OFD packet to send [09:58:27]OFD Sender: No OFD packet to send [09:58:32]OFD Sender: No OFD packet to send [09:58:37]OFD Sender: No OFD packet to send [09:58:42]OFD Sender: No OFD packet to send [09:58:47]OFD Sender: No OFD packet to send [09:58:52]OFD Sender: No OFD packet to send [09:58:57]OFD Sender: No OFD packet to send [09:59:02]OFD Sender: No OFD packet to send [09:59:07]OFD Sender: No OFD packet to send [09:59:12]OFD Sender: No OFD packet to send [09:59:17]OFD Sender: No OFD packet to send [09:59:22]OFD Sender: No OFD packet to send [09:59:27]OFD Sender: No OFD packet to send [09:59:32]OFD Sender: No OFD packet to send [09:59:37]OFD Sender: No OFD packet to send [09:59:42]OFD Sender: No OFD packet to send [09:59:47]OFD Sender: No OFD packet to send [09:59:52]OFD Sender: No OFD packet to send [09:59:57]OFD Sender: No OFD packet to send [10:00:02]OFD Sender: No OFD packet to send [10:00:07]OFD Sender: No OFD packet to send [10:00:12]OFD Sender: No OFD packet to send [10:00:17]OFD Sender: No OFD packet to send [10:00:22]OFD Sender: No OFD packet to send [10:00:27]OFD Sender: No OFD packet to send [10:00:32]OFD Sender: No OFD packet to send [10:00:37]OFD Sender: No OFD packet to send [10:00:42]OFD Sender: No OFD packet to send [10:00:47]OFD Sender: No OFD packet to send [10:00:52]OFD Sender: No OFD packet to send [10:00:57]OFD Sender: No OFD packet to send [10:01:02]OFD Sender: No OFD packet to send [10:01:07]OFD Sender: No OFD packet to send [10:01:12]OFD Sender: No OFD packet to send [10:01:14]accept exits with 7 [10:01:14]New connection [10:01:14]New thread 3067448676 created [10:01:14]Thread 3067592036 joined [10:01:14]Waiting for new connection... [10:01:14] Sock 7.Parse request [10:01:14]Sock 7.Check first char [10:01:14]Sock 7.First char is OK [10:01:14]request: POST /json_proto HTTP/1.0 [10:01:14]Method: POST [10:01:14]URL: /json_proto [10:01:14]Method is POST - this is cgi request [10:01:14]url: /json_proto [10:01:14]query_string will be loaded in cgi processing [10:01:14]execute_cgi json_proto POST (null) [10:01:14]execute_cgi path=json_proto method=POST [10:01:14]POST find Content-Length [10:01:14]Host: 172.17.39.4:8080 [10:01:14]Content-Length: 758 [10:01:14]Content-Type: application/json [10:01:14] [10:01:14]POST finish read [10:01:14]Found Content-Length = 758 [10:01:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129497", "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" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:01:14]execute_script... [10:01: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)129497", "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" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:01:14]POST & json_proto [10:01:14]process_json_proto [10:01:14]json parsed OK: [10:01:14]protocol is kg_v1.0 [10:01:14]action value=close_receipt [10:01:14]process_action close_receipt [10:01:14]cmd_close_receipt [10:01:14]MH_GetDate [10:01:14]Write to MH i2c: F0 00 00 3C 02 2D [10:01:14]Write i2c OK [10:01:14]MH_I2C_Read... [10:01:14]Read from MH i2c: F0 [10:01:14]MH_I2C_Read... [10:01:14]Read from MH i2c: F0 09 00 [10:01:14]MH_I2C_Read... [10:01:14]Read from MH i2c: F0 09 00 3C 02 00 EA A1 93 66 2D 25 5D 64 CD [10:01:14]GetLastDocTimeStamp 1720950519 [10:01:14]current date 1720951274 [10:01:14]FM_GetShiftState [10:01:14]SAM_PROTO_GetShiftState [10:01:14]wFMCommunicate request_size=4 [10:01:14]MH_SAM_APDU [10:01:14]CAPDU: 80 13 01 00 [10:01:14]Write to MH i2c: E2 08 00 3D 02 80 13 01 00 00 00 00 00 BC [10:01:14]Write i2c OK [10:01:14]MH_I2C_Read... [10:01:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:01:14]Read from MH i2c: E2 [10:01:14]MH_I2C_Read... [10:01:14]Read from MH i2c: E2 0E 00 [10:01:14]MH_I2C_Read... [10:01:14]Read from MH i2c: E2 0E 00 3D 02 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 63 [10:01:14]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:01:14]wFMCommunicate OK [10:01:14]SAM_PROTO_GetShiftState done [10:01:14]FM_GetShiftState done [10:01:14]opened in 1720917126 [10:01:14]opened+sec_in_day 1721003526 [10:01:14]quantity*price = 9500 [10:01:14]sum+1 = 9501 [10:01:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 50 14.07.2024 10:01 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57033 ФПД: 47708519083960 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T100114&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57033&fm=47708519083960&tin=02508201610067®Number=0000000000091208&sum=9500 0 [10:01:15]StoreToDocumentArchive [10:01:15]shift 496 fd 57033 [10:01:15]save to /storage/0496/doc_00057033 [10:01:15]save last doc name /storage/0496/doc_00057033 to /storage/kkm_last_doc_name [10:01:15]save OK [10:01:15]Clear old archive folders... [10:01:15]ProcessDocumentItem done err = 0, tmpTLVsize=293 [10:01:15]tlvbuf is 00FD7670 [10:01:15]SAM_PROTO_ClearQueue [10:01:15]wFMCommunicate request_size=4 [10:01:15]MH_SAM_APDU [10:01:15]CAPDU: 80 09 00 00 [10:01:15]Write to MH i2c: E2 08 00 4A 02 80 09 00 00 00 00 00 00 BE [10:01:15]Write i2c OK [10:01:15]MH_I2C_Read... [10:01:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:01:15]Read from MH i2c: E2 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 03 00 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 03 00 4A 02 00 90 00 C0 [10:01:15]RAPDU: 90 00 [10:01:15]wFMCommunicate OK [10:01:15]SAM_PROTO_ClearQueue done [10:01:15]KKMCreateOFDPacket [10:01:15]OFDProtocolAddRootSTLVToBuf [10:01:15]FM_MakeSignedData [10:01:15]FM_MakeSignedData [10:01:15]SAM_PROTO_SignData [10:01:15]wFMCommunicate request_size=4 [10:01:15]MH_SAM_APDU [10:01:15]CAPDU: 80 0D 01 02 [10:01:15]Write to MH i2c: E2 08 00 4B 02 80 0D 01 02 00 00 00 00 C6 [10:01:15]Write i2c OK [10:01:15]MH_I2C_Read... [10:01:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:01:15]Read from MH i2c: E2 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 03 00 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 03 00 4B 02 00 90 00 C1 [10:01:15]RAPDU: 90 00 [10:01:15]wFMCommunicate OK [10:01:15]wFMCommunicate request_size=255 [10:01:15]MH_SAM_APDU [10:01:15]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 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 32 00 00 00 F4 03 04 00 EA A1 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [10:01:15]Write to MH i2c: E2 02 01 4C 02 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 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 32 00 00 00 F4 03 04 00 EA A1 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 0D [10:01:15]Write i2c OK [10:01:15]MH_I2C_Read... [10:01:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:01:15]Read from MH i2c: E2 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 03 00 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 03 00 4C 02 00 90 00 C2 [10:01:15]RAPDU: 90 00 [10:01:15]wFMCommunicate OK [10:01:15]wFMCommunicate request_size=52 [10:01:15]MH_SAM_APDU [10:01:15]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C9 DE 00 00 35 04 06 00 2B 64 01 55 2F B8 [10:01:15]Write to MH i2c: E2 37 00 4D 02 80 0D 02 02 2F 00 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C9 DE 00 00 35 04 06 00 2B 64 01 55 2F B8 00 00 01 [10:01:15]Write i2c OK [10:01:15]MH_I2C_Read... [10:01:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:01:15]Read from MH i2c: E2 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 03 00 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 03 00 4D 02 00 90 00 C3 [10:01:15]RAPDU: 90 00 [10:01:15]wFMCommunicate OK [10:01:15]wFMCommunicate request_size=4 [10:01:15]MH_SAM_APDU [10:01:15]CAPDU: 80 0D 03 02 [10:01:15]Write to MH i2c: E2 08 00 4E 02 80 0D 03 02 00 00 00 00 CB [10:01:15]Write i2c OK [10:01:15]MH_I2C_Read... [10:01:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:01:15]Read from MH i2c: E2 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 0B 00 [10:01:15]MH_I2C_Read... [10:01:15]Read from MH i2c: E2 0B 00 4E 02 00 E1 B6 E7 1D 59 29 9F 8A 90 00 12 [10:01:15]RAPDU: E1 B6 E7 1D 59 29 9F 8A 90 00 [10:01:15]wFMCommunicate OK [10:01:15]SAM_PROTO_SignData done [10:01:15]FM_MakeSignedData done [10:01:15]CreateOFDProtocolMessage [10:01:15]wFMCommunicate request_size=4 [10:01:15]MH_SAM_APDU [10:01:15]CAPDU: 80 11 00 00 [10:01:15]Write to MH i2c: E2 08 00 4F 02 80 11 00 00 00 00 00 00 CB [10:01:16]Write i2c OK [10:01:16]MH_I2C_Read... [10:01:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:01:16]Read from MH i2c: E2 [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: E2 17 00 [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: E2 17 00 4F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 25 [10:01:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:01:16]wFMCommunicate OK [10:01:16]CreateOFDProtocolMessage done [10:01:16]OFDSenderStorePacket 57033 [10:01:16]StoreOFDPacket docnum=57033 [10:01:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 9C 31 31 01 6B 21 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 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 32 00 00 00 F4 03 04 00 EA A1 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C9 DE 00 00 35 04 06 00 2B 64 01 55 2F B8 E1 B6 E7 1D 59 29 9F 8A [10:01:16]CheckFolder [10:01:16]dirname=/storage/ofd_packets [10:01:16]CheckFolder done [10:01:16]ProducePacketName [10:01:16]name=ofd_packets/00057033 [10:01:16]NVStorageSaveData ofd_packets/00057033 [10:01:16]File name is /storage/ofd_packets/00057033 [10:01:16]Write 343 bytes [10:01:16]NVStorageSaveData done [10:01:16]OFDSenderStorePacket done [10:01:16]KKMCreateOFDPacket done [10:01:16]NVStorageSaveData kkm_last_timestamp [10:01:16]File name is /storage/kkm_last_timestamp [10:01:16]Write 4 bytes [10:01:16]NVStorageSaveData done [10:01:16]ExternCall_PrintAddStr [10:01:16]wPrintStart [10:01:16]Write to MH i2c: 01 00 00 50 02 52 [10:01:16]Write i2c OK [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: 01 [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: 01 07 00 [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: 01 07 00 50 02 00 00 00 00 00 FF 0F 67 [10:01:16]RasterBufferAndPrint [10:01:16]line Счет N : (3)129497 [10:01:16]line ИНН: 02508201610067 [10:01:16]line Контрольно-Кассовый Чек [10:01:16]line ПРОДАЖА [10:01:16]line Товар: 4700000480050 [10:01:16]line Напиток Nitro Energy эн green ж/б 0,45л [10:01:16]line 1.000 * 95.00 [10:01:16]line = 95.00 [10:01:16]line НДС 12% НСП 1% [10:01:16]line > о реализуемом товаре [10:01:16]line ИТОГО: 95.00 [10:01:16]line НСП 1% : 0.84 [10:01:16]line НДС 12% : 10.09 [10:01:16]line Наличными: 95.00 [10:01:16]line Безнал.: 0.00 [10:01:16]line Место: АЗС № 132 "Партнер Нефть" [10:01:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:01:16]line СНО: Общий режим [10:01:16]line Чек 50 14.07.2024 10:01 [10:01:16]line Смена: 496 ФФД: 1.0 [10:01:16]line ЗНМ: 0300000132 [10:01:16]line РНМ: 0000000000091208 [10:01:16]line Версия ККМ: 001 [10:01:16]line ФМ: 0000000000874857 [10:01:16]line ФД: 57033 [10:01:16]line ФПД: 47708519083960 [10:01:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T100114&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57033&fm=47708519083960&tin=02508201610067®Number=0000000000091208&sum=9500 [10:01:16]OFD Sender: Processing packet 57033 [packets to send 38, broken 37] [10:01:16]ProducePacketName [10:01:16]name=ofd_packets/00057033 [10:01:16]OFD Sender: To server: pG, [10:01:16]CommunicateWithHost lk.salyk.kg:30040 [10:01:16]ConnectInit lk.salyk.kg [10:01:16]line 0 [10:01:16]written 0, free lines is 4095 [10:01:16]Connected sock=10 [10:01:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 9C 31 31 01 6B 21 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 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 32 00 00 00 F4 03 04 00 EA A1 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C9 DE 00 00 35 04 06 00 2B 64 01 55 2F B8 E1 B6 E7 1D 59 29 9F 8A [10:01:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F0 51 47 00 48 B2 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 C9 DE 00 00 F4 03 04 00 3C 48 93 66 B6 04 01 00 00 AE 22 05 92 7A 05 3D 73 [10:01:16]CommunicateWithHost err = 0 [10:01:16]CheckOFDResponse [10:01:16]1017 (14) - 77093643461234 [10:01:16]1041 (16) - 0000000000874857 [10:01:16]1040 (4) - 57033 [10:01:16]1012 (4) - 14.07.2024 03:38 [10:01:16]1206 (1) - 0 [10:01:16]OFD Sender: Remove packet 57033 [10:01:16]ProducePacketName [10:01:16]name=ofd_packets/00057033 [10:01:16]NVStorageDeleteData [10:01:16]Write to MH i2c: 01 00 00 79 02 7B [10:01:16]Write i2c OK [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: 01 [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: 01 07 00 [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: 01 07 00 79 02 00 00 00 00 00 D8 0C 66 [10:01:16]RasterBufferAndPrint [10:01:16]line [10:01:16]line [10:01:16]line [10:01:16]line [10:01:16]line [10:01:16]written 0, free lines is 3294 [10:01:16]MH_Cut [10:01:16]Write to MH i2c: D1 01 00 80 02 01 54 [10:01:16]Write i2c OK [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: D1 [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: D1 01 00 [10:01:16]MH_I2C_Read... [10:01:16]Read from MH i2c: D1 01 00 80 02 00 53 [10:01:16]Write to MH i2c: 01 00 00 81 02 83 [10:01:16]Write i2c OK [10:01:16]MH_I2C_Read... [10:01:17]OFD Sender: No OFD packet to send [10:01:17]*** Cut start [10:01:17]*** Partial cut [10:01:17]*** CUTSNS_PIN = 1 [10:01:17]*** CUTSNS_PIN = 0 [10:01:17]*** Brake cut motor [10:01:18]Read from MH i2c: 01 [10:01:18]MH_I2C_Read... [10:01:18]*** Stop cut motor [10:01:18]*** Cut end [10:01:18]Read from MH i2c: 01 07 00 [10:01:18]MH_I2C_Read... [10:01:18]Read from MH i2c: 01 07 00 81 02 00 00 00 00 00 FF 0F 98 [10:01:18]process_action close_receipt done [10:01:18]requested_data is exist [10:01:18]produce_requested_data [10:01:18]requested_item fm.sn is exist - process it [10:01:18]wFMCommunicate request_size=4 [10:01:18]MH_SAM_APDU [10:01:18]CAPDU: 80 11 00 00 [10:01:18]Write to MH i2c: E2 08 00 82 02 80 11 00 00 00 00 00 00 FE [10:01:18]Write i2c OK [10:01:18]MH_I2C_Read... [10:01:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:01:18]Read from MH i2c: E2 [10:01:18]MH_I2C_Read... [10:01:18]Read from MH i2c: E2 17 00 [10:01:18]MH_I2C_Read... [10:01:18]Read from MH i2c: E2 17 00 82 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 58 [10:01:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:01:18]wFMCommunicate OK [10:01:18]requested_item fd.num is exist - process it [10:01:18]SAM_PROTO_GetFieldsCounters [10:01:18]wFMCommunicate request_size=4 [10:01:18]MH_SAM_APDU [10:01:18]CAPDU: 80 13 00 00 [10:01:18]Write to MH i2c: E2 08 00 83 02 80 13 00 00 00 00 00 00 01 [10:01:18]Write i2c OK [10:01:18]MH_I2C_Read... [10:01:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:01:18]Read from MH i2c: E2 [10:01:18]MH_I2C_Read... [10:01:18]Read from MH i2c: E2 62 00 [10:01:18]MH_I2C_Read... [10:01:18]Read from MH i2c: E2 62 00 83 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C9 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 52 [10:01:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 C9 DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 32 00 00 00 5E 04 04 00 32 00 00 00 57 04 04 00 33 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:01:18]wFMCommunicate OK [10:01:18]SAM_PROTO_GetFieldsCounters done [10:01:18]requested_item shift.num is exist - process it [10:01:18]requested_item shift.opened is exist - process it [10:01:18]req_shift_opened [10:01:18]FM_GetShiftState [10:01:18]SAM_PROTO_GetShiftState [10:01:18]wFMCommunicate request_size=4 [10:01:18]MH_SAM_APDU [10:01:18]CAPDU: 80 13 01 00 [10:01:18]Write to MH i2c: E2 08 00 84 02 80 13 01 00 00 00 00 00 03 [10:01:18]Write i2c OK [10:01:18]MH_I2C_Read... [10:01:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:01:18]Read from MH i2c: E2 [10:01:18]MH_I2C_Read... [10:01:18]Read from MH i2c: E2 0E 00 [10:01:18]MH_I2C_Read... [10:01:18]Read from MH i2c: E2 0E 00 84 02 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 AA [10:01:18]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:01:18]wFMCommunicate OK [10:01:18]SAM_PROTO_GetShiftState done [10:01:18]FM_GetShiftState done [10:01:18]req_shift_opened done [10:01:18]requested_item shift.open_date is exist - process it [10:01:18]req_shift_open_date [10:01:18]req_shift_open_date done [10:01:18]requested_item shift.sale.total is exist - process it [10:01:18]SAM_PROTO_GetShiftData [10:01:18]wFMCommunicate request_size=4 [10:01:18]MH_SAM_APDU [10:01:18]CAPDU: 80 13 02 00 [10:01:18]Write to MH i2c: E2 08 00 85 02 80 13 02 00 00 00 00 00 05 [10:01:18]Write i2c OK [10:01:18]MH_I2C_Read... [10:01:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:01:18]Read from MH i2c: E2 [10:01:18]MH_I2C_Read... [10:01:18]Read from MH i2c: E2 FD 00 [10:01:18]MH_I2C_Read... [10:01:18]Read from MH i2c: E2 FD 00 85 02 00 BB 04 AA 04 B7 04 6E 04 04 00 32 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 74 99 1F 70 04 03 00 8C 11 1C 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 5B 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 90 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 85 [10:01:18]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 32 00 00 00 69 04 9B 00 6F 04 04 00 30 00 00 00 B1 04 03 00 74 99 1F 70 04 03 00 8C 11 1C 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 19 5B 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 90 47 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:01:18]wFMCommunicate OK [10:01:18]wFMCommunicate request_size=4 [10:01:18]MH_SAM_APDU [10:01:18]CAPDU: 80 17 00 00 [10:01:18]Write to MH i2c: E2 08 00 86 02 80 17 00 00 00 00 00 00 08 [10:01:18]Write i2c OK [10:01:18]MH_I2C_Read... [10:01:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:01:19]Read from MH i2c: E2 [10:01:19]MH_I2C_Read... [10:01:19]Read from MH i2c: E2 FD 00 [10:01:19]MH_I2C_Read... [10:01:19]Read from MH i2c: E2 FD 00 86 02 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9B [10:01:19]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:01:19]wFMCommunicate OK [10:01:19]wFMCommunicate request_size=4 [10:01:19]MH_SAM_APDU [10:01:19]CAPDU: 80 17 00 00 [10:01:19]Write to MH i2c: E2 08 00 87 02 80 17 00 00 00 00 00 00 09 [10:01:19]Write i2c OK [10:01:19]MH_I2C_Read... [10:01:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:01:19]Read from MH i2c: E2 [10:01:19]MH_I2C_Read... [10:01:19]Read from MH i2c: E2 FD 00 [10:01:19]MH_I2C_Read... [10:01:19]Read from MH i2c: E2 FD 00 87 02 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [10:01:19]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:01:19]wFMCommunicate OK [10:01:19]wFMCommunicate request_size=4 [10:01:19]MH_SAM_APDU [10:01:19]CAPDU: 80 17 00 00 [10:01:19]Write to MH i2c: E2 08 00 88 02 80 17 00 00 00 00 00 00 0A [10:01:19]Write i2c OK [10:01:19]MH_I2C_Read... [10:01:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:01:19]Read from MH i2c: E2 [10:01:19]MH_I2C_Read... [10:01:19]Read from MH i2c: E2 FD 00 [10:01:19]MH_I2C_Read... [10:01:19]Read from MH i2c: E2 FD 00 88 02 00 00 00 EF 03 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 90 00 7F [10:01:19]RAPDU: 00 00 EF 03 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 90 00 [10:01:19]wFMCommunicate OK [10:01:19]wFMCommunicate request_size=4 [10:01:19]MH_SAM_APDU [10:01:19]CAPDU: 80 17 00 00 [10:01:19]Write to MH i2c: E2 08 00 89 02 80 17 00 00 00 00 00 00 0B [10:01:19]Write i2c OK [10:01:19]MH_I2C_Read... [10:01:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:01:20]Read from MH i2c: E2 [10:01:20]MH_I2C_Read... [10:01:20]Read from MH i2c: E2 D8 00 [10:01:20]MH_I2C_Read... [10:01:20]Read from MH i2c: E2 D8 00 89 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 F2 [10:01:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:01:20]wFMCommunicate OK [10:01:20]SAM_PROTO_GetShiftData done [10:01:20]requested_item shift.sale.total_cash is exist - process it [10:01:20]requested_item shift.sale_refund.total is exist - process it [10:01:20]requested_item shift.sale_refund.total_cash is exist - process it [10:01:20]produce_requested_data done [10:01:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57033,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20709.00,"shift.sale.total_cash":18395.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:01:20]process_action_free close_receipt [10:01:20]json_value_free [10:01:20]json_value_free done [10:01:20]process_json_proto returns [10:01:20]Send response to host [10:01:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57033,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20709.00,"shift.sale.total_cash":18395.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:01:20]free response buf [10:01:20]execute_script done [10:01:20]execute_script returns [10:01:20]free content buf [10:01:20]Sock 7.Close socket [10:01:20]Sock 7.Thread stoped [10:01:22]OFD Sender: No OFD packet to send [10:01:27]OFD Sender: No OFD packet to send [10:01:32]OFD Sender: No OFD packet to send [10:01:37]OFD Sender: No OFD packet to send [10:01:42]OFD Sender: No OFD packet to send [10:01:47]OFD Sender: No OFD packet to send [10:01:52]OFD Sender: No OFD packet to send [10:01:57]OFD Sender: No OFD packet to send [10:02:02]OFD Sender: No OFD packet to send [10:02:07]OFD Sender: No OFD packet to send [10:02:12]OFD Sender: No OFD packet to send [10:02:17]OFD Sender: No OFD packet to send [10:02:22]OFD Sender: No OFD packet to send [10:02:27]OFD Sender: No OFD packet to send [10:02:32]OFD Sender: No OFD packet to send [10:02:37]OFD Sender: No OFD packet to send [10:02:42]OFD Sender: No OFD packet to send [10:02:47]OFD Sender: No OFD packet to send [10:02:52]OFD Sender: No OFD packet to send [10:02:57]OFD Sender: No OFD packet to send [10:03:02]OFD Sender: No OFD packet to send [10:03:07]OFD Sender: No OFD packet to send [10:03:12]OFD Sender: No OFD packet to send [10:03:17]OFD Sender: No OFD packet to send [10:03:22]OFD Sender: No OFD packet to send [10:03:27]OFD Sender: No OFD packet to send [10:03:32]OFD Sender: No OFD packet to send [10:03:37]OFD Sender: No OFD packet to send [10:03:42]OFD Sender: No OFD packet to send [10:03:47]OFD Sender: No OFD packet to send [10:03:52]OFD Sender: No OFD packet to send [10:03:57]OFD Sender: No OFD packet to send [10:04:02]OFD Sender: No OFD packet to send [10:04:07]OFD Sender: No OFD packet to send [10:04:12]OFD Sender: No OFD packet to send [10:04:17]OFD Sender: No OFD packet to send [10:04:22]OFD Sender: No OFD packet to send [10:04:27]OFD Sender: No OFD packet to send [10:04:32]OFD Sender: No OFD packet to send [10:04:37]OFD Sender: No OFD packet to send [10:04:42]OFD Sender: No OFD packet to send [10:04:47]OFD Sender: No OFD packet to send [10:04:52]OFD Sender: No OFD packet to send [10:04:57]OFD Sender: No OFD packet to send [10:05:02]OFD Sender: No OFD packet to send [10:05:07]OFD Sender: No OFD packet to send [10:05:12]OFD Sender: No OFD packet to send [10:05:17]OFD Sender: No OFD packet to send [10:05:22]OFD Sender: No OFD packet to send [10:05:27]OFD Sender: No OFD packet to send [10:05:32]OFD Sender: No OFD packet to send [10:05:37]OFD Sender: No OFD packet to send [10:05:42]OFD Sender: No OFD packet to send [10:05:47]OFD Sender: No OFD packet to send [10:05:52]OFD Sender: No OFD packet to send [10:05:57]OFD Sender: No OFD packet to send [10:06:02]OFD Sender: No OFD packet to send [10:06:07]OFD Sender: No OFD packet to send [10:06:12]OFD Sender: No OFD packet to send [10:06:17]OFD Sender: No OFD packet to send [10:06:22]OFD Sender: No OFD packet to send [10:06:27]OFD Sender: No OFD packet to send [10:06:32]OFD Sender: No OFD packet to send [10:06:37]OFD Sender: No OFD packet to send [10:06:42]OFD Sender: No OFD packet to send [10:06:47]OFD Sender: No OFD packet to send [10:06:52]OFD Sender: No OFD packet to send [10:06:57]OFD Sender: No OFD packet to send [10:07:02]OFD Sender: No OFD packet to send [10:07:07]OFD Sender: No OFD packet to send [10:07:12]OFD Sender: No OFD packet to send [10:07:17]OFD Sender: No OFD packet to send [10:07:22]OFD Sender: No OFD packet to send [10:07:27]OFD Sender: No OFD packet to send [10:07:32]OFD Sender: No OFD packet to send [10:07:37]OFD Sender: No OFD packet to send [10:07:42]OFD Sender: No OFD packet to send [10:07:47]OFD Sender: No OFD packet to send [10:07:52]OFD Sender: No OFD packet to send [10:07:57]OFD Sender: No OFD packet to send [10:08:02]OFD Sender: No OFD packet to send [10:08:07]OFD Sender: No OFD packet to send [10:08:12]OFD Sender: No OFD packet to send [10:08:17]OFD Sender: No OFD packet to send [10:08:22]OFD Sender: No OFD packet to send [10:08:27]OFD Sender: No OFD packet to send [10:08:31]accept exits with 9 [10:08:31]New connection [10:08:31]New thread 3067592036 created [10:08:31]Thread 3067448676 joined [10:08:31]Waiting for new connection... [10:08:31] Sock 9.Parse request [10:08:31]Sock 9.Check first char [10:08:31]Sock 9.First char is OK [10:08:31]request: POST /json_proto HTTP/1.0 [10:08:31]Method: POST [10:08:31]URL: /json_proto [10:08:31]Method is POST - this is cgi request [10:08:31]url: /json_proto [10:08:31]query_string will be loaded in cgi processing [10:08:31]execute_cgi json_proto POST (null) [10:08:31]execute_cgi path=json_proto method=POST [10:08:31]POST find Content-Length [10:08:31]Host: 172.17.39.4:8080 [10:08:31]Content-Length: 720 [10:08:31]Content-Type: application/json [10:08:31] [10:08:31]POST finish read [10:08:31]Found Content-Length = 720 [10:08:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129498", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:08:31]execute_script... [10:08:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129498", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:08:31]POST & json_proto [10:08:31]process_json_proto [10:08:31]json parsed OK: [10:08:31]protocol is kg_v1.0 [10:08:31]action value=close_receipt [10:08:31]process_action close_receipt [10:08:31]cmd_close_receipt [10:08:31]MH_GetDate [10:08:31]Write to MH i2c: F0 00 00 8A 02 7B [10:08:31]Write i2c OK [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: F0 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: F0 09 00 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: F0 09 00 8A 02 00 9F A3 93 66 2D 25 5D 64 D2 [10:08:31]GetLastDocTimeStamp 1720951274 [10:08:31]current date 1720951711 [10:08:31]FM_GetShiftState [10:08:31]SAM_PROTO_GetShiftState [10:08:31]wFMCommunicate request_size=4 [10:08:31]MH_SAM_APDU [10:08:31]CAPDU: 80 13 01 00 [10:08:31]Write to MH i2c: E2 08 00 8B 02 80 13 01 00 00 00 00 00 0A [10:08:31]Write i2c OK [10:08:31]MH_I2C_Read... [10:08:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:31]Read from MH i2c: E2 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: E2 0E 00 [10:08:31]MH_I2C_Read... [10:08:31]Read from MH i2c: E2 0E 00 8B 02 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 B1 [10:08:31]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:08:31]wFMCommunicate OK [10:08:31]SAM_PROTO_GetShiftState done [10:08:31]FM_GetShiftState done [10:08:31]opened in 1720917126 [10:08:31]opened+sec_in_day 1721003526 [10:08:31]quantity*price = 14300 [10:08:31]sum+1 = 14301 [10:08:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 51 14.07.2024 10:08 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57034 ФПД: 193195608757093 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T100831&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57034&fm=193195608757093&tin=02508201610067®Number=0000000000091208&sum=14300 0 [10:08:32]StoreToDocumentArchive [10:08:32]shift 496 fd 57034 [10:08:32]save to /storage/0496/doc_00057034 [10:08:32]save last doc name /storage/0496/doc_00057034 to /storage/kkm_last_doc_name [10:08:32]save OK [10:08:32]Clear old archive folders... [10:08:32]ProcessDocumentItem done err = 0, tmpTLVsize=268 [10:08:32]tlvbuf is 00FB2F60 [10:08:32]SAM_PROTO_ClearQueue [10:08:32]wFMCommunicate request_size=4 [10:08:32]MH_SAM_APDU [10:08:32]CAPDU: 80 09 00 00 [10:08:32]Write to MH i2c: E2 08 00 98 02 80 09 00 00 00 00 00 00 0C [10:08:32]Write i2c OK [10:08:32]MH_I2C_Read... [10:08:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:08:32]Read from MH i2c: E2 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 03 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 03 00 98 02 00 90 00 0E [10:08:32]RAPDU: 90 00 [10:08:32]wFMCommunicate OK [10:08:32]SAM_PROTO_ClearQueue done [10:08:32]KKMCreateOFDPacket [10:08:32]OFDProtocolAddRootSTLVToBuf [10:08:32]FM_MakeSignedData [10:08:32]FM_MakeSignedData [10:08:32]SAM_PROTO_SignData [10:08:32]wFMCommunicate request_size=4 [10:08:32]MH_SAM_APDU [10:08:32]CAPDU: 80 0D 01 02 [10:08:32]Write to MH i2c: E2 08 00 99 02 80 0D 01 02 00 00 00 00 14 [10:08:32]Write i2c OK [10:08:32]MH_I2C_Read... [10:08:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:08:32]Read from MH i2c: E2 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 03 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 03 00 99 02 00 90 00 0F [10:08:32]RAPDU: 90 00 [10:08:32]wFMCommunicate OK [10:08:32]wFMCommunicate request_size=255 [10:08:32]MH_SAM_APDU [10:08:32]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 9F A3 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [10:08:32]Write to MH i2c: E2 02 01 9A 02 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 9F A3 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 32 [10:08:32]Write i2c OK [10:08:32]MH_I2C_Read... [10:08:32]OFD Sender: No OFD packet to send [10:08:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:32]Read from MH i2c: E2 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 03 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 03 00 9A 02 00 90 00 10 [10:08:32]RAPDU: 90 00 [10:08:32]wFMCommunicate OK [10:08:32]wFMCommunicate request_size=27 [10:08:32]MH_SAM_APDU [10:08:32]CAPDU: 80 0D 02 02 16 34 38 35 37 10 04 04 00 CA DE 00 00 35 04 06 00 AF B5 DB A1 D3 65 [10:08:32]Write to MH i2c: E2 1E 00 9B 02 80 0D 02 02 16 00 34 38 35 37 10 04 04 00 CA DE 00 00 35 04 06 00 AF B5 DB A1 D3 65 00 00 32 [10:08:32]Write i2c OK [10:08:32]MH_I2C_Read... [10:08:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:08:32]Read from MH i2c: E2 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 03 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 03 00 9B 02 00 90 00 11 [10:08:32]RAPDU: 90 00 [10:08:32]wFMCommunicate OK [10:08:32]wFMCommunicate request_size=4 [10:08:32]MH_SAM_APDU [10:08:32]CAPDU: 80 0D 03 02 [10:08:32]Write to MH i2c: E2 08 00 9C 02 80 0D 03 02 00 00 00 00 19 [10:08:32]Write i2c OK [10:08:32]MH_I2C_Read... [10:08:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:08:32]Read from MH i2c: E2 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 0B 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 0B 00 9C 02 00 02 FA 86 B3 2D E7 C1 D8 90 00 FC [10:08:32]RAPDU: 02 FA 86 B3 2D E7 C1 D8 90 00 [10:08:32]wFMCommunicate OK [10:08:32]SAM_PROTO_SignData done [10:08:32]FM_MakeSignedData done [10:08:32]CreateOFDProtocolMessage [10:08:32]wFMCommunicate request_size=4 [10:08:32]MH_SAM_APDU [10:08:32]CAPDU: 80 11 00 00 [10:08:32]Write to MH i2c: E2 08 00 9D 02 80 11 00 00 00 00 00 00 19 [10:08:32]Write i2c OK [10:08:32]MH_I2C_Read... [10:08:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:32]Read from MH i2c: E2 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 17 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: E2 17 00 9D 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 73 [10:08:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:08:32]wFMCommunicate OK [10:08:32]CreateOFDProtocolMessage done [10:08:32]OFDSenderStorePacket 57034 [10:08:32]StoreOFDPacket docnum=57034 [10:08:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 20 01 00 00 3E 8C 18 01 BB E3 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 9F A3 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CA DE 00 00 35 04 06 00 AF B5 DB A1 D3 65 02 FA 86 B3 2D E7 C1 D8 [10:08:32]CheckFolder [10:08:32]dirname=/storage/ofd_packets [10:08:32]CheckFolder done [10:08:32]ProducePacketName [10:08:32]name=ofd_packets/00057034 [10:08:32]NVStorageSaveData ofd_packets/00057034 [10:08:32]File name is /storage/ofd_packets/00057034 [10:08:32]Write 318 bytes [10:08:32]NVStorageSaveData done [10:08:32]OFDSenderStorePacket done [10:08:32]KKMCreateOFDPacket done [10:08:32]NVStorageSaveData kkm_last_timestamp [10:08:32]File name is /storage/kkm_last_timestamp [10:08:32]Write 4 bytes [10:08:32]NVStorageSaveData done [10:08:32]ExternCall_PrintAddStr [10:08:32]wPrintStart [10:08:32]Write to MH i2c: 01 00 00 9E 02 A0 [10:08:32]Write i2c OK [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: 01 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: 01 07 00 [10:08:32]MH_I2C_Read... [10:08:32]Read from MH i2c: 01 07 00 9E 02 00 00 00 00 00 FF 0F B5 [10:08:32]RasterBufferAndPrint [10:08:32]line Счет N : (3)129498 [10:08:32]line ИНН: 02508201610067 [10:08:32]line Контрольно-Кассовый Чек [10:08:32]line ПРОДАЖА [10:08:32]line Товар: 4640030091584 [10:08:32]line Сигареты Esse Gold [10:08:32]line 1.000 * 143.00 [10:08:32]line = 143.00 [10:08:32]line НДС 12% НСП 1% [10:08:32]line > о реализуемом товаре [10:08:32]line ИТОГО: 143.00 [10:08:32]line НСП 1% : 1.26 [10:08:32]line НДС 12% : 15.19 [10:08:32]line Наличными: 143.00 [10:08:32]line Безнал.: 0.00 [10:08:32]line Место: АЗС № 132 "Партнер Нефть" [10:08:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:08:32]line СНО: Общий режим [10:08:32]line Чек 51 14.07.2024 10:08 [10:08:32]line Смена: 496 ФФД: 1.0 [10:08:32]line ЗНМ: 0300000132 [10:08:32]line РНМ: 0000000000091208 [10:08:32]line Версия ККМ: 001 [10:08:32]line ФМ: 0000000000874857 [10:08:32]line ФД: 57034 [10:08:32]line ФПД: 193195608757093 [10:08:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T100831&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57034&fm=193195608757093&tin=02508201610067®Number=0000000000091208&sum=14300 [10:08:33]line 0 [10:08:33]OFD Sender: Processing packet 57034 [packets to send 38, broken 37] [10:08:33]ProducePacketName [10:08:33]name=ofd_packets/00057034 [10:08:33]OFD Sender: To server: pG, [10:08:33]CommunicateWithHost lk.salyk.kg:30040 [10:08:33]ConnectInit lk.salyk.kg [10:08:33]written 0, free lines is 4095 [10:08:33]Connected sock=10 [10:08:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 20 01 00 00 3E 8C 18 01 BB E3 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 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 9F A3 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CA DE 00 00 35 04 06 00 AF B5 DB A1 D3 65 02 FA 86 B3 2D E7 C1 D8 [10:08:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 67 B4 47 00 3C 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CA DE 00 00 F4 03 04 00 F1 49 93 66 B6 04 01 00 00 AB 4B FF 56 DA 89 4E 01 [10:08:33]CommunicateWithHost err = 0 [10:08:33]CheckOFDResponse [10:08:33]1017 (14) - 77093643461234 [10:08:33]1041 (16) - 0000000000874857 [10:08:33]1040 (4) - 57034 [10:08:33]1012 (4) - 14.07.2024 03:45 [10:08:33]1206 (1) - 0 [10:08:33]OFD Sender: Remove packet 57034 [10:08:33]ProducePacketName [10:08:33]name=ofd_packets/00057034 [10:08:33]NVStorageDeleteData [10:08:33]Write to MH i2c: 01 00 00 C6 02 C8 [10:08:33]Write i2c OK [10:08:33]MH_I2C_Read... [10:08:33]Read from MH i2c: 01 [10:08:33]MH_I2C_Read... [10:08:33]Read from MH i2c: 01 07 00 [10:08:33]MH_I2C_Read... [10:08:33]Read from MH i2c: 01 07 00 C6 02 00 00 00 00 00 00 0D DC [10:08:33]RasterBufferAndPrint [10:08:33]line [10:08:33]line [10:08:33]line [10:08:33]line [10:08:33]line [10:08:33]written 0, free lines is 3334 [10:08:33]MH_Cut [10:08:33]Write to MH i2c: D1 01 00 CD 02 01 A1 [10:08:33]Write i2c OK [10:08:33]MH_I2C_Read... [10:08:33]Read from MH i2c: D1 [10:08:33]MH_I2C_Read... [10:08:33]Read from MH i2c: D1 01 00 [10:08:33]MH_I2C_Read... [10:08:33]Read from MH i2c: D1 01 00 CD 02 00 A0 [10:08:33]Write to MH i2c: 01 00 00 CE 02 D0 [10:08:33]Write i2c OK [10:08:33]MH_I2C_Read... [10:08:34]OFD Sender: No OFD packet to send [10:08:34]*** Cut start [10:08:34]*** Partial cut [10:08:34]*** CUTSNS_PIN = 1 [10:08:34]*** CUTSNS_PIN = 0 [10:08:34]*** Brake cut motor [10:08:35]Read from MH i2c: 01 [10:08:35]MH_I2C_Read... [10:08:35]*** Stop cut motor [10:08:35]*** Cut end [10:08:35]Read from MH i2c: 01 07 00 [10:08:35]MH_I2C_Read... [10:08:35]Read from MH i2c: 01 07 00 CE 02 00 00 00 00 00 FF 0F E5 [10:08:35]process_action close_receipt done [10:08:35]requested_data is exist [10:08:35]produce_requested_data [10:08:35]requested_item fm.sn is exist - process it [10:08:35]wFMCommunicate request_size=4 [10:08:35]MH_SAM_APDU [10:08:35]CAPDU: 80 11 00 00 [10:08:35]Write to MH i2c: E2 08 00 CF 02 80 11 00 00 00 00 00 00 4B [10:08:35]Write i2c OK [10:08:35]MH_I2C_Read... [10:08:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:08:35]Read from MH i2c: E2 [10:08:35]MH_I2C_Read... [10:08:35]Read from MH i2c: E2 17 00 [10:08:35]MH_I2C_Read... [10:08:35]Read from MH i2c: E2 17 00 CF 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A5 [10:08:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:08:35]wFMCommunicate OK [10:08:35]requested_item fd.num is exist - process it [10:08:35]SAM_PROTO_GetFieldsCounters [10:08:35]wFMCommunicate request_size=4 [10:08:35]MH_SAM_APDU [10:08:35]CAPDU: 80 13 00 00 [10:08:35]Write to MH i2c: E2 08 00 D0 02 80 13 00 00 00 00 00 00 4E [10:08:35]Write i2c OK [10:08:35]MH_I2C_Read... [10:08:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:08:35]Read from MH i2c: E2 [10:08:35]MH_I2C_Read... [10:08:35]Read from MH i2c: E2 62 00 [10:08:35]MH_I2C_Read... [10:08:35]Read from MH i2c: E2 62 00 D0 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CA DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 A3 [10:08:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CA DE 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 33 00 00 00 5E 04 04 00 33 00 00 00 57 04 04 00 34 00 00 00 19 04 04 00 00 00 00 00 90 00 [10:08:35]wFMCommunicate OK [10:08:35]SAM_PROTO_GetFieldsCounters done [10:08:35]requested_item shift.num is exist - process it [10:08:35]requested_item shift.opened is exist - process it [10:08:35]req_shift_opened [10:08:35]FM_GetShiftState [10:08:35]SAM_PROTO_GetShiftState [10:08:35]wFMCommunicate request_size=4 [10:08:35]MH_SAM_APDU [10:08:35]CAPDU: 80 13 01 00 [10:08:35]Write to MH i2c: E2 08 00 D1 02 80 13 01 00 00 00 00 00 50 [10:08:35]Write i2c OK [10:08:35]MH_I2C_Read... [10:08:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:08:35]Read from MH i2c: E2 [10:08:35]MH_I2C_Read... [10:08:35]Read from MH i2c: E2 0E 00 [10:08:35]MH_I2C_Read... [10:08:35]Read from MH i2c: E2 0E 00 D1 02 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 F7 [10:08:35]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:08:35]wFMCommunicate OK [10:08:35]SAM_PROTO_GetShiftState done [10:08:35]FM_GetShiftState done [10:08:35]req_shift_opened done [10:08:35]requested_item shift.open_date is exist - process it [10:08:35]req_shift_open_date [10:08:35]req_shift_open_date done [10:08:35]requested_item shift.sale.total is exist - process it [10:08:35]SAM_PROTO_GetShiftData [10:08:35]wFMCommunicate request_size=4 [10:08:35]MH_SAM_APDU [10:08:35]CAPDU: 80 13 02 00 [10:08:35]Write to MH i2c: E2 08 00 D2 02 80 13 02 00 00 00 00 00 52 [10:08:35]Write i2c OK [10:08:35]MH_I2C_Read... [10:08:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:08:35]Read from MH i2c: E2 [10:08:35]MH_I2C_Read... [10:08:35]Read from MH i2c: E2 FD 00 [10:08:35]MH_I2C_Read... [10:08:35]Read from MH i2c: E2 FD 00 D2 02 00 BB 04 AA 04 B7 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 31 00 00 00 B1 04 03 00 50 D1 1F 70 04 03 00 68 49 1C 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 08 61 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 0E 48 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 70 [10:08:35]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 33 00 00 00 69 04 9B 00 6F 04 04 00 31 00 00 00 B1 04 03 00 50 D1 1F 70 04 03 00 68 49 1C 72 04 03 00 E8 87 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 08 61 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 0E 48 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:08:35]wFMCommunicate OK [10:08:35]wFMCommunicate request_size=4 [10:08:35]MH_SAM_APDU [10:08:35]CAPDU: 80 17 00 00 [10:08:35]Write to MH i2c: E2 08 00 D3 02 80 17 00 00 00 00 00 00 55 [10:08:35]Write i2c OK [10:08:35]MH_I2C_Read... [10:08:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:08:36]Read from MH i2c: E2 [10:08:36]MH_I2C_Read... [10:08:36]Read from MH i2c: E2 FD 00 [10:08:36]MH_I2C_Read... [10:08:36]Read from MH i2c: E2 FD 00 D3 02 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E8 [10:08:36]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:08:36]wFMCommunicate OK [10:08:36]wFMCommunicate request_size=4 [10:08:36]MH_SAM_APDU [10:08:36]CAPDU: 80 17 00 00 [10:08:36]Write to MH i2c: E2 08 00 D4 02 80 17 00 00 00 00 00 00 56 [10:08:36]Write i2c OK [10:08:36]MH_I2C_Read... [10:08:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:08:36]Read from MH i2c: E2 [10:08:36]MH_I2C_Read... [10:08:36]Read from MH i2c: E2 FD 00 [10:08:36]MH_I2C_Read... [10:08:36]Read from MH i2c: E2 FD 00 D4 02 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 82 [10:08:36]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:08:36]wFMCommunicate OK [10:08:36]wFMCommunicate request_size=4 [10:08:36]MH_SAM_APDU [10:08:36]CAPDU: 80 17 00 00 [10:08:36]Write to MH i2c: E2 08 00 D5 02 80 17 00 00 00 00 00 00 57 [10:08:36]Write i2c OK [10:08:36]MH_I2C_Read... [10:08:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:08:36]Read from MH i2c: E2 [10:08:36]MH_I2C_Read... [10:08:36]Read from MH i2c: E2 FD 00 [10:08:36]MH_I2C_Read... [10:08:36]Read from MH i2c: E2 FD 00 D5 02 00 00 00 EF 03 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 90 00 CC [10:08:36]RAPDU: 00 00 EF 03 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 90 00 [10:08:36]wFMCommunicate OK [10:08:36]wFMCommunicate request_size=4 [10:08:36]MH_SAM_APDU [10:08:36]CAPDU: 80 17 00 00 [10:08:36]Write to MH i2c: E2 08 00 D6 02 80 17 00 00 00 00 00 00 58 [10:08:36]Write i2c OK [10:08:36]MH_I2C_Read... [10:08:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:08:36]Read from MH i2c: E2 [10:08:36]MH_I2C_Read... [10:08:36]Read from MH i2c: E2 D8 00 [10:08:36]MH_I2C_Read... [10:08:36]Read from MH i2c: E2 D8 00 D6 02 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 3F [10:08:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:08:36]wFMCommunicate OK [10:08:36]SAM_PROTO_GetShiftData done [10:08:36]requested_item shift.sale.total_cash is exist - process it [10:08:36]requested_item shift.sale_refund.total is exist - process it [10:08:36]requested_item shift.sale_refund.total_cash is exist - process it [10:08:36]produce_requested_data done [10:08:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57034,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20852.00,"shift.sale.total_cash":18538.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:08:36]process_action_free close_receipt [10:08:36]json_value_free [10:08:36]json_value_free done [10:08:36]process_json_proto returns [10:08:36]Send response to host [10:08:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57034,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20852.00,"shift.sale.total_cash":18538.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:08:36]free response buf [10:08:36]execute_script done [10:08:36]execute_script returns [10:08:36]free content buf [10:08:36]Sock 9.Close socket [10:08:36]Sock 9.Thread stoped [10:08:39]OFD Sender: No OFD packet to send [10:08:44]OFD Sender: No OFD packet to send [10:08:49]OFD Sender: No OFD packet to send [10:08:54]OFD Sender: No OFD packet to send [10:08:59]OFD Sender: No OFD packet to send [10:09:04]OFD Sender: No OFD packet to send [10:09:09]OFD Sender: No OFD packet to send [10:09:14]OFD Sender: No OFD packet to send [10:09:19]OFD Sender: No OFD packet to send [10:09:24]OFD Sender: No OFD packet to send [10:09:29]OFD Sender: No OFD packet to send [10:09:34]OFD Sender: No OFD packet to send [10:09:39]OFD Sender: No OFD packet to send [10:09:44]OFD Sender: No OFD packet to send [10:09:49]OFD Sender: No OFD packet to send [10:09:54]OFD Sender: No OFD packet to send [10:09:59]OFD Sender: No OFD packet to send [10:10:04]OFD Sender: No OFD packet to send [10:10:09]OFD Sender: No OFD packet to send [10:10:14]OFD Sender: No OFD packet to send [10:10:19]OFD Sender: No OFD packet to send [10:10:24]OFD Sender: No OFD packet to send [10:10:29]OFD Sender: No OFD packet to send [10:10:34]OFD Sender: No OFD packet to send [10:10:39]OFD Sender: No OFD packet to send [10:10:44]OFD Sender: No OFD packet to send [10:10:49]OFD Sender: No OFD packet to send [10:10:54]OFD Sender: No OFD packet to send [10:10:58]accept exits with 7 [10:10:58]New connection [10:10:58]New thread 3067448676 created [10:10:58]Thread 3067592036 joined [10:10:58]Waiting for new connection... [10:10:58] Sock 7.Parse request [10:10:58]Sock 7.Check first char [10:10:58]Sock 7.First char is OK [10:10:58]request: POST /json_proto HTTP/1.0 [10:10:58]Method: POST [10:10:58]URL: /json_proto [10:10:58]Method is POST - this is cgi request [10:10:58]url: /json_proto [10:10:58]query_string will be loaded in cgi processing [10:10:58]execute_cgi json_proto POST (null) [10:10:58]execute_cgi path=json_proto method=POST [10:10:58]POST find Content-Length [10:10:58]Host: 172.17.39.4:8080 [10:10:58]Content-Length: 927 [10:10:58]Content-Type: application/json [10:10:58] [10:10:58]POST finish read [10:10:58]Found Content-Length = 927 [10:10:58]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129499", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:10:58]execute_script... [10:10:58]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129499", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:10:58]POST & json_proto [10:10:58]process_json_proto [10:10:58]json parsed OK: [10:10:58]protocol is kg_v1.0 [10:10:58]action value=close_receipt [10:10:58]process_action close_receipt [10:10:58]cmd_close_receipt [10:10:58]MH_GetDate [10:10:58]Write to MH i2c: F0 00 00 D7 02 C8 [10:10:58]Write i2c OK [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: F0 [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: F0 09 00 [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: F0 09 00 D7 02 00 32 A4 93 66 2D 25 5D 64 B3 [10:10:58]GetLastDocTimeStamp 1720951711 [10:10:58]current date 1720951858 [10:10:58]FM_GetShiftState [10:10:58]SAM_PROTO_GetShiftState [10:10:58]wFMCommunicate request_size=4 [10:10:58]MH_SAM_APDU [10:10:58]CAPDU: 80 13 01 00 [10:10:58]Write to MH i2c: E2 08 00 D8 02 80 13 01 00 00 00 00 00 57 [10:10:58]Write i2c OK [10:10:58]MH_I2C_Read... [10:10:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:10:58]Read from MH i2c: E2 [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: E2 0E 00 [10:10:58]MH_I2C_Read... [10:10:58]Read from MH i2c: E2 0E 00 D8 02 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 FE [10:10:58]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:10:58]wFMCommunicate OK [10:10:58]SAM_PROTO_GetShiftState done [10:10:58]FM_GetShiftState done [10:10:58]opened in 1720917126 [10:10:58]opened+sec_in_day 1721003526 [10:10:58]quantity*price = 13800 [10:10:58]sum+1 = 13801 [10:10:58]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 0.00 Безнал.: 138.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 52 14.07.2024 10:10 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57035 ФПД: 214342705288559 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T101058&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57035&fm=214342705288559&tin=02508201610067®Number=0000000000091208&sum=13800 0 [10:10:59]StoreToDocumentArchive [10:10:59]shift 496 fd 57035 [10:10:59]save to /storage/0496/doc_00057035 [10:10:59]save last doc name /storage/0496/doc_00057035 to /storage/kkm_last_doc_name [10:10:59]save OK [10:10:59]Clear old archive folders... [10:10:59]ProcessDocumentItem done err = 0, tmpTLVsize=274 [10:10:59]tlvbuf is 00FB28A0 [10:10:59]SAM_PROTO_ClearQueue [10:10:59]wFMCommunicate request_size=4 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 09 00 00 [10:10:59]Write to MH i2c: E2 08 00 E5 02 80 09 00 00 00 00 00 00 59 [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 E5 02 00 90 00 5B [10:10:59]RAPDU: 90 00 [10:10:59]wFMCommunicate OK [10:10:59]SAM_PROTO_ClearQueue done [10:10:59]KKMCreateOFDPacket [10:10:59]OFDProtocolAddRootSTLVToBuf [10:10:59]FM_MakeSignedData [10:10:59]FM_MakeSignedData [10:10:59]SAM_PROTO_SignData [10:10:59]wFMCommunicate request_size=4 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 0D 01 02 [10:10:59]Write to MH i2c: E2 08 00 E6 02 80 0D 01 02 00 00 00 00 61 [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 E6 02 00 90 00 5C [10:10:59]RAPDU: 90 00 [10:10:59]wFMCommunicate OK [10:10:59]wFMCommunicate request_size=255 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 0D 02 02 FA 03 00 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 32 A4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 [10:10:59]Write to MH i2c: E2 02 01 E7 02 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 32 A4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 00 00 8D [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 E7 02 00 90 00 5D [10:10:59]RAPDU: 90 00 [10:10:59]wFMCommunicate OK [10:10:59]wFMCommunicate request_size=33 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CB DE 00 00 35 04 06 00 C2 F1 8C CF 15 6F [10:10:59]Write to MH i2c: E2 24 00 E8 02 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CB DE 00 00 35 04 06 00 C2 F1 8C CF 15 6F 00 00 35 [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 03 00 E8 02 00 90 00 5E [10:10:59]RAPDU: 90 00 [10:10:59]wFMCommunicate OK [10:10:59]wFMCommunicate request_size=4 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 0D 03 02 [10:10:59]Write to MH i2c: E2 08 00 E9 02 80 0D 03 02 00 00 00 00 66 [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 0B 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 0B 00 E9 02 00 41 9A FF 1C 29 B8 7A 04 90 00 BC [10:10:59]RAPDU: 41 9A FF 1C 29 B8 7A 04 90 00 [10:10:59]wFMCommunicate OK [10:10:59]SAM_PROTO_SignData done [10:10:59]FM_MakeSignedData done [10:10:59]CreateOFDProtocolMessage [10:10:59]wFMCommunicate request_size=4 [10:10:59]MH_SAM_APDU [10:10:59]CAPDU: 80 11 00 00 [10:10:59]Write to MH i2c: E2 08 00 EA 02 80 11 00 00 00 00 00 00 66 [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:10:59]Read from MH i2c: E2 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 17 00 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: E2 17 00 EA 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C0 [10:10:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:10:59]wFMCommunicate OK [10:10:59]CreateOFDProtocolMessage done [10:10:59]OFDSenderStorePacket 57035 [10:10:59]StoreOFDPacket docnum=57035 [10:10:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 4C CB 1E 01 99 C9 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 32 A4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CB DE 00 00 35 04 06 00 C2 F1 8C CF 15 6F 41 9A FF 1C 29 B8 7A 04 [10:10:59]CheckFolder [10:10:59]dirname=/storage/ofd_packets [10:10:59]CheckFolder done [10:10:59]ProducePacketName [10:10:59]name=ofd_packets/00057035 [10:10:59]NVStorageSaveData ofd_packets/00057035 [10:10:59]File name is /storage/ofd_packets/00057035 [10:10:59]Write 324 bytes [10:10:59]NVStorageSaveData done [10:10:59]OFDSenderStorePacket done [10:10:59]KKMCreateOFDPacket done [10:10:59]NVStorageSaveData kkm_last_timestamp [10:10:59]File name is /storage/kkm_last_timestamp [10:10:59]Write 4 bytes [10:10:59]NVStorageSaveData done [10:10:59]OFD Sender: Processing packet 57035 [packets to send 38, broken 37] [10:10:59]ProducePacketName [10:10:59]name=ofd_packets/00057035 [10:10:59]OFD Sender: To server: pG, [10:10:59]CommunicateWithHost lk.salyk.kg:30040 [10:10:59]ConnectInit lk.salyk.kg [10:10:59]ExternCall_PrintAddStr [10:10:59]wPrintStart [10:10:59]Write to MH i2c: 01 00 00 EB 02 ED [10:10:59]Write i2c OK [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: 01 [10:10:59]MH_I2C_Read... [10:10:59]Read from MH i2c: 01 07 00 [10:10:59]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 07 00 EB 02 00 00 00 00 00 FF 0F 02 [10:11:00]RasterBufferAndPrint [10:11:00]line Счет N : (3)129499 [10:11:00]line ИНН: 02508201610067 [10:11:00]line Контрольно-Кассовый Чек [10:11:00]line ПРОДАЖА [10:11:00]line Товар: 4640030091645 [10:11:00]line Сигареты ESSE Exchange M [10:11:00]line 1.000 * 138.00 [10:11:00]line = 138.00 [10:11:00]line НДС 12% НСП 1% [10:11:00]line > о реализуемом товаре [10:11:00]line ИТОГО: 138.00 [10:11:00]line НСП 1% : 1.22 [10:11:00]line НДС 12% : 14.65 [10:11:00]line Наличными: 0.00 [10:11:00]line Безнал.: 138.00 [10:11:00]line Место: АЗС № 132 "Партнер Нефть" [10:11:00]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:11:00]line СНО: Общий режим [10:11:00]line Чек 52 14.07.2024 10:10 [10:11:00]line Смена: 496 ФФД: 1.0 [10:11:00]line ЗНМ: 0300000132 [10:11:00]line РНМ: 0000000000091208 [10:11:00]line Версия ККМ: 001 [10:11:00]line Платежная система: АКБ Кыргызстан [10:11:00]line ФМ: 0000000000874857 [10:11:00]line ФД: 57035 [10:11:00]line ФПД: 214342705288559 [10:11:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T101058&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57035&fm=214342705288559&tin=02508201610067®Number=0000000000091208&sum=13800 [10:11:00]line 0 [10:11:00]Connected sock=11 [10:11:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 4C CB 1E 01 99 C9 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 34 00 00 00 F4 03 04 00 32 A4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CB DE 00 00 35 04 06 00 C2 F1 8C CF 15 6F 41 9A FF 1C 29 B8 7A 04 [10:11:00]written 0, free lines is 4095 [10:11:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 1A 59 47 00 72 CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CB DE 00 00 F4 03 04 00 84 4A 93 66 B6 04 01 00 00 B4 90 63 8C 81 C9 7B E0 [10:11:00]CommunicateWithHost err = 0 [10:11:00]CheckOFDResponse [10:11:00]1017 (14) - 77093643461234 [10:11:00]1041 (16) - 0000000000874857 [10:11:00]1040 (4) - 57035 [10:11:00]1012 (4) - 14.07.2024 03:48 [10:11:00]1206 (1) - 0 [10:11:00]OFD Sender: Remove packet 57035 [10:11:00]ProducePacketName [10:11:00]name=ofd_packets/00057035 [10:11:00]NVStorageDeleteData [10:11:00]Write to MH i2c: 01 00 00 15 03 18 [10:11:00]Write i2c OK [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 07 00 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: 01 07 00 15 03 00 00 00 00 00 F0 0C 1B [10:11:00]RasterBufferAndPrint [10:11:00]line [10:11:00]line [10:11:00]line [10:11:00]line [10:11:00]line [10:11:00]written 0, free lines is 3317 [10:11:00]MH_Cut [10:11:00]Write to MH i2c: D1 01 00 1C 03 01 F1 [10:11:00]Write i2c OK [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: D1 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: D1 01 00 [10:11:00]MH_I2C_Read... [10:11:00]Read from MH i2c: D1 01 00 1C 03 00 F0 [10:11:00]Write to MH i2c: 01 00 00 1D 03 20 [10:11:00]Write i2c OK [10:11:00]MH_I2C_Read... [10:11:01]OFD Sender: No OFD packet to send [10:11:01]*** Cut start [10:11:01]*** Partial cut [10:11:01]*** CUTSNS_PIN = 1 [10:11:01]*** CUTSNS_PIN = 0 [10:11:01]*** Brake cut motor [10:11:02]Read from MH i2c: 01 [10:11:02]MH_I2C_Read... [10:11:02]*** Stop cut motor [10:11:02]*** Cut end [10:11:02]Read from MH i2c: 01 07 00 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: 01 07 00 1D 03 00 00 00 00 00 FF 0F 35 [10:11:02]process_action close_receipt done [10:11:02]requested_data is exist [10:11:02]produce_requested_data [10:11:02]requested_item fm.sn is exist - process it [10:11:02]wFMCommunicate request_size=4 [10:11:02]MH_SAM_APDU [10:11:02]CAPDU: 80 11 00 00 [10:11:02]Write to MH i2c: E2 08 00 1E 03 80 11 00 00 00 00 00 00 9B [10:11:02]Write i2c OK [10:11:02]MH_I2C_Read... [10:11:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:11:02]Read from MH i2c: E2 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 17 00 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 17 00 1E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F5 [10:11:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:11:02]wFMCommunicate OK [10:11:02]requested_item fd.num is exist - process it [10:11:02]SAM_PROTO_GetFieldsCounters [10:11:02]wFMCommunicate request_size=4 [10:11:02]MH_SAM_APDU [10:11:02]CAPDU: 80 13 00 00 [10:11:02]Write to MH i2c: E2 08 00 1F 03 80 13 00 00 00 00 00 00 9E [10:11:02]Write i2c OK [10:11:02]MH_I2C_Read... [10:11:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:11:02]Read from MH i2c: E2 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 62 00 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 62 00 1F 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CB DE 00 00 0E 04 04 00 F0 01 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 F7 [10:11:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CB DE 00 00 0E 04 04 00 F0 01 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 [10:11:02]wFMCommunicate OK [10:11:02]SAM_PROTO_GetFieldsCounters done [10:11:02]requested_item shift.num is exist - process it [10:11:02]requested_item shift.opened is exist - process it [10:11:02]req_shift_opened [10:11:02]FM_GetShiftState [10:11:02]SAM_PROTO_GetShiftState [10:11:02]wFMCommunicate request_size=4 [10:11:02]MH_SAM_APDU [10:11:02]CAPDU: 80 13 01 00 [10:11:02]Write to MH i2c: E2 08 00 20 03 80 13 01 00 00 00 00 00 A0 [10:11:02]Write i2c OK [10:11:02]MH_I2C_Read... [10:11:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:11:02]Read from MH i2c: E2 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 0E 00 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 0E 00 20 03 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 47 [10:11:02]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:11:02]wFMCommunicate OK [10:11:02]SAM_PROTO_GetShiftState done [10:11:02]FM_GetShiftState done [10:11:02]req_shift_opened done [10:11:02]requested_item shift.open_date is exist - process it [10:11:02]req_shift_open_date [10:11:02]req_shift_open_date done [10:11:02]requested_item shift.sale.total is exist - process it [10:11:02]SAM_PROTO_GetShiftData [10:11:02]wFMCommunicate request_size=4 [10:11:02]MH_SAM_APDU [10:11:02]CAPDU: 80 13 02 00 [10:11:02]Write to MH i2c: E2 08 00 21 03 80 13 02 00 00 00 00 00 A2 [10:11:02]Write i2c OK [10:11:02]MH_I2C_Read... [10:11:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:11:02]Read from MH i2c: E2 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 FD 00 [10:11:02]MH_I2C_Read... [10:11:02]Read from MH i2c: E2 FD 00 21 03 00 BB 04 AA 04 B7 04 6E 04 04 00 34 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 38 07 20 70 04 03 00 68 49 1C 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C1 66 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 88 48 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 37 [10:11:02]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 34 00 00 00 69 04 9B 00 6F 04 04 00 32 00 00 00 B1 04 03 00 38 07 20 70 04 03 00 68 49 1C 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 C1 66 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 88 48 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:11:02]wFMCommunicate OK [10:11:02]wFMCommunicate request_size=4 [10:11:02]MH_SAM_APDU [10:11:02]CAPDU: 80 17 00 00 [10:11:02]Write to MH i2c: E2 08 00 22 03 80 17 00 00 00 00 00 00 A5 [10:11:02]Write i2c OK [10:11:02]MH_I2C_Read... [10:11:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:11:03]Read from MH i2c: E2 [10:11:03]MH_I2C_Read... [10:11:03]Read from MH i2c: E2 FD 00 [10:11:03]MH_I2C_Read... [10:11:03]Read from MH i2c: E2 FD 00 22 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 38 [10:11:03]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:11:03]wFMCommunicate OK [10:11:03]wFMCommunicate request_size=4 [10:11:03]MH_SAM_APDU [10:11:03]CAPDU: 80 17 00 00 [10:11:03]Write to MH i2c: E2 08 00 23 03 80 17 00 00 00 00 00 00 A6 [10:11:03]Write i2c OK [10:11:03]MH_I2C_Read... [10:11:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:11:03]Read from MH i2c: E2 [10:11:03]MH_I2C_Read... [10:11:03]Read from MH i2c: E2 FD 00 [10:11:03]MH_I2C_Read... [10:11:03]Read from MH i2c: E2 FD 00 23 03 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D2 [10:11:03]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:11:03]wFMCommunicate OK [10:11:03]wFMCommunicate request_size=4 [10:11:03]MH_SAM_APDU [10:11:03]CAPDU: 80 17 00 00 [10:11:03]Write to MH i2c: E2 08 00 24 03 80 17 00 00 00 00 00 00 A7 [10:11:03]Write i2c OK [10:11:03]MH_I2C_Read... [10:11:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:11:03]Read from MH i2c: E2 [10:11:03]MH_I2C_Read... [10:11:03]Read from MH i2c: E2 FD 00 [10:11:03]MH_I2C_Read... [10:11:03]Read from MH i2c: E2 FD 00 24 03 00 00 00 EF 03 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 90 00 1C [10:11:03]RAPDU: 00 00 EF 03 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 90 00 [10:11:03]wFMCommunicate OK [10:11:03]wFMCommunicate request_size=4 [10:11:03]MH_SAM_APDU [10:11:03]CAPDU: 80 17 00 00 [10:11:03]Write to MH i2c: E2 08 00 25 03 80 17 00 00 00 00 00 00 A8 [10:11:03]Write i2c OK [10:11:03]MH_I2C_Read... [10:11:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:11:03]Read from MH i2c: E2 [10:11:03]MH_I2C_Read... [10:11:03]Read from MH i2c: E2 D8 00 [10:11:03]MH_I2C_Read... [10:11:03]Read from MH i2c: E2 D8 00 25 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 8F [10:11:03]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:11:04]wFMCommunicate OK [10:11:04]SAM_PROTO_GetShiftData done [10:11:04]requested_item shift.sale.total_cash is exist - process it [10:11:04]requested_item shift.sale_refund.total is exist - process it [10:11:04]requested_item shift.sale_refund.total_cash is exist - process it [10:11:04]produce_requested_data done [10:11:04]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57035,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20990.00,"shift.sale.total_cash":18538.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:11:04]process_action_free close_receipt [10:11:04]json_value_free [10:11:04]json_value_free done [10:11:04]process_json_proto returns [10:11:04]Send response to host [10:11:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57035,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":20990.00,"shift.sale.total_cash":18538.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:11:04]free response buf [10:11:04]execute_script done [10:11:04]execute_script returns [10:11:04]free content buf [10:11:04]Sock 7.Close socket [10:11:04]Sock 7.Thread stoped [10:11:06]OFD Sender: No OFD packet to send [10:11:11]OFD Sender: No OFD packet to send [10:11:16]OFD Sender: No OFD packet to send [10:11:21]OFD Sender: No OFD packet to send [10:11:26]OFD Sender: No OFD packet to send [10:11:31]OFD Sender: No OFD packet to send [10:11:36]OFD Sender: No OFD packet to send [10:11:41]OFD Sender: No OFD packet to send [10:11:46]OFD Sender: No OFD packet to send [10:11:51]OFD Sender: No OFD packet to send [10:11:56]OFD Sender: No OFD packet to send [10:12:01]OFD Sender: No OFD packet to send [10:12:06]OFD Sender: No OFD packet to send [10:12:11]OFD Sender: No OFD packet to send [10:12:16]OFD Sender: No OFD packet to send [10:12:21]OFD Sender: No OFD packet to send [10:12:26]OFD Sender: No OFD packet to send [10:12:31]OFD Sender: No OFD packet to send [10:12:36]OFD Sender: No OFD packet to send [10:12:37]accept exits with 9 [10:12:37]New connection [10:12:37]New thread 3067592036 created [10:12:37]Thread 3067448676 joined [10:12:37]Waiting for new connection... [10:12:37] Sock 9.Parse request [10:12:37]Sock 9.Check first char [10:12:37]Sock 9.First char is OK [10:12:37]request: POST /json_proto HTTP/1.0 [10:12:37]Method: POST [10:12:37]URL: /json_proto [10:12:37]Method is POST - this is cgi request [10:12:37]url: /json_proto [10:12:37]query_string will be loaded in cgi processing [10:12:37]execute_cgi json_proto POST (null) [10:12:37]execute_cgi path=json_proto method=POST [10:12:37]POST find Content-Length [10:12:37]Host: 172.17.39.4:8080 [10:12:37]Content-Length: 782 [10:12:37]Content-Type: application/json [10:12:37] [10:12:37]POST finish read [10:12:37]Found Content-Length = 782 [10:12:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855216", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 10.560, "sum" : 700.13, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:12:37]execute_script... [10:12:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855216", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 10.560, "sum" : 700.13, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:12:37]POST & json_proto [10:12:37]process_json_proto [10:12:37]json parsed OK: [10:12:37]protocol is kg_v1.0 [10:12:37]action value=close_receipt [10:12:37]process_action close_receipt [10:12:37]cmd_close_receipt [10:12:37]MH_GetDate [10:12:37]Write to MH i2c: F0 00 00 26 03 18 [10:12:37]Write i2c OK [10:12:37]MH_I2C_Read... [10:12:37]Read from MH i2c: F0 [10:12:37]MH_I2C_Read... [10:12:37]Read from MH i2c: F0 09 00 [10:12:37]MH_I2C_Read... [10:12:37]Read from MH i2c: F0 09 00 26 03 00 96 A4 93 66 2D 25 5D 64 67 [10:12:37]GetLastDocTimeStamp 1720951858 [10:12:37]current date 1720951958 [10:12:37]FM_GetShiftState [10:12:37]SAM_PROTO_GetShiftState [10:12:37]wFMCommunicate request_size=4 [10:12:37]MH_SAM_APDU [10:12:37]CAPDU: 80 13 01 00 [10:12:37]Write to MH i2c: E2 08 00 27 03 80 13 01 00 00 00 00 00 A7 [10:12:37]Write i2c OK [10:12:37]MH_I2C_Read... [10:12:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:37]Read from MH i2c: E2 [10:12:37]MH_I2C_Read... [10:12:37]Read from MH i2c: E2 0E 00 [10:12:37]MH_I2C_Read... [10:12:37]Read from MH i2c: E2 0E 00 27 03 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 4E [10:12:37]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:12:37]wFMCommunicate OK [10:12:37]SAM_PROTO_GetShiftState done [10:12:37]FM_GetShiftState done [10:12:37]opened in 1720917126 [10:12:37]opened+sec_in_day 1721003526 [10:12:37]quantity*price = 70012 [10:12:37]sum+1 = 70014 [10:12:37]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.13 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.35 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 53 14.07.2024 10:12 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57036 ФПД: 181915543569926 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T101238&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57036&fm=181915543569926&tin=02508201610067®Number=0000000000091208&sum=70000 [10:12:38]StoreToDocumentArchive [10:12:38]shift 496 fd 57036 [10:12:38]save to /storage/0496/doc_00057036 [10:12:38]save last doc name /storage/0496/doc_00057036 to /storage/kkm_last_doc_name [10:12:38]save OK [10:12:38]Clear old archive folders... [10:12:38]ProcessDocumentItem done err = 0, tmpTLVsize=251 [10:12:38]tlvbuf is 00FC6D30 [10:12:38]SAM_PROTO_ClearQueue [10:12:38]wFMCommunicate request_size=4 [10:12:38]MH_SAM_APDU [10:12:38]CAPDU: 80 09 00 00 [10:12:38]Write to MH i2c: E2 08 00 34 03 80 09 00 00 00 00 00 00 A9 [10:12:38]Write i2c OK [10:12:38]MH_I2C_Read... [10:12:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:12:38]Read from MH i2c: E2 [10:12:38]MH_I2C_Read... [10:12:38]Read from MH i2c: E2 03 00 [10:12:38]MH_I2C_Read... [10:12:38]Read from MH i2c: E2 03 00 34 03 00 90 00 AB [10:12:38]RAPDU: 90 00 [10:12:38]wFMCommunicate OK [10:12:38]SAM_PROTO_ClearQueue done [10:12:38]KKMCreateOFDPacket [10:12:38]OFDProtocolAddRootSTLVToBuf [10:12:38]FM_MakeSignedData [10:12:38]FM_MakeSignedData [10:12:38]SAM_PROTO_SignData [10:12:38]wFMCommunicate request_size=4 [10:12:38]MH_SAM_APDU [10:12:38]CAPDU: 80 0D 01 02 [10:12:38]Write to MH i2c: E2 08 00 35 03 80 0D 01 02 00 00 00 00 B1 [10:12:38]Write i2c OK [10:12:38]MH_I2C_Read... [10:12:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:12:38]Read from MH i2c: E2 [10:12:38]MH_I2C_Read... [10:12:38]Read from MH i2c: E2 03 00 [10:12:38]MH_I2C_Read... [10:12:38]Read from MH i2c: E2 03 00 35 03 00 90 00 AC [10:12:38]RAPDU: 90 00 [10:12:38]wFMCommunicate OK [10:12:38]wFMCommunicate request_size=255 [10:12:38]MH_SAM_APDU [10:12:38]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 40 29 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 7D 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 0B 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 35 00 00 00 F4 03 04 00 96 A4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CC DE 00 00 35 04 06 00 A5 [10:12:38]Write to MH i2c: E2 02 01 36 03 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 40 29 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 7D 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 0B 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 35 00 00 00 F4 03 04 00 96 A4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CC DE 00 00 35 04 06 00 A5 00 00 F6 [10:12:38]Write i2c OK [10:12:38]MH_I2C_Read... [10:12:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:38]Read from MH i2c: E2 [10:12:38]MH_I2C_Read... [10:12:38]Read from MH i2c: E2 03 00 [10:12:38]MH_I2C_Read... [10:12:38]Read from MH i2c: E2 03 00 36 03 00 90 00 AD [10:12:38]RAPDU: 90 00 [10:12:38]wFMCommunicate OK [10:12:38]wFMCommunicate request_size=10 [10:12:38]MH_SAM_APDU [10:12:38]CAPDU: 80 0D 02 02 05 73 83 5A 86 06 [10:12:38]Write to MH i2c: E2 0D 00 37 03 80 0D 02 02 05 00 73 83 5A 86 06 00 00 9A [10:12:38]Write i2c OK [10:12:38]MH_I2C_Read... [10:12:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:12:38]Read from MH i2c: E2 [10:12:38]MH_I2C_Read... [10:12:38]Read from MH i2c: E2 03 00 [10:12:38]MH_I2C_Read... [10:12:38]Read from MH i2c: E2 03 00 37 03 00 90 00 AE [10:12:38]RAPDU: 90 00 [10:12:38]wFMCommunicate OK [10:12:38]wFMCommunicate request_size=4 [10:12:38]MH_SAM_APDU [10:12:38]CAPDU: 80 0D 03 02 [10:12:38]Write to MH i2c: E2 08 00 38 03 80 0D 03 02 00 00 00 00 B6 [10:12:38]Write i2c OK [10:12:38]MH_I2C_Read... [10:12:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:12:39]Read from MH i2c: E2 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: E2 0B 00 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: E2 0B 00 38 03 00 AC B3 43 60 57 86 5A A1 90 00 91 [10:12:39]RAPDU: AC B3 43 60 57 86 5A A1 90 00 [10:12:39]wFMCommunicate OK [10:12:39]SAM_PROTO_SignData done [10:12:39]FM_MakeSignedData done [10:12:39]CreateOFDProtocolMessage [10:12:39]wFMCommunicate request_size=4 [10:12:39]MH_SAM_APDU [10:12:39]CAPDU: 80 11 00 00 [10:12:39]Write to MH i2c: E2 08 00 39 03 80 11 00 00 00 00 00 00 B6 [10:12:39]Write i2c OK [10:12:39]MH_I2C_Read... [10:12:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:39]Read from MH i2c: E2 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: E2 17 00 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: E2 17 00 39 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 10 [10:12:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:12:39]wFMCommunicate OK [10:12:39]CreateOFDProtocolMessage done [10:12:39]OFDSenderStorePacket 57036 [10:12:39]StoreOFDPacket docnum=57036 [10:12:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 73 BE 07 01 39 43 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 40 29 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 7D 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 0B 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 35 00 00 00 F4 03 04 00 96 A4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CC DE 00 00 35 04 06 00 A5 73 83 5A 86 06 AC B3 43 60 57 86 5A A1 [10:12:39]CheckFolder [10:12:39]dirname=/storage/ofd_packets [10:12:39]CheckFolder done [10:12:39]ProducePacketName [10:12:39]name=ofd_packets/00057036 [10:12:39]NVStorageSaveData ofd_packets/00057036 [10:12:39]File name is /storage/ofd_packets/00057036 [10:12:39]Write 301 bytes [10:12:39]NVStorageSaveData done [10:12:39]OFDSenderStorePacket done [10:12:39]KKMCreateOFDPacket done [10:12:39]NVStorageSaveData kkm_last_timestamp [10:12:39]File name is /storage/kkm_last_timestamp [10:12:39]Write 4 bytes [10:12:39]NVStorageSaveData done [10:12:39]OFD Sender: Processing packet 57036 [packets to send 38, broken 37] [10:12:39]ProducePacketName [10:12:39]name=ofd_packets/00057036 [10:12:39]OFD Sender: To server: pG, [10:12:39]CommunicateWithHost lk.salyk.kg:30040 [10:12:39]ConnectInit lk.salyk.kg [10:12:39]ExternCall_PrintAddStr [10:12:39]wPrintStart [10:12:39]Write to MH i2c: 01 00 00 3A 03 3D [10:12:39]Write i2c OK [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: 01 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: 01 07 00 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: 01 07 00 3A 03 00 00 00 00 00 FF 0F 52 [10:12:39]RasterBufferAndPrint [10:12:39]line Счет N : (1)855216 [10:12:39]line ИНН: 02508201610067 [10:12:39]line Контрольно-Кассовый Чек [10:12:39]line ПРОДАЖА [10:12:39]line ТРК (МРК, ГНК) : 63 [10:12:39]line Товар: 2710124130 [10:12:39]line Аи-92-К-5 [10:12:39]line 10.560 * 66.30 [10:12:39]line = 700.13 [10:12:39]line НДС 12% НСП 1% [10:12:39]line > о реализуемом товаре [10:12:39]line ОКРУГЛЕНИЕ: -0.13 [10:12:39]line ИТОГО: 700.00 [10:12:39]line Внесено: 700.00 [10:12:39]line СДАЧА: 0.00 [10:12:39]line НСП 1% : 6.20 [10:12:39]line НДС 12% : 74.35 [10:12:39]line Наличными: 700.00 [10:12:39]line Безнал.: 0.00 [10:12:39]line Место: АЗС № 132 "Партнер Нефть" [10:12:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:12:39]line СНО: Общий режим [10:12:39]line Чек 53 14.07.2024 10:12 [10:12:39]line Смена: 496 ФФД: 1.0 [10:12:39]line ЗНМ: 0300000132 [10:12:39]line РНМ: 0000000000091208 [10:12:39]line Версия ККМ: 001 [10:12:39]line ФМ: 0000000000874857 [10:12:39]line ФД: 57036 [10:12:39]line ФПД: 181915543569926 [10:12:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T101238&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57036&fm=181915543569926&tin=02508201610067®Number=0000000000091208&sum=70000 [10:12:39]Connected sock=11 [10:12:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 73 BE 07 01 39 43 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 40 29 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 7D 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 0B 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 35 00 00 00 F4 03 04 00 96 A4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CC DE 00 00 35 04 06 00 A5 73 83 5A 86 06 AC B3 43 60 57 86 5A A1 [10:12:39]written 0, free lines is 4095 [10:12:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F6 04 47 00 8B 99 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CC DE 00 00 F4 03 04 00 E7 4A 93 66 B6 04 01 00 00 1E 2C 6B 6A B3 CA 3E 12 [10:12:39]CommunicateWithHost err = 0 [10:12:39]CheckOFDResponse [10:12:39]1017 (14) - 77093643461234 [10:12:39]1041 (16) - 0000000000874857 [10:12:39]1040 (4) - 57036 [10:12:39]1012 (4) - 14.07.2024 03:49 [10:12:39]1206 (1) - 0 [10:12:39]OFD Sender: Remove packet 57036 [10:12:39]ProducePacketName [10:12:39]name=ofd_packets/00057036 [10:12:39]NVStorageDeleteData [10:12:39]Write to MH i2c: 01 00 00 65 03 68 [10:12:39]Write i2c OK [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: 01 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: 01 07 00 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: 01 07 00 65 03 00 00 00 00 00 EB 0C 66 [10:12:39]RasterBufferAndPrint [10:12:39]line [10:12:39]line [10:12:39]line [10:12:39]line [10:12:39]line [10:12:39]written 0, free lines is 3313 [10:12:39]MH_Cut [10:12:39]Write to MH i2c: D1 01 00 6C 03 01 41 [10:12:39]Write i2c OK [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: D1 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: D1 01 00 [10:12:39]MH_I2C_Read... [10:12:39]Read from MH i2c: D1 01 00 6C 03 00 40 [10:12:39]Write to MH i2c: 01 00 00 6D 03 70 [10:12:39]Write i2c OK [10:12:39]MH_I2C_Read... [10:12:40]OFD Sender: No OFD packet to send [10:12:40]*** Cut start [10:12:40]*** Partial cut [10:12:40]*** CUTSNS_PIN = 1 [10:12:40]*** CUTSNS_PIN = 0 [10:12:40]*** Brake cut motor [10:12:41]Read from MH i2c: 01 [10:12:41]MH_I2C_Read... [10:12:41]*** Stop cut motor [10:12:41]*** Cut end [10:12:41]Read from MH i2c: 01 07 00 [10:12:41]MH_I2C_Read... [10:12:41]Read from MH i2c: 01 07 00 6D 03 00 00 00 00 00 FF 0F 85 [10:12:41]process_action close_receipt done [10:12:41]requested_data is exist [10:12:41]produce_requested_data [10:12:41]requested_item fm.sn is exist - process it [10:12:41]wFMCommunicate request_size=4 [10:12:41]MH_SAM_APDU [10:12:41]CAPDU: 80 11 00 00 [10:12:41]Write to MH i2c: E2 08 00 6E 03 80 11 00 00 00 00 00 00 EB [10:12:41]Write i2c OK [10:12:41]MH_I2C_Read... [10:12:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:12:41]Read from MH i2c: E2 [10:12:41]MH_I2C_Read... [10:12:41]Read from MH i2c: E2 17 00 [10:12:41]MH_I2C_Read... [10:12:41]Read from MH i2c: E2 17 00 6E 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 45 [10:12:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:12:41]wFMCommunicate OK [10:12:41]requested_item fd.num is exist - process it [10:12:41]SAM_PROTO_GetFieldsCounters [10:12:41]wFMCommunicate request_size=4 [10:12:41]MH_SAM_APDU [10:12:41]CAPDU: 80 13 00 00 [10:12:41]Write to MH i2c: E2 08 00 6F 03 80 13 00 00 00 00 00 00 EE [10:12:41]Write i2c OK [10:12:41]MH_I2C_Read... [10:12:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:12:41]Read from MH i2c: E2 [10:12:41]MH_I2C_Read... [10:12:41]Read from MH i2c: E2 62 00 [10:12:41]MH_I2C_Read... [10:12:41]Read from MH i2c: E2 62 00 6F 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CC DE 00 00 0E 04 04 00 F0 01 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 4B [10:12:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CC DE 00 00 0E 04 04 00 F0 01 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 [10:12:41]wFMCommunicate OK [10:12:41]SAM_PROTO_GetFieldsCounters done [10:12:41]requested_item shift.num is exist - process it [10:12:41]requested_item shift.opened is exist - process it [10:12:41]req_shift_opened [10:12:41]FM_GetShiftState [10:12:41]SAM_PROTO_GetShiftState [10:12:41]wFMCommunicate request_size=4 [10:12:41]MH_SAM_APDU [10:12:41]CAPDU: 80 13 01 00 [10:12:41]Write to MH i2c: E2 08 00 70 03 80 13 01 00 00 00 00 00 F0 [10:12:41]Write i2c OK [10:12:41]MH_I2C_Read... [10:12:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:12:41]Read from MH i2c: E2 [10:12:41]MH_I2C_Read... [10:12:41]Read from MH i2c: E2 0E 00 [10:12:41]MH_I2C_Read... [10:12:41]Read from MH i2c: E2 0E 00 70 03 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 97 [10:12:41]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:12:41]wFMCommunicate OK [10:12:41]SAM_PROTO_GetShiftState done [10:12:41]FM_GetShiftState done [10:12:41]req_shift_opened done [10:12:41]requested_item shift.open_date is exist - process it [10:12:41]req_shift_open_date [10:12:41]req_shift_open_date done [10:12:41]requested_item shift.sale.total is exist - process it [10:12:41]SAM_PROTO_GetShiftData [10:12:41]wFMCommunicate request_size=4 [10:12:41]MH_SAM_APDU [10:12:41]CAPDU: 80 13 02 00 [10:12:41]Write to MH i2c: E2 08 00 71 03 80 13 02 00 00 00 00 00 F2 [10:12:41]Write i2c OK [10:12:41]MH_I2C_Read... [10:12:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:12:41]Read from MH i2c: E2 [10:12:41]MH_I2C_Read... [10:12:41]Read from MH i2c: E2 FD 00 [10:12:41]MH_I2C_Read... [10:12:41]Read from MH i2c: E2 FD 00 71 03 00 BB 04 AA 04 B7 04 6E 04 04 00 35 00 00 00 69 04 9B 00 6F 04 04 00 33 00 00 00 B1 04 03 00 A8 18 21 70 04 03 00 D8 5A 1D 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CC 83 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F4 4A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 23 [10:12:41]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 35 00 00 00 69 04 9B 00 6F 04 04 00 33 00 00 00 B1 04 03 00 A8 18 21 70 04 03 00 D8 5A 1D 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 CC 83 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F4 4A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:12:41]wFMCommunicate OK [10:12:41]wFMCommunicate request_size=4 [10:12:41]MH_SAM_APDU [10:12:41]CAPDU: 80 17 00 00 [10:12:41]Write to MH i2c: E2 08 00 72 03 80 17 00 00 00 00 00 00 F5 [10:12:41]Write i2c OK [10:12:41]MH_I2C_Read... [10:12:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:12:42]Read from MH i2c: E2 [10:12:42]MH_I2C_Read... [10:12:42]Read from MH i2c: E2 FD 00 [10:12:42]MH_I2C_Read... [10:12:42]Read from MH i2c: E2 FD 00 72 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 88 [10:12:42]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:12:42]wFMCommunicate OK [10:12:42]wFMCommunicate request_size=4 [10:12:42]MH_SAM_APDU [10:12:42]CAPDU: 80 17 00 00 [10:12:42]Write to MH i2c: E2 08 00 73 03 80 17 00 00 00 00 00 00 F6 [10:12:42]Write i2c OK [10:12:42]MH_I2C_Read... [10:12:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:12:42]Read from MH i2c: E2 [10:12:42]MH_I2C_Read... [10:12:42]Read from MH i2c: E2 FD 00 [10:12:42]MH_I2C_Read... [10:12:42]Read from MH i2c: E2 FD 00 73 03 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 22 [10:12:42]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:12:42]wFMCommunicate OK [10:12:42]wFMCommunicate request_size=4 [10:12:42]MH_SAM_APDU [10:12:42]CAPDU: 80 17 00 00 [10:12:42]Write to MH i2c: E2 08 00 74 03 80 17 00 00 00 00 00 00 F7 [10:12:42]Write i2c OK [10:12:42]MH_I2C_Read... [10:12:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:12:42]Read from MH i2c: E2 [10:12:42]MH_I2C_Read... [10:12:42]Read from MH i2c: E2 FD 00 [10:12:42]MH_I2C_Read... [10:12:42]Read from MH i2c: E2 FD 00 74 03 00 00 00 EF 03 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 90 00 6C [10:12:42]RAPDU: 00 00 EF 03 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 90 00 [10:12:42]wFMCommunicate OK [10:12:42]wFMCommunicate request_size=4 [10:12:42]MH_SAM_APDU [10:12:42]CAPDU: 80 17 00 00 [10:12:42]Write to MH i2c: E2 08 00 75 03 80 17 00 00 00 00 00 00 F8 [10:12:42]Write i2c OK [10:12:42]MH_I2C_Read... [10:12:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:12:43]Read from MH i2c: E2 [10:12:43]MH_I2C_Read... [10:12:43]Read from MH i2c: E2 D8 00 [10:12:43]MH_I2C_Read... [10:12:43]Read from MH i2c: E2 D8 00 75 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 DF [10:12:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:12:43]wFMCommunicate OK [10:12:43]SAM_PROTO_GetShiftData done [10:12:43]requested_item shift.sale.total_cash is exist - process it [10:12:43]requested_item shift.sale_refund.total is exist - process it [10:12:43]requested_item shift.sale_refund.total_cash is exist - process it [10:12:43]produce_requested_data done [10:12:43]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57036,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":21690.00,"shift.sale.total_cash":19238.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:12:43]process_action_free close_receipt [10:12:43]json_value_free [10:12:43]json_value_free done [10:12:43]process_json_proto returns [10:12:43]Send response to host [10:12:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57036,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":21690.00,"shift.sale.total_cash":19238.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:12:43]free response buf [10:12:43]execute_script done [10:12:43]execute_script returns [10:12:43]free content buf [10:12:43]Sock 9.Close socket [10:12:43]Sock 9.Thread stoped [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:20]OFD Sender: No OFD packet to send [10:18:25]OFD Sender: No OFD packet to send [10:18:30]OFD Sender: No OFD packet to send [10:18:35]OFD Sender: No OFD packet to send [10:18:40]OFD Sender: No OFD packet to send [10:18:45]OFD Sender: No OFD packet to send [10:18:50]OFD Sender: No OFD packet to send [10:18:55]OFD Sender: No OFD packet to send [10:19:00]OFD Sender: No OFD packet to send [10:19:05]OFD Sender: No OFD packet to send [10:19:10]accept exits with 7 [10:19:10]New connection [10:19:10]New thread 3067448676 created [10:19:10]Thread 3067592036 joined [10:19:10]Waiting for new connection... [10:19:10] Sock 7.Parse request [10:19:10]Sock 7.Check first char [10:19:10]Sock 7.First char is OK [10:19:10]request: POST /json_proto HTTP/1.0 [10:19:10]Method: POST [10:19:10]URL: /json_proto [10:19:10]Method is POST - this is cgi request [10:19:10]url: /json_proto [10:19:10]query_string will be loaded in cgi processing [10:19:10]execute_cgi json_proto POST (null) [10:19:10]execute_cgi path=json_proto method=POST [10:19:10]POST find Content-Length [10:19:10]Host: 172.17.39.4:8080 [10:19:10]Content-Length: 1064 [10:19:10]Content-Type: application/json [10:19:10] [10:19:10]POST finish read [10:19:10]Found Content-Length = 1064 [10:19:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129500", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:19:10]execute_script... [10:19: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)129500", "tax_sys" : 0, "items" : [ { "code": "4870202521230", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0447\u0435\u0440\u043D.\u043B\u0438\u043C\u043E\u043D", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:19:10]POST & json_proto [10:19:10]process_json_proto [10:19:10]json parsed OK: [10:19:10]protocol is kg_v1.0 [10:19:10]action value=close_receipt [10:19:10]process_action close_receipt [10:19:10]cmd_close_receipt [10:19:10]MH_GetDate [10:19:10]Write to MH i2c: F0 00 00 76 03 68 [10:19:10]Write i2c OK [10:19:10]MH_I2C_Read... [10:19:10]Read from MH i2c: F0 [10:19:10]MH_I2C_Read... [10:19:10]Read from MH i2c: F0 09 00 [10:19:10]MH_I2C_Read... [10:19:10]Read from MH i2c: F0 09 00 76 03 00 1F A6 93 66 2D 25 5D 64 42 [10:19:10]GetLastDocTimeStamp 1720951958 [10:19:10]current date 1720952351 [10:19:10]FM_GetShiftState [10:19:10]SAM_PROTO_GetShiftState [10:19:10]wFMCommunicate request_size=4 [10:19:10]MH_SAM_APDU [10:19:10]CAPDU: 80 13 01 00 [10:19:10]Write to MH i2c: E2 08 00 77 03 80 13 01 00 00 00 00 00 F7 [10:19:10]Write i2c OK [10:19:10]MH_I2C_Read... [10:19:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:19:10]Read from MH i2c: E2 [10:19:10]MH_I2C_Read... [10:19:10]Read from MH i2c: E2 0E 00 [10:19:10]MH_I2C_Read... [10:19:10]Read from MH i2c: E2 0E 00 77 03 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 9E [10:19:10]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:19:10]wFMCommunicate OK [10:19:10]SAM_PROTO_GetShiftState done [10:19:10]FM_GetShiftState done [10:19:10]opened in 1720917126 [10:19:10]opened+sec_in_day 1721003526 [10:19:10]quantity*price = 12500 [10:19:10]sum+1 = 12501 [10:19:10]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000000439 Напиток Кока-Кола 1,5л 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 280.00 НСП 1% : 2.48 НДС 12% : 29.73 Наличными: 280.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 54 14.07.2024 10:19 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57037 ФПД: 50510474194116 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T101911&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57037&fm=50510474194116&tin=02508201610067®Number=0000000000091208&sum=28000 0 [10:19:11]StoreToDocumentArchive [10:19:11]shift 496 fd 57037 [10:19:11]save to /storage/0496/doc_00057037 [10:19:11]save last doc name /storage/0496/doc_00057037 to /storage/kkm_last_doc_name [10:19:11]save OK [10:19:11]Clear old archive folders... [10:19:11]ProcessDocumentItem done err = 0, tmpTLVsize=402 [10:19:11]tlvbuf is 00FCBE00 [10:19:11]SAM_PROTO_ClearQueue [10:19:11]wFMCommunicate request_size=4 [10:19:11]MH_SAM_APDU [10:19:11]CAPDU: 80 09 00 00 [10:19:11]Write to MH i2c: E2 08 00 84 03 80 09 00 00 00 00 00 00 F9 [10:19:11]Write i2c OK [10:19:11]MH_I2C_Read... [10:19:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:19:11]Read from MH i2c: E2 [10:19:11]MH_I2C_Read... [10:19:11]Read from MH i2c: E2 03 00 [10:19:11]MH_I2C_Read... [10:19:11]Read from MH i2c: E2 03 00 84 03 00 90 00 FB [10:19:11]RAPDU: 90 00 [10:19:11]wFMCommunicate OK [10:19:11]SAM_PROTO_ClearQueue done [10:19:11]KKMCreateOFDPacket [10:19:11]OFDProtocolAddRootSTLVToBuf [10:19:11]FM_MakeSignedData [10:19:11]FM_MakeSignedData [10:19:11]SAM_PROTO_SignData [10:19:11]wFMCommunicate request_size=4 [10:19:11]MH_SAM_APDU [10:19:11]CAPDU: 80 0D 01 02 [10:19:11]Write to MH i2c: E2 08 00 85 03 80 0D 01 02 00 00 00 00 01 [10:19:11]Write i2c OK [10:19:11]MH_I2C_Read... [10:19:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:19:11]Read from MH i2c: E2 [10:19:11]MH_I2C_Read... [10:19:11]Read from MH i2c: E2 03 00 [10:19:11]MH_I2C_Read... [10:19:11]Read from MH i2c: E2 03 00 85 03 00 90 00 FC [10:19:11]RAPDU: 90 00 [10:19:11]wFMCommunicate OK [10:19:11]wFMCommunicate request_size=255 [10:19:11]MH_SAM_APDU [10:19:11]CAPDU: 80 0D 02 02 FA 03 00 92 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 [10:19:11]Write to MH i2c: E2 02 01 86 03 80 0D 02 02 FA 00 03 00 92 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 00 D9 [10:19:11]Write i2c OK [10:19:11]MH_I2C_Read... [10:19:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:19:12]Read from MH i2c: E2 [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: E2 03 00 [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: E2 03 00 86 03 00 90 00 FD [10:19:12]RAPDU: 90 00 [10:19:12]wFMCommunicate OK [10:19:12]wFMCommunicate request_size=161 [10:19:12]MH_SAM_APDU [10:19:12]CAPDU: 80 0D 02 02 9C 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 1F A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CD DE 00 00 35 04 06 00 2D F0 62 DF 2C C4 [10:19:12]Write to MH i2c: E2 A4 00 87 03 80 0D 02 02 9C 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 1F A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CD DE 00 00 35 04 06 00 2D F0 62 DF 2C C4 00 00 C6 [10:19:12]Write i2c OK [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: E2 [10:19:12]MH_I2C_Read... [10:19:12]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:19:12]Read from MH i2c: E2 03 00 [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: E2 03 00 87 03 00 90 00 FE [10:19:12]RAPDU: 90 00 [10:19:12]wFMCommunicate OK [10:19:12]wFMCommunicate request_size=4 [10:19:12]MH_SAM_APDU [10:19:12]CAPDU: 80 0D 03 02 [10:19:12]Write to MH i2c: E2 08 00 88 03 80 0D 03 02 00 00 00 00 06 [10:19:12]Write i2c OK [10:19:12]MH_I2C_Read... [10:19:12]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:19:12]Read from MH i2c: E2 [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: E2 0B 00 [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: E2 0B 00 88 03 00 3C 33 42 11 A0 76 A3 D6 90 00 58 [10:19:12]RAPDU: 3C 33 42 11 A0 76 A3 D6 90 00 [10:19:12]wFMCommunicate OK [10:19:12]SAM_PROTO_SignData done [10:19:12]FM_MakeSignedData done [10:19:12]CreateOFDProtocolMessage [10:19:12]wFMCommunicate request_size=4 [10:19:12]MH_SAM_APDU [10:19:12]CAPDU: 80 11 00 00 [10:19:12]Write to MH i2c: E2 08 00 89 03 80 11 00 00 00 00 00 00 06 [10:19:12]Write i2c OK [10:19:12]MH_I2C_Read... [10:19:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:19:12]Read from MH i2c: E2 [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: E2 17 00 [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: E2 17 00 89 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 60 [10:19:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:19:12]wFMCommunicate OK [10:19:12]CreateOFDProtocolMessage done [10:19:12]OFDSenderStorePacket 57037 [10:19:12]StoreOFDPacket docnum=57037 [10:19:12]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A6 01 00 00 64 22 9E 01 5C 0F 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 1F A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CD DE 00 00 35 04 06 00 2D F0 62 DF 2C C4 3C 33 42 11 A0 76 A3 D6 [10:19:12]CheckFolder [10:19:12]dirname=/storage/ofd_packets [10:19:12]CheckFolder done [10:19:12]ProducePacketName [10:19:12]name=ofd_packets/00057037 [10:19:12]NVStorageSaveData ofd_packets/00057037 [10:19:12]File name is /storage/ofd_packets/00057037 [10:19:12]Write 452 bytes [10:19:12]NVStorageSaveData done [10:19:12]OFDSenderStorePacket done [10:19:12]KKMCreateOFDPacket done [10:19:12]NVStorageSaveData kkm_last_timestamp [10:19:12]File name is /storage/kkm_last_timestamp [10:19:12]Write 4 bytes [10:19:12]NVStorageSaveData done [10:19:12]ExternCall_PrintAddStr [10:19:12]wPrintStart [10:19:12]Write to MH i2c: 01 00 00 8A 03 8D [10:19:12]Write i2c OK [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: 01 [10:19:12]MH_I2C_Read... [10:19:12]Read from MH i2c: 01 07 00 [10:19:12]MH_I2C_Read... [10:19:12]OFD Sender: Processing packet 57037 [packets to send 38, broken 37] [10:19:12]ProducePacketName [10:19:12]name=ofd_packets/00057037 [10:19:12]OFD Sender: To server: pG, [10:19:12]CommunicateWithHost lk.salyk.kg:30040 [10:19:12]ConnectInit lk.salyk.kg [10:19:12]Read from MH i2c: 01 07 00 8A 03 00 00 00 00 00 FF 0F A2 [10:19:12]RasterBufferAndPrint [10:19:12]line Счет N : (3)129500 [10:19:12]line ИНН: 02508201610067 [10:19:12]line Контрольно-Кассовый Чек [10:19:12]line ПРОДАЖА [10:19:12]line Товар: 4870202521230 [10:19:12]line Напиток MAXI чай 1,2 черн.лимон [10:19:12]line 1.000 * 125.00 [10:19:12]line = 125.00 [10:19:12]line НДС 12% НСП 1% [10:19:12]line > о реализуемом товаре [10:19:12]line Товар: 5449000000439 [10:19:12]line Напиток Кока-Кола 1,5л [10:19:12]line 1.000 * 155.00 [10:19:12]line = 155.00 [10:19:12]line НДС 12% НСП 1% [10:19:12]line > о реализуемом товаре [10:19:12]line ИТОГО: 280.00 [10:19:12]line НСП 1% : 2.48 [10:19:12]line НДС 12% : 29.73 [10:19:12]line Наличными: 280.00 [10:19:12]line Безнал.: 0.00 [10:19:12]line Место: АЗС № 132 "Партнер Нефть" [10:19:12]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:19:12]line СНО: Общий режим [10:19:12]line Чек 54 14.07.2024 10:19 [10:19:12]line Смена: 496 ФФД: 1.0 [10:19:12]line ЗНМ: 0300000132 [10:19:12]line РНМ: 0000000000091208 [10:19:12]line Версия ККМ: 001 [10:19:12]line ФМ: 0000000000874857 [10:19:12]line ФД: 57037 [10:19:12]line ФПД: 50510474194116 [10:19:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T101911&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57037&fm=50510474194116&tin=02508201610067®Number=0000000000091208&sum=28000 [10:19:12]line 0 [10:19:12]written 0, free lines is 4095 [10:19:12]Connected sock=11 [10:19:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A6 01 00 00 64 22 9E 01 5C 0F 5A 03 01 00 03 00 92 01 1E 04 01 00 01 23 04 76 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 33 30 06 04 32 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 BB D0 B8 D0 BC D0 BE 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 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 1F A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CD DE 00 00 35 04 06 00 2D F0 62 DF 2C C4 3C 33 42 11 A0 76 A3 D6 [10:19:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 40 93 47 00 28 5E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CD DE 00 00 F4 03 04 00 70 4C 93 66 B6 04 01 00 00 3C AE 1A 62 F4 43 EC CE [10:19:12]CommunicateWithHost err = 0 [10:19:12]CheckOFDResponse [10:19:12]1017 (14) - 77093643461234 [10:19:12]1041 (16) - 0000000000874857 [10:19:12]1040 (4) - 57037 [10:19:12]1012 (4) - 14.07.2024 03:56 [10:19:12]1206 (1) - 0 [10:19:12]OFD Sender: Remove packet 57037 [10:19:12]ProducePacketName [10:19:12]name=ofd_packets/00057037 [10:19:12]NVStorageDeleteData [10:19:13]Write to MH i2c: 01 00 00 B9 03 BC [10:19:13]Write i2c OK [10:19:13]MH_I2C_Read... [10:19:13]Read from MH i2c: 01 [10:19:13]MH_I2C_Read... [10:19:13]Read from MH i2c: 01 07 00 [10:19:13]MH_I2C_Read... [10:19:13]Read from MH i2c: 01 07 00 B9 03 00 00 00 00 00 A8 0C 77 [10:19:13]RasterBufferAndPrint [10:19:13]line [10:19:13]line [10:19:13]line [10:19:13]line [10:19:13]line [10:19:13]written 0, free lines is 3246 [10:19:13]MH_Cut [10:19:13]Write to MH i2c: D1 01 00 C0 03 01 95 [10:19:13]Write i2c OK [10:19:13]MH_I2C_Read... [10:19:13]Read from MH i2c: D1 [10:19:13]MH_I2C_Read... [10:19:13]Read from MH i2c: D1 01 00 [10:19:13]MH_I2C_Read... [10:19:13]Read from MH i2c: D1 01 00 C0 03 00 94 [10:19:13]Write to MH i2c: 01 00 00 C1 03 C4 [10:19:13]Write i2c OK [10:19:13]MH_I2C_Read... [10:19:13]OFD Sender: No OFD packet to send [10:19:13]*** Cut start [10:19:13]*** Partial cut [10:19:13]*** CUTSNS_PIN = 1 [10:19:13]*** CUTSNS_PIN = 0 [10:19:14]*** Brake cut motor [10:19:14]Read from MH i2c: 01 [10:19:14]MH_I2C_Read... [10:19:14]*** Stop cut motor [10:19:14]*** Cut end [10:19:14]Read from MH i2c: 01 07 00 [10:19:14]MH_I2C_Read... [10:19:14]Read from MH i2c: 01 07 00 C1 03 00 00 00 00 00 FF 0F D9 [10:19:14]process_action close_receipt done [10:19:14]requested_data is exist [10:19:14]produce_requested_data [10:19:14]requested_item fm.sn is exist - process it [10:19:14]wFMCommunicate request_size=4 [10:19:14]MH_SAM_APDU [10:19:14]CAPDU: 80 11 00 00 [10:19:14]Write to MH i2c: E2 08 00 C2 03 80 11 00 00 00 00 00 00 3F [10:19:14]Write i2c OK [10:19:14]MH_I2C_Read... [10:19:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:19:14]Read from MH i2c: E2 [10:19:14]MH_I2C_Read... [10:19:14]Read from MH i2c: E2 17 00 [10:19:14]MH_I2C_Read... [10:19:14]Read from MH i2c: E2 17 00 C2 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 99 [10:19:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:19:14]wFMCommunicate OK [10:19:14]requested_item fd.num is exist - process it [10:19:14]SAM_PROTO_GetFieldsCounters [10:19:14]wFMCommunicate request_size=4 [10:19:14]MH_SAM_APDU [10:19:14]CAPDU: 80 13 00 00 [10:19:14]Write to MH i2c: E2 08 00 C3 03 80 13 00 00 00 00 00 00 42 [10:19:14]Write i2c OK [10:19:14]MH_I2C_Read... [10:19:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:19:14]Read from MH i2c: E2 [10:19:14]MH_I2C_Read... [10:19:14]Read from MH i2c: E2 62 00 [10:19:14]MH_I2C_Read... [10:19:14]Read from MH i2c: E2 62 00 C3 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CD DE 00 00 0E 04 04 00 F0 01 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 A3 [10:19:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CD DE 00 00 0E 04 04 00 F0 01 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 [10:19:14]wFMCommunicate OK [10:19:14]SAM_PROTO_GetFieldsCounters done [10:19:14]requested_item shift.num is exist - process it [10:19:14]requested_item shift.opened is exist - process it [10:19:14]req_shift_opened [10:19:14]FM_GetShiftState [10:19:14]SAM_PROTO_GetShiftState [10:19:14]wFMCommunicate request_size=4 [10:19:14]MH_SAM_APDU [10:19:14]CAPDU: 80 13 01 00 [10:19:14]Write to MH i2c: E2 08 00 C4 03 80 13 01 00 00 00 00 00 44 [10:19:14]Write i2c OK [10:19:14]MH_I2C_Read... [10:19:14]Read from MH i2c: E2 [10:19:14]MH_I2C_Read... [10:19:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:19:14]Read from MH i2c: E2 0E 00 [10:19:14]MH_I2C_Read... [10:19:14]Read from MH i2c: E2 0E 00 C4 03 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 EB [10:19:14]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:19:14]wFMCommunicate OK [10:19:14]SAM_PROTO_GetShiftState done [10:19:14]FM_GetShiftState done [10:19:14]req_shift_opened done [10:19:14]requested_item shift.open_date is exist - process it [10:19:14]req_shift_open_date [10:19:14]req_shift_open_date done [10:19:14]requested_item shift.sale.total is exist - process it [10:19:14]SAM_PROTO_GetShiftData [10:19:14]wFMCommunicate request_size=4 [10:19:14]MH_SAM_APDU [10:19:14]CAPDU: 80 13 02 00 [10:19:14]Write to MH i2c: E2 08 00 C5 03 80 13 02 00 00 00 00 00 46 [10:19:14]Write i2c OK [10:19:14]MH_I2C_Read... [10:19:15]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:19:15]Read from MH i2c: E2 [10:19:15]MH_I2C_Read... [10:19:15]Read from MH i2c: E2 FD 00 [10:19:15]MH_I2C_Read... [10:19:15]Read from MH i2c: E2 FD 00 C5 03 00 BB 04 AA 04 B7 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 34 00 00 00 B1 04 03 00 08 86 21 70 04 03 00 38 C8 1D 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 69 8F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 4B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 B7 [10:19:15]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 36 00 00 00 69 04 9B 00 6F 04 04 00 34 00 00 00 B1 04 03 00 08 86 21 70 04 03 00 38 C8 1D 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 69 8F 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 EC 4B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:19:15]wFMCommunicate OK [10:19:15]wFMCommunicate request_size=4 [10:19:15]MH_SAM_APDU [10:19:15]CAPDU: 80 17 00 00 [10:19:15]Write to MH i2c: E2 08 00 C6 03 80 17 00 00 00 00 00 00 49 [10:19:15]Write i2c OK [10:19:15]MH_I2C_Read... [10:19:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:19:15]Read from MH i2c: E2 [10:19:15]MH_I2C_Read... [10:19:15]Read from MH i2c: E2 FD 00 [10:19:15]MH_I2C_Read... [10:19:15]Read from MH i2c: E2 FD 00 C6 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DC [10:19:15]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:19:15]wFMCommunicate OK [10:19:15]wFMCommunicate request_size=4 [10:19:15]MH_SAM_APDU [10:19:15]CAPDU: 80 17 00 00 [10:19:15]Write to MH i2c: E2 08 00 C7 03 80 17 00 00 00 00 00 00 4A [10:19:15]Write i2c OK [10:19:15]MH_I2C_Read... [10:19:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:19:15]Read from MH i2c: E2 [10:19:15]MH_I2C_Read... [10:19:15]Read from MH i2c: E2 FD 00 [10:19:15]MH_I2C_Read... [10:19:15]Read from MH i2c: E2 FD 00 C7 03 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 76 [10:19:15]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:19:15]wFMCommunicate OK [10:19:15]wFMCommunicate request_size=4 [10:19:15]MH_SAM_APDU [10:19:15]CAPDU: 80 17 00 00 [10:19:15]Write to MH i2c: E2 08 00 C8 03 80 17 00 00 00 00 00 00 4B [10:19:15]Write i2c OK [10:19:15]MH_I2C_Read... [10:19:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:19:16]Read from MH i2c: E2 [10:19:16]MH_I2C_Read... [10:19:16]Read from MH i2c: E2 FD 00 [10:19:16]MH_I2C_Read... [10:19:16]Read from MH i2c: E2 FD 00 C8 03 00 00 00 EF 03 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 90 00 C0 [10:19:16]RAPDU: 00 00 EF 03 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 90 00 [10:19:16]wFMCommunicate OK [10:19:16]wFMCommunicate request_size=4 [10:19:16]MH_SAM_APDU [10:19:16]CAPDU: 80 17 00 00 [10:19:16]Write to MH i2c: E2 08 00 C9 03 80 17 00 00 00 00 00 00 4C [10:19:16]Write i2c OK [10:19:16]MH_I2C_Read... [10:19:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:19:16]Read from MH i2c: E2 [10:19:16]MH_I2C_Read... [10:19:16]Read from MH i2c: E2 D8 00 [10:19:16]MH_I2C_Read... [10:19:16]Read from MH i2c: E2 D8 00 C9 03 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 33 [10:19:16]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:19:16]wFMCommunicate OK [10:19:16]SAM_PROTO_GetShiftData done [10:19:16]requested_item shift.sale.total_cash is exist - process it [10:19:16]requested_item shift.sale_refund.total is exist - process it [10:19:16]requested_item shift.sale_refund.total_cash is exist - process it [10:19:16]produce_requested_data done [10:19:16]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57037,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":21970.00,"shift.sale.total_cash":19518.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:19:16]process_action_free close_receipt [10:19:16]json_value_free [10:19:16]json_value_free done [10:19:16]process_json_proto returns [10:19:16]Send response to host [10:19:16]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57037,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":21970.00,"shift.sale.total_cash":19518.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:19:16]free response buf [10:19:16]execute_script done [10:19:16]execute_script returns [10:19:16]free content buf [10:19:16]Sock 7.Close socket [10:19:16]Sock 7.Thread stoped [10:19:18]OFD Sender: No OFD packet to send [10:19:23]OFD Sender: No OFD packet to send [10:19:28]OFD Sender: No OFD packet to send [10:19:33]OFD Sender: No OFD packet to send [10:19:38]OFD Sender: No OFD packet to send [10:19:43]OFD Sender: No OFD packet to send [10:19:48]OFD Sender: No OFD packet to send [10:19:53]OFD Sender: No OFD packet to send [10:19:58]OFD Sender: No OFD packet to send [10:20:03]OFD Sender: No OFD packet to send [10:20:08]OFD Sender: No OFD packet to send [10:20:13]OFD Sender: No OFD packet to send [10:20:18]OFD Sender: No OFD packet to send [10:20:23]accept exits with 9 [10:20:23]New connection [10:20:23]New thread 3067592036 created [10:20:23]Thread 3067448676 joined [10:20:23]Waiting for new connection... [10:20:23] Sock 9.Parse request [10:20:23]Sock 9.Check first char [10:20:23]Sock 9.First char is OK [10:20:23]request: POST /json_proto HTTP/1.0 [10:20:23]Method: POST [10:20:23]URL: /json_proto [10:20:23]Method is POST - this is cgi request [10:20:23]url: /json_proto [10:20:23]query_string will be loaded in cgi processing [10:20:23]execute_cgi json_proto POST (null) [10:20:23]execute_cgi path=json_proto method=POST [10:20:23]POST find Content-Length [10:20:23]Host: 172.17.39.4:8080 [10:20:23]Content-Length: 791 [10:20:23]Content-Type: application/json [10:20:23] [10:20:23]POST finish read [10:20:23]Found Content-Length = 791 [10:20:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129501", "tax_sys" : 0, "items" : [ { "code": "4870227272605", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u041A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 0,5\u043B", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:20:23]execute_script... [10: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)129501", "tax_sys" : 0, "items" : [ { "code": "4870227272605", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u041A\u043B\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043A\u0438\u0439 0,5\u043B", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:20:23]POST & json_proto [10:20:23]process_json_proto [10:20:23]json parsed OK: [10:20:23]protocol is kg_v1.0 [10:20:23]action value=close_receipt [10:20:23]process_action close_receipt [10:20:23]cmd_close_receipt [10:20:23]MH_GetDate [10:20:23]Write to MH i2c: F0 00 00 CA 03 BC [10:20:23]Write i2c OK [10:20:23]MH_I2C_Read... [10:20:23]Read from MH i2c: F0 [10:20:23]MH_I2C_Read... [10:20:23]Read from MH i2c: F0 09 00 [10:20:23]MH_I2C_Read... [10:20:23]Read from MH i2c: F0 09 00 CA 03 00 67 A6 93 66 2D 25 5D 64 DE [10:20:23]GetLastDocTimeStamp 1720952351 [10:20:23]current date 1720952423 [10:20:23]FM_GetShiftState [10:20:23]SAM_PROTO_GetShiftState [10:20:23]wFMCommunicate request_size=4 [10:20:23]MH_SAM_APDU [10:20:23]CAPDU: 80 13 01 00 [10:20:23]Write to MH i2c: E2 08 00 CB 03 80 13 01 00 00 00 00 00 4B [10:20:23]Write i2c OK [10:20:23]MH_I2C_Read... [10:20:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:23]Read from MH i2c: E2 [10:20:23]MH_I2C_Read... [10:20:23]Read from MH i2c: E2 0E 00 [10:20:23]MH_I2C_Read... [10:20:23]Read from MH i2c: E2 0E 00 CB 03 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 F2 [10:20:23]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:20:23]wFMCommunicate OK [10:20:23]SAM_PROTO_GetShiftState done [10:20:23]FM_GetShiftState done [10:20:23]opened in 1720917126 [10:20:23]opened+sec_in_day 1721003526 [10:20:23]quantity*price = 5500 [10:20:23]sum+1 = 5501 [10:20:23]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 55.00 НСП 1% : 0.49 НДС 12% : 5.84 Наличными: 55.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 55 14.07.2024 10:20 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57038 ФПД: 147275688066846 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T102024&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57038&fm=147275688066846&tin=02508201610067®Number=0000000000091208&sum=5500 0 [10:20:24]StoreToDocumentArchive [10:20:24]shift 496 fd 57038 [10:20:24]save to /storage/0496/doc_00057038 [10:20:24]save last doc name /storage/0496/doc_00057038 to /storage/kkm_last_doc_name [10:20:24]save OK [10:20:24]Clear old archive folders... [10:20:24]ProcessDocumentItem done err = 0, tmpTLVsize=294 [10:20:24]tlvbuf is 00FC7500 [10:20:24]SAM_PROTO_ClearQueue [10:20:24]wFMCommunicate request_size=4 [10:20:24]MH_SAM_APDU [10:20:24]CAPDU: 80 09 00 00 [10:20:24]Write to MH i2c: E2 08 00 D8 03 80 09 00 00 00 00 00 00 4D [10:20:24]Write i2c OK [10:20:24]MH_I2C_Read... [10:20:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:20:24]Read from MH i2c: E2 [10:20:24]MH_I2C_Read... [10:20:24]Read from MH i2c: E2 03 00 [10:20:24]MH_I2C_Read... [10:20:24]Read from MH i2c: E2 03 00 D8 03 00 90 00 4F [10:20:24]RAPDU: 90 00 [10:20:24]wFMCommunicate OK [10:20:24]SAM_PROTO_ClearQueue done [10:20:24]KKMCreateOFDPacket [10:20:24]OFDProtocolAddRootSTLVToBuf [10:20:24]FM_MakeSignedData [10:20:24]FM_MakeSignedData [10:20:24]SAM_PROTO_SignData [10:20:24]wFMCommunicate request_size=4 [10:20:24]MH_SAM_APDU [10:20:24]CAPDU: 80 0D 01 02 [10:20:24]Write to MH i2c: E2 08 00 D9 03 80 0D 01 02 00 00 00 00 55 [10:20:24]Write i2c OK [10:20:24]MH_I2C_Read... [10:20:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:20:24]Read from MH i2c: E2 [10:20:24]MH_I2C_Read... [10:20:24]Read from MH i2c: E2 03 00 [10:20:24]MH_I2C_Read... [10:20:24]Read from MH i2c: E2 03 00 D9 03 00 90 00 50 [10:20:24]RAPDU: 90 00 [10:20:24]wFMCommunicate OK [10:20:24]wFMCommunicate request_size=255 [10:20:24]MH_SAM_APDU [10:20:24]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 32 37 32 37 32 36 30 35 06 04 34 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9A D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 30 2C 35 D0 BB 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 37 00 00 00 F4 03 04 00 68 A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [10:20:24]Write to MH i2c: E2 02 01 DA 03 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 32 37 32 37 32 36 30 35 06 04 34 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9A D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 30 2C 35 D0 BB 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 37 00 00 00 F4 03 04 00 68 A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 49 [10:20:24]Write i2c OK [10:20:24]MH_I2C_Read... [10:20:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:24]Read from MH i2c: E2 [10:20:24]MH_I2C_Read... [10:20:24]Read from MH i2c: E2 03 00 [10:20:24]MH_I2C_Read... [10:20:24]Read from MH i2c: E2 03 00 DA 03 00 90 00 51 [10:20:24]RAPDU: 90 00 [10:20:24]wFMCommunicate OK [10:20:24]wFMCommunicate request_size=53 [10:20:24]MH_SAM_APDU [10:20:24]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CE DE 00 00 35 04 06 00 85 F2 4B 12 3F 1E [10:20:24]Write to MH i2c: E2 38 00 DB 03 80 0D 02 02 30 00 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CE DE 00 00 35 04 06 00 85 F2 4B 12 3F 1E 00 00 2C [10:20:24]Write i2c OK [10:20:24]MH_I2C_Read... [10:20:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:24]Read from MH i2c: E2 [10:20:24]MH_I2C_Read... [10:20:24]Read from MH i2c: E2 03 00 [10:20:24]MH_I2C_Read... [10:20:24]Read from MH i2c: E2 03 00 DB 03 00 90 00 52 [10:20:24]RAPDU: 90 00 [10:20:24]wFMCommunicate OK [10:20:24]wFMCommunicate request_size=4 [10:20:24]MH_SAM_APDU [10:20:24]CAPDU: 80 0D 03 02 [10:20:24]Write to MH i2c: E2 08 00 DC 03 80 0D 03 02 00 00 00 00 5A [10:20:24]Write i2c OK [10:20:24]MH_I2C_Read... [10:20:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:20:25]Read from MH i2c: E2 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: E2 0B 00 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: E2 0B 00 DC 03 00 DC 91 1E 2E B2 26 28 82 90 00 96 [10:20:25]RAPDU: DC 91 1E 2E B2 26 28 82 90 00 [10:20:25]wFMCommunicate OK [10:20:25]SAM_PROTO_SignData done [10:20:25]FM_MakeSignedData done [10:20:25]CreateOFDProtocolMessage [10:20:25]wFMCommunicate request_size=4 [10:20:25]MH_SAM_APDU [10:20:25]CAPDU: 80 11 00 00 [10:20:25]Write to MH i2c: E2 08 00 DD 03 80 11 00 00 00 00 00 00 5A [10:20:25]Write i2c OK [10:20:25]MH_I2C_Read... [10:20:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:25]Read from MH i2c: E2 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: E2 17 00 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: E2 17 00 DD 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B4 [10:20:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:20:25]wFMCommunicate OK [10:20:25]CreateOFDProtocolMessage done [10:20:25]OFDSenderStorePacket 57038 [10:20:25]StoreOFDPacket docnum=57038 [10:20:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3A 01 00 00 84 70 32 01 03 7B 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 32 37 32 37 32 36 30 35 06 04 34 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9A D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 30 2C 35 D0 BB 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 37 00 00 00 F4 03 04 00 68 A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CE DE 00 00 35 04 06 00 85 F2 4B 12 3F 1E DC 91 1E 2E B2 26 28 82 [10:20:25]CheckFolder [10:20:25]dirname=/storage/ofd_packets [10:20:25]CheckFolder done [10:20:25]ProducePacketName [10:20:25]name=ofd_packets/00057038 [10:20:25]NVStorageSaveData ofd_packets/00057038 [10:20:25]File name is /storage/ofd_packets/00057038 [10:20:25]Write 344 bytes [10:20:25]NVStorageSaveData done [10:20:25]OFDSenderStorePacket done [10:20:25]KKMCreateOFDPacket done [10:20:25]NVStorageSaveData kkm_last_timestamp [10:20:25]File name is /storage/kkm_last_timestamp [10:20:25]Write 4 bytes [10:20:25]NVStorageSaveData done [10:20:25]ExternCall_PrintAddStr [10:20:25]wPrintStart [10:20:25]Write to MH i2c: 01 00 00 DE 03 E1 [10:20:25]Write i2c OK [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: 01 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: 01 07 00 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: 01 07 00 DE 03 00 00 00 00 00 FF 0F F6 [10:20:25]RasterBufferAndPrint [10:20:25]line Счет N : (3)129501 [10:20:25]line ИНН: 02508201610067 [10:20:25]line Контрольно-Кассовый Чек [10:20:25]line ПРОДАЖА [10:20:25]line Товар: 4870227272605 [10:20:25]line Лимонад Sunbel Классический 0,5л [10:20:25]line 1.000 * 55.00 [10:20:25]line = 55.00 [10:20:25]line НДС 12% НСП 1% [10:20:25]line > о реализуемом товаре [10:20:25]line ИТОГО: 55.00 [10:20:25]line НСП 1% : 0.49 [10:20:25]line НДС 12% : 5.84 [10:20:25]line Наличными: 55.00 [10:20:25]line Безнал.: 0.00 [10:20:25]line Место: АЗС № 132 "Партнер Нефть" [10:20:25]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:20:25]line СНО: Общий режим [10:20:25]line Чек 55 14.07.2024 10:20 [10:20:25]line Смена: 496 ФФД: 1.0 [10:20:25]line ЗНМ: 0300000132 [10:20:25]line РНМ: 0000000000091208 [10:20:25]line Версия ККМ: 001 [10:20:25]line ФМ: 0000000000874857 [10:20:25]line ФД: 57038 [10:20:25]line ФПД: 147275688066846 [10:20:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T102024&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57038&fm=147275688066846&tin=02508201610067®Number=0000000000091208&sum=5500 [10:20:25]OFD Sender: Processing packet 57038 [packets to send 38, broken 37] [10:20:25]ProducePacketName [10:20:25]name=ofd_packets/00057038 [10:20:25]OFD Sender: To server: pG, [10:20:25]CommunicateWithHost lk.salyk.kg:30040 [10:20:25]ConnectInit lk.salyk.kg [10:20:25]line 0 [10:20:25]written 0, free lines is 4095 [10:20:25]Connected sock=10 [10:20:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3A 01 00 00 84 70 32 01 03 7B 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 32 37 32 37 32 36 30 35 06 04 34 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9A D0 BB D0 B0 D1 81 D1 81 D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 30 2C 35 D0 BB 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 37 00 00 00 F4 03 04 00 68 A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CE DE 00 00 35 04 06 00 85 F2 4B 12 3F 1E DC 91 1E 2E B2 26 28 82 [10:20:25]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 EB 32 47 00 6F A7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CE DE 00 00 F4 03 04 00 B9 4C 93 66 B6 04 01 00 00 99 15 EF 3C 58 B3 3B 28 [10:20:25]CommunicateWithHost err = 0 [10:20:25]CheckOFDResponse [10:20:25]1017 (14) - 77093643461234 [10:20:25]1041 (16) - 0000000000874857 [10:20:25]1040 (4) - 57038 [10:20:25]1012 (4) - 14.07.2024 03:57 [10:20:25]1206 (1) - 0 [10:20:25]OFD Sender: Remove packet 57038 [10:20:25]ProducePacketName [10:20:25]name=ofd_packets/00057038 [10:20:25]NVStorageDeleteData [10:20:25]Write to MH i2c: 01 00 00 07 04 0B [10:20:25]Write i2c OK [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: 01 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: 01 07 00 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: 01 07 00 07 04 00 00 00 00 00 E8 0C 06 [10:20:25]RasterBufferAndPrint [10:20:25]line [10:20:25]line [10:20:25]line [10:20:25]line [10:20:25]line [10:20:25]written 0, free lines is 3313 [10:20:25]MH_Cut [10:20:25]Write to MH i2c: D1 01 00 0E 04 01 E4 [10:20:25]Write i2c OK [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: D1 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: D1 01 00 [10:20:25]MH_I2C_Read... [10:20:25]Read from MH i2c: D1 01 00 0E 04 00 E3 [10:20:25]Write to MH i2c: 01 00 00 0F 04 13 [10:20:25]Write i2c OK [10:20:25]MH_I2C_Read... [10:20:26]OFD Sender: No OFD packet to send [10:20:26]*** Cut start [10:20:26]*** Partial cut [10:20:26]*** CUTSNS_PIN = 1 [10:20:26]*** CUTSNS_PIN = 0 [10:20:26]*** Brake cut motor [10:20:27]Read from MH i2c: 01 [10:20:27]MH_I2C_Read... [10:20:27]*** Stop cut motor [10:20:27]*** Cut end [10:20:27]Read from MH i2c: 01 07 00 [10:20:27]MH_I2C_Read... [10:20:27]Read from MH i2c: 01 07 00 0F 04 00 00 00 00 00 FF 0F 28 [10:20:27]process_action close_receipt done [10:20:27]requested_data is exist [10:20:27]produce_requested_data [10:20:27]requested_item fm.sn is exist - process it [10:20:27]wFMCommunicate request_size=4 [10:20:27]MH_SAM_APDU [10:20:27]CAPDU: 80 11 00 00 [10:20:27]Write to MH i2c: E2 08 00 10 04 80 11 00 00 00 00 00 00 8E [10:20:27]Write i2c OK [10:20:27]MH_I2C_Read... [10:20:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:27]Read from MH i2c: E2 [10:20:27]MH_I2C_Read... [10:20:27]Read from MH i2c: E2 17 00 [10:20:27]MH_I2C_Read... [10:20:27]Read from MH i2c: E2 17 00 10 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E8 [10:20:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:20:27]wFMCommunicate OK [10:20:27]requested_item fd.num is exist - process it [10:20:27]SAM_PROTO_GetFieldsCounters [10:20:27]wFMCommunicate request_size=4 [10:20:27]MH_SAM_APDU [10:20:27]CAPDU: 80 13 00 00 [10:20:27]Write to MH i2c: E2 08 00 11 04 80 13 00 00 00 00 00 00 91 [10:20:27]Write i2c OK [10:20:27]MH_I2C_Read... [10:20:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:20:27]Read from MH i2c: E2 [10:20:27]MH_I2C_Read... [10:20:27]Read from MH i2c: E2 62 00 [10:20:27]MH_I2C_Read... [10:20:27]Read from MH i2c: E2 62 00 11 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CE DE 00 00 0E 04 04 00 F0 01 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 F6 [10:20:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CE DE 00 00 0E 04 04 00 F0 01 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 [10:20:27]wFMCommunicate OK [10:20:27]SAM_PROTO_GetFieldsCounters done [10:20:27]requested_item shift.num is exist - process it [10:20:27]requested_item shift.opened is exist - process it [10:20:27]req_shift_opened [10:20:27]FM_GetShiftState [10:20:27]SAM_PROTO_GetShiftState [10:20:27]wFMCommunicate request_size=4 [10:20:27]MH_SAM_APDU [10:20:27]CAPDU: 80 13 01 00 [10:20:27]Write to MH i2c: E2 08 00 12 04 80 13 01 00 00 00 00 00 93 [10:20:27]Write i2c OK [10:20:27]MH_I2C_Read... [10:20:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:27]Read from MH i2c: E2 [10:20:27]MH_I2C_Read... [10:20:27]Read from MH i2c: E2 0E 00 [10:20:27]MH_I2C_Read... [10:20:27]Read from MH i2c: E2 0E 00 12 04 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 3A [10:20:27]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:20:27]wFMCommunicate OK [10:20:27]SAM_PROTO_GetShiftState done [10:20:27]FM_GetShiftState done [10:20:27]req_shift_opened done [10:20:27]requested_item shift.open_date is exist - process it [10:20:27]req_shift_open_date [10:20:27]req_shift_open_date done [10:20:27]requested_item shift.sale.total is exist - process it [10:20:27]SAM_PROTO_GetShiftData [10:20:27]wFMCommunicate request_size=4 [10:20:27]MH_SAM_APDU [10:20:27]CAPDU: 80 13 02 00 [10:20:27]Write to MH i2c: E2 08 00 13 04 80 13 02 00 00 00 00 00 95 [10:20:27]Write i2c OK [10:20:27]MH_I2C_Read... [10:20:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:20:27]Read from MH i2c: E2 [10:20:27]MH_I2C_Read... [10:20:27]Read from MH i2c: E2 FD 00 [10:20:27]MH_I2C_Read... [10:20:27]Read from MH i2c: E2 FD 00 13 04 00 BB 04 AA 04 B7 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 35 00 00 00 B1 04 03 00 84 9B 21 70 04 03 00 B4 DD 1D 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 91 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1D 4C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 A6 [10:20:27]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 37 00 00 00 69 04 9B 00 6F 04 04 00 35 00 00 00 B1 04 03 00 84 9B 21 70 04 03 00 B4 DD 1D 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 B1 91 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 1D 4C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:20:27]wFMCommunicate OK [10:20:27]wFMCommunicate request_size=4 [10:20:27]MH_SAM_APDU [10:20:27]CAPDU: 80 17 00 00 [10:20:27]Write to MH i2c: E2 08 00 14 04 80 17 00 00 00 00 00 00 98 [10:20:27]Write i2c OK [10:20:27]MH_I2C_Read... [10:20:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:20:28]Read from MH i2c: E2 [10:20:28]MH_I2C_Read... [10:20:28]Read from MH i2c: E2 FD 00 [10:20:28]MH_I2C_Read... [10:20:28]Read from MH i2c: E2 FD 00 14 04 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2B [10:20:28]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:20:28]wFMCommunicate OK [10:20:28]wFMCommunicate request_size=4 [10:20:28]MH_SAM_APDU [10:20:28]CAPDU: 80 17 00 00 [10:20:28]Write to MH i2c: E2 08 00 15 04 80 17 00 00 00 00 00 00 99 [10:20:28]Write i2c OK [10:20:28]MH_I2C_Read... [10:20:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:20:28]Read from MH i2c: E2 [10:20:28]MH_I2C_Read... [10:20:28]Read from MH i2c: E2 FD 00 [10:20:28]MH_I2C_Read... [10:20:28]Read from MH i2c: E2 FD 00 15 04 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C5 [10:20:28]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:20:28]wFMCommunicate OK [10:20:28]wFMCommunicate request_size=4 [10:20:28]MH_SAM_APDU [10:20:28]CAPDU: 80 17 00 00 [10:20:28]Write to MH i2c: E2 08 00 16 04 80 17 00 00 00 00 00 00 9A [10:20:28]Write i2c OK [10:20:28]MH_I2C_Read... [10:20:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:20:28]Read from MH i2c: E2 [10:20:28]MH_I2C_Read... [10:20:28]Read from MH i2c: E2 FD 00 [10:20:28]MH_I2C_Read... [10:20:28]Read from MH i2c: E2 FD 00 16 04 00 00 00 EF 03 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 90 00 0F [10:20:28]RAPDU: 00 00 EF 03 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 90 00 [10:20:28]wFMCommunicate OK [10:20:28]wFMCommunicate request_size=4 [10:20:28]MH_SAM_APDU [10:20:28]CAPDU: 80 17 00 00 [10:20:28]Write to MH i2c: E2 08 00 17 04 80 17 00 00 00 00 00 00 9B [10:20:28]Write i2c OK [10:20:28]MH_I2C_Read... [10:20:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:20:29]Read from MH i2c: E2 [10:20:29]MH_I2C_Read... [10:20:29]Read from MH i2c: E2 D8 00 [10:20:29]MH_I2C_Read... [10:20:29]Read from MH i2c: E2 D8 00 17 04 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 82 [10:20:29]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:20:29]wFMCommunicate OK [10:20:29]SAM_PROTO_GetShiftData done [10:20:29]requested_item shift.sale.total_cash is exist - process it [10:20:29]requested_item shift.sale_refund.total is exist - process it [10:20:29]requested_item shift.sale_refund.total_cash is exist - process it [10:20:29]produce_requested_data done [10:20:29]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57038,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":22025.00,"shift.sale.total_cash":19573.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:20:29]process_action_free close_receipt [10:20:29]json_value_free [10:20:29]json_value_free done [10:20:29]process_json_proto returns [10:20:29]Send response to host [10:20:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57038,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":22025.00,"shift.sale.total_cash":19573.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:20:29]free response buf [10:20:29]execute_script done [10:20:29]execute_script returns [10:20:29]free content buf [10:20:29]Sock 9.Close socket [10:20:29]Sock 9.Thread stoped [10:20:31]OFD Sender: No OFD packet to send [10:20:36]OFD Sender: No OFD packet to send [10:20:36]accept exits with 7 [10:20:36]New connection [10:20:36]New thread 3067448676 created [10:20:36]Thread 3067592036 joined [10:20:36]Waiting for new connection... [10:20:36] Sock 7.Parse request [10:20:36]Sock 7.Check first char [10:20:36]Sock 7.First char is OK [10:20:36]request: POST /json_proto HTTP/1.0 [10:20:36]Method: POST [10:20:36]URL: /json_proto [10:20:36]Method is POST - this is cgi request [10:20:36]url: /json_proto [10:20:36]query_string will be loaded in cgi processing [10:20:36]execute_cgi json_proto POST (null) [10:20:36]execute_cgi path=json_proto method=POST [10:20:36]POST find Content-Length [10:20:36]Host: 172.17.39.4:8080 [10:20:36]Content-Length: 785 [10:20:36]Content-Type: application/json [10:20:36] [10:20:36]POST finish read [10:20:36]Found Content-Length = 785 [10:20:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129502", "tax_sys" : 0, "items" : [ { "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:20:36]execute_script... [10:20: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)129502", "tax_sys" : 0, "items" : [ { "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 35.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:20:36]POST & json_proto [10:20:36]process_json_proto [10:20:36]json parsed OK: [10:20:36]protocol is kg_v1.0 [10:20:36]action value=close_receipt [10:20:36]process_action close_receipt [10:20:36]cmd_close_receipt [10:20:36]MH_GetDate [10:20:36]Write to MH i2c: F0 00 00 18 04 0B [10:20:36]Write i2c OK [10:20:36]MH_I2C_Read... [10:20:36]Read from MH i2c: F0 [10:20:36]MH_I2C_Read... [10:20:36]Read from MH i2c: F0 09 00 [10:20:36]MH_I2C_Read... [10:20:36]Read from MH i2c: F0 09 00 18 04 00 75 A6 93 66 2D 25 5D 64 3B [10:20:36]GetLastDocTimeStamp 1720952424 [10:20:36]current date 1720952437 [10:20:36]FM_GetShiftState [10:20:36]SAM_PROTO_GetShiftState [10:20:36]wFMCommunicate request_size=4 [10:20:36]MH_SAM_APDU [10:20:36]CAPDU: 80 13 01 00 [10:20:36]Write to MH i2c: E2 08 00 19 04 80 13 01 00 00 00 00 00 9A [10:20:36]Write i2c OK [10:20:36]MH_I2C_Read... [10:20:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:36]Read from MH i2c: E2 [10:20:36]MH_I2C_Read... [10:20:36]Read from MH i2c: E2 0E 00 [10:20:36]MH_I2C_Read... [10:20:36]Read from MH i2c: E2 0E 00 19 04 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 41 [10:20:36]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:20:36]wFMCommunicate OK [10:20:36]SAM_PROTO_GetShiftState done [10:20:36]FM_GetShiftState done [10:20:36]opened in 1720917126 [10:20:36]opened+sec_in_day 1721003526 [10:20:36]quantity*price = 3500 [10:20:36]sum+1 = 3501 [10:20:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 35.00 НСП 1% : 0.31 НДС 12% : 3.72 Наличными: 35.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 56 14.07.2024 10:20 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57039 ФПД: 65583391816779 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T102037&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57039&fm=65583391816779&tin=02508201610067®Number=0000000000091208&sum=3500 0 [10:20:37]StoreToDocumentArchive [10:20:37]shift 496 fd 57039 [10:20:37]save to /storage/0496/doc_00057039 [10:20:37]save last doc name /storage/0496/doc_00057039 to /storage/kkm_last_doc_name [10:20:37]save OK [10:20:37]Clear old archive folders... [10:20:37]ProcessDocumentItem done err = 0, tmpTLVsize=288 [10:20:37]tlvbuf is 00FC3EA0 [10:20:37]SAM_PROTO_ClearQueue [10:20:37]wFMCommunicate request_size=4 [10:20:37]MH_SAM_APDU [10:20:37]CAPDU: 80 09 00 00 [10:20:37]Write to MH i2c: E2 08 00 26 04 80 09 00 00 00 00 00 00 9C [10:20:37]Write i2c OK [10:20:37]MH_I2C_Read... [10:20:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:20:37]Read from MH i2c: E2 [10:20:37]MH_I2C_Read... [10:20:37]Read from MH i2c: E2 03 00 [10:20:37]MH_I2C_Read... [10:20:37]Read from MH i2c: E2 03 00 26 04 00 90 00 9E [10:20:37]RAPDU: 90 00 [10:20:37]wFMCommunicate OK [10:20:37]SAM_PROTO_ClearQueue done [10:20:37]KKMCreateOFDPacket [10:20:37]OFDProtocolAddRootSTLVToBuf [10:20:37]FM_MakeSignedData [10:20:37]FM_MakeSignedData [10:20:37]SAM_PROTO_SignData [10:20:37]wFMCommunicate request_size=4 [10:20:37]MH_SAM_APDU [10:20:37]CAPDU: 80 0D 01 02 [10:20:37]Write to MH i2c: E2 08 00 27 04 80 0D 01 02 00 00 00 00 A4 [10:20:37]Write i2c OK [10:20:37]MH_I2C_Read... [10:20:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:20:37]Read from MH i2c: E2 [10:20:37]MH_I2C_Read... [10:20:37]Read from MH i2c: E2 03 00 [10:20:37]MH_I2C_Read... [10:20:37]Read from MH i2c: E2 03 00 27 04 00 90 00 9F [10:20:37]RAPDU: 90 00 [10:20:37]wFMCommunicate OK [10:20:37]wFMCommunicate request_size=255 [10:20:37]MH_SAM_APDU [10:20:37]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 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 38 00 00 00 F4 03 04 00 75 A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [10:20:37]Write to MH i2c: E2 02 01 28 04 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 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 38 00 00 00 F4 03 04 00 75 A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 2F [10:20:37]Write i2c OK [10:20:37]MH_I2C_Read... [10:20:37]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:37]Read from MH i2c: E2 [10:20:37]MH_I2C_Read... [10:20:37]Read from MH i2c: E2 03 00 [10:20:37]MH_I2C_Read... [10:20:37]Read from MH i2c: E2 03 00 28 04 00 90 00 A0 [10:20:37]RAPDU: 90 00 [10:20:37]wFMCommunicate OK [10:20:37]wFMCommunicate request_size=47 [10:20:37]MH_SAM_APDU [10:20:37]CAPDU: 80 0D 02 02 2A 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CF DE 00 00 35 04 06 00 3B A5 D2 C5 BC 4B [10:20:37]Write to MH i2c: E2 32 00 29 04 80 0D 02 02 2A 00 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CF DE 00 00 35 04 06 00 3B A5 D2 C5 BC 4B 00 00 94 [10:20:37]Write i2c OK [10:20:37]MH_I2C_Read... [10:20:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:38]Read from MH i2c: E2 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: E2 03 00 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: E2 03 00 29 04 00 90 00 A1 [10:20:38]RAPDU: 90 00 [10:20:38]wFMCommunicate OK [10:20:38]wFMCommunicate request_size=4 [10:20:38]MH_SAM_APDU [10:20:38]CAPDU: 80 0D 03 02 [10:20:38]Write to MH i2c: E2 08 00 2A 04 80 0D 03 02 00 00 00 00 A9 [10:20:38]Write i2c OK [10:20:38]MH_I2C_Read... [10:20:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:20:38]Read from MH i2c: E2 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: E2 0B 00 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: E2 0B 00 2A 04 00 FD 9C 15 D1 0B 08 B8 FC 90 00 F0 [10:20:38]RAPDU: FD 9C 15 D1 0B 08 B8 FC 90 00 [10:20:38]wFMCommunicate OK [10:20:38]SAM_PROTO_SignData done [10:20:38]FM_MakeSignedData done [10:20:38]CreateOFDProtocolMessage [10:20:38]wFMCommunicate request_size=4 [10:20:38]MH_SAM_APDU [10:20:38]CAPDU: 80 11 00 00 [10:20:38]Write to MH i2c: E2 08 00 2B 04 80 11 00 00 00 00 00 00 A9 [10:20:38]Write i2c OK [10:20:38]MH_I2C_Read... [10:20:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:38]Read from MH i2c: E2 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: E2 17 00 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: E2 17 00 2B 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 03 [10:20:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:20:38]wFMCommunicate OK [10:20:38]CreateOFDProtocolMessage done [10:20:38]OFDSenderStorePacket 57039 [10:20:38]StoreOFDPacket docnum=57039 [10:20:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 34 01 00 00 50 FA 2C 01 D4 87 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 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 38 00 00 00 F4 03 04 00 75 A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CF DE 00 00 35 04 06 00 3B A5 D2 C5 BC 4B FD 9C 15 D1 0B 08 B8 FC [10:20:38]CheckFolder [10:20:38]dirname=/storage/ofd_packets [10:20:38]CheckFolder done [10:20:38]ProducePacketName [10:20:38]name=ofd_packets/00057039 [10:20:38]NVStorageSaveData ofd_packets/00057039 [10:20:38]File name is /storage/ofd_packets/00057039 [10:20:38]Write 338 bytes [10:20:38]NVStorageSaveData done [10:20:38]OFDSenderStorePacket done [10:20:38]KKMCreateOFDPacket done [10:20:38]NVStorageSaveData kkm_last_timestamp [10:20:38]File name is /storage/kkm_last_timestamp [10:20:38]Write 4 bytes [10:20:38]NVStorageSaveData done [10:20:38]ExternCall_PrintAddStr [10:20:38]wPrintStart [10:20:38]Write to MH i2c: 01 00 00 2C 04 30 [10:20:38]Write i2c OK [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: 01 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: 01 07 00 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: 01 07 00 2C 04 00 00 00 00 00 FF 0F 45 [10:20:38]RasterBufferAndPrint [10:20:38]line Счет N : (3)129502 [10:20:38]line ИНН: 02508201610067 [10:20:38]line Контрольно-Кассовый Чек [10:20:38]line ПРОДАЖА [10:20:38]line Товар: 4011100091993 [10:20:38]line Шок Батончик Милки Вей 26г [10:20:38]line 1.000 * 35.00 [10:20:38]line = 35.00 [10:20:38]line НДС 12% НСП 1% [10:20:38]line > о реализуемом товаре [10:20:38]line ИТОГО: 35.00 [10:20:38]line НСП 1% : 0.31 [10:20:38]line НДС 12% : 3.72 [10:20:38]line Наличными: 35.00 [10:20:38]line Безнал.: 0.00 [10:20:38]line Место: АЗС № 132 "Партнер Нефть" [10:20:38]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:20:38]line СНО: Общий режим [10:20:38]line Чек 56 14.07.2024 10:20 [10:20:38]line Смена: 496 ФФД: 1.0 [10:20:38]line ЗНМ: 0300000132 [10:20:38]line РНМ: 0000000000091208 [10:20:38]line Версия ККМ: 001 [10:20:38]line ФМ: 0000000000874857 [10:20:38]line ФД: 57039 [10:20:38]line ФПД: 65583391816779 [10:20:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T102037&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57039&fm=65583391816779&tin=02508201610067®Number=0000000000091208&sum=3500 [10:20:38]line 0 [10:20:38]written 0, free lines is 4095 [10:20:38]OFD Sender: Processing packet 57039 [packets to send 38, broken 37] [10:20:38]ProducePacketName [10:20:38]name=ofd_packets/00057039 [10:20:38]OFD Sender: To server: pG, [10:20:38]CommunicateWithHost lk.salyk.kg:30040 [10:20:38]ConnectInit lk.salyk.kg [10:20:38]Connected sock=10 [10:20:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 34 01 00 00 50 FA 2C 01 D4 87 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 AC 0D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 1F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 74 01 00 00 00 00 07 04 06 00 AC 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 38 00 00 00 F4 03 04 00 75 A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 CF DE 00 00 35 04 06 00 3B A5 D2 C5 BC 4B FD 9C 15 D1 0B 08 B8 FC [10:20:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 9B 72 47 00 D0 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 38 37 34 38 35 37 10 04 04 00 CF DE 00 00 F4 03 04 00 C6 4C 93 66 B6 04 01 00 00 03 E0 7D 9A 29 02 BD F4 [10:20:38]CommunicateWithHost err = 0 [10:20:38]CheckOFDResponse [10:20:38]1017 (14) - 77093643461234 [10:20:38]1041 (16) - 0000000000874857 [10:20:38]1040 (4) - 57039 [10:20:38]1012 (4) - 14.07.2024 03:57 [10:20:38]1206 (1) - 0 [10:20:38]OFD Sender: Remove packet 57039 [10:20:38]ProducePacketName [10:20:38]name=ofd_packets/00057039 [10:20:38]NVStorageDeleteData [10:20:38]Write to MH i2c: 01 00 00 54 04 58 [10:20:38]Write i2c OK [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: 01 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: 01 07 00 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: 01 07 00 54 04 00 00 00 00 00 08 0D 74 [10:20:38]RasterBufferAndPrint [10:20:38]line [10:20:38]line [10:20:38]line [10:20:38]line [10:20:38]line [10:20:38]written 0, free lines is 3351 [10:20:38]MH_Cut [10:20:38]Write to MH i2c: D1 01 00 5B 04 01 31 [10:20:38]Write i2c OK [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: D1 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: D1 01 00 [10:20:38]MH_I2C_Read... [10:20:38]Read from MH i2c: D1 01 00 5B 04 00 30 [10:20:38]Write to MH i2c: 01 00 00 5C 04 60 [10:20:38]Write i2c OK [10:20:38]MH_I2C_Read... [10:20:39]OFD Sender: No OFD packet to send [10:20:39]*** Cut start [10:20:39]*** Partial cut [10:20:39]*** CUTSNS_PIN = 1 [10:20:39]*** CUTSNS_PIN = 0 [10:20:39]*** Brake cut motor [10:20:39]Read from MH i2c: 01 [10:20:39]MH_I2C_Read... [10:20:39]*** Stop cut motor [10:20:39]*** Cut end [10:20:39]Read from MH i2c: 01 07 00 [10:20:39]MH_I2C_Read... [10:20:39]Read from MH i2c: 01 07 00 5C 04 00 00 00 00 00 FF 0F 75 [10:20:39]process_action close_receipt done [10:20:39]requested_data is exist [10:20:39]produce_requested_data [10:20:39]requested_item fm.sn is exist - process it [10:20:39]wFMCommunicate request_size=4 [10:20:39]MH_SAM_APDU [10:20:39]CAPDU: 80 11 00 00 [10:20:39]Write to MH i2c: E2 08 00 5D 04 80 11 00 00 00 00 00 00 DB [10:20:39]Write i2c OK [10:20:39]MH_I2C_Read... [10:20:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:40]Read from MH i2c: E2 [10:20:40]MH_I2C_Read... [10:20:40]Read from MH i2c: E2 17 00 [10:20:40]MH_I2C_Read... [10:20:40]Read from MH i2c: E2 17 00 5D 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 35 [10:20:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:20:40]wFMCommunicate OK [10:20:40]requested_item fd.num is exist - process it [10:20:40]SAM_PROTO_GetFieldsCounters [10:20:40]wFMCommunicate request_size=4 [10:20:40]MH_SAM_APDU [10:20:40]CAPDU: 80 13 00 00 [10:20:40]Write to MH i2c: E2 08 00 5E 04 80 13 00 00 00 00 00 00 DE [10:20:40]Write i2c OK [10:20:40]MH_I2C_Read... [10:20:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:20:40]Read from MH i2c: E2 [10:20:40]MH_I2C_Read... [10:20:40]Read from MH i2c: E2 62 00 [10:20:40]MH_I2C_Read... [10:20:40]Read from MH i2c: E2 62 00 5E 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CF DE 00 00 0E 04 04 00 F0 01 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 47 [10:20:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 CF DE 00 00 0E 04 04 00 F0 01 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 [10:20:40]wFMCommunicate OK [10:20:40]SAM_PROTO_GetFieldsCounters done [10:20:40]requested_item shift.num is exist - process it [10:20:40]requested_item shift.opened is exist - process it [10:20:40]req_shift_opened [10:20:40]FM_GetShiftState [10:20:40]SAM_PROTO_GetShiftState [10:20:40]wFMCommunicate request_size=4 [10:20:40]MH_SAM_APDU [10:20:40]CAPDU: 80 13 01 00 [10:20:40]Write to MH i2c: E2 08 00 5F 04 80 13 01 00 00 00 00 00 E0 [10:20:40]Write i2c OK [10:20:40]MH_I2C_Read... [10:20:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:40]Read from MH i2c: E2 [10:20:40]MH_I2C_Read... [10:20:40]Read from MH i2c: E2 0E 00 [10:20:40]MH_I2C_Read... [10:20:40]Read from MH i2c: E2 0E 00 5F 04 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 87 [10:20:40]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:20:40]wFMCommunicate OK [10:20:40]SAM_PROTO_GetShiftState done [10:20:40]FM_GetShiftState done [10:20:40]req_shift_opened done [10:20:40]requested_item shift.open_date is exist - process it [10:20:40]req_shift_open_date [10:20:40]req_shift_open_date done [10:20:40]requested_item shift.sale.total is exist - process it [10:20:40]SAM_PROTO_GetShiftData [10:20:40]wFMCommunicate request_size=4 [10:20:40]MH_SAM_APDU [10:20:40]CAPDU: 80 13 02 00 [10:20:40]Write to MH i2c: E2 08 00 60 04 80 13 02 00 00 00 00 00 E2 [10:20:40]Write i2c OK [10:20:40]MH_I2C_Read... [10:20:40]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:20:40]Read from MH i2c: E2 [10:20:40]MH_I2C_Read... [10:20:40]Read from MH i2c: E2 FD 00 [10:20:40]MH_I2C_Read... [10:20:40]Read from MH i2c: E2 FD 00 60 04 00 BB 04 AA 04 B7 04 6E 04 04 00 38 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 30 A9 21 70 04 03 00 60 EB 1D 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 93 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3C 4C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 FE [10:20:40]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 38 00 00 00 69 04 9B 00 6F 04 04 00 36 00 00 00 B1 04 03 00 30 A9 21 70 04 03 00 60 EB 1D 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 93 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3C 4C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:20:40]wFMCommunicate OK [10:20:40]wFMCommunicate request_size=4 [10:20:40]MH_SAM_APDU [10:20:40]CAPDU: 80 17 00 00 [10:20:40]Write to MH i2c: E2 08 00 61 04 80 17 00 00 00 00 00 00 E5 [10:20:40]Write i2c OK [10:20:40]MH_I2C_Read... [10:20:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:20:41]Read from MH i2c: E2 [10:20:41]MH_I2C_Read... [10:20:41]Read from MH i2c: E2 FD 00 [10:20:41]MH_I2C_Read... [10:20:41]Read from MH i2c: E2 FD 00 61 04 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 78 [10:20:41]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:20:41]wFMCommunicate OK [10:20:41]wFMCommunicate request_size=4 [10:20:41]MH_SAM_APDU [10:20:41]CAPDU: 80 17 00 00 [10:20:41]Write to MH i2c: E2 08 00 62 04 80 17 00 00 00 00 00 00 E6 [10:20:41]Write i2c OK [10:20:41]MH_I2C_Read... [10:20:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:20:41]Read from MH i2c: E2 [10:20:41]MH_I2C_Read... [10:20:41]Read from MH i2c: E2 FD 00 [10:20:41]MH_I2C_Read... [10:20:41]Read from MH i2c: E2 FD 00 62 04 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 12 [10:20:41]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:20:41]wFMCommunicate OK [10:20:41]wFMCommunicate request_size=4 [10:20:41]MH_SAM_APDU [10:20:41]CAPDU: 80 17 00 00 [10:20:41]Write to MH i2c: E2 08 00 63 04 80 17 00 00 00 00 00 00 E7 [10:20:41]Write i2c OK [10:20:41]MH_I2C_Read... [10:20:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:20:41]Read from MH i2c: E2 [10:20:41]MH_I2C_Read... [10:20:41]Read from MH i2c: E2 FD 00 [10:20:41]MH_I2C_Read... [10:20:41]Read from MH i2c: E2 FD 00 63 04 00 00 00 EF 03 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 90 00 5C [10:20:41]RAPDU: 00 00 EF 03 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 90 00 [10:20:42]wFMCommunicate OK [10:20:42]wFMCommunicate request_size=4 [10:20:42]MH_SAM_APDU [10:20:42]CAPDU: 80 17 00 00 [10:20:42]Write to MH i2c: E2 08 00 64 04 80 17 00 00 00 00 00 00 E8 [10:20:42]Write i2c OK [10:20:42]MH_I2C_Read... [10:20:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:20:42]Read from MH i2c: E2 [10:20:42]MH_I2C_Read... [10:20:42]Read from MH i2c: E2 D8 00 [10:20:42]MH_I2C_Read... [10:20:42]Read from MH i2c: E2 D8 00 64 04 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 CF [10:20:42]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:20:42]wFMCommunicate OK [10:20:42]SAM_PROTO_GetShiftData done [10:20:42]requested_item shift.sale.total_cash is exist - process it [10:20:42]requested_item shift.sale_refund.total is exist - process it [10:20:42]requested_item shift.sale_refund.total_cash is exist - process it [10:20:42]produce_requested_data done [10:20:42]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57039,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":22060.00,"shift.sale.total_cash":19608.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:20:42]process_action_free close_receipt [10:20:42]json_value_free [10:20:42]json_value_free done [10:20:42]process_json_proto returns [10:20:42]Send response to host [10:20:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57039,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":22060.00,"shift.sale.total_cash":19608.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:20:42]free response buf [10:20:42]execute_script done [10:20:42]execute_script returns [10:20:42]free content buf [10:20:42]Sock 7.Close socket [10:20:42]Sock 7.Thread stoped [10:20:44]OFD Sender: No OFD packet to send [10:20:45]accept exits with 9 [10:20:45]New connection [10:20:45]New thread 3067592036 created [10:20:45]Thread 3067448676 joined [10:20:45]Waiting for new connection... [10:20:45] Sock 9.Parse request [10:20:45]Sock 9.Check first char [10:20:45]Sock 9.First char is OK [10:20:45]request: POST /json_proto HTTP/1.0 [10:20:45]Method: POST [10:20:45]URL: /json_proto [10:20:45]Method is POST - this is cgi request [10:20:45]url: /json_proto [10:20:45]query_string will be loaded in cgi processing [10:20:45]execute_cgi json_proto POST (null) [10:20:45]execute_cgi path=json_proto method=POST [10:20:45]POST find Content-Length [10:20:45]Host: 172.17.39.4:8080 [10:20:45]Content-Length: 743 [10:20:45]Content-Type: application/json [10:20:45] [10:20:45]POST finish read [10:20:45]Found Content-Length = 743 [10:20:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129503", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:20:45]execute_script... [10:20: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)129503", "tax_sys" : 0, "items" : [ { "code": "5449000006271", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u0424\u0430\u043D\u0442\u0430 1\u043B", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 125.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:20:45]POST & json_proto [10:20:45]process_json_proto [10:20:45]json parsed OK: [10:20:45]protocol is kg_v1.0 [10:20:45]action value=close_receipt [10:20:45]process_action close_receipt [10:20:45]cmd_close_receipt [10:20:45]MH_GetDate [10:20:45]Write to MH i2c: F0 00 00 65 04 58 [10:20:45]Write i2c OK [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: F0 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: F0 09 00 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: F0 09 00 65 04 00 7E A6 93 66 2D 25 5D 64 91 [10:20:45]GetLastDocTimeStamp 1720952437 [10:20:45]current date 1720952446 [10:20:45]FM_GetShiftState [10:20:45]SAM_PROTO_GetShiftState [10:20:45]wFMCommunicate request_size=4 [10:20:45]MH_SAM_APDU [10:20:45]CAPDU: 80 13 01 00 [10:20:45]Write to MH i2c: E2 08 00 66 04 80 13 01 00 00 00 00 00 E7 [10:20:45]Write i2c OK [10:20:45]MH_I2C_Read... [10:20:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:45]Read from MH i2c: E2 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 0E 00 [10:20:45]MH_I2C_Read... [10:20:45]Read from MH i2c: E2 0E 00 66 04 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 8E [10:20:45]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:20:45]wFMCommunicate OK [10:20:45]SAM_PROTO_GetShiftState done [10:20:45]FM_GetShiftState done [10:20:45]opened in 1720917126 [10:20:45]opened+sec_in_day 1721003526 [10:20:45]quantity*price = 12500 [10:20:45]sum+1 = 12501 [10:20:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 125.00 НСП 1% : 1.11 НДС 12% : 13.27 Наличными: 125.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 57 14.07.2024 10:20 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57040 ФПД: 183237118202072 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T102046&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57040&fm=183237118202072&tin=02508201610067®Number=0000000000091208&sum=12500 0 [10:20:46]StoreToDocumentArchive [10:20:46]shift 496 fd 57040 [10:20:46]save to /storage/0496/doc_00057040 [10:20:46]save last doc name /storage/0496/doc_00057040 to /storage/kkm_last_doc_name [10:20:46]save OK [10:20:46]Clear old archive folders... [10:20:46]ProcessDocumentItem done err = 0, tmpTLVsize=271 [10:20:46]tlvbuf is 00FC3D80 [10:20:46]SAM_PROTO_ClearQueue [10:20:46]wFMCommunicate request_size=4 [10:20:46]MH_SAM_APDU [10:20:46]CAPDU: 80 09 00 00 [10:20:46]Write to MH i2c: E2 08 00 73 04 80 09 00 00 00 00 00 00 E9 [10:20:46]Write i2c OK [10:20:46]MH_I2C_Read... [10:20:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:20:46]Read from MH i2c: E2 [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: E2 03 00 [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: E2 03 00 73 04 00 90 00 EB [10:20:46]RAPDU: 90 00 [10:20:46]wFMCommunicate OK [10:20:46]SAM_PROTO_ClearQueue done [10:20:46]KKMCreateOFDPacket [10:20:46]OFDProtocolAddRootSTLVToBuf [10:20:46]FM_MakeSignedData [10:20:46]FM_MakeSignedData [10:20:46]SAM_PROTO_SignData [10:20:46]wFMCommunicate request_size=4 [10:20:46]MH_SAM_APDU [10:20:46]CAPDU: 80 0D 01 02 [10:20:46]Write to MH i2c: E2 08 00 74 04 80 0D 01 02 00 00 00 00 F1 [10:20:46]Write i2c OK [10:20:46]MH_I2C_Read... [10:20:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:20:46]Read from MH i2c: E2 [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: E2 03 00 [10:20:46]MH_I2C_Read... [10:20:46]Read from MH i2c: E2 03 00 74 04 00 90 00 EC [10:20:46]RAPDU: 90 00 [10:20:46]wFMCommunicate OK [10:20:46]wFMCommunicate request_size=255 [10:20:46]MH_SAM_APDU [10:20:46]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 7E A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [10:20:46]Write to MH i2c: E2 02 01 75 04 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 7E A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 38 [10:20:46]Write i2c OK [10:20:46]MH_I2C_Read... [10:20:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:47]Read from MH i2c: E2 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 03 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 03 00 75 04 00 90 00 ED [10:20:47]RAPDU: 90 00 [10:20:47]wFMCommunicate OK [10:20:47]wFMCommunicate request_size=30 [10:20:47]MH_SAM_APDU [10:20:47]CAPDU: 80 0D 02 02 19 30 38 37 34 38 35 37 10 04 04 00 D0 DE 00 00 35 04 06 00 A6 A7 37 57 10 D8 [10:20:47]Write to MH i2c: E2 21 00 76 04 80 0D 02 02 19 00 30 38 37 34 38 35 37 10 04 04 00 D0 DE 00 00 35 04 06 00 A6 A7 37 57 10 D8 00 00 65 [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 [10:20:47]MH_I2C_Read... [10:20:47]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:20:47]Read from MH i2c: E2 03 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 03 00 76 04 00 90 00 EE [10:20:47]RAPDU: 90 00 [10:20:47]wFMCommunicate OK [10:20:47]wFMCommunicate request_size=4 [10:20:47]MH_SAM_APDU [10:20:47]CAPDU: 80 0D 03 02 [10:20:47]Write to MH i2c: E2 08 00 77 04 80 0D 03 02 00 00 00 00 F6 [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:47]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:20:47]Read from MH i2c: E2 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 0B 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 0B 00 77 04 00 A1 E0 E0 10 1E 2D 18 88 90 00 53 [10:20:47]RAPDU: A1 E0 E0 10 1E 2D 18 88 90 00 [10:20:47]wFMCommunicate OK [10:20:47]SAM_PROTO_SignData done [10:20:47]FM_MakeSignedData done [10:20:47]CreateOFDProtocolMessage [10:20:47]wFMCommunicate request_size=4 [10:20:47]MH_SAM_APDU [10:20:47]CAPDU: 80 11 00 00 [10:20:47]Write to MH i2c: E2 08 00 78 04 80 11 00 00 00 00 00 00 F6 [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:47]Read from MH i2c: E2 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 17 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: E2 17 00 78 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 50 [10:20:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:20:47]wFMCommunicate OK [10:20:47]CreateOFDProtocolMessage done [10:20:47]OFDSenderStorePacket 57040 [10:20:47]StoreOFDPacket docnum=57040 [10:20:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 A2 F8 1B 01 A6 B3 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 7E A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D0 DE 00 00 35 04 06 00 A6 A7 37 57 10 D8 A1 E0 E0 10 1E 2D 18 88 [10:20:47]CheckFolder [10:20:47]dirname=/storage/ofd_packets [10:20:47]CheckFolder done [10:20:47]ProducePacketName [10:20:47]name=ofd_packets/00057040 [10:20:47]NVStorageSaveData ofd_packets/00057040 [10:20:47]File name is /storage/ofd_packets/00057040 [10:20:47]Write 321 bytes [10:20:47]NVStorageSaveData done [10:20:47]OFDSenderStorePacket done [10:20:47]KKMCreateOFDPacket done [10:20:47]NVStorageSaveData kkm_last_timestamp [10:20:47]File name is /storage/kkm_last_timestamp [10:20:47]Write 4 bytes [10:20:47]NVStorageSaveData done [10:20:47]ExternCall_PrintAddStr [10:20:47]wPrintStart [10:20:47]Write to MH i2c: 01 00 00 79 04 7D [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: 01 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: 01 07 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: 01 07 00 79 04 00 00 00 00 00 FF 0F 92 [10:20:47]RasterBufferAndPrint [10:20:47]line Счет N : (3)129503 [10:20:47]line ИНН: 02508201610067 [10:20:47]line Контрольно-Кассовый Чек [10:20:47]line ПРОДАЖА [10:20:47]OFD Sender: Processing packet 57040 [packets to send 38, broken 37] [10:20:47]ProducePacketName [10:20:47]name=ofd_packets/00057040 [10:20:47]OFD Sender: To server: pG, [10:20:47]CommunicateWithHost lk.salyk.kg:30040 [10:20:47]ConnectInit lk.salyk.kg [10:20:47]line Товар: 5449000006271 [10:20:47]line Напиток Фанта 1л [10:20:47]line 1.000 * 125.00 [10:20:47]line = 125.00 [10:20:47]line НДС 12% НСП 1% [10:20:47]line > о реализуемом товаре [10:20:47]line ИТОГО: 125.00 [10:20:47]line НСП 1% : 1.11 [10:20:47]line НДС 12% : 13.27 [10:20:47]line Наличными: 125.00 [10:20:47]line Безнал.: 0.00 [10:20:47]line Место: АЗС № 132 "Партнер Нефть" [10:20:47]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:20:47]line СНО: Общий режим [10:20:47]line Чек 57 14.07.2024 10:20 [10:20:47]line Смена: 496 ФФД: 1.0 [10:20:47]line ЗНМ: 0300000132 [10:20:47]line РНМ: 0000000000091208 [10:20:47]line Версия ККМ: 001 [10:20:47]line ФМ: 0000000000874857 [10:20:47]line ФД: 57040 [10:20:47]line ФПД: 183237118202072 [10:20:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T102046&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57040&fm=183237118202072&tin=02508201610067®Number=0000000000091208&sum=12500 [10:20:47]line 0 [10:20:47]written 0, free lines is 4095 [10:20:47]Connected sock=10 [10:20:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 A2 F8 1B 01 A6 B3 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 36 32 37 31 06 04 1D 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 A4 D0 B0 D0 BD D1 82 D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D4 30 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 6F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2F 05 00 00 00 00 07 04 06 00 D4 30 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 39 00 00 00 F4 03 04 00 7E A6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D0 DE 00 00 35 04 06 00 A6 A7 37 57 10 D8 A1 E0 E0 10 1E 2D 18 88 [10:20:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F1 3C 47 00 BB 2B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D0 DE 00 00 F4 03 04 00 CF 4C 93 66 B6 04 01 00 00 A3 6F B0 99 B2 B7 CE 51 [10:20:47]CommunicateWithHost err = 0 [10:20:47]CheckOFDResponse [10:20:47]1017 (14) - 77093643461234 [10:20:47]1041 (16) - 0000000000874857 [10:20:47]1040 (4) - 57040 [10:20:47]1012 (4) - 14.07.2024 03:58 [10:20:47]1206 (1) - 0 [10:20:47]OFD Sender: Remove packet 57040 [10:20:47]ProducePacketName [10:20:47]name=ofd_packets/00057040 [10:20:47]NVStorageDeleteData [10:20:47]Write to MH i2c: 01 00 00 A1 04 A5 [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: 01 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: 01 07 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: 01 07 00 A1 04 00 00 00 00 00 52 0D 0B [10:20:47]RasterBufferAndPrint [10:20:47]line [10:20:47]line [10:20:47]line [10:20:47]line [10:20:47]line [10:20:47]written 0, free lines is 3430 [10:20:47]MH_Cut [10:20:47]Write to MH i2c: D1 01 00 A8 04 01 7E [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: D1 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: D1 01 00 [10:20:47]MH_I2C_Read... [10:20:47]Read from MH i2c: D1 01 00 A8 04 00 7D [10:20:47]Write to MH i2c: 01 00 00 A9 04 AD [10:20:47]Write i2c OK [10:20:47]MH_I2C_Read... [10:20:48]OFD Sender: No OFD packet to send [10:20:48]*** Cut start [10:20:48]*** Partial cut [10:20:48]*** CUTSNS_PIN = 1 [10:20:48]*** CUTSNS_PIN = 0 [10:20:48]*** Brake cut motor [10:20:49]Read from MH i2c: 01 [10:20:49]MH_I2C_Read... [10:20:49]*** Stop cut motor [10:20:49]*** Cut end [10:20:49]Read from MH i2c: 01 07 00 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: 01 07 00 A9 04 00 00 00 00 00 FF 0F C2 [10:20:49]process_action close_receipt done [10:20:49]requested_data is exist [10:20:49]produce_requested_data [10:20:49]requested_item fm.sn is exist - process it [10:20:49]wFMCommunicate request_size=4 [10:20:49]MH_SAM_APDU [10:20:49]CAPDU: 80 11 00 00 [10:20:49]Write to MH i2c: E2 08 00 AA 04 80 11 00 00 00 00 00 00 28 [10:20:49]Write i2c OK [10:20:49]MH_I2C_Read... [10:20:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:20:49]Read from MH i2c: E2 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 17 00 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 17 00 AA 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 82 [10:20:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:20:49]wFMCommunicate OK [10:20:49]requested_item fd.num is exist - process it [10:20:49]SAM_PROTO_GetFieldsCounters [10:20:49]wFMCommunicate request_size=4 [10:20:49]MH_SAM_APDU [10:20:49]CAPDU: 80 13 00 00 [10:20:49]Write to MH i2c: E2 08 00 AB 04 80 13 00 00 00 00 00 00 2B [10:20:49]Write i2c OK [10:20:49]MH_I2C_Read... [10:20:49]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:20:49]Read from MH i2c: E2 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 62 00 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 62 00 AB 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D0 DE 00 00 0E 04 04 00 F0 01 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 98 [10:20:49]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D0 DE 00 00 0E 04 04 00 F0 01 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 [10:20:49]wFMCommunicate OK [10:20:49]SAM_PROTO_GetFieldsCounters done [10:20:49]requested_item shift.num is exist - process it [10:20:49]requested_item shift.opened is exist - process it [10:20:49]req_shift_opened [10:20:49]FM_GetShiftState [10:20:49]SAM_PROTO_GetShiftState [10:20:49]wFMCommunicate request_size=4 [10:20:49]MH_SAM_APDU [10:20:49]CAPDU: 80 13 01 00 [10:20:49]Write to MH i2c: E2 08 00 AC 04 80 13 01 00 00 00 00 00 2D [10:20:49]Write i2c OK [10:20:49]MH_I2C_Read... [10:20:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:20:49]Read from MH i2c: E2 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 0E 00 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 0E 00 AC 04 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 D4 [10:20:49]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:20:49]wFMCommunicate OK [10:20:49]SAM_PROTO_GetShiftState done [10:20:49]FM_GetShiftState done [10:20:49]req_shift_opened done [10:20:49]requested_item shift.open_date is exist - process it [10:20:49]req_shift_open_date [10:20:49]req_shift_open_date done [10:20:49]requested_item shift.sale.total is exist - process it [10:20:49]SAM_PROTO_GetShiftData [10:20:49]wFMCommunicate request_size=4 [10:20:49]MH_SAM_APDU [10:20:49]CAPDU: 80 13 02 00 [10:20:49]Write to MH i2c: E2 08 00 AD 04 80 13 02 00 00 00 00 00 2F [10:20:49]Write i2c OK [10:20:49]MH_I2C_Read... [10:20:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:20:49]Read from MH i2c: E2 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 FD 00 [10:20:49]MH_I2C_Read... [10:20:49]Read from MH i2c: E2 FD 00 AD 04 00 BB 04 AA 04 B7 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 04 DA 21 70 04 03 00 34 1C 1E 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 54 98 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 4C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 FB [10:20:50]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 39 00 00 00 69 04 9B 00 6F 04 04 00 37 00 00 00 B1 04 03 00 04 DA 21 70 04 03 00 34 1C 1E 72 04 03 00 D0 BD 03 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 54 98 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 4C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:20:50]wFMCommunicate OK [10:20:50]wFMCommunicate request_size=4 [10:20:50]MH_SAM_APDU [10:20:50]CAPDU: 80 17 00 00 [10:20:50]Write to MH i2c: E2 08 00 AE 04 80 17 00 00 00 00 00 00 32 [10:20:50]Write i2c OK [10:20:50]MH_I2C_Read... [10:20:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:20:50]Read from MH i2c: E2 [10:20:50]MH_I2C_Read... [10:20:50]Read from MH i2c: E2 FD 00 [10:20:50]MH_I2C_Read... [10:20:50]Read from MH i2c: E2 FD 00 AE 04 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C5 [10:20:50]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:20:50]wFMCommunicate OK [10:20:50]wFMCommunicate request_size=4 [10:20:50]MH_SAM_APDU [10:20:50]CAPDU: 80 17 00 00 [10:20:50]Write to MH i2c: E2 08 00 AF 04 80 17 00 00 00 00 00 00 33 [10:20:50]Write i2c OK [10:20:50]MH_I2C_Read... [10:20:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:20:50]Read from MH i2c: E2 [10:20:50]MH_I2C_Read... [10:20:50]Read from MH i2c: E2 FD 00 [10:20:50]MH_I2C_Read... [10:20:50]Read from MH i2c: E2 FD 00 AF 04 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 5F [10:20:50]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:20:51]wFMCommunicate OK [10:20:51]wFMCommunicate request_size=4 [10:20:51]MH_SAM_APDU [10:20:51]CAPDU: 80 17 00 00 [10:20:51]Write to MH i2c: E2 08 00 B0 04 80 17 00 00 00 00 00 00 34 [10:20:51]Write i2c OK [10:20:51]MH_I2C_Read... [10:20:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:20:51]Read from MH i2c: E2 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 FD 00 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 FD 00 B0 04 00 00 00 EF 03 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 90 00 A9 [10:20:51]RAPDU: 00 00 EF 03 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 90 00 [10:20:51]wFMCommunicate OK [10:20:51]wFMCommunicate request_size=4 [10:20:51]MH_SAM_APDU [10:20:51]CAPDU: 80 17 00 00 [10:20:51]Write to MH i2c: E2 08 00 B1 04 80 17 00 00 00 00 00 00 35 [10:20:51]Write i2c OK [10:20:51]MH_I2C_Read... [10:20:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:20:51]Read from MH i2c: E2 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 D8 00 [10:20:51]MH_I2C_Read... [10:20:51]Read from MH i2c: E2 D8 00 B1 04 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 1C [10:20:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:20:52]wFMCommunicate OK [10:20:52]SAM_PROTO_GetShiftData done [10:20:52]requested_item shift.sale.total_cash is exist - process it [10:20:52]requested_item shift.sale_refund.total is exist - process it [10:20:52]requested_item shift.sale_refund.total_cash is exist - process it [10:20:52]produce_requested_data done [10:20:52]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57040,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":22185.00,"shift.sale.total_cash":19733.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:20:52]process_action_free close_receipt [10:20:52]json_value_free [10:20:52]json_value_free done [10:20:52]process_json_proto returns [10:20:52]Send response to host [10:20:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57040,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":22185.00,"shift.sale.total_cash":19733.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:20:52]free response buf [10:20:52]execute_script done [10:20:52]execute_script returns [10:20:52]free content buf [10:20:52]Sock 9.Close socket [10:20:52]Sock 9.Thread stoped [10:20:53]OFD Sender: No OFD packet to send [10:20:58]OFD Sender: No OFD packet to send [10:21:03]OFD Sender: No OFD packet to send [10:21:08]OFD Sender: No OFD packet to send [10:21:13]OFD Sender: No OFD packet to send [10:21:18]OFD Sender: No OFD packet to send [10:21:23]OFD Sender: No OFD packet to send [10:21:28]OFD Sender: No OFD packet to send [10:21:33]OFD Sender: No OFD packet to send [10:21:38]OFD Sender: No OFD packet to send [10:21:43]OFD Sender: No OFD packet to send [10:21:48]OFD Sender: No OFD packet to send [10:21:53]OFD Sender: No OFD packet to send [10:21:58]OFD Sender: No OFD packet to send [10:22:03]OFD Sender: No OFD packet to send [10:22:08]OFD Sender: No OFD packet to send [10:22:13]OFD Sender: No OFD packet to send [10:22:18]OFD Sender: No OFD packet to send [10:22:23]OFD Sender: No OFD packet to send [10:22:28]OFD Sender: No OFD packet to send [10:22:33]OFD Sender: No OFD packet to send [10:22:38]OFD Sender: No OFD packet to send [10:22:43]OFD Sender: No OFD packet to send [10:22:48]OFD Sender: No OFD packet to send [10:22:53]OFD Sender: No OFD packet to send [10:22:58]OFD Sender: No OFD packet to send [10:23:03]OFD Sender: No OFD packet to send [10:23:08]OFD Sender: No OFD packet to send [10:23:13]OFD Sender: No OFD packet to send [10:23:18]OFD Sender: No OFD packet to send [10:23:23]OFD Sender: No OFD packet to send [10:23:28]OFD Sender: No OFD packet to send [10:23:33]OFD Sender: No OFD packet to send [10:23:38]OFD Sender: No OFD packet to send [10:23:43]OFD Sender: No OFD packet to send [10:23:48]OFD Sender: No OFD packet to send [10:23:53]OFD Sender: No OFD packet to send [10:23:58]OFD Sender: No OFD packet to send [10:24:03]OFD Sender: No OFD packet to send [10:24:08]OFD Sender: No OFD packet to send [10:24:13]OFD Sender: No OFD packet to send [10:24:18]OFD Sender: No OFD packet to send [10:24:23]OFD Sender: No OFD packet to send [10:24:28]OFD Sender: No OFD packet to send [10:24:33]OFD Sender: No OFD packet to send [10:24:38]OFD Sender: No OFD packet to send [10:24:43]OFD Sender: No OFD packet to send [10:24:48]OFD Sender: No OFD packet to send [10:24:53]OFD Sender: No OFD packet to send [10:24:58]OFD Sender: No OFD packet to send [10:25:03]OFD Sender: No OFD packet to send [10:25:08]OFD Sender: No OFD packet to send [10:25:13]OFD Sender: No OFD packet to send [10:25:18]OFD Sender: No OFD packet to send [10:25:23]OFD Sender: No OFD packet to send [10:25:28]OFD Sender: No OFD packet to send [10:25:33]OFD Sender: No OFD packet to send [10:25:38]OFD Sender: No OFD packet to send [10:25:43]OFD Sender: No OFD packet to send [10:25:48]OFD Sender: No OFD packet to send [10:25:53]OFD Sender: No OFD packet to send [10:25:58]OFD Sender: No OFD packet to send [10:26:03]OFD Sender: No OFD packet to send [10:26:08]OFD Sender: No OFD packet to send [10:26:13]OFD Sender: No OFD packet to send [10:26:18]OFD Sender: No OFD packet to send [10:26:23]OFD Sender: No OFD packet to send [10:26:28]OFD Sender: No OFD packet to send [10:26:33]OFD Sender: No OFD packet to send [10:26:38]OFD Sender: No OFD packet to send [10:26:43]OFD Sender: No OFD packet to send [10:26:48]OFD Sender: No OFD packet to send [10:26:53]OFD Sender: No OFD packet to send [10:26:58]OFD Sender: No OFD packet to send [10:27:03]OFD Sender: No OFD packet to send [10:27:08]OFD Sender: No OFD packet to send [10:27:13]OFD Sender: No OFD packet to send [10:27:18]OFD Sender: No OFD packet to send [10:27:23]OFD Sender: No OFD packet to send [10:27:28]OFD Sender: No OFD packet to send [10:27:33]OFD Sender: No OFD packet to send [10:27:38]OFD Sender: No OFD packet to send [10:27:43]OFD Sender: No OFD packet to send [10:27:48]OFD Sender: No OFD packet to send [10:27:53]OFD Sender: No OFD packet to send [10:27:58]OFD Sender: No OFD packet to send [10:28:03]OFD Sender: No OFD packet to send [10:28:08]OFD Sender: No OFD packet to send [10:28:13]OFD Sender: No OFD packet to send [10:28:18]OFD Sender: No OFD packet to send [10:28:23]OFD Sender: No OFD packet to send [10:28:28]OFD Sender: No OFD packet to send [10:28:33]OFD Sender: No OFD packet to send [10:28:38]OFD Sender: No OFD packet to send [10:28:43]OFD Sender: No OFD packet to send [10:28:48]OFD Sender: No OFD packet to send [10:28:53]OFD Sender: No OFD packet to send [10:28:58]OFD Sender: No OFD packet to send [10:29:03]OFD Sender: No OFD packet to send [10:29:08]OFD Sender: No OFD packet to send [10:29:13]OFD Sender: No OFD packet to send [10:29:18]OFD Sender: No OFD packet to send [10:29:23]OFD Sender: No OFD packet to send [10:29:28]OFD Sender: No OFD packet to send [10:29:33]OFD Sender: No OFD packet to send [10:29:38]OFD Sender: No OFD packet to send [10:29:43]OFD Sender: No OFD packet to send [10:29:48]OFD Sender: No OFD packet to send [10:29:53]OFD Sender: No OFD packet to send [10:29:58]OFD Sender: No OFD packet to send [10:30:03]OFD Sender: No OFD packet to send [10:30:08]OFD Sender: No OFD packet to send [10:30:13]OFD Sender: No OFD packet to send [10:30:18]OFD Sender: No OFD packet to send [10:30:23]OFD Sender: No OFD packet to send [10:30:28]OFD Sender: No OFD packet to send [10:30:33]OFD Sender: No OFD packet to send [10:30:38]OFD Sender: No OFD packet to send [10:30:43]OFD Sender: No OFD packet to send [10:30:48]OFD Sender: No OFD packet to send [10:30:53]OFD Sender: No OFD packet to send [10:30:58]OFD Sender: No OFD packet to send [10:31:03]OFD Sender: No OFD packet to send [10:31:08]OFD Sender: No OFD packet to send [10:31:13]OFD Sender: No OFD packet to send [10:31:18]OFD Sender: No OFD packet to send [10:31:23]OFD Sender: No OFD packet to send [10:31:28]OFD Sender: No OFD packet to send [10:31:33]OFD Sender: No OFD packet to send [10:31:38]OFD Sender: No OFD packet to send [10:31:43]OFD Sender: No OFD packet to send [10:31:48]OFD Sender: No OFD packet to send [10:31:53]OFD Sender: No OFD packet to send [10:31:58]OFD Sender: No OFD packet to send [10:32:03]OFD Sender: No OFD packet to send [10:32:08]OFD Sender: No OFD packet to send [10:32:13]OFD Sender: No OFD packet to send [10:32:18]OFD Sender: No OFD packet to send [10:32:23]OFD Sender: No OFD packet to send [10:32:28]OFD Sender: No OFD packet to send [10:32:33]OFD Sender: No OFD packet to send [10:32:38]OFD Sender: No OFD packet to send [10:32:43]OFD Sender: No OFD packet to send [10:32:48]OFD Sender: No OFD packet to send [10:32:53]OFD Sender: No OFD packet to send [10:32:58]OFD Sender: No OFD packet to send [10:33:03]OFD Sender: No OFD packet to send [10:33:08]OFD Sender: No OFD packet to send [10:33:14]OFD Sender: No OFD packet to send [10:33:19]OFD Sender: No OFD packet to send [10:33:24]OFD Sender: No OFD packet to send [10:33:29]OFD Sender: No OFD packet to send [10:33:34]OFD Sender: No OFD packet to send [10:33:39]OFD Sender: No OFD packet to send [10:33:44]OFD Sender: No OFD packet to send [10:33:49]OFD Sender: No OFD packet to send [10:33:54]OFD Sender: No OFD packet to send [10:33:59]OFD Sender: No OFD packet to send [10:34:04]OFD Sender: No OFD packet to send [10:34:09]OFD Sender: No OFD packet to send [10:34:14]OFD Sender: No OFD packet to send [10:34:19]OFD Sender: No OFD packet to send [10:34:24]OFD Sender: No OFD packet to send [10:34:29]OFD Sender: No OFD packet to send [10:34:34]OFD Sender: No OFD packet to send [10:34:39]OFD Sender: No OFD packet to send [10:34:44]OFD Sender: No OFD packet to send [10:34:49]OFD Sender: No OFD packet to send [10:34:54]OFD Sender: No OFD packet to send [10:34:59]OFD Sender: No OFD packet to send [10:35:04]OFD Sender: No OFD packet to send [10:35:09]OFD Sender: No OFD packet to send [10:35:14]OFD Sender: No OFD packet to send [10:35:19]OFD Sender: No OFD packet to send [10:35:24]OFD Sender: No OFD packet to send [10:35:29]OFD Sender: No OFD packet to send [10:35:34]OFD Sender: No OFD packet to send [10:35:39]OFD Sender: No OFD packet to send [10:35:44]OFD Sender: No OFD packet to send [10:35:49]OFD Sender: No OFD packet to send [10:35:54]OFD Sender: No OFD packet to send [10:35:59]OFD Sender: No OFD packet to send [10:36:04]OFD Sender: No OFD packet to send [10:36:09]OFD Sender: No OFD packet to send [10:36:14]OFD Sender: No OFD packet to send [10:36:19]OFD Sender: No OFD packet to send [10:36:24]OFD Sender: No OFD packet to send [10:36:29]OFD Sender: No OFD packet to send [10:36:34]OFD Sender: No OFD packet to send [10:36:39]OFD Sender: No OFD packet to send [10:36:44]OFD Sender: No OFD packet to send [10:36:49]OFD Sender: No OFD packet to send [10:36:54]OFD Sender: No OFD packet to send [10:36:59]OFD Sender: No OFD packet to send [10:37:04]OFD Sender: No OFD packet to send [10:37:09]OFD Sender: No OFD packet to send [10:37:14]OFD Sender: No OFD packet to send [10:37:19]OFD Sender: No OFD packet to send [10:37:24]OFD Sender: No OFD packet to send [10:37:29]OFD Sender: No OFD packet to send [10:37:34]OFD Sender: No OFD packet to send [10:37:39]OFD Sender: No OFD packet to send [10:37:44]OFD Sender: No OFD packet to send [10:37:49]OFD Sender: No OFD packet to send [10:37:54]OFD Sender: No OFD packet to send [10:37:59]OFD Sender: No OFD packet to send [10:38:04]OFD Sender: No OFD packet to send [10:38:09]OFD Sender: No OFD packet to send [10:38:14]OFD Sender: No OFD packet to send [10:38:19]OFD Sender: No OFD packet to send [10:38:24]OFD Sender: No OFD packet to send [10:38:29]OFD Sender: No OFD packet to send [10:38:34]OFD Sender: No OFD packet to send [10:38:39]OFD Sender: No OFD packet to send [10:38:44]OFD Sender: No OFD packet to send [10:38:49]OFD Sender: No OFD packet to send [10:38:54]OFD Sender: No OFD packet to send [10:38:59]OFD Sender: No OFD packet to send [10:39:04]OFD Sender: No OFD packet to send [10:39:09]OFD Sender: No OFD packet to send [10:39:14]OFD Sender: No OFD packet to send [10:39:19]OFD Sender: No OFD packet to send [10:39:24]OFD Sender: No OFD packet to send [10:39:29]OFD Sender: No OFD packet to send [10:39:34]OFD Sender: No OFD packet to send [10:39:39]OFD Sender: No OFD packet to send [10:39:44]OFD Sender: No OFD packet to send [10:39:49]OFD Sender: No OFD packet to send [10:39:54]OFD Sender: No OFD packet to send [10:39:59]OFD Sender: No OFD packet to send [10:40:04]OFD Sender: No OFD packet to send [10:40:09]OFD Sender: No OFD packet to send [10:40:14]OFD Sender: No OFD packet to send [10:40:19]OFD Sender: No OFD packet to send [10:40:24]OFD Sender: No OFD packet to send [10:40:29]OFD Sender: No OFD packet to send [10:40:34]OFD Sender: No OFD packet to send [10:40:39]OFD Sender: No OFD packet to send [10:40:44]OFD Sender: No OFD packet to send [10:40:49]OFD Sender: No OFD packet to send [10:40:54]OFD Sender: No OFD packet to send [10:40:59]OFD Sender: No OFD packet to send [10:41:04]OFD Sender: No OFD packet to send [10:41:09]OFD Sender: No OFD packet to send [10:41:14]OFD Sender: No OFD packet to send [10:41:19]OFD Sender: No OFD packet to send [10:41:24]OFD Sender: No OFD packet to send [10:41:29]OFD Sender: No OFD packet to send [10:41:33]accept exits with 7 [10:41:33]New connection [10:41:33]New thread 3067448676 created [10:41:33]Thread 3067592036 joined [10:41:33]Waiting for new connection... [10:41:33] Sock 7.Parse request [10:41:33]Sock 7.Check first char [10:41:33]Sock 7.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.39.4:8080 [10:41:33]Content-Length: 1806 [10:41:33]Content-Type: application/json [10:41:33] [10:41:33]POST finish read [10:41:33]Found Content-Length = 1806 [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)129504", "tax_sys" : 0, "items" : [ { "code": "4602441000609", "name": "\u041D\u0430\u043F\u0438\u0442 \u0414\u044E\u0448\u0435\u0441 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 205.00, "quantity" : 5.000, "sum" : 1025.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001154059", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 0,5\u043B \u0437\u0435\u043B \u0447\u0430\u0439", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1439.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:41:33]execute_script... [10:41:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129504", "tax_sys" : 0, "items" : [ { "code": "4602441000609", "name": "\u041D\u0430\u043F\u0438\u0442 \u0414\u044E\u0448\u0435\u0441 1\u043B \u0441\u0442\u0435\u043A\u043B\u043E", "price" : 205.00, "quantity" : 5.000, "sum" : 1025.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001154059", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 0,5\u043B \u0437\u0435\u043B \u0447\u0430\u0439", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329951", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u0437\u0435\u043B \u0447\u0430\u0439 Regular", "price" : 130.00, "quantity" : 2.000, "sum" : 260.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 1439.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:41:34]POST & json_proto [10:41:34]process_json_proto [10:41:34]json parsed OK: [10:41:34]protocol is kg_v1.0 [10:41:34]action value=close_receipt [10:41:34]process_action close_receipt [10:41:34]cmd_close_receipt [10:41:34]MH_GetDate [10:41:34]Write to MH i2c: F0 00 00 B2 04 A5 [10:41:34]Write i2c OK [10:41:34]MH_I2C_Read... [10:41:34]Read from MH i2c: F0 [10:41:34]MH_I2C_Read... [10:41:34]Read from MH i2c: F0 09 00 [10:41:34]MH_I2C_Read... [10:41:34]Read from MH i2c: F0 09 00 B2 04 00 5E AB 93 66 2D 25 5D 64 C3 [10:41:34]GetLastDocTimeStamp 1720952446 [10:41:34]current date 1720953694 [10:41:34]FM_GetShiftState [10:41:34]SAM_PROTO_GetShiftState [10:41:34]wFMCommunicate request_size=4 [10:41:34]MH_SAM_APDU [10:41:34]CAPDU: 80 13 01 00 [10:41:34]Write to MH i2c: E2 08 00 B3 04 80 13 01 00 00 00 00 00 34 [10:41:34]Write i2c OK [10:41:34]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 B3 04 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 DB [10:41:34]RAPDU: 09 00 01 86 1C 93 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 1720917126 [10:41:34]opened+sec_in_day 1721003526 [10:41:34]quantity*price = 102500 [10:41:34]sum+1 = 102501 [10:41:34]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001154059 Напиток Lipton IceTea 0,5л зел чай 2.000 * 75.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002329951 Напиток Lipton IceTea 1л зел чай Regular 2.000 * 130.00 = 260.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2587136579566 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1439.00 НСП 1% : 12.73 НДС 12% : 152.81 Наличными: 0.00 Безнал.: 1439.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 58 14.07.2024 10:41 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57041 ФПД: 14272539804935 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T104135&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57041&fm=14272539804935&tin=02508201610067®Number=0000000000091208&sum=143900 0 [10:41:35]StoreToDocumentArchive [10:41:35]shift 496 fd 57041 [10:41:35]save to /storage/0496/doc_00057041 [10:41:35]save last doc name /storage/0496/doc_00057041 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=634 [10:41:35]tlvbuf is 00FA1E50 [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 C0 04 80 09 00 00 00 00 00 00 36 [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 C0 04 00 90 00 38 [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 C1 04 80 0D 01 02 00 00 00 00 3E [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 C1 04 00 90 00 39 [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 7A 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 64 90 01 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 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 7A 00 8A 04 0D 00 34 38 37 [10:41:35]Write to MH i2c: E2 02 01 C2 04 80 0D 02 02 FA 00 03 00 7A 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 64 90 01 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 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 7A 00 8A 04 0D 00 34 38 37 00 00 EE [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 C2 04 00 90 00 3A [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 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 32 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 [10:41:35]Write to MH i2c: E2 02 01 C3 04 80 0D 02 02 FA 00 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 32 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 00 00 CD [10:41:35]Write i2c OK [10:41:35]MH_I2C_Read... [10:41:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:41:36]Read from MH i2c: E2 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: E2 03 00 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: E2 03 00 C3 04 00 90 00 3B [10:41:36]RAPDU: 90 00 [10:41:36]wFMCommunicate OK [10:41:36]wFMCommunicate request_size=143 [10:41:36]MH_SAM_APDU [10:41:36]CAPDU: 80 0D 02 02 8A F9 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 3B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 32 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 5F AB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DE 00 00 35 04 06 00 0C FB 15 AA 45 07 [10:41:36]Write to MH i2c: E2 92 00 C4 04 80 0D 02 02 8A 00 F9 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 3B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 32 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 5F AB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DE 00 00 35 04 06 00 0C FB 15 AA 45 07 00 00 AD [10:41:36]Write i2c OK [10:41:36]MH_I2C_Read... [10:41:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:41:36]Read from MH i2c: E2 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: E2 03 00 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: E2 03 00 C4 04 00 90 00 3C [10:41:36]RAPDU: 90 00 [10:41:36]wFMCommunicate OK [10:41:36]wFMCommunicate request_size=4 [10:41:36]MH_SAM_APDU [10:41:36]CAPDU: 80 0D 03 02 [10:41:36]Write to MH i2c: E2 08 00 C5 04 80 0D 03 02 00 00 00 00 44 [10:41:36]Write i2c OK [10:41:36]MH_I2C_Read... [10:41:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:41:36]Read from MH i2c: E2 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: E2 0B 00 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: E2 0B 00 C5 04 00 79 50 53 D4 C9 4E 3A 45 90 00 CB [10:41:36]RAPDU: 79 50 53 D4 C9 4E 3A 45 90 00 [10:41:36]wFMCommunicate OK [10:41:36]SAM_PROTO_SignData done [10:41:36]FM_MakeSignedData done [10:41:36]CreateOFDProtocolMessage [10:41:36]wFMCommunicate request_size=4 [10:41:36]MH_SAM_APDU [10:41:36]CAPDU: 80 11 00 00 [10:41:36]Write to MH i2c: E2 08 00 C6 04 80 11 00 00 00 00 00 00 44 [10:41:36]Write i2c OK [10:41:36]MH_I2C_Read... [10:41:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:41:36]Read from MH i2c: E2 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: E2 17 00 [10:41:36]MH_I2C_Read... [10:41:36]Read from MH i2c: E2 17 00 C6 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9E [10:41:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:41:36]wFMCommunicate OK [10:41:36]CreateOFDProtocolMessage done [10:41:36]OFDSenderStorePacket 57041 [10:41:36]StoreOFDPacket docnum=57041 [10:41:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 8E 02 00 00 5F 0B 86 02 2C AE 5A 03 01 00 03 00 7A 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 64 90 01 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 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 32 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 3B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 32 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 5F AB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DE 00 00 35 04 06 00 0C FB 15 AA 45 07 79 50 53 D4 C9 4E 3A 45 [10:41:36]CheckFolder [10:41:36]dirname=/storage/ofd_packets [10:41:36]CheckFolder done [10:41:36]ProducePacketName [10:41:36]name=ofd_packets/00057041 [10:41:36]NVStorageSaveData ofd_packets/00057041 [10:41:36]File name is /storage/ofd_packets/00057041 [10:41:36]Write 684 bytes [10:41:36]NVStorageSaveData done [10:41:36]OFDSenderStorePacket done [10:41:36]KKMCreateOFDPacket done [10:41:36]NVStorageSaveData kkm_last_timestamp [10:41:36]File name is /storage/kkm_last_timestamp [10:41:36]Write 4 bytes [10:41:36]NVStorageSaveData done [10:41:36]ExternCall_PrintAddStr [10:41:36]wPrintStart [10:41:36]Write to MH i2c: 01 00 00 C7 04 CB [10:41:36]OFD Sender: Processing packet 57041 [packets to send 38, broken 37] [10:41:36]ProducePacketName [10:41:36]name=ofd_packets/00057041 [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]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 C7 04 00 00 00 00 00 FF 0F E0 [10:41:36]RasterBufferAndPrint [10:41:36]line Счет N : (3)129504 [10:41:36]line ИНН: 02508201610067 [10:41:36]line Контрольно-Кассовый Чек [10:41:36]line ПРОДАЖА [10:41:36]line Товар: 4602441000609 [10:41:36]line Напит Дюшес 1л стекло [10:41:36]line 5.000 * 205.00 [10:41:36]line = 1025.00 [10:41:36]line НДС 12% НСП 1% [10:41:36]line > о реализуемом товаре [10:41:36]line Товар: 4870001154059 [10:41:36]line Напиток Lipton IceTea 0,5л зел чай [10:41:36]line 2.000 * 75.00 [10:41:36]line = 150.00 [10:41:36]line НДС 12% НСП 1% [10:41:36]line > о реализуемом товаре [10:41:36]line Товар: 4870002329951 [10:41:36]line Напиток Lipton IceTea 1л зел чай Regular [10:41:36]line 2.000 * 130.00 [10:41:36]line = 260.00 [10:41:36]line НДС 12% НСП 1% [10:41:36]line > о реализуемом товаре [10:41:36]line Товар: 2587136579566 [10:41:36]line Пакет Партнер Нефть [10:41:36]line 1.000 * 4.00 [10:41:36]line = 4.00 [10:41:36]line НДС 12% НСП 1% [10:41:36]line > о реализуемом товаре [10:41:36]line ИТОГО: 1439.00 [10:41:36]line НСП 1% : 12.73 [10:41:36]line НДС 12% : 152.81 [10:41:36]line Наличными: 0.00 [10:41:36]line Безнал.: 1439.00 [10:41:36]line Место: АЗС № 132 "Партнер Нефть" [10:41:36]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:41:36]line СНО: Общий режим [10:41:36]line Чек 58 14.07.2024 10:41 [10:41:36]line Смена: 496 ФФД: 1.0 [10:41:36]line ЗНМ: 0300000132 [10:41:36]line РНМ: 0000000000091208 [10:41:36]line Версия ККМ: 001 [10:41:36]line Платежная система: АКБ Кыргызстан [10:41:36]line ФМ: 0000000000874857 [10:41:36]line ФД: 57041 [10:41:36]line ФПД: 14272539804935 [10:41:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T104135&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57041&fm=14272539804935&tin=02508201610067®Number=0000000000091208&sum=143900 [10:41:36]line 0 [10:41:36]written 0, free lines is 4095 [10:41:36]Connected sock=11 [10:41:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 8E 02 00 00 5F 0B 86 02 2C AE 5A 03 01 00 03 00 7A 02 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 36 30 32 34 34 31 30 30 30 36 30 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 20 D0 94 D1 8E D1 88 D0 B5 D1 81 20 31 D0 BB 20 D1 81 D1 82 D0 B5 D0 BA D0 BB D0 BE FF 03 08 00 03 88 13 00 00 00 00 00 37 04 06 00 14 50 00 00 00 00 13 04 06 00 64 90 01 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 38 37 30 30 30 31 31 35 34 30 35 39 06 04 30 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 30 2C 35 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 35 31 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 52 65 67 75 6C 61 72 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 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 32 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F9 04 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B1 3B 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 1C 32 02 00 00 00 1F 04 02 00 01 00 12 04 04 00 3A 00 00 00 F4 03 04 00 5F AB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DE 00 00 35 04 06 00 0C FB 15 AA 45 07 79 50 53 D4 C9 4E 3A 45 [10:41:37]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 08 CC 47 00 79 E0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D1 DE 00 00 F4 03 04 00 B0 51 93 66 B6 04 01 00 00 42 09 39 EF 27 4E F3 60 [10:41:37]CommunicateWithHost err = 0 [10:41:37]CheckOFDResponse [10:41:37]1017 (14) - 77093643461234 [10:41:37]1041 (16) - 0000000000874857 [10:41:37]1040 (4) - 57041 [10:41:37]1012 (4) - 14.07.2024 04:18 [10:41:37]1206 (1) - 0 [10:41:37]OFD Sender: Remove packet 57041 [10:41:37]ProducePacketName [10:41:37]name=ofd_packets/00057041 [10:41:37]NVStorageDeleteData [10:41:37]Write to MH i2c: 01 00 00 05 05 0A [10:41:37]Write i2c OK [10:41:37]MH_I2C_Read... [10:41:37]Read from MH i2c: 01 [10:41:37]MH_I2C_Read... [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 05 05 00 00 00 00 00 BE 0B DA [10:41:37]RasterBufferAndPrint [10:41:37]line [10:41:37]line [10:41:37]line [10:41:37]line [10:41:37]line [10:41:37]written 0, free lines is 3013 [10:41:37]MH_Cut [10:41:37]Write to MH i2c: D1 01 00 0C 05 01 E3 [10:41:37]Write i2c OK [10:41:37]MH_I2C_Read... [10:41:37]Read from MH i2c: D1 [10:41:37]MH_I2C_Read... [10:41:37]Read from MH i2c: D1 01 00 [10:41:37]MH_I2C_Read... [10:41:37]Read from MH i2c: D1 01 00 0C 05 00 E2 [10:41:37]Write to MH i2c: 01 00 00 0D 05 12 [10:41:37]Write i2c OK [10:41:37]MH_I2C_Read... [10:41:37]OFD Sender: No OFD packet to send [10:41:38]*** Cut start [10:41:38]*** Partial cut [10:41:38]*** CUTSNS_PIN = 1 [10:41:38]*** CUTSNS_PIN = 0 [10:41:38]*** Brake cut motor [10:41:38]Read from MH i2c: 01 [10:41:38]MH_I2C_Read... [10:41:38]*** Stop cut motor [10:41:38]*** Cut end [10:41:38]Read from MH i2c: 01 07 00 [10:41:38]MH_I2C_Read... [10:41:38]Read from MH i2c: 01 07 00 0D 05 00 00 00 00 00 FF 0F 27 [10:41:38]process_action close_receipt done [10:41:38]requested_data is exist [10:41:38]produce_requested_data [10:41:38]requested_item fm.sn is exist - process it [10:41:38]wFMCommunicate request_size=4 [10:41:38]MH_SAM_APDU [10:41:38]CAPDU: 80 11 00 00 [10:41:38]Write to MH i2c: E2 08 00 0E 05 80 11 00 00 00 00 00 00 8D [10:41:38]Write i2c OK [10:41:38]MH_I2C_Read... [10:41:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:41:38]Read from MH i2c: E2 [10:41:38]MH_I2C_Read... [10:41:38]Read from MH i2c: E2 17 00 [10:41:38]MH_I2C_Read... [10:41:38]Read from MH i2c: E2 17 00 0E 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E7 [10:41:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:41:38]wFMCommunicate OK [10:41:38]requested_item fd.num is exist - process it [10:41:38]SAM_PROTO_GetFieldsCounters [10:41:38]wFMCommunicate request_size=4 [10:41:38]MH_SAM_APDU [10:41:38]CAPDU: 80 13 00 00 [10:41:38]Write to MH i2c: E2 08 00 0F 05 80 13 00 00 00 00 00 00 90 [10:41:38]Write i2c OK [10:41:38]MH_I2C_Read... [10:41:39]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:41:39]Read from MH i2c: E2 [10:41:39]MH_I2C_Read... [10:41:39]Read from MH i2c: E2 62 00 [10:41:39]MH_I2C_Read... [10:41:39]Read from MH i2c: E2 62 00 0F 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D1 DE 00 00 0E 04 04 00 F0 01 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 01 [10:41:39]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D1 DE 00 00 0E 04 04 00 F0 01 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 [10:41:39]wFMCommunicate OK [10:41:39]SAM_PROTO_GetFieldsCounters done [10:41:39]requested_item shift.num is exist - process it [10:41:39]requested_item shift.opened is exist - process it [10:41:39]req_shift_opened [10:41:39]FM_GetShiftState [10:41:39]SAM_PROTO_GetShiftState [10:41:39]wFMCommunicate request_size=4 [10:41:39]MH_SAM_APDU [10:41:39]CAPDU: 80 13 01 00 [10:41:39]Write to MH i2c: E2 08 00 10 05 80 13 01 00 00 00 00 00 92 [10:41:39]Write i2c OK [10:41:39]MH_I2C_Read... [10:41:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:41:39]Read from MH i2c: E2 [10:41:39]MH_I2C_Read... [10:41:39]Read from MH i2c: E2 0E 00 [10:41:39]MH_I2C_Read... [10:41:39]Read from MH i2c: E2 0E 00 10 05 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 39 [10:41:39]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:41:39]wFMCommunicate OK [10:41:39]SAM_PROTO_GetShiftState done [10:41:39]FM_GetShiftState done [10:41:39]req_shift_opened done [10:41:39]requested_item shift.open_date is exist - process it [10:41:39]req_shift_open_date [10:41:39]req_shift_open_date done [10:41:39]requested_item shift.sale.total is exist - process it [10:41:39]SAM_PROTO_GetShiftData [10:41:39]wFMCommunicate request_size=4 [10:41:39]MH_SAM_APDU [10:41:39]CAPDU: 80 13 02 00 [10:41:39]Write to MH i2c: E2 08 00 11 05 80 13 02 00 00 00 00 00 94 [10:41:39]Write i2c OK [10:41:39]MH_I2C_Read... [10:41:39]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:41:39]Read from MH i2c: E2 [10:41:39]MH_I2C_Read... [10:41:39]Read from MH i2c: E2 FD 00 [10:41:39]MH_I2C_Read... [10:41:39]Read from MH i2c: E2 FD 00 11 05 00 BB 04 AA 04 B7 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 38 00 00 00 B1 04 03 00 20 0C 24 70 04 03 00 34 1C 1E 72 04 03 00 EC EF 05 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 05 D4 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A4 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 EE [10:41:39]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 3A 00 00 00 69 04 9B 00 6F 04 04 00 38 00 00 00 B1 04 03 00 20 0C 24 70 04 03 00 34 1C 1E 72 04 03 00 EC EF 05 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 05 D4 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A4 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:41:39]wFMCommunicate OK [10:41:39]wFMCommunicate request_size=4 [10:41:39]MH_SAM_APDU [10:41:39]CAPDU: 80 17 00 00 [10:41:39]Write to MH i2c: E2 08 00 12 05 80 17 00 00 00 00 00 00 97 [10:41:39]Write i2c OK [10:41:39]MH_I2C_Read... [10:41:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:41:39]Read from MH i2c: E2 [10:41:39]MH_I2C_Read... [10:41:39]Read from MH i2c: E2 FD 00 [10:41:39]MH_I2C_Read... [10:41:39]Read from MH i2c: E2 FD 00 12 05 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2A [10:41:39]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:41:40]wFMCommunicate OK [10:41:40]wFMCommunicate request_size=4 [10:41:40]MH_SAM_APDU [10:41:40]CAPDU: 80 17 00 00 [10:41:40]Write to MH i2c: E2 08 00 13 05 80 17 00 00 00 00 00 00 98 [10:41:40]Write i2c OK [10:41:40]MH_I2C_Read... [10:41:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:41:40]Read from MH i2c: E2 [10:41:40]MH_I2C_Read... [10:41:40]Read from MH i2c: E2 FD 00 [10:41:40]MH_I2C_Read... [10:41:40]Read from MH i2c: E2 FD 00 13 05 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C4 [10:41:40]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:41:40]wFMCommunicate OK [10:41:40]wFMCommunicate request_size=4 [10:41:40]MH_SAM_APDU [10:41:40]CAPDU: 80 17 00 00 [10:41:40]Write to MH i2c: E2 08 00 14 05 80 17 00 00 00 00 00 00 99 [10:41:40]Write i2c OK [10:41:40]MH_I2C_Read... [10:41:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:41:40]Read from MH i2c: E2 [10:41:40]MH_I2C_Read... [10:41:40]Read from MH i2c: E2 FD 00 [10:41:40]MH_I2C_Read... [10:41:40]Read from MH i2c: E2 FD 00 14 05 00 00 00 EF 03 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 90 00 0E [10:41:40]RAPDU: 00 00 EF 03 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 90 00 [10:41:40]wFMCommunicate OK [10:41:40]wFMCommunicate request_size=4 [10:41:40]MH_SAM_APDU [10:41:40]CAPDU: 80 17 00 00 [10:41:40]Write to MH i2c: E2 08 00 15 05 80 17 00 00 00 00 00 00 9A [10:41:40]Write i2c OK [10:41:40]MH_I2C_Read... [10:41:40]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:41:40]Read from MH i2c: E2 [10:41:40]MH_I2C_Read... [10:41:40]Read from MH i2c: E2 D8 00 [10:41:40]MH_I2C_Read... [10:41:40]Read from MH i2c: E2 D8 00 15 05 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 81 [10:41:40]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:41:41]wFMCommunicate OK [10:41:41]SAM_PROTO_GetShiftData done [10:41:41]requested_item shift.sale.total_cash is exist - process it [10:41:41]requested_item shift.sale_refund.total is exist - process it [10:41:41]requested_item shift.sale_refund.total_cash is exist - process it [10:41:41]produce_requested_data done [10:41:41]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57041,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":23624.00,"shift.sale.total_cash":19733.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:41:41]process_action_free close_receipt [10:41:41]json_value_free [10:41:41]json_value_free done [10:41:41]process_json_proto returns [10:41:41]Send response to host [10:41:41]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57041,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":23624.00,"shift.sale.total_cash":19733.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:41:41]free response buf [10:41:41]execute_script done [10:41:41]execute_script returns [10:41:41]free content buf [10:41:41]Sock 7.Close socket [10:41:41]Sock 7.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:23]OFD Sender: No OFD packet to send [10:50:28]OFD Sender: No OFD packet to send [10:50:33]OFD Sender: No OFD packet to send [10:50:38]OFD Sender: No OFD packet to send [10:50:43]OFD Sender: No OFD packet to send [10:50:48]OFD Sender: No OFD packet to send [10:50:53]OFD Sender: No OFD packet to send [10:50:58]OFD Sender: No OFD packet to send [10:51:03]OFD Sender: No OFD packet to send [10:51:08]OFD Sender: No OFD packet to send [10:51:13]OFD Sender: No OFD packet to send [10:51:18]OFD Sender: No OFD packet to send [10:51:23]OFD Sender: No OFD packet to send [10:51:28]OFD Sender: No OFD packet to send [10:51:33]OFD Sender: No OFD packet to send [10:51:38]OFD Sender: No OFD packet to send [10:51:43]OFD Sender: No OFD packet to send [10:51:48]OFD Sender: No OFD packet to send [10:51:53]OFD Sender: No OFD packet to send [10:51:58]OFD Sender: No OFD packet to send [10:52:03]OFD Sender: No OFD packet to send [10:52:08]OFD Sender: No OFD packet to send [10:52:13]OFD Sender: No OFD packet to send [10:52:13]accept exits with 9 [10:52:13]New connection [10:52:13]New thread 3067592036 created [10:52:13]Thread 3067448676 joined [10:52:13]Waiting for new connection... [10:52:13] Sock 9.Parse request [10:52:13]Sock 9.Check first char [10:52:13]Sock 9.First char is OK [10:52:13]request: POST /json_proto HTTP/1.0 [10:52:13]Method: POST [10:52:13]URL: /json_proto [10:52:13]Method is POST - this is cgi request [10:52:13]url: /json_proto [10:52:13]query_string will be loaded in cgi processing [10:52:13]execute_cgi json_proto POST (null) [10:52:13]execute_cgi path=json_proto method=POST [10:52:13]POST find Content-Length [10:52:13]Host: 172.17.39.4:8080 [10:52:13]Content-Length: 793 [10:52:13]Content-Type: application/json [10:52:13] [10:52:13]POST finish read [10:52:13]Found Content-Length = 793 [10:52:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129505", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:52:13]execute_script... [10:52: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)129505", "tax_sys" : 0, "items" : [ { "code": "4870002326172", "name": "\u0412\u043E\u0434\u0430 ASU \u043F\u0438\u0442 \u043D.\u0433\u0430\u0437 \u043B\u0438\u043C\u043E\u043D \u041F\u042D\u0422 1\u043B", "price" : 100.00, "quantity" : 1.000, "sum" : 100.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 100.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [10:52:13]POST & json_proto [10:52:13]process_json_proto [10:52:13]json parsed OK: [10:52:13]protocol is kg_v1.0 [10:52:13]action value=close_receipt [10:52:13]process_action close_receipt [10:52:13]cmd_close_receipt [10:52:13]MH_GetDate [10:52:13]Write to MH i2c: F0 00 00 16 05 0A [10:52:13]Write i2c OK [10:52:13]MH_I2C_Read... [10:52:13]Read from MH i2c: F0 [10:52:13]MH_I2C_Read... [10:52:13]Read from MH i2c: F0 09 00 [10:52:13]MH_I2C_Read... [10:52:13]Read from MH i2c: F0 09 00 16 05 00 DE AD 93 66 2D 25 5D 64 AA [10:52:13]GetLastDocTimeStamp 1720953695 [10:52:13]current date 1720954334 [10:52:13]FM_GetShiftState [10:52:13]SAM_PROTO_GetShiftState [10:52:13]wFMCommunicate request_size=4 [10:52:13]MH_SAM_APDU [10:52:13]CAPDU: 80 13 01 00 [10:52:13]Write to MH i2c: E2 08 00 17 05 80 13 01 00 00 00 00 00 99 [10:52:13]Write i2c OK [10:52:13]MH_I2C_Read... [10:52:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:13]Read from MH i2c: E2 [10:52:13]MH_I2C_Read... [10:52:13]Read from MH i2c: E2 0E 00 [10:52:13]MH_I2C_Read... [10:52:13]Read from MH i2c: E2 0E 00 17 05 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 40 [10:52:13]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:52:13]wFMCommunicate OK [10:52:13]SAM_PROTO_GetShiftState done [10:52:13]FM_GetShiftState done [10:52:13]opened in 1720917126 [10:52:13]opened+sec_in_day 1721003526 [10:52:13]quantity*price = 10000 [10:52:13]sum+1 = 10001 [10:52:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 100.00 НСП 1% : 0.88 НДС 12% : 10.62 Наличными: 100.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 59 14.07.2024 10:52 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57042 ФПД: 245244252754698 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T105214&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57042&fm=245244252754698&tin=02508201610067®Number=0000000000091208&sum=10000 0 [10:52:14]StoreToDocumentArchive [10:52:14]shift 496 fd 57042 [10:52:14]save to /storage/0496/doc_00057042 [10:52:14]save last doc name /storage/0496/doc_00057042 to /storage/kkm_last_doc_name [10:52:14]save OK [10:52:14]Clear old archive folders... [10:52:14]ProcessDocumentItem done err = 0, tmpTLVsize=293 [10:52:14]tlvbuf is 00FC78D0 [10:52:14]SAM_PROTO_ClearQueue [10:52:14]wFMCommunicate request_size=4 [10:52:14]MH_SAM_APDU [10:52:14]CAPDU: 80 09 00 00 [10:52:14]Write to MH i2c: E2 08 00 24 05 80 09 00 00 00 00 00 00 9B [10:52:14]Write i2c OK [10:52:14]MH_I2C_Read... [10:52:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [10:52:14]Read from MH i2c: E2 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 03 00 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 03 00 24 05 00 90 00 9D [10:52:14]RAPDU: 90 00 [10:52:14]wFMCommunicate OK [10:52:14]SAM_PROTO_ClearQueue done [10:52:14]KKMCreateOFDPacket [10:52:14]OFDProtocolAddRootSTLVToBuf [10:52:14]FM_MakeSignedData [10:52:14]FM_MakeSignedData [10:52:14]SAM_PROTO_SignData [10:52:14]wFMCommunicate request_size=4 [10:52:14]MH_SAM_APDU [10:52:14]CAPDU: 80 0D 01 02 [10:52:14]Write to MH i2c: E2 08 00 25 05 80 0D 01 02 00 00 00 00 A3 [10:52:14]Write i2c OK [10:52:14]MH_I2C_Read... [10:52:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [10:52:14]Read from MH i2c: E2 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 03 00 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 03 00 25 05 00 90 00 9E [10:52:14]RAPDU: 90 00 [10:52:14]wFMCommunicate OK [10:52:14]wFMCommunicate request_size=255 [10:52:14]MH_SAM_APDU [10:52:14]CAPDU: 80 0D 02 02 FA 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 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 DE AD 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [10:52:14]Write to MH i2c: E2 02 01 26 05 80 0D 02 02 FA 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 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 DE AD 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 0C [10:52:14]Write i2c OK [10:52:14]MH_I2C_Read... [10:52:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:14]Read from MH i2c: E2 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 03 00 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 03 00 26 05 00 90 00 9F [10:52:14]RAPDU: 90 00 [10:52:14]wFMCommunicate OK [10:52:14]wFMCommunicate request_size=52 [10:52:14]MH_SAM_APDU [10:52:14]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D2 DE 00 00 35 04 06 00 DF 0C 60 91 93 0A [10:52:14]Write to MH i2c: E2 37 00 27 05 80 0D 02 02 2F 00 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D2 DE 00 00 35 04 06 00 DF 0C 60 91 93 0A 00 00 94 [10:52:14]Write i2c OK [10:52:14]MH_I2C_Read... [10:52:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [10:52:14]Read from MH i2c: E2 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 03 00 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 03 00 27 05 00 90 00 A0 [10:52:14]RAPDU: 90 00 [10:52:14]wFMCommunicate OK [10:52:14]wFMCommunicate request_size=4 [10:52:14]MH_SAM_APDU [10:52:14]CAPDU: 80 0D 03 02 [10:52:14]Write to MH i2c: E2 08 00 28 05 80 0D 03 02 00 00 00 00 A8 [10:52:14]Write i2c OK [10:52:14]MH_I2C_Read... [10:52:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [10:52:14]Read from MH i2c: E2 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 0B 00 [10:52:14]MH_I2C_Read... [10:52:14]Read from MH i2c: E2 0B 00 28 05 00 F7 F7 86 79 38 A7 E6 83 90 00 DE [10:52:14]RAPDU: F7 F7 86 79 38 A7 E6 83 90 00 [10:52:14]wFMCommunicate OK [10:52:14]SAM_PROTO_SignData done [10:52:14]FM_MakeSignedData done [10:52:14]CreateOFDProtocolMessage [10:52:14]wFMCommunicate request_size=4 [10:52:14]MH_SAM_APDU [10:52:14]CAPDU: 80 11 00 00 [10:52:14]Write to MH i2c: E2 08 00 29 05 80 11 00 00 00 00 00 00 A8 [10:52:14]Write i2c OK [10:52:14]MH_I2C_Read... [10:52:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:15]Read from MH i2c: E2 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: E2 17 00 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: E2 17 00 29 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 02 [10:52:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:52:15]wFMCommunicate OK [10:52:15]CreateOFDProtocolMessage done [10:52:15]OFDSenderStorePacket 57042 [10:52:15]StoreOFDPacket docnum=57042 [10:52:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 C5 B0 31 01 0E D1 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 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 DE AD 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D2 DE 00 00 35 04 06 00 DF 0C 60 91 93 0A F7 F7 86 79 38 A7 E6 83 [10:52:15]CheckFolder [10:52:15]dirname=/storage/ofd_packets [10:52:15]CheckFolder done [10:52:15]ProducePacketName [10:52:15]name=ofd_packets/00057042 [10:52:15]NVStorageSaveData ofd_packets/00057042 [10:52:15]File name is /storage/ofd_packets/00057042 [10:52:15]Write 343 bytes [10:52:15]NVStorageSaveData done [10:52:15]OFDSenderStorePacket done [10:52:15]KKMCreateOFDPacket done [10:52:15]NVStorageSaveData kkm_last_timestamp [10:52:15]File name is /storage/kkm_last_timestamp [10:52:15]Write 4 bytes [10:52:15]NVStorageSaveData done [10:52:15]ExternCall_PrintAddStr [10:52:15]wPrintStart [10:52:15]Write to MH i2c: 01 00 00 2A 05 2F [10:52:15]Write i2c OK [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: 01 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: 01 07 00 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: 01 07 00 2A 05 00 00 00 00 00 FF 0F 44 [10:52:15]RasterBufferAndPrint [10:52:15]line Счет N : (3)129505 [10:52:15]line ИНН: 02508201610067 [10:52:15]line Контрольно-Кассовый Чек [10:52:15]line ПРОДАЖА [10:52:15]line Товар: 4870002326172 [10:52:15]line Вода ASU пит н.газ лимон ПЭТ 1л [10:52:15]line 1.000 * 100.00 [10:52:15]line = 100.00 [10:52:15]line НДС 12% НСП 1% [10:52:15]line > о реализуемом товаре [10:52:15]line ИТОГО: 100.00 [10:52:15]line НСП 1% : 0.88 [10:52:15]line НДС 12% : 10.62 [10:52:15]line Наличными: 100.00 [10:52:15]line Безнал.: 0.00 [10:52:15]line Место: АЗС № 132 "Партнер Нефть" [10:52:15]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [10:52:15]line СНО: Общий режим [10:52:15]line Чек 59 14.07.2024 10:52 [10:52:15]line Смена: 496 ФФД: 1.0 [10:52:15]line ЗНМ: 0300000132 [10:52:15]line РНМ: 0000000000091208 [10:52:15]line Версия ККМ: 001 [10:52:15]line ФМ: 0000000000874857 [10:52:15]line ФД: 57042 [10:52:15]line ФПД: 245244252754698 [10:52:15]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T105214&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57042&fm=245244252754698&tin=02508201610067®Number=0000000000091208&sum=10000 [10:52:15]OFD Sender: Processing packet 57042 [packets to send 38, broken 37] [10:52:15]ProducePacketName [10:52:15]name=ofd_packets/00057042 [10:52:15]OFD Sender: To server: pG, [10:52:15]CommunicateWithHost lk.salyk.kg:30040 [10:52:15]ConnectInit lk.salyk.kg [10:52:15]line 0 [10:52:15]written 0, free lines is 4095 [10:52:15]Connected sock=10 [10:52:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 C5 B0 31 01 0E D1 5A 03 01 00 03 00 25 01 1E 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 36 31 37 32 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 BB D0 B8 D0 BC D0 BE 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 10 27 00 00 00 00 13 04 06 00 10 27 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 27 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 58 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 26 04 00 00 00 00 07 04 06 00 10 27 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 DE AD 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D2 DE 00 00 35 04 06 00 DF 0C 60 91 93 0A F7 F7 86 79 38 A7 E6 83 [10:52:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 38 EE 47 00 EB 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D2 DE 00 00 F4 03 04 00 2F 54 93 66 B6 04 01 00 00 E6 A8 F0 F1 E6 5E 6D 73 [10:52:15]CommunicateWithHost err = 0 [10:52:15]CheckOFDResponse [10:52:15]1017 (14) - 77093643461234 [10:52:15]1041 (16) - 0000000000874857 [10:52:15]1040 (4) - 57042 [10:52:15]1012 (4) - 14.07.2024 04:29 [10:52:15]1206 (1) - 0 [10:52:15]OFD Sender: Remove packet 57042 [10:52:15]ProducePacketName [10:52:15]name=ofd_packets/00057042 [10:52:15]NVStorageDeleteData [10:52:15]Write to MH i2c: 01 00 00 53 05 58 [10:52:15]Write i2c OK [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: 01 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: 01 07 00 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: 01 07 00 53 05 00 00 00 00 00 EB 0C 56 [10:52:15]RasterBufferAndPrint [10:52:15]line [10:52:15]line [10:52:15]line [10:52:15]line [10:52:15]line [10:52:15]written 0, free lines is 3313 [10:52:15]MH_Cut [10:52:15]Write to MH i2c: D1 01 00 5A 05 01 31 [10:52:15]Write i2c OK [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: D1 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: D1 01 00 [10:52:15]MH_I2C_Read... [10:52:15]Read from MH i2c: D1 01 00 5A 05 00 30 [10:52:15]Write to MH i2c: 01 00 00 5B 05 60 [10:52:15]Write i2c OK [10:52:15]MH_I2C_Read... [10:52:16]OFD Sender: No OFD packet to send [10:52:16]*** Cut start [10:52:16]*** Partial cut [10:52:16]*** CUTSNS_PIN = 1 [10:52:16]*** CUTSNS_PIN = 0 [10:52:16]*** Brake cut motor [10:52:17]Read from MH i2c: 01 [10:52:17]MH_I2C_Read... [10:52:17]*** Stop cut motor [10:52:17]*** Cut end [10:52:17]Read from MH i2c: 01 07 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: 01 07 00 5B 05 00 00 00 00 00 FF 0F 75 [10:52:17]process_action close_receipt done [10:52:17]requested_data is exist [10:52:17]produce_requested_data [10:52:17]requested_item fm.sn is exist - process it [10:52:17]wFMCommunicate request_size=4 [10:52:17]MH_SAM_APDU [10:52:17]CAPDU: 80 11 00 00 [10:52:17]Write to MH i2c: E2 08 00 5C 05 80 11 00 00 00 00 00 00 DB [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [10:52:17]Read from MH i2c: E2 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 17 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 17 00 5C 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 35 [10:52:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [10:52:17]wFMCommunicate OK [10:52:17]requested_item fd.num is exist - process it [10:52:17]SAM_PROTO_GetFieldsCounters [10:52:17]wFMCommunicate request_size=4 [10:52:17]MH_SAM_APDU [10:52:17]CAPDU: 80 13 00 00 [10:52:17]Write to MH i2c: E2 08 00 5D 05 80 13 00 00 00 00 00 00 DE [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [10:52:17]Read from MH i2c: E2 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 62 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 62 00 5D 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D2 DE 00 00 0E 04 04 00 F0 01 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 53 [10:52:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D2 DE 00 00 0E 04 04 00 F0 01 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 [10:52:17]wFMCommunicate OK [10:52:17]SAM_PROTO_GetFieldsCounters done [10:52:17]requested_item shift.num is exist - process it [10:52:17]requested_item shift.opened is exist - process it [10:52:17]req_shift_opened [10:52:17]FM_GetShiftState [10:52:17]SAM_PROTO_GetShiftState [10:52:17]wFMCommunicate request_size=4 [10:52:17]MH_SAM_APDU [10:52:17]CAPDU: 80 13 01 00 [10:52:17]Write to MH i2c: E2 08 00 5E 05 80 13 01 00 00 00 00 00 E0 [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [10:52:17]Read from MH i2c: E2 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 0E 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 0E 00 5E 05 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 87 [10:52:17]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [10:52:17]wFMCommunicate OK [10:52:17]SAM_PROTO_GetShiftState done [10:52:17]FM_GetShiftState done [10:52:17]req_shift_opened done [10:52:17]requested_item shift.open_date is exist - process it [10:52:17]req_shift_open_date [10:52:17]req_shift_open_date done [10:52:17]requested_item shift.sale.total is exist - process it [10:52:17]SAM_PROTO_GetShiftData [10:52:17]wFMCommunicate request_size=4 [10:52:17]MH_SAM_APDU [10:52:17]CAPDU: 80 13 02 00 [10:52:17]Write to MH i2c: E2 08 00 5F 05 80 13 02 00 00 00 00 00 E2 [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [10:52:17]Read from MH i2c: E2 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 FD 00 [10:52:17]MH_I2C_Read... [10:52:17]Read from MH i2c: E2 FD 00 5F 05 00 BB 04 AA 04 B7 04 6E 04 04 00 3B 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 30 33 24 70 04 03 00 44 43 1E 72 04 03 00 EC EF 05 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 D8 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FC 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 2E [10:52:17]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 3B 00 00 00 69 04 9B 00 6F 04 04 00 39 00 00 00 B1 04 03 00 30 33 24 70 04 03 00 44 43 1E 72 04 03 00 EC EF 05 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 D8 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FC 51 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [10:52:17]wFMCommunicate OK [10:52:17]wFMCommunicate request_size=4 [10:52:17]MH_SAM_APDU [10:52:17]CAPDU: 80 17 00 00 [10:52:17]Write to MH i2c: E2 08 00 60 05 80 17 00 00 00 00 00 00 E5 [10:52:17]Write i2c OK [10:52:17]MH_I2C_Read... [10:52:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:52:18]Read from MH i2c: E2 [10:52:18]MH_I2C_Read... [10:52:18]Read from MH i2c: E2 FD 00 [10:52:18]MH_I2C_Read... [10:52:18]Read from MH i2c: E2 FD 00 60 05 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 78 [10:52:18]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:52:18]wFMCommunicate OK [10:52:18]wFMCommunicate request_size=4 [10:52:18]MH_SAM_APDU [10:52:18]CAPDU: 80 17 00 00 [10:52:18]Write to MH i2c: E2 08 00 61 05 80 17 00 00 00 00 00 00 E6 [10:52:18]Write i2c OK [10:52:18]MH_I2C_Read... [10:52:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:52:18]Read from MH i2c: E2 [10:52:18]MH_I2C_Read... [10:52:18]Read from MH i2c: E2 FD 00 [10:52:18]MH_I2C_Read... [10:52:18]Read from MH i2c: E2 FD 00 61 05 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 12 [10:52:18]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [10:52:18]wFMCommunicate OK [10:52:18]wFMCommunicate request_size=4 [10:52:18]MH_SAM_APDU [10:52:18]CAPDU: 80 17 00 00 [10:52:18]Write to MH i2c: E2 08 00 62 05 80 17 00 00 00 00 00 00 E7 [10:52:18]Write i2c OK [10:52:18]MH_I2C_Read... [10:52:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [10:52:18]Read from MH i2c: E2 [10:52:18]MH_I2C_Read... [10:52:18]Read from MH i2c: E2 FD 00 [10:52:18]MH_I2C_Read... [10:52:18]Read from MH i2c: E2 FD 00 62 05 00 00 00 EF 03 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 90 00 5C [10:52:18]RAPDU: 00 00 EF 03 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 90 00 [10:52:18]wFMCommunicate OK [10:52:18]wFMCommunicate request_size=4 [10:52:18]MH_SAM_APDU [10:52:18]CAPDU: 80 17 00 00 [10:52:18]Write to MH i2c: E2 08 00 63 05 80 17 00 00 00 00 00 00 E8 [10:52:18]Write i2c OK [10:52:18]MH_I2C_Read... [10:52:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [10:52:19]Read from MH i2c: E2 [10:52:19]MH_I2C_Read... [10:52:19]Read from MH i2c: E2 D8 00 [10:52:19]MH_I2C_Read... [10:52:19]Read from MH i2c: E2 D8 00 63 05 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 CF [10:52:19]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [10:52:19]wFMCommunicate OK [10:52:19]SAM_PROTO_GetShiftData done [10:52:19]requested_item shift.sale.total_cash is exist - process it [10:52:19]requested_item shift.sale_refund.total is exist - process it [10:52:19]requested_item shift.sale_refund.total_cash is exist - process it [10:52:19]produce_requested_data done [10:52:19]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57042,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":23724.00,"shift.sale.total_cash":19833.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [10:52:19]process_action_free close_receipt [10:52:19]json_value_free [10:52:19]json_value_free done [10:52:19]process_json_proto returns [10:52:19]Send response to host [10:52:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57042,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":23724.00,"shift.sale.total_cash":19833.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [10:52:19]free response buf [10:52:19]execute_script done [10:52:19]execute_script returns [10:52:19]free content buf [10:52:19]Sock 9.Close socket [10:52:19]Sock 9.Thread stoped [10:52:21]OFD Sender: No OFD packet to send [10:52:26]OFD Sender: No OFD packet to send [10:52:31]OFD Sender: No OFD packet to send [10:52:36]OFD Sender: No OFD packet to send [10:52:41]OFD Sender: No OFD packet to send [10:52:46]OFD Sender: No OFD packet to send [10:52:51]OFD Sender: No OFD packet to send [10:52:56]OFD Sender: No OFD packet to send [10:53:01]OFD Sender: No OFD packet to send [10:53:06]OFD Sender: No OFD packet to send [10:53:11]OFD Sender: No OFD packet to send [10:53:16]OFD Sender: No OFD packet to send [10:53:21]OFD Sender: No OFD packet to send [10:53:26]OFD Sender: No OFD packet to send [10:53:31]OFD Sender: No OFD packet to send [10:53:36]OFD Sender: No OFD packet to send [10:53:41]OFD Sender: No OFD packet to send [10:53:46]OFD Sender: No OFD packet to send [10:53:51]OFD Sender: No OFD packet to send [10:53:56]OFD Sender: No OFD packet to send [10:54:01]OFD Sender: No OFD packet to send [10:54:06]OFD Sender: No OFD packet to send [10:54:11]OFD Sender: No OFD packet to send [10:54:16]OFD Sender: No OFD packet to send [10:54:21]OFD Sender: No OFD packet to send [10:54:26]OFD Sender: No OFD packet to send [10:54:31]OFD Sender: No OFD packet to send [10:54:36]OFD Sender: No OFD packet to send [10:54:41]OFD Sender: No OFD packet to send [10:54:46]OFD Sender: No OFD packet to send [10:54:51]OFD Sender: No OFD packet to send [10:54:56]OFD Sender: No OFD packet to send [10:55:01]OFD Sender: No OFD packet to send [10:55:06]OFD Sender: No OFD packet to send [10:55:11]OFD Sender: No OFD packet to send [10:55:16]OFD Sender: No OFD packet to send [10:55:21]OFD Sender: No OFD packet to send [10:55:26]OFD Sender: No OFD packet to send [10:55:31]OFD Sender: No OFD packet to send [10:55:36]OFD Sender: No OFD packet to send [10:55:41]OFD Sender: No OFD packet to send [10:55:46]OFD Sender: No OFD packet to send [10:55:51]OFD Sender: No OFD packet to send [10:55:56]OFD Sender: No OFD packet to send [10:56:01]OFD Sender: No OFD packet to send [10:56:06]OFD Sender: No OFD packet to send [10:56:11]OFD Sender: No OFD packet to send [10:56:16]OFD Sender: No OFD packet to send [10:56:21]OFD Sender: No OFD packet to send [10:56:26]OFD Sender: No OFD packet to send [10:56:31]OFD Sender: No OFD packet to send [10:56:36]OFD Sender: No OFD packet to send [10:56:41]OFD Sender: No OFD packet to send [10:56:46]OFD Sender: No OFD packet to send [10:56:51]OFD Sender: No OFD packet to send [10:56:56]OFD Sender: No OFD packet to send [10:57:01]OFD Sender: No OFD packet to send [10:57:06]OFD Sender: No OFD packet to send [10:57:11]OFD Sender: No OFD packet to send [10:57:16]OFD Sender: No OFD packet to send [10:57:21]OFD Sender: No OFD packet to send [10:57:26]OFD Sender: No OFD packet to send [10:57:31]OFD Sender: No OFD packet to send [10:57:36]OFD Sender: No OFD packet to send [10:57:41]OFD Sender: No OFD packet to send [10:57:46]OFD Sender: No OFD packet to send [10:57:51]OFD Sender: No OFD packet to send [10:57:56]OFD Sender: No OFD packet to send [10:58:01]OFD Sender: No OFD packet to send [10:58:06]OFD Sender: No OFD packet to send [10:58:11]OFD Sender: No OFD packet to send [10:58:16]OFD Sender: No OFD packet to send [10:58:21]OFD Sender: No OFD packet to send [10:58:26]OFD Sender: No OFD packet to send [10:58:31]OFD Sender: No OFD packet to send [10:58:36]OFD Sender: No OFD packet to send [10:58:41]OFD Sender: No OFD packet to send [10:58:46]OFD Sender: No OFD packet to send [10:58:51]OFD Sender: No OFD packet to send [10:58:56]OFD Sender: No OFD packet to send [10:59:01]OFD Sender: No OFD packet to send [10:59:06]OFD Sender: No OFD packet to send [10:59:11]OFD Sender: No OFD packet to send [10:59:16]OFD Sender: No OFD packet to send [10:59:21]OFD Sender: No OFD packet to send [10:59:26]OFD Sender: No OFD packet to send [10:59:31]OFD Sender: No OFD packet to send [10:59:36]OFD Sender: No OFD packet to send [10:59:41]OFD Sender: No OFD packet to send [10:59:46]OFD Sender: No OFD packet to send [10:59:51]OFD Sender: No OFD packet to send [10:59:56]OFD Sender: No OFD packet to send [11:00:01]OFD Sender: No OFD packet to send [11:00:06]OFD Sender: No OFD packet to send [11:00:11]OFD Sender: No OFD packet to send [11:00:16]OFD Sender: No OFD packet to send [11:00:21]OFD Sender: No OFD packet to send [11:00:26]OFD Sender: No OFD packet to send [11:00:31]OFD Sender: No OFD packet to send [11:00:36]OFD Sender: No OFD packet to send [11:00:41]OFD Sender: No OFD packet to send [11:00:46]OFD Sender: No OFD packet to send [11:00:51]OFD Sender: No OFD packet to send [11:00:56]OFD Sender: No OFD packet to send [11:01:01]OFD Sender: No OFD packet to send [11:01:06]OFD Sender: No OFD packet to send [11:01:11]OFD Sender: No OFD packet to send [11:01:16]OFD Sender: No OFD packet to send [11:01:21]OFD Sender: No OFD packet to send [11:01:26]OFD Sender: No OFD packet to send [11:01:31]OFD Sender: No OFD packet to send [11:01:36]OFD Sender: No OFD packet to send [11:01:41]OFD Sender: No OFD packet to send [11:01:46]OFD Sender: No OFD packet to send [11:01:51]OFD Sender: No OFD packet to send [11:01:56]OFD Sender: No OFD packet to send [11:02:01]OFD Sender: No OFD packet to send [11:02:06]OFD Sender: No OFD packet to send [11:02:11]OFD Sender: No OFD packet to send [11:02:16]OFD Sender: No OFD packet to send [11:02:21]OFD Sender: No OFD packet to send [11:02:26]OFD Sender: No OFD packet to send [11:02:31]OFD Sender: No OFD packet to send [11:02:36]OFD Sender: No OFD packet to send [11:02:41]OFD Sender: No OFD packet to send [11:02:46]OFD Sender: No OFD packet to send [11:02:51]OFD Sender: No OFD packet to send [11:02:56]OFD Sender: No OFD packet to send [11:03:01]OFD Sender: No OFD packet to send [11:03:06]OFD Sender: No OFD packet to send [11:03:11]OFD Sender: No OFD packet to send [11:03:16]OFD Sender: No OFD packet to send [11:03:21]OFD Sender: No OFD packet to send [11:03:26]OFD Sender: No OFD packet to send [11:03:31]OFD Sender: No OFD packet to send [11:03:36]OFD Sender: No OFD packet to send [11:03:41]OFD Sender: No OFD packet to send [11:03:46]OFD Sender: No OFD packet to send [11:03:51]OFD Sender: No OFD packet to send [11:03:56]OFD Sender: No OFD packet to send [11:04:01]OFD Sender: No OFD packet to send [11:04:06]OFD Sender: No OFD packet to send [11:04:11]OFD Sender: No OFD packet to send [11:04:16]OFD Sender: No OFD packet to send [11:04:21]OFD Sender: No OFD packet to send [11:04:26]OFD Sender: No OFD packet to send [11:04:31]OFD Sender: No OFD packet to send [11:04:36]OFD Sender: No OFD packet to send [11:04:41]OFD Sender: No OFD packet to send [11:04:46]OFD Sender: No OFD packet to send [11:04:51]OFD Sender: No OFD packet to send [11:04:56]OFD Sender: No OFD packet to send [11:05:01]OFD Sender: No OFD packet to send [11:05:06]OFD Sender: No OFD packet to send [11:05:11]OFD Sender: No OFD packet to send [11:05:16]OFD Sender: No OFD packet to send [11:05:21]OFD Sender: No OFD packet to send [11:05:26]OFD Sender: No OFD packet to send [11:05:31]OFD Sender: No OFD packet to send [11:05:37]OFD Sender: No OFD packet to send [11:05:42]OFD Sender: No OFD packet to send [11:05:47]OFD Sender: No OFD packet to send [11:05:52]OFD Sender: No OFD packet to send [11:05:57]OFD Sender: No OFD packet to send [11:06:02]OFD Sender: No OFD packet to send [11:06:07]OFD Sender: No OFD packet to send [11:06:12]OFD Sender: No OFD packet to send [11:06:17]OFD Sender: No OFD packet to send [11:06:22]OFD Sender: No OFD packet to send [11:06:27]OFD Sender: No OFD packet to send [11:06:32]OFD Sender: No OFD packet to send [11:06:37]OFD Sender: No OFD packet to send [11:06:42]OFD Sender: No OFD packet to send [11:06:47]OFD Sender: No OFD packet to send [11:06:52]OFD Sender: No OFD packet to send [11:06:57]OFD Sender: No OFD packet to send [11:07:02]OFD Sender: No OFD packet to send [11:07:07]OFD Sender: No OFD packet to send [11:07:12]OFD Sender: No OFD packet to send [11:07:17]OFD Sender: No OFD packet to send [11:07:22]OFD Sender: No OFD packet to send [11:07:27]OFD Sender: No OFD packet to send [11:07:32]OFD Sender: No OFD packet to send [11:07:37]OFD Sender: No OFD packet to send [11:07:42]OFD Sender: No OFD packet to send [11:07:47]OFD Sender: No OFD packet to send [11:07:52]OFD Sender: No OFD packet to send [11:07:57]OFD Sender: No OFD packet to send [11:08:02]OFD Sender: No OFD packet to send [11:08:07]OFD Sender: No OFD packet to send [11:08:12]OFD Sender: No OFD packet to send [11:08:17]OFD Sender: No OFD packet to send [11:08:22]OFD Sender: No OFD packet to send [11:08:27]OFD Sender: No OFD packet to send [11:08:32]OFD Sender: No OFD packet to send [11:08:37]OFD Sender: No OFD packet to send [11:08:42]OFD Sender: No OFD packet to send [11:08:47]OFD Sender: No OFD packet to send [11:08:52]OFD Sender: No OFD packet to send [11:08:57]OFD Sender: No OFD packet to send [11:09:02]OFD Sender: No OFD packet to send [11:09:07]OFD Sender: No OFD packet to send [11:09:12]OFD Sender: No OFD packet to send [11:09:17]OFD Sender: No OFD packet to send [11:09:22]OFD Sender: No OFD packet to send [11:09:27]OFD Sender: No OFD packet to send [11:09:32]OFD Sender: No OFD packet to send [11:09:37]OFD Sender: No OFD packet to send [11:09:42]OFD Sender: No OFD packet to send [11:09:47]OFD Sender: No OFD packet to send [11:09:52]OFD Sender: No OFD packet to send [11:09:57]OFD Sender: No OFD packet to send [11:10:02]OFD Sender: No OFD packet to send [11:10:07]OFD Sender: No OFD packet to send [11:10:12]OFD Sender: No OFD packet to send [11:10:17]OFD Sender: No OFD packet to send [11:10:22]OFD Sender: No OFD packet to send [11:10:27]OFD Sender: No OFD packet to send [11:10:32]OFD Sender: No OFD packet to send [11:10:37]OFD Sender: No OFD packet to send [11:10:42]OFD Sender: No OFD packet to send [11:10:47]OFD Sender: No OFD packet to send [11:10:52]OFD Sender: No OFD packet to send [11:10:57]OFD Sender: No OFD packet to send [11:11:02]OFD Sender: No OFD packet to send [11:11:07]OFD Sender: No OFD packet to send [11:11:12]OFD Sender: No OFD packet to send [11:11:17]OFD Sender: No OFD packet to send [11:11:22]OFD Sender: No OFD packet to send [11:11:27]OFD Sender: No OFD packet to send [11:11:32]OFD Sender: No OFD packet to send [11:11:37]OFD Sender: No OFD packet to send [11:11:42]OFD Sender: No OFD packet to send [11:11:47]OFD Sender: No OFD packet to send [11:11:52]OFD Sender: No OFD packet to send [11:11:57]OFD Sender: No OFD packet to send [11:12:02]OFD Sender: No OFD packet to send [11:12:07]OFD Sender: No OFD packet to send [11:12:12]OFD Sender: No OFD packet to send [11:12:17]OFD Sender: No OFD packet to send [11:12:22]OFD Sender: No OFD packet to send [11:12:27]OFD Sender: No OFD packet to send [11:12:32]OFD Sender: No OFD packet to send [11:12:37]OFD Sender: No OFD packet to send [11:12:42]OFD Sender: No OFD packet to send [11:12:47]OFD Sender: No OFD packet to send [11:12:52]OFD Sender: No OFD packet to send [11:12:57]OFD Sender: No OFD packet to send [11:13:02]OFD Sender: No OFD packet to send [11:13:07]OFD Sender: No OFD packet to send [11:13:12]OFD Sender: No OFD packet to send [11:13:17]OFD Sender: No OFD packet to send [11:13:22]OFD Sender: No OFD packet to send [11:13:27]OFD Sender: No OFD packet to send [11:13:32]OFD Sender: No OFD packet to send [11:13:37]OFD Sender: No OFD packet to send [11:13:42]OFD Sender: No OFD packet to send [11:13:47]OFD Sender: No OFD packet to send [11:13:52]OFD Sender: No OFD packet to send [11:13:57]OFD Sender: No OFD packet to send [11:14:02]OFD Sender: No OFD packet to send [11:14:07]OFD Sender: No OFD packet to send [11:14:12]OFD Sender: No OFD packet to send [11:14:17]OFD Sender: No OFD packet to send [11:14:22]OFD Sender: No OFD packet to send [11:14:27]OFD Sender: No OFD packet to send [11:14:32]OFD Sender: No OFD packet to send [11:14:37]OFD Sender: No OFD packet to send [11:14:42]OFD Sender: No OFD packet to send [11:14:47]OFD Sender: No OFD packet to send [11:14:52]OFD Sender: No OFD packet to send [11:14:57]OFD Sender: No OFD packet to send [11:15:02]OFD Sender: No OFD packet to send [11:15:07]OFD Sender: No OFD packet to send [11:15:12]OFD Sender: No OFD packet to send [11:15:17]OFD Sender: No OFD packet to send [11:15:22]OFD Sender: No OFD packet to send [11:15:27]OFD Sender: No OFD packet to send [11:15:32]OFD Sender: No OFD packet to send [11:15:37]OFD Sender: No OFD packet to send [11:15:42]OFD Sender: No OFD packet to send [11:15:47]OFD Sender: No OFD packet to send [11:15:52]OFD Sender: No OFD packet to send [11:15:57]OFD Sender: No OFD packet to send [11:16:02]OFD Sender: No OFD packet to send [11:16:07]OFD Sender: No OFD packet to send [11:16:12]OFD Sender: No OFD packet to send [11:16:17]OFD Sender: No OFD packet to send [11:16:22]OFD Sender: No OFD packet to send [11:16:27]OFD Sender: No OFD packet to send [11:16:32]OFD Sender: No OFD packet to send [11:16:37]OFD Sender: No OFD packet to send [11:16:42]OFD Sender: No OFD packet to send [11:16:47]OFD Sender: No OFD packet to send [11:16:52]OFD Sender: No OFD packet to send [11:16:57]OFD Sender: No OFD packet to send [11:17:02]OFD Sender: No OFD packet to send [11:17:07]OFD Sender: No OFD packet to send [11:17:12]OFD Sender: No OFD packet to send [11:17:17]OFD Sender: No OFD packet to send [11:17:22]OFD Sender: No OFD packet to send [11:17:27]OFD Sender: No OFD packet to send [11:17:32]OFD Sender: No OFD packet to send [11:17:37]OFD Sender: No OFD packet to send [11:17:42]OFD Sender: No OFD packet to send [11:17:47]OFD Sender: No OFD packet to send [11:17:52]OFD Sender: No OFD packet to send [11:17:57]OFD Sender: No OFD packet to send [11:18:02]OFD Sender: No OFD packet to send [11:18:07]OFD Sender: No OFD packet to send [11:18:12]OFD Sender: No OFD packet to send [11:18:17]OFD Sender: No OFD packet to send [11:18:22]OFD Sender: No OFD packet to send [11:18:27]OFD Sender: No OFD packet to send [11:18:32]OFD Sender: No OFD packet to send [11:18:37]OFD Sender: No OFD packet to send [11:18:42]OFD Sender: No OFD packet to send [11:18:47]OFD Sender: No OFD packet to send [11:18:52]OFD Sender: No OFD packet to send [11:18:57]OFD Sender: No OFD packet to send [11:19:02]OFD Sender: No OFD packet to send [11:19:07]OFD Sender: No OFD packet to send [11:19:12]OFD Sender: No OFD packet to send [11:19:17]OFD Sender: No OFD packet to send [11:19:22]OFD Sender: No OFD packet to send [11:19:27]OFD Sender: No OFD packet to send [11:19:32]OFD Sender: No OFD packet to send [11:19:37]OFD Sender: No OFD packet to send [11:19:42]OFD Sender: No OFD packet to send [11:19:47]OFD Sender: No OFD packet to send [11:19:52]OFD Sender: No OFD packet to send [11:19:57]OFD Sender: No OFD packet to send [11:20:02]OFD Sender: No OFD packet to send [11:20:07]OFD Sender: No OFD packet to send [11:20:12]OFD Sender: No OFD packet to send [11:20:17]OFD Sender: No OFD packet to send [11:20:22]OFD Sender: No OFD packet to send [11:20:27]OFD Sender: No OFD packet to send [11:20:32]OFD Sender: No OFD packet to send [11:20:37]OFD Sender: No OFD packet to send [11:20:42]OFD Sender: No OFD packet to send [11:20:47]OFD Sender: No OFD packet to send [11:20:52]OFD Sender: No OFD packet to send [11:20:57]OFD Sender: No OFD packet to send [11:21:02]OFD Sender: No OFD packet to send [11:21:07]OFD Sender: No OFD packet to send [11:21:12]OFD Sender: No OFD packet to send [11:21:17]OFD Sender: No OFD packet to send [11:21:22]OFD Sender: No OFD packet to send [11:21:27]OFD Sender: No OFD packet to send [11:21:32]OFD Sender: No OFD packet to send [11:21:37]OFD Sender: No OFD packet to send [11:21:42]OFD Sender: No OFD packet to send [11:21:47]OFD Sender: No OFD packet to send [11:21:52]OFD Sender: No OFD packet to send [11:21:57]OFD Sender: No OFD packet to send [11:22:02]OFD Sender: No OFD packet to send [11:22:07]OFD Sender: No OFD packet to send [11:22:12]OFD Sender: No OFD packet to send [11:22:17]OFD Sender: No OFD packet to send [11:22:22]OFD Sender: No OFD packet to send [11:22:27]OFD Sender: No OFD packet to send [11:22:32]OFD Sender: No OFD packet to send [11:22:37]OFD Sender: No OFD packet to send [11:22:42]OFD Sender: No OFD packet to send [11:22:47]OFD Sender: No OFD packet to send [11:22:52]OFD Sender: No OFD packet to send [11:22:57]OFD Sender: No OFD packet to send [11:23:02]OFD Sender: No OFD packet to send [11:23:07]OFD Sender: No OFD packet to send [11:23:12]OFD Sender: No OFD packet to send [11:23:17]OFD Sender: No OFD packet to send [11:23:22]OFD Sender: No OFD packet to send [11:23:27]OFD Sender: No OFD packet to send [11:23:32]OFD Sender: No OFD packet to send [11:23:37]OFD Sender: No OFD packet to send [11:23:42]OFD Sender: No OFD packet to send [11:23:47]OFD Sender: No OFD packet to send [11:23:52]OFD Sender: No OFD packet to send [11:23:57]OFD Sender: No OFD packet to send [11:24:02]OFD Sender: No OFD packet to send [11:24:07]OFD Sender: No OFD packet to send [11:24:12]OFD Sender: No OFD packet to send [11:24:17]OFD Sender: No OFD packet to send [11:24:22]OFD Sender: No OFD packet to send [11:24:27]OFD Sender: No OFD packet to send [11:24:32]OFD Sender: No OFD packet to send [11:24:38]OFD Sender: No OFD packet to send [11:24:43]OFD Sender: No OFD packet to send [11:24:48]OFD Sender: No OFD packet to send [11:24:53]OFD Sender: No OFD packet to send [11:24:58]OFD Sender: No OFD packet to send [11:25:03]OFD Sender: No OFD packet to send [11:25:08]OFD Sender: No OFD packet to send [11:25:13]OFD Sender: No OFD packet to send [11:25:18]OFD Sender: No OFD packet to send [11:25:23]OFD Sender: No OFD packet to send [11:25:28]OFD Sender: No OFD packet to send [11:25:33]OFD Sender: No OFD packet to send [11:25:38]OFD Sender: No OFD packet to send [11:25:43]OFD Sender: No OFD packet to send [11:25:48]OFD Sender: No OFD packet to send [11:25:53]OFD Sender: No OFD packet to send [11:25:58]OFD Sender: No OFD packet to send [11:26:03]OFD Sender: No OFD packet to send [11:26:08]OFD Sender: No OFD packet to send [11:26:13]OFD Sender: No OFD packet to send [11:26:18]OFD Sender: No OFD packet to send [11:26:23]OFD Sender: No OFD packet to send [11:26:28]OFD Sender: No OFD packet to send [11:26:33]OFD Sender: No OFD packet to send [11:26:38]OFD Sender: No OFD packet to send [11:26:43]OFD Sender: No OFD packet to send [11:26:48]OFD Sender: No OFD packet to send [11:26:53]OFD Sender: No OFD packet to send [11:26:58]OFD Sender: No OFD packet to send [11:27:03]OFD Sender: No OFD packet to send [11:27:08]OFD Sender: No OFD packet to send [11:27:13]OFD Sender: No OFD packet to send [11:27:18]OFD Sender: No OFD packet to send [11:27:23]OFD Sender: No OFD packet to send [11:27:28]OFD Sender: No OFD packet to send [11:27:33]OFD Sender: No OFD packet to send [11:27:38]OFD Sender: No OFD packet to send [11:27:43]OFD Sender: No OFD packet to send [11:27:48]OFD Sender: No OFD packet to send [11:27:53]OFD Sender: No OFD packet to send [11:27:58]OFD Sender: No OFD packet to send [11:28:03]OFD Sender: No OFD packet to send [11:28:08]OFD Sender: No OFD packet to send [11:28:13]OFD Sender: No OFD packet to send [11:28:18]OFD Sender: No OFD packet to send [11:28:23]OFD Sender: No OFD packet to send [11:28:28]OFD Sender: No OFD packet to send [11:28:33]OFD Sender: No OFD packet to send [11:28:38]OFD Sender: No OFD packet to send [11:28:43]OFD Sender: No OFD packet to send [11:28:48]OFD Sender: No OFD packet to send [11:28:53]OFD Sender: No OFD packet to send [11:28:58]OFD Sender: No OFD packet to send [11:29:03]OFD Sender: No OFD packet to send [11:29:08]OFD Sender: No OFD packet to send [11:29:13]OFD Sender: No OFD packet to send [11:29:18]OFD Sender: No OFD packet to send [11:29:23]OFD Sender: No OFD packet to send [11:29:28]OFD Sender: No OFD packet to send [11:29:33]OFD Sender: No OFD packet to send [11:29:38]OFD Sender: No OFD packet to send [11:29:43]OFD Sender: No OFD packet to send [11:29:48]OFD Sender: No OFD packet to send [11:29:53]OFD Sender: No OFD packet to send [11:29:58]OFD Sender: No OFD packet to send [11:30:03]OFD Sender: No OFD packet to send [11:30:08]OFD Sender: No OFD packet to send [11:30:13]OFD Sender: No OFD packet to send [11:30:18]OFD Sender: No OFD packet to send [11:30:23]OFD Sender: No OFD packet to send [11:30:28]OFD Sender: No OFD packet to send [11:30:33]OFD Sender: No OFD packet to send [11:30:38]OFD Sender: No OFD packet to send [11:30:43]OFD Sender: No OFD packet to send [11:30:48]OFD Sender: No OFD packet to send [11:30:53]OFD Sender: No OFD packet to send [11:30:58]OFD Sender: No OFD packet to send [11:31:03]OFD Sender: No OFD packet to send [11:31:08]OFD Sender: No OFD packet to send [11:31:10]accept exits with 7 [11:31:10]New connection [11:31:10]New thread 3067448676 created [11:31:10]Thread 3067592036 joined [11:31:10]Waiting for new connection... [11:31:10] Sock 7.Parse request [11:31:10]Sock 7.Check first char [11:31:10]Sock 7.First char is OK [11:31:10]request: POST /json_proto HTTP/1.0 [11:31:10]Method: POST [11:31:10]URL: /json_proto [11:31:10]Method is POST - this is cgi request [11:31:10]url: /json_proto [11:31:10]query_string will be loaded in cgi processing [11:31:10]execute_cgi json_proto POST (null) [11:31:10]execute_cgi path=json_proto method=POST [11:31:10]POST find Content-Length [11:31:10]Host: 172.17.39.4:8080 [11:31:10]Content-Length: 758 [11:31:10]Content-Type: application/json [11:31:10] [11:31:10]POST finish read [11:31:10]Found Content-Length = 758 [11:31:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129506", "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" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:31:10]execute_script... [11:31: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)129506", "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" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:31:10]POST & json_proto [11:31:10]process_json_proto [11:31:10]json parsed OK: [11:31:10]protocol is kg_v1.0 [11:31:10]action value=close_receipt [11:31:10]process_action close_receipt [11:31:10]cmd_close_receipt [11:31:10]MH_GetDate [11:31:10]Write to MH i2c: F0 00 00 64 05 58 [11:31:10]Write i2c OK [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: F0 [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: F0 09 00 [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: F0 09 00 64 05 00 FF B6 93 66 2D 25 5D 64 22 [11:31:10]GetLastDocTimeStamp 1720954334 [11:31:10]current date 1720956671 [11:31:10]FM_GetShiftState [11:31:10]SAM_PROTO_GetShiftState [11:31:10]wFMCommunicate request_size=4 [11:31:10]MH_SAM_APDU [11:31:10]CAPDU: 80 13 01 00 [11:31:10]Write to MH i2c: E2 08 00 65 05 80 13 01 00 00 00 00 00 E7 [11:31:10]Write i2c OK [11:31:10]MH_I2C_Read... [11:31:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:31:10]Read from MH i2c: E2 [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: E2 0E 00 [11:31:10]MH_I2C_Read... [11:31:10]Read from MH i2c: E2 0E 00 65 05 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 8E [11:31:10]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:31:10]wFMCommunicate OK [11:31:10]SAM_PROTO_GetShiftState done [11:31:10]FM_GetShiftState done [11:31:10]opened in 1720917126 [11:31:10]opened+sec_in_day 1721003526 [11:31:10]quantity*price = 9500 [11:31:10]sum+1 = 9501 [11:31:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 60 14.07.2024 11:31 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57043 ФПД: 3200895622188 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113111&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57043&fm=3200895622188&tin=02508201610067®Number=0000000000091208&sum=9500 0 [11:31:11]StoreToDocumentArchive [11:31:11]shift 496 fd 57043 [11:31:11]save to /storage/0496/doc_00057043 [11:31:11]save last doc name /storage/0496/doc_00057043 to /storage/kkm_last_doc_name [11:31:11]save OK [11:31:11]Clear old archive folders... [11:31:11]ProcessDocumentItem done err = 0, tmpTLVsize=293 [11:31:11]tlvbuf is 00FC6D40 [11:31:11]SAM_PROTO_ClearQueue [11:31:11]wFMCommunicate request_size=4 [11:31:11]MH_SAM_APDU [11:31:11]CAPDU: 80 09 00 00 [11:31:11]Write to MH i2c: E2 08 00 72 05 80 09 00 00 00 00 00 00 E9 [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:31:11]Read from MH i2c: E2 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 03 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 03 00 72 05 00 90 00 EB [11:31:11]RAPDU: 90 00 [11:31:11]wFMCommunicate OK [11:31:11]SAM_PROTO_ClearQueue done [11:31:11]KKMCreateOFDPacket [11:31:11]OFDProtocolAddRootSTLVToBuf [11:31:11]FM_MakeSignedData [11:31:11]FM_MakeSignedData [11:31:11]SAM_PROTO_SignData [11:31:11]wFMCommunicate request_size=4 [11:31:11]MH_SAM_APDU [11:31:11]CAPDU: 80 0D 01 02 [11:31:11]Write to MH i2c: E2 08 00 73 05 80 0D 01 02 00 00 00 00 F1 [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:31:11]Read from MH i2c: E2 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 03 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 03 00 73 05 00 90 00 EC [11:31:11]RAPDU: 90 00 [11:31:11]wFMCommunicate OK [11:31:11]wFMCommunicate request_size=255 [11:31:11]MH_SAM_APDU [11:31:11]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 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 3C 00 00 00 F4 03 04 00 FF B6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [11:31:11]Write to MH i2c: E2 02 01 74 05 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 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 3C 00 00 00 F4 03 04 00 FF B6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 6C [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:31:11]Read from MH i2c: E2 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 03 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 03 00 74 05 00 90 00 ED [11:31:11]RAPDU: 90 00 [11:31:11]wFMCommunicate OK [11:31:11]wFMCommunicate request_size=52 [11:31:11]MH_SAM_APDU [11:31:11]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D3 DE 00 00 35 04 06 00 02 E9 44 3F 1C 2C [11:31:11]Write to MH i2c: E2 37 00 75 05 80 0D 02 02 2F 00 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D3 DE 00 00 35 04 06 00 02 E9 44 3F 1C 2C 00 00 20 [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:31:11]Read from MH i2c: E2 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 03 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 03 00 75 05 00 90 00 EE [11:31:11]RAPDU: 90 00 [11:31:11]wFMCommunicate OK [11:31:11]wFMCommunicate request_size=4 [11:31:11]MH_SAM_APDU [11:31:11]CAPDU: 80 0D 03 02 [11:31:11]Write to MH i2c: E2 08 00 76 05 80 0D 03 02 00 00 00 00 F6 [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:31:11]Read from MH i2c: E2 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 0B 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 0B 00 76 05 00 07 85 F8 BD 20 24 34 01 90 00 B1 [11:31:11]RAPDU: 07 85 F8 BD 20 24 34 01 90 00 [11:31:11]wFMCommunicate OK [11:31:11]SAM_PROTO_SignData done [11:31:11]FM_MakeSignedData done [11:31:11]CreateOFDProtocolMessage [11:31:11]wFMCommunicate request_size=4 [11:31:11]MH_SAM_APDU [11:31:11]CAPDU: 80 11 00 00 [11:31:11]Write to MH i2c: E2 08 00 77 05 80 11 00 00 00 00 00 00 F6 [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:31:11]Read from MH i2c: E2 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 17 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: E2 17 00 77 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 50 [11:31:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:31:11]wFMCommunicate OK [11:31:11]CreateOFDProtocolMessage done [11:31:11]OFDSenderStorePacket 57043 [11:31:11]StoreOFDPacket docnum=57043 [11:31:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 AF A1 31 01 27 BB 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 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 3C 00 00 00 F4 03 04 00 FF B6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D3 DE 00 00 35 04 06 00 02 E9 44 3F 1C 2C 07 85 F8 BD 20 24 34 01 [11:31:11]CheckFolder [11:31:11]dirname=/storage/ofd_packets [11:31:11]CheckFolder done [11:31:11]ProducePacketName [11:31:11]name=ofd_packets/00057043 [11:31:11]NVStorageSaveData ofd_packets/00057043 [11:31:11]File name is /storage/ofd_packets/00057043 [11:31:11]Write 343 bytes [11:31:11]NVStorageSaveData done [11:31:11]OFDSenderStorePacket done [11:31:11]KKMCreateOFDPacket done [11:31:11]NVStorageSaveData kkm_last_timestamp [11:31:11]File name is /storage/kkm_last_timestamp [11:31:11]Write 4 bytes [11:31:11]NVStorageSaveData done [11:31:11]ExternCall_PrintAddStr [11:31:11]wPrintStart [11:31:11]Write to MH i2c: 01 00 00 78 05 7D [11:31:11]Write i2c OK [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: 01 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: 01 07 00 [11:31:11]MH_I2C_Read... [11:31:11]Read from MH i2c: 01 07 00 78 05 00 00 00 00 00 FF 0F 92 [11:31:11]RasterBufferAndPrint [11:31:11]line Счет N : (3)129506 [11:31:11]line ИНН: 02508201610067 [11:31:11]line Контрольно-Кассовый Чек [11:31:11]line ПРОДАЖА [11:31:11]line Товар: 4700000480050 [11:31:11]line Напиток Nitro Energy эн green ж/б 0,45л [11:31:11]line 1.000 * 95.00 [11:31:11]line = 95.00 [11:31:11]line НДС 12% НСП 1% [11:31:11]line > о реализуемом товаре [11:31:11]line ИТОГО: 95.00 [11:31:11]line НСП 1% : 0.84 [11:31:11]line НДС 12% : 10.09 [11:31:11]line Наличными: 95.00 [11:31:11]line Безнал.: 0.00 [11:31:11]line Место: АЗС № 132 "Партнер Нефть" [11:31:11]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:31:11]line СНО: Общий режим [11:31:11]line Чек 60 14.07.2024 11:31 [11:31:11]line Смена: 496 ФФД: 1.0 [11:31:11]line ЗНМ: 0300000132 [11:31:11]line РНМ: 0000000000091208 [11:31:11]line Версия ККМ: 001 [11:31:11]line ФМ: 0000000000874857 [11:31:11]line ФД: 57043 [11:31:11]line ФПД: 3200895622188 [11:31:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113111&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57043&fm=3200895622188&tin=02508201610067®Number=0000000000091208&sum=9500 [11:31:12]OFD Sender: Processing packet 57043 [packets to send 38, broken 37] [11:31:12]ProducePacketName [11:31:12]name=ofd_packets/00057043 [11:31:12]OFD Sender: To server: pG, [11:31:12]CommunicateWithHost lk.salyk.kg:30040 [11:31:12]ConnectInit lk.salyk.kg [11:31:12]line 0 [11:31:12]written 0, free lines is 4095 [11:31:12]Connected sock=10 [11:31:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 AF A1 31 01 27 BB 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 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 3C 00 00 00 F4 03 04 00 FF B6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D3 DE 00 00 35 04 06 00 02 E9 44 3F 1C 2C 07 85 F8 BD 20 24 34 01 [11:31:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 28 32 47 00 B0 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 38 37 34 38 35 37 10 04 04 00 D3 DE 00 00 F4 03 04 00 50 5D 93 66 B6 04 01 00 00 B3 F7 C7 0C 37 A4 BC FB [11:31:12]CommunicateWithHost err = 0 [11:31:12]CheckOFDResponse [11:31:12]1017 (14) - 77093643461234 [11:31:12]1041 (16) - 0000000000874857 [11:31:12]1040 (4) - 57043 [11:31:12]1012 (4) - 14.07.2024 05:08 [11:31:12]1206 (1) - 0 [11:31:12]OFD Sender: Remove packet 57043 [11:31:12]ProducePacketName [11:31:12]name=ofd_packets/00057043 [11:31:12]NVStorageDeleteData [11:31:12]Write to MH i2c: 01 00 00 A1 05 A6 [11:31:12]Write i2c OK [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: 01 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: 01 07 00 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: 01 07 00 A1 05 00 00 00 00 00 DA 0C 93 [11:31:12]RasterBufferAndPrint [11:31:12]line [11:31:12]line [11:31:12]line [11:31:12]line [11:31:12]line [11:31:12]written 0, free lines is 3296 [11:31:12]MH_Cut [11:31:12]Write to MH i2c: D1 01 00 A8 05 01 7F [11:31:12]Write i2c OK [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: D1 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: D1 01 00 [11:31:12]MH_I2C_Read... [11:31:12]Read from MH i2c: D1 01 00 A8 05 00 7E [11:31:12]Write to MH i2c: 01 00 00 A9 05 AE [11:31:12]Write i2c OK [11:31:12]MH_I2C_Read... [11:31:13]OFD Sender: No OFD packet to send [11:31:13]*** Cut start [11:31:13]*** Partial cut [11:31:13]*** CUTSNS_PIN = 1 [11:31:13]*** CUTSNS_PIN = 0 [11:31:13]*** Brake cut motor [11:31:14]Read from MH i2c: 01 [11:31:14]MH_I2C_Read... [11:31:14]*** Stop cut motor [11:31:14]*** Cut end [11:31:14]Read from MH i2c: 01 07 00 [11:31:14]MH_I2C_Read... [11:31:14]Read from MH i2c: 01 07 00 A9 05 00 00 00 00 00 FF 0F C3 [11:31:14]process_action close_receipt done [11:31:14]requested_data is exist [11:31:14]produce_requested_data [11:31:14]requested_item fm.sn is exist - process it [11:31:14]wFMCommunicate request_size=4 [11:31:14]MH_SAM_APDU [11:31:14]CAPDU: 80 11 00 00 [11:31:14]Write to MH i2c: E2 08 00 AA 05 80 11 00 00 00 00 00 00 29 [11:31:14]Write i2c OK [11:31:14]MH_I2C_Read... [11:31:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:31:14]Read from MH i2c: E2 [11:31:14]MH_I2C_Read... [11:31:14]Read from MH i2c: E2 17 00 [11:31:14]MH_I2C_Read... [11:31:14]Read from MH i2c: E2 17 00 AA 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 83 [11:31:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:31:14]wFMCommunicate OK [11:31:14]requested_item fd.num is exist - process it [11:31:14]SAM_PROTO_GetFieldsCounters [11:31:14]wFMCommunicate request_size=4 [11:31:14]MH_SAM_APDU [11:31:14]CAPDU: 80 13 00 00 [11:31:14]Write to MH i2c: E2 08 00 AB 05 80 13 00 00 00 00 00 00 2C [11:31:14]Write i2c OK [11:31:14]MH_I2C_Read... [11:31:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:31:14]Read from MH i2c: E2 [11:31:14]MH_I2C_Read... [11:31:14]Read from MH i2c: E2 62 00 [11:31:14]MH_I2C_Read... [11:31:14]Read from MH i2c: E2 62 00 AB 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D3 DE 00 00 0E 04 04 00 F0 01 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 A5 [11:31:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D3 DE 00 00 0E 04 04 00 F0 01 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 [11:31:14]wFMCommunicate OK [11:31:14]SAM_PROTO_GetFieldsCounters done [11:31:14]requested_item shift.num is exist - process it [11:31:14]requested_item shift.opened is exist - process it [11:31:14]req_shift_opened [11:31:14]FM_GetShiftState [11:31:14]SAM_PROTO_GetShiftState [11:31:14]wFMCommunicate request_size=4 [11:31:14]MH_SAM_APDU [11:31:14]CAPDU: 80 13 01 00 [11:31:14]Write to MH i2c: E2 08 00 AC 05 80 13 01 00 00 00 00 00 2E [11:31:14]Write i2c OK [11:31:14]MH_I2C_Read... [11:31:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:31:14]Read from MH i2c: E2 [11:31:14]MH_I2C_Read... [11:31:14]Read from MH i2c: E2 0E 00 [11:31:14]MH_I2C_Read... [11:31:14]Read from MH i2c: E2 0E 00 AC 05 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 D5 [11:31:14]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:31:14]wFMCommunicate OK [11:31:14]SAM_PROTO_GetShiftState done [11:31:14]FM_GetShiftState done [11:31:14]req_shift_opened done [11:31:14]requested_item shift.open_date is exist - process it [11:31:14]req_shift_open_date [11:31:14]req_shift_open_date done [11:31:14]requested_item shift.sale.total is exist - process it [11:31:14]SAM_PROTO_GetShiftData [11:31:14]wFMCommunicate request_size=4 [11:31:14]MH_SAM_APDU [11:31:14]CAPDU: 80 13 02 00 [11:31:14]Write to MH i2c: E2 08 00 AD 05 80 13 02 00 00 00 00 00 30 [11:31:14]Write i2c OK [11:31:14]MH_I2C_Read... [11:31:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:31:14]Read from MH i2c: E2 [11:31:14]MH_I2C_Read... [11:31:14]Read from MH i2c: E2 FD 00 [11:31:14]MH_I2C_Read... [11:31:14]Read from MH i2c: E2 FD 00 AD 05 00 BB 04 AA 04 B7 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 4C 58 24 70 04 03 00 60 68 1E 72 04 03 00 EC EF 05 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 1C DC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 52 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 4A [11:31:14]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 3C 00 00 00 69 04 9B 00 6F 04 04 00 3A 00 00 00 B1 04 03 00 4C 58 24 70 04 03 00 60 68 1E 72 04 03 00 EC EF 05 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 1C DC 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 50 52 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [11:31:14]wFMCommunicate OK [11:31:14]wFMCommunicate request_size=4 [11:31:14]MH_SAM_APDU [11:31:14]CAPDU: 80 17 00 00 [11:31:14]Write to MH i2c: E2 08 00 AE 05 80 17 00 00 00 00 00 00 33 [11:31:14]Write i2c OK [11:31:14]MH_I2C_Read... [11:31:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:31:15]Read from MH i2c: E2 [11:31:15]MH_I2C_Read... [11:31:15]Read from MH i2c: E2 FD 00 [11:31:15]MH_I2C_Read... [11:31:15]Read from MH i2c: E2 FD 00 AE 05 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C6 [11:31:15]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:31:15]wFMCommunicate OK [11:31:15]wFMCommunicate request_size=4 [11:31:15]MH_SAM_APDU [11:31:15]CAPDU: 80 17 00 00 [11:31:15]Write to MH i2c: E2 08 00 AF 05 80 17 00 00 00 00 00 00 34 [11:31:15]Write i2c OK [11:31:15]MH_I2C_Read... [11:31:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:31:15]Read from MH i2c: E2 [11:31:15]MH_I2C_Read... [11:31:15]Read from MH i2c: E2 FD 00 [11:31:15]MH_I2C_Read... [11:31:15]Read from MH i2c: E2 FD 00 AF 05 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 60 [11:31:15]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:31:15]wFMCommunicate OK [11:31:15]wFMCommunicate request_size=4 [11:31:15]MH_SAM_APDU [11:31:15]CAPDU: 80 17 00 00 [11:31:15]Write to MH i2c: E2 08 00 B0 05 80 17 00 00 00 00 00 00 35 [11:31:15]Write i2c OK [11:31:15]MH_I2C_Read... [11:31:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:31:15]Read from MH i2c: E2 [11:31:15]MH_I2C_Read... [11:31:15]Read from MH i2c: E2 FD 00 [11:31:15]MH_I2C_Read... [11:31:15]Read from MH i2c: E2 FD 00 B0 05 00 00 00 EF 03 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 90 00 AA [11:31:15]RAPDU: 00 00 EF 03 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 90 00 [11:31:15]wFMCommunicate OK [11:31:15]wFMCommunicate request_size=4 [11:31:15]MH_SAM_APDU [11:31:15]CAPDU: 80 17 00 00 [11:31:15]Write to MH i2c: E2 08 00 B1 05 80 17 00 00 00 00 00 00 36 [11:31:15]Write i2c OK [11:31:15]MH_I2C_Read... [11:31:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [11:31:15]Read from MH i2c: E2 [11:31:15]MH_I2C_Read... [11:31:15]Read from MH i2c: E2 D8 00 [11:31:15]MH_I2C_Read... [11:31:15]Read from MH i2c: E2 D8 00 B1 05 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 1D [11:31:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:31:15]wFMCommunicate OK [11:31:15]SAM_PROTO_GetShiftData done [11:31:15]requested_item shift.sale.total_cash is exist - process it [11:31:15]requested_item shift.sale_refund.total is exist - process it [11:31:15]requested_item shift.sale_refund.total_cash is exist - process it [11:31:15]produce_requested_data done [11:31:15]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57043,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":23819.00,"shift.sale.total_cash":19928.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [11:31:15]process_action_free close_receipt [11:31:15]json_value_free [11:31:15]json_value_free done [11:31:15]process_json_proto returns [11:31:15]Send response to host [11:31:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57043,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":23819.00,"shift.sale.total_cash":19928.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [11:31:15]free response buf [11:31:15]execute_script done [11:31:15]execute_script returns [11:31:15]free content buf [11:31:15]Sock 7.Close socket [11:31:15]Sock 7.Thread stoped [11:31:18]OFD Sender: No OFD packet to send [11:31:23]OFD Sender: No OFD packet to send [11:31:28]OFD Sender: No OFD packet to send [11:31:33]OFD Sender: No OFD packet to send [11:31:38]OFD Sender: No OFD packet to send [11:31:43]OFD Sender: No OFD packet to send [11:31:48]OFD Sender: No OFD packet to send [11:31:53]OFD Sender: No OFD packet to send [11:31:58]OFD Sender: No OFD packet to send [11:32:03]OFD Sender: No OFD packet to send [11:32:08]OFD Sender: No OFD packet to send [11:32:13]OFD Sender: No OFD packet to send [11:32:18]OFD Sender: No OFD packet to send [11:32:23]OFD Sender: No OFD packet to send [11:32:28]OFD Sender: No OFD packet to send [11:32:33]OFD Sender: No OFD packet to send [11:32:38]OFD Sender: No OFD packet to send [11:32:43]OFD Sender: No OFD packet to send [11:32:47]accept exits with 9 [11:32:47]New connection [11:32:47]New thread 3067592036 created [11:32:47]Thread 3067448676 joined [11:32:47]Waiting for new connection... [11:32:47] Sock 9.Parse request [11:32:47]Sock 9.Check first char [11:32:47]Sock 9.First char is OK [11:32:47]request: POST /json_proto HTTP/1.0 [11:32:47]Method: POST [11:32:47]URL: /json_proto [11:32:47]Method is POST - this is cgi request [11:32:47]url: /json_proto [11:32:47]query_string will be loaded in cgi processing [11:32:47]execute_cgi json_proto POST (null) [11:32:47]execute_cgi path=json_proto method=POST [11:32:47]POST find Content-Length [11:32:47]Host: 172.17.39.4:8080 [11:32:47]Content-Length: 2347 [11:32:47]Content-Type: application/json [11:32:47] [11:32:47]POST finish read [11:32:47]Found Content-Length = 2347 [11:32:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129507", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4000417211002", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 Ritter SPORT \u043C\u043E\u043B \u043A\u0430\u0440\u0430\u043C.\u043C\u0443\u0441\u0441 100\u0433", "price" : 209.00, "quantity" : 1.000, "sum" : 209.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 841.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:32:47]execute_script... [11:32:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129507", "tax_sys" : 0, "items" : [ { "code": "90162602", "name": "\u042D\u043D\u0435\u0440\u0433 \u043D\u0430\u043F\u0438\u0442\u043E\u043A Red bull 0,25\u043B", "price" : 157.00, "quantity" : 1.000, "sum" : 157.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112002775", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI BITES 80\u0433\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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 }]} ,{ "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4000417211002", "name": "\u0428\u043E\u043A\u043E\u043B\u0430\u0434 Ritter SPORT \u043C\u043E\u043B \u043A\u0430\u0440\u0430\u043C.\u043C\u0443\u0441\u0441 100\u0433", "price" : 209.00, "quantity" : 1.000, "sum" : 209.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 841.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:32:47]POST & json_proto [11:32:47]process_json_proto [11:32:47]json parsed OK: [11:32:47]protocol is kg_v1.0 [11:32:47]action value=close_receipt [11:32:47]process_action close_receipt [11:32:47]cmd_close_receipt [11:32:47]MH_GetDate [11:32:47]Write to MH i2c: F0 00 00 B2 05 A6 [11:32:47]Write i2c OK [11:32:47]MH_I2C_Read... [11:32:47]Read from MH i2c: F0 [11:32:47]MH_I2C_Read... [11:32:47]Read from MH i2c: F0 09 00 [11:32:47]MH_I2C_Read... [11:32:47]Read from MH i2c: F0 09 00 B2 05 00 60 B7 93 66 2D 25 5D 64 D2 [11:32:47]GetLastDocTimeStamp 1720956671 [11:32:47]current date 1720956768 [11:32:47]FM_GetShiftState [11:32:47]SAM_PROTO_GetShiftState [11:32:47]wFMCommunicate request_size=4 [11:32:47]MH_SAM_APDU [11:32:47]CAPDU: 80 13 01 00 [11:32:47]Write to MH i2c: E2 08 00 B3 05 80 13 01 00 00 00 00 00 35 [11:32:47]Write i2c OK [11:32:47]MH_I2C_Read... [11:32:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:32:47]Read from MH i2c: E2 [11:32:47]MH_I2C_Read... [11:32:47]Read from MH i2c: E2 0E 00 [11:32:47]MH_I2C_Read... [11:32:47]Read from MH i2c: E2 0E 00 B3 05 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 DC [11:32:47]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:32:47]wFMCommunicate OK [11:32:47]SAM_PROTO_GetShiftState done [11:32:47]FM_GetShiftState done [11:32:47]opened in 1720917126 [11:32:47]opened+sec_in_day 1721003526 [11:32:47]quantity*price = 15700 [11:32:47]sum+1 = 15701 [11:32:47]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870112002775 Шок батончик ALBENI BITES 80гр 2.000 * 75.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2587136579566 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036220012 Кофе Капучино XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 46177872 Жев Orbit подушки Citrus 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48741958 Сигареты Parliament Aqua Blue 1.000 * 151.00 = 151.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4000417211002 Шоколад Ritter SPORT мол карам.мусс 100г 1.000 * 209.00 = 209.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 841.00 НСП 1% : 7.44 НДС 12% : 89.29 Наличными: 841.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 61 14.07.2024 11:32 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57044 ФПД: 256733260502487 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113248&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57044&fm=256733260502487&tin=02508201610067®Number=0000000000091208&sum=84100 0 [11:32:49]StoreToDocumentArchive [11:32:49]shift 496 fd 57044 [11:32:49]save to /storage/0496/doc_00057044 [11:32:49]save last doc name /storage/0496/doc_00057044 to /storage/kkm_last_doc_name [11:32:49]save OK [11:32:49]Clear old archive folders... [11:32:49]ProcessDocumentItem done err = 0, tmpTLVsize=950 [11:32:49]tlvbuf is 00FD5750 [11:32:49]SAM_PROTO_ClearQueue [11:32:49]wFMCommunicate request_size=4 [11:32:49]MH_SAM_APDU [11:32:49]CAPDU: 80 09 00 00 [11:32:49]Write to MH i2c: E2 08 00 C0 05 80 09 00 00 00 00 00 00 37 [11:32:49]Write i2c OK [11:32:49]MH_I2C_Read... [11:32:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:32:49]Read from MH i2c: E2 [11:32:49]MH_I2C_Read... [11:32:49]Read from MH i2c: E2 03 00 [11:32:49]MH_I2C_Read... [11:32:49]Read from MH i2c: E2 03 00 C0 05 00 90 00 39 [11:32:49]RAPDU: 90 00 [11:32:49]wFMCommunicate OK [11:32:49]SAM_PROTO_ClearQueue done [11:32:49]KKMCreateOFDPacket [11:32:49]OFDProtocolAddRootSTLVToBuf [11:32:49]FM_MakeSignedData [11:32:49]FM_MakeSignedData [11:32:49]SAM_PROTO_SignData [11:32:49]wFMCommunicate request_size=4 [11:32:49]MH_SAM_APDU [11:32:49]CAPDU: 80 0D 01 02 [11:32:49]Write to MH i2c: E2 08 00 C1 05 80 0D 01 02 00 00 00 00 3F [11:32:49]Write i2c OK [11:32:49]MH_I2C_Read... [11:32:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:32:49]Read from MH i2c: E2 [11:32:49]MH_I2C_Read... [11:32:49]Read from MH i2c: E2 03 00 [11:32:49]MH_I2C_Read... [11:32:49]Read from MH i2c: E2 03 00 C1 05 00 90 00 3A [11:32:49]RAPDU: 90 00 [11:32:49]wFMCommunicate OK [11:32:49]wFMCommunicate request_size=255 [11:32:49]MH_SAM_APDU [11:32:49]CAPDU: 80 0D 02 02 FA 03 00 B6 03 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 [11:32:49]Write to MH i2c: E2 02 01 C2 05 80 0D 02 02 FA 00 03 00 B6 03 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 00 00 77 [11:32:49]Write i2c OK [11:32:49]MH_I2C_Read... [11:32:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:49]Read from MH i2c: E2 [11:32:49]MH_I2C_Read... [11:32:49]Read from MH i2c: E2 03 00 [11:32:49]MH_I2C_Read... [11:32:49]Read from MH i2c: E2 03 00 C2 05 00 90 00 3B [11:32:49]RAPDU: 90 00 [11:32:49]wFMCommunicate OK [11:32:49]wFMCommunicate request_size=255 [11:32:49]MH_SAM_APDU [11:32:49]CAPDU: 80 0D 02 02 FA 35 36 36 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 [11:32:49]Write to MH i2c: E2 02 01 C3 05 80 0D 02 02 FA 00 35 36 36 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 00 00 1C [11:32:49]Write i2c OK [11:32:49]MH_I2C_Read... [11:32:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:49]Read from MH i2c: E2 [11:32:49]MH_I2C_Read... [11:32:49]Read from MH i2c: E2 03 00 [11:32:49]MH_I2C_Read... [11:32:49]Read from MH i2c: E2 03 00 C3 05 00 90 00 3C [11:32:49]RAPDU: 90 00 [11:32:49]wFMCommunicate OK [11:32:49]wFMCommunicate request_size=255 [11:32:49]MH_SAM_APDU [11:32:49]CAPDU: 80 0D 02 02 FA 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 30 30 30 34 31 37 32 31 31 30 30 32 06 04 3C 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 52 69 74 74 65 72 20 53 50 4F 52 54 20 D0 BC D0 BE D0 BB 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC 2E D0 BC D1 83 D1 81 D1 81 20 31 30 30 D0 B3 FF 03 08 00 03 E8 03 00 [11:32:49]Write to MH i2c: E2 02 01 C4 05 80 0D 02 02 FA 00 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 30 30 30 34 31 37 32 31 31 30 30 32 06 04 3C 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 52 69 74 74 65 72 20 53 50 4F 52 54 20 D0 BC D0 BE D0 BB 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC 2E D0 BC D1 83 D1 81 D1 81 20 31 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 C3 [11:32:49]Write i2c OK [11:32:49]MH_I2C_Read... [11:32:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:50]Read from MH i2c: E2 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: E2 03 00 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: E2 03 00 C4 05 00 90 00 3D [11:32:50]RAPDU: 90 00 [11:32:50]wFMCommunicate OK [11:32:50]wFMCommunicate request_size=209 [11:32:50]MH_SAM_APDU [11:32:50]CAPDU: 80 0D 02 02 CC 00 00 00 00 37 04 06 00 A4 51 00 00 00 00 13 04 06 00 A4 51 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 48 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 22 00 00 00 00 07 04 06 00 84 48 01 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 60 B7 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D4 DE 00 00 35 04 06 00 E9 7F 5E CB 55 D7 [11:32:50]Write to MH i2c: E2 D4 00 C5 05 80 0D 02 02 CC 00 00 00 00 00 37 04 06 00 A4 51 00 00 00 00 13 04 06 00 A4 51 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 48 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 22 00 00 00 00 07 04 06 00 84 48 01 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 60 B7 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D4 DE 00 00 35 04 06 00 E9 7F 5E CB 55 D7 00 00 50 [11:32:50]Write i2c OK [11:32:50]MH_I2C_Read... [11:32:50]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:32:50]Read from MH i2c: E2 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: E2 03 00 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: E2 03 00 C5 05 00 90 00 3E [11:32:50]RAPDU: 90 00 [11:32:50]wFMCommunicate OK [11:32:50]wFMCommunicate request_size=4 [11:32:50]MH_SAM_APDU [11:32:50]CAPDU: 80 0D 03 02 [11:32:50]Write to MH i2c: E2 08 00 C6 05 80 0D 03 02 00 00 00 00 46 [11:32:50]Write i2c OK [11:32:50]MH_I2C_Read... [11:32:50]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:32:50]Read from MH i2c: E2 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: E2 0B 00 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: E2 0B 00 C6 05 00 D1 46 64 DF F2 4C E8 81 90 00 48 [11:32:50]RAPDU: D1 46 64 DF F2 4C E8 81 90 00 [11:32:50]wFMCommunicate OK [11:32:50]SAM_PROTO_SignData done [11:32:50]FM_MakeSignedData done [11:32:50]CreateOFDProtocolMessage [11:32:50]wFMCommunicate request_size=4 [11:32:50]MH_SAM_APDU [11:32:50]CAPDU: 80 11 00 00 [11:32:50]Write to MH i2c: E2 08 00 C7 05 80 11 00 00 00 00 00 00 46 [11:32:50]Write i2c OK [11:32:50]MH_I2C_Read... [11:32:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:32:50]Read from MH i2c: E2 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: E2 17 00 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: E2 17 00 C7 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A0 [11:32:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:32:50]wFMCommunicate OK [11:32:50]CreateOFDProtocolMessage done [11:32:50]OFDSenderStorePacket 57044 [11:32:50]StoreOFDPacket docnum=57044 [11:32:50]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 CA 03 00 00 AE 23 C2 03 43 58 5A 03 01 00 03 00 B6 03 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 30 30 30 34 31 37 32 31 31 30 30 32 06 04 3C 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 52 69 74 74 65 72 20 53 50 4F 52 54 20 D0 BC D0 BE D0 BB 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC 2E D0 BC D1 83 D1 81 D1 81 20 31 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 51 00 00 00 00 13 04 06 00 A4 51 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 48 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 22 00 00 00 00 07 04 06 00 84 48 01 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 60 B7 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D4 DE 00 00 35 04 06 00 E9 7F 5E CB 55 D7 D1 46 64 DF F2 4C E8 81 [11:32:50]CheckFolder [11:32:50]dirname=/storage/ofd_packets [11:32:50]CheckFolder done [11:32:50]ProducePacketName [11:32:50]name=ofd_packets/00057044 [11:32:50]NVStorageSaveData ofd_packets/00057044 [11:32:50]File name is /storage/ofd_packets/00057044 [11:32:50]Write 1000 bytes [11:32:50]NVStorageSaveData done [11:32:50]OFDSenderStorePacket done [11:32:50]KKMCreateOFDPacket done [11:32:50]NVStorageSaveData kkm_last_timestamp [11:32:50]File name is /storage/kkm_last_timestamp [11:32:50]Write 4 bytes [11:32:50]NVStorageSaveData done [11:32:50]ExternCall_PrintAddStr [11:32:50]wPrintStart [11:32:50]Write to MH i2c: 01 00 00 C8 05 CD [11:32:50]Write i2c OK [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: 01 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: 01 07 00 [11:32:50]MH_I2C_Read... [11:32:50]Read from MH i2c: 01 07 00 C8 05 00 00 00 00 00 FF 0F E2 [11:32:50]RasterBufferAndPrint [11:32:50]line Счет N : (3)129507 [11:32:50]line ИНН: 02508201610067 [11:32:50]line Контрольно-Кассовый Чек [11:32:50]line ПРОДАЖА [11:32:50]line Товар: 90162602 [11:32:50]line Энерг напиток Red bull 0,25л [11:32:50]line 1.000 * 157.00 [11:32:50]line = 157.00 [11:32:50]line НДС 12% НСП 1% [11:32:50]line > о реализуемом товаре [11:32:50]line Товар: 4870112002775 [11:32:50]line Шок батончик ALBENI BITES 80гр [11:32:50]line 2.000 * 75.00 [11:32:50]line = 150.00 [11:32:50]line НДС 12% НСП 1% [11:32:50]line > о реализуемом товаре [11:32:50]line Товар: 2587136579566 [11:32:50]line Пакет Партнер Нефть [11:32:50]line 1.000 * 4.00 [11:32:50]line = 4.00 [11:32:50]line НДС 12% НСП 1% [11:32:50]line > о реализуемом товаре [11:32:50]line Товар: 2000036220012 [11:32:50]line Кофе Капучино XL(GABB TRADE) [11:32:50]line 1.000 * 130.00 [11:32:50]line = 130.00 [11:32:50]line НДС 12% НСП 1% [11:32:50]line > о реализуемом товаре [11:32:50]line Товар: 46177872 [11:32:50]line Жев Orbit подушки Citrus [11:32:50]line 1.000 * 40.00 [11:32:50]line = 40.00 [11:32:50]line НДС 12% НСП 1% [11:32:50]line > о реализуемом товаре [11:32:50]line Товар: 48741958 [11:32:50]line Сигареты Parliament Aqua Blue [11:32:50]line 1.000 * 151.00 [11:32:50]line = 151.00 [11:32:50]line НДС 12% НСП 1% [11:32:50]line > о реализуемом товаре [11:32:50]line Товар: 4000417211002 [11:32:50]line Шоколад Ritter SPORT мол карам.мусс 100г [11:32:50]line 1.000 * 209.00 [11:32:50]line = 209.00 [11:32:50]line НДС 12% НСП 1% [11:32:50]line > о реализуемом товаре [11:32:50]line ИТОГО: 841.00 [11:32:50]line НСП 1% : 7.44 [11:32:50]line НДС 12% : 89.29 [11:32:50]line Наличными: 841.00 [11:32:50]line Безнал.: 0.00 [11:32:50]line Место: АЗС № 132 "Партнер Нефть" [11:32:50]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:32:50]line СНО: Общий режим [11:32:50]line Чек 61 14.07.2024 11:32 [11:32:50]line Смена: 496 ФФД: 1.0 [11:32:50]line ЗНМ: 0300000132 [11:32:50]line РНМ: 0000000000091208 [11:32:50]line Версия ККМ: 001 [11:32:50]line ФМ: 0000000000874857 [11:32:50]line ФД: 57044 [11:32:50]line ФПД: 256733260502487 [11:32:50]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113248&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57044&fm=256733260502487&tin=02508201610067®Number=0000000000091208&sum=84100 [11:32:50]line 0 [11:32:50]written 0, free lines is 4095 [11:32:50]OFD Sender: Processing packet 57044 [packets to send 38, broken 37] [11:32:50]ProducePacketName [11:32:50]name=ofd_packets/00057044 [11:32:50]OFD Sender: To server: pG, [11:32:50]CommunicateWithHost lk.salyk.kg:30040 [11:32:50]ConnectInit lk.salyk.kg [11:32:51]Connected sock=10 [11:32:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 CA 03 00 00 AE 23 C2 03 43 58 5A 03 01 00 03 00 B6 03 1E 04 01 00 01 23 04 68 00 8A 04 08 00 39 30 31 36 32 36 30 32 06 04 29 00 D0 AD D0 BD D0 B5 D1 80 D0 B3 20 D0 BD D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 52 65 64 20 62 75 6C 6C 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 54 3D 00 00 00 00 13 04 06 00 54 3D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6F 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 32 37 37 35 06 04 2B 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 41 4C 42 45 4E 49 20 42 49 54 45 53 20 38 30 D0 B3 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 80 00 8A 04 0D 00 34 30 30 30 34 31 37 32 31 31 30 30 32 06 04 3C 00 D0 A8 D0 BE D0 BA D0 BE D0 BB D0 B0 D0 B4 20 52 69 74 74 65 72 20 53 50 4F 52 54 20 D0 BC D0 BE D0 BB 20 D0 BA D0 B0 D1 80 D0 B0 D0 BC 2E D0 BC D1 83 D1 81 D1 81 20 31 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A4 51 00 00 00 00 13 04 06 00 A4 51 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 84 48 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E8 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E1 22 00 00 00 00 07 04 06 00 84 48 01 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 60 B7 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D4 DE 00 00 35 04 06 00 E9 7F 5E CB 55 D7 D1 46 64 DF F2 4C E8 81 [11:32:51]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 57 44 47 00 F8 F4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D4 DE 00 00 F4 03 04 00 B3 5D 93 66 B6 04 01 00 00 9C 13 F4 8A 73 37 47 BB [11:32:51]CommunicateWithHost err = 0 [11:32:51]CheckOFDResponse [11:32:51]1017 (14) - 77093643461234 [11:32:51]1041 (16) - 0000000000874857 [11:32:51]1040 (4) - 57044 [11:32:51]1012 (4) - 14.07.2024 05:10 [11:32:51]1206 (1) - 0 [11:32:51]OFD Sender: Remove packet 57044 [11:32:51]ProducePacketName [11:32:51]name=ofd_packets/00057044 [11:32:51]NVStorageDeleteData [11:32:51]Write to MH i2c: 01 00 00 18 06 1E [11:32:51]Write i2c OK [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: 01 [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: 01 07 00 [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: 01 07 00 18 06 00 00 00 00 00 AC 0A DB [11:32:51]RasterBufferAndPrint [11:32:51]line [11:32:51]line [11:32:51]line [11:32:51]line [11:32:51]line [11:32:51]written 0, free lines is 2742 [11:32:51]MH_Cut [11:32:51]Write to MH i2c: D1 01 00 1F 06 01 F7 [11:32:51]Write i2c OK [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: D1 [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: D1 01 00 [11:32:51]MH_I2C_Read... [11:32:51]Read from MH i2c: D1 01 00 1F 06 00 F6 [11:32:51]Write to MH i2c: 01 00 00 20 06 26 [11:32:51]Write i2c OK [11:32:51]MH_I2C_Read... [11:32:51]OFD Sender: No OFD packet to send [11:32:52]*** Cut start [11:32:52]*** Partial cut [11:32:52]*** CUTSNS_PIN = 1 [11:32:52]*** CUTSNS_PIN = 0 [11:32:53]*** Brake cut motor [11:32:53]Read from MH i2c: 01 [11:32:53]MH_I2C_Read... [11:32:53]*** Stop cut motor [11:32:53]*** Cut end [11:32:53]Read from MH i2c: 01 07 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: 01 07 00 20 06 00 00 00 00 00 FF 0F 3B [11:32:53]process_action close_receipt done [11:32:53]requested_data is exist [11:32:53]produce_requested_data [11:32:53]requested_item fm.sn is exist - process it [11:32:53]wFMCommunicate request_size=4 [11:32:53]MH_SAM_APDU [11:32:53]CAPDU: 80 11 00 00 [11:32:53]Write to MH i2c: E2 08 00 21 06 80 11 00 00 00 00 00 00 A1 [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:32:53]Read from MH i2c: E2 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 17 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 17 00 21 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FB [11:32:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:32:53]wFMCommunicate OK [11:32:53]requested_item fd.num is exist - process it [11:32:53]SAM_PROTO_GetFieldsCounters [11:32:53]wFMCommunicate request_size=4 [11:32:53]MH_SAM_APDU [11:32:53]CAPDU: 80 13 00 00 [11:32:53]Write to MH i2c: E2 08 00 22 06 80 13 00 00 00 00 00 00 A4 [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:32:53]Read from MH i2c: E2 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 62 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 62 00 22 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D4 DE 00 00 0E 04 04 00 F0 01 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 21 [11:32:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D4 DE 00 00 0E 04 04 00 F0 01 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 [11:32:53]wFMCommunicate OK [11:32:53]SAM_PROTO_GetFieldsCounters done [11:32:53]requested_item shift.num is exist - process it [11:32:53]requested_item shift.opened is exist - process it [11:32:53]req_shift_opened [11:32:53]FM_GetShiftState [11:32:53]SAM_PROTO_GetShiftState [11:32:53]wFMCommunicate request_size=4 [11:32:53]MH_SAM_APDU [11:32:53]CAPDU: 80 13 01 00 [11:32:53]Write to MH i2c: E2 08 00 23 06 80 13 01 00 00 00 00 00 A6 [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:32:53]Read from MH i2c: E2 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 0E 00 [11:32:53]MH_I2C_Read... [11:32:53]Read from MH i2c: E2 0E 00 23 06 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 4D [11:32:53]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:32:53]wFMCommunicate OK [11:32:53]SAM_PROTO_GetShiftState done [11:32:53]FM_GetShiftState done [11:32:53]req_shift_opened done [11:32:53]requested_item shift.open_date is exist - process it [11:32:53]req_shift_open_date [11:32:53]req_shift_open_date done [11:32:53]requested_item shift.sale.total is exist - process it [11:32:53]SAM_PROTO_GetShiftData [11:32:53]wFMCommunicate request_size=4 [11:32:53]MH_SAM_APDU [11:32:53]CAPDU: 80 13 02 00 [11:32:53]Write to MH i2c: E2 08 00 24 06 80 13 02 00 00 00 00 00 A8 [11:32:53]Write i2c OK [11:32:53]MH_I2C_Read... [11:32:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:32:54]Read from MH i2c: E2 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: E2 FD 00 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: E2 FD 00 24 06 00 BB 04 AA 04 B7 04 6E 04 04 00 3D 00 00 00 69 04 9B 00 6F 04 04 00 3B 00 00 00 B1 04 03 00 D0 A0 25 70 04 03 00 E4 B0 1F 72 04 03 00 EC EF 05 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 FD FE 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 38 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 4C [11:32:54]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 3D 00 00 00 69 04 9B 00 6F 04 04 00 3B 00 00 00 B1 04 03 00 D0 A0 25 70 04 03 00 E4 B0 1F 72 04 03 00 EC EF 05 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 FD FE 03 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 38 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [11:32:54]wFMCommunicate OK [11:32:54]wFMCommunicate request_size=4 [11:32:54]MH_SAM_APDU [11:32:54]CAPDU: 80 17 00 00 [11:32:54]Write to MH i2c: E2 08 00 25 06 80 17 00 00 00 00 00 00 AB [11:32:54]Write i2c OK [11:32:54]MH_I2C_Read... [11:32:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:32:54]Read from MH i2c: E2 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: E2 FD 00 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: E2 FD 00 25 06 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3E [11:32:54]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:32:54]wFMCommunicate OK [11:32:54]wFMCommunicate request_size=4 [11:32:54]MH_SAM_APDU [11:32:54]CAPDU: 80 17 00 00 [11:32:54]Write to MH i2c: E2 08 00 26 06 80 17 00 00 00 00 00 00 AC [11:32:54]Write i2c OK [11:32:54]MH_I2C_Read... [11:32:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:32:54]Read from MH i2c: E2 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: E2 FD 00 [11:32:54]MH_I2C_Read... [11:32:54]Read from MH i2c: E2 FD 00 26 06 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D8 [11:32:54]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:32:55]wFMCommunicate OK [11:32:55]wFMCommunicate request_size=4 [11:32:55]MH_SAM_APDU [11:32:55]CAPDU: 80 17 00 00 [11:32:55]Write to MH i2c: E2 08 00 27 06 80 17 00 00 00 00 00 00 AD [11:32:55]Write i2c OK [11:32:55]MH_I2C_Read... [11:32:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:32:55]Read from MH i2c: E2 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 FD 00 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 FD 00 27 06 00 00 00 EF 03 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 90 00 22 [11:32:55]RAPDU: 00 00 EF 03 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 90 00 [11:32:55]wFMCommunicate OK [11:32:55]wFMCommunicate request_size=4 [11:32:55]MH_SAM_APDU [11:32:55]CAPDU: 80 17 00 00 [11:32:55]Write to MH i2c: E2 08 00 28 06 80 17 00 00 00 00 00 00 AE [11:32:55]Write i2c OK [11:32:55]MH_I2C_Read... [11:32:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [11:32:55]Read from MH i2c: E2 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 D8 00 [11:32:55]MH_I2C_Read... [11:32:55]Read from MH i2c: E2 D8 00 28 06 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 95 [11:32:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:32:55]wFMCommunicate OK [11:32:55]SAM_PROTO_GetShiftData done [11:32:55]requested_item shift.sale.total_cash is exist - process it [11:32:55]requested_item shift.sale_refund.total is exist - process it [11:32:55]requested_item shift.sale_refund.total_cash is exist - process it [11:32:55]produce_requested_data done [11:32:55]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57044,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":24660.00,"shift.sale.total_cash":20769.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [11:32:55]process_action_free close_receipt [11:32:55]json_value_free [11:32:55]json_value_free done [11:32:55]process_json_proto returns [11:32:55]Send response to host [11:32:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57044,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":24660.00,"shift.sale.total_cash":20769.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [11:32:55]free response buf [11:32:55]execute_script done [11:32:55]execute_script returns [11:32:55]free content buf [11:32:55]Sock 9.Close socket [11:32:55]Sock 9.Thread stoped [11:32:56]OFD Sender: No OFD packet to send [11:33:01]OFD Sender: No OFD packet to send [11:33:06]OFD Sender: No OFD packet to send [11:33:11]OFD Sender: No OFD packet to send [11:33:16]OFD Sender: No OFD packet to send [11:33:21]OFD Sender: No OFD packet to send [11:33:26]OFD Sender: No OFD packet to send [11:33:31]OFD Sender: No OFD packet to send [11:33:36]OFD Sender: No OFD packet to send [11:33:41]OFD Sender: No OFD packet to send [11:33:46]OFD Sender: No OFD packet to send [11:33:51]OFD Sender: No OFD packet to send [11:33:56]OFD Sender: No OFD packet to send [11:34:01]OFD Sender: No OFD packet to send [11:34:06]OFD Sender: No OFD packet to send [11:34:11]OFD Sender: No OFD packet to send [11:34:16]OFD Sender: No OFD packet to send [11:34:21]OFD Sender: No OFD packet to send [11:34:26]OFD Sender: No OFD packet to send [11:34:31]OFD Sender: No OFD packet to send [11:34:36]OFD Sender: No OFD packet to send [11:34:41]OFD Sender: No OFD packet to send [11:34:46]OFD Sender: No OFD packet to send [11:34:51]OFD Sender: No OFD packet to send [11:34:56]OFD Sender: No OFD packet to send [11:35:01]OFD Sender: No OFD packet to send [11:35:06]OFD Sender: No OFD packet to send [11:35:11]OFD Sender: No OFD packet to send [11:35:16]OFD Sender: No OFD packet to send [11:35:21]OFD Sender: No OFD packet to send [11:35:26]OFD Sender: No OFD packet to send [11:35:31]accept exits with 7 [11:35:31]New connection [11:35:31]New thread 3067448676 created [11:35:31]Thread 3067592036 joined [11:35:31]Waiting for new connection... [11:35:31] Sock 7.Parse request [11:35:31]Sock 7.Check first char [11:35:31]Sock 7.First char is OK [11:35:31]request: POST /json_proto HTTP/1.0 [11:35:31]Method: POST [11:35:31]URL: /json_proto [11:35:31]Method is POST - this is cgi request [11:35:31]url: /json_proto [11:35:31]query_string will be loaded in cgi processing [11:35:31]execute_cgi json_proto POST (null) [11:35:31]execute_cgi path=json_proto method=POST [11:35:31]POST find Content-Length [11:35:31]Host: 172.17.39.4:8080 [11:35:31]Content-Length: 725 [11:35:31]Content-Type: application/json [11:35:31] [11:35:31]POST finish read [11:35:31]Found Content-Length = 725 [11:35:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129508", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:35:31]execute_script... [11:35:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129508", "tax_sys" : 0, "items" : [ { "code": "4780014240406", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Sovereign Blue", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:35:31]POST & json_proto [11:35:31]process_json_proto [11:35:31]json parsed OK: [11:35:31]protocol is kg_v1.0 [11:35:31]action value=close_receipt [11:35:31]process_action close_receipt [11:35:31]cmd_close_receipt [11:35:31]MH_GetDate [11:35:31]Write to MH i2c: F0 00 00 29 06 1E [11:35:31]Write i2c OK [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: F0 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: F0 09 00 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: F0 09 00 29 06 00 04 B8 93 66 2D 25 5D 64 EF [11:35:31]GetLastDocTimeStamp 1720956768 [11:35:31]current date 1720956932 [11:35:31]FM_GetShiftState [11:35:31]SAM_PROTO_GetShiftState [11:35:31]wFMCommunicate request_size=4 [11:35:31]MH_SAM_APDU [11:35:31]CAPDU: 80 13 01 00 [11:35:31]Write to MH i2c: E2 08 00 2A 06 80 13 01 00 00 00 00 00 AD [11:35:31]Write i2c OK [11:35:31]MH_I2C_Read... [11:35:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:35:31]Read from MH i2c: E2 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 0E 00 [11:35:31]MH_I2C_Read... [11:35:31]Read from MH i2c: E2 0E 00 2A 06 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 54 [11:35:31]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:35:31]wFMCommunicate OK [11:35:31]SAM_PROTO_GetShiftState done [11:35:31]FM_GetShiftState done [11:35:31]opened in 1720917126 [11:35:31]opened+sec_in_day 1721003526 [11:35:31]quantity*price = 13000 [11:35:31]sum+1 = 13001 [11:35:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 62 14.07.2024 11:35 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57045 ФПД: 61991679023715 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113532&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57045&fm=61991679023715&tin=02508201610067®Number=0000000000091208&sum=13000 0 [11:35:32]StoreToDocumentArchive [11:35:32]shift 496 fd 57045 [11:35:32]save to /storage/0496/doc_00057045 [11:35:32]save last doc name /storage/0496/doc_00057045 to /storage/kkm_last_doc_name [11:35:32]save OK [11:35:32]Clear old archive folders... [11:35:32]ProcessDocumentItem done err = 0, tmpTLVsize=273 [11:35:32]tlvbuf is 00FAC540 [11:35:32]SAM_PROTO_ClearQueue [11:35:32]wFMCommunicate request_size=4 [11:35:32]MH_SAM_APDU [11:35:32]CAPDU: 80 09 00 00 [11:35:32]Write to MH i2c: E2 08 00 37 06 80 09 00 00 00 00 00 00 AF [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:35:32]Read from MH i2c: E2 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 03 00 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 03 00 37 06 00 90 00 B1 [11:35:32]RAPDU: 90 00 [11:35:32]wFMCommunicate OK [11:35:32]SAM_PROTO_ClearQueue done [11:35:32]KKMCreateOFDPacket [11:35:32]OFDProtocolAddRootSTLVToBuf [11:35:32]FM_MakeSignedData [11:35:32]FM_MakeSignedData [11:35:32]SAM_PROTO_SignData [11:35:32]wFMCommunicate request_size=4 [11:35:32]MH_SAM_APDU [11:35:32]CAPDU: 80 0D 01 02 [11:35:32]Write to MH i2c: E2 08 00 38 06 80 0D 01 02 00 00 00 00 B7 [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:35:32]Read from MH i2c: E2 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 03 00 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 03 00 38 06 00 90 00 B2 [11:35:32]RAPDU: 90 00 [11:35:32]wFMCommunicate OK [11:35:32]wFMCommunicate request_size=255 [11:35:32]MH_SAM_APDU [11:35:32]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 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 3E 00 00 00 F4 03 04 00 04 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [11:35:32]Write to MH i2c: E2 02 01 39 06 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 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 3E 00 00 00 F4 03 04 00 04 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 90 [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:32]Read from MH i2c: E2 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 03 00 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 03 00 39 06 00 90 00 B3 [11:35:32]RAPDU: 90 00 [11:35:32]wFMCommunicate OK [11:35:32]wFMCommunicate request_size=32 [11:35:32]MH_SAM_APDU [11:35:32]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 D5 DE 00 00 35 04 06 00 38 61 90 01 DA 63 [11:35:32]Write to MH i2c: E2 23 00 3A 06 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 D5 DE 00 00 35 04 06 00 38 61 90 01 DA 63 00 00 38 [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:35:32]Read from MH i2c: E2 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 03 00 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 03 00 3A 06 00 90 00 B4 [11:35:32]RAPDU: 90 00 [11:35:32]wFMCommunicate OK [11:35:32]wFMCommunicate request_size=4 [11:35:32]MH_SAM_APDU [11:35:32]CAPDU: 80 0D 03 02 [11:35:32]Write to MH i2c: E2 08 00 3B 06 80 0D 03 02 00 00 00 00 BC [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:35:32]Read from MH i2c: E2 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 0B 00 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 0B 00 3B 06 00 DF 7D CF BF F6 9A 4C 02 90 00 85 [11:35:32]RAPDU: DF 7D CF BF F6 9A 4C 02 90 00 [11:35:32]wFMCommunicate OK [11:35:32]SAM_PROTO_SignData done [11:35:32]FM_MakeSignedData done [11:35:32]CreateOFDProtocolMessage [11:35:32]wFMCommunicate request_size=4 [11:35:32]MH_SAM_APDU [11:35:32]CAPDU: 80 11 00 00 [11:35:32]Write to MH i2c: E2 08 00 3C 06 80 11 00 00 00 00 00 00 BC [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:35:32]Read from MH i2c: E2 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 17 00 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: E2 17 00 3C 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 16 [11:35:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:35:32]wFMCommunicate OK [11:35:32]CreateOFDProtocolMessage done [11:35:32]OFDSenderStorePacket 57045 [11:35:32]StoreOFDPacket docnum=57045 [11:35:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 34 D3 1D 01 AC D7 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 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 3E 00 00 00 F4 03 04 00 04 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D5 DE 00 00 35 04 06 00 38 61 90 01 DA 63 DF 7D CF BF F6 9A 4C 02 [11:35:32]CheckFolder [11:35:32]dirname=/storage/ofd_packets [11:35:32]CheckFolder done [11:35:32]ProducePacketName [11:35:32]name=ofd_packets/00057045 [11:35:32]NVStorageSaveData ofd_packets/00057045 [11:35:32]File name is /storage/ofd_packets/00057045 [11:35:32]Write 323 bytes [11:35:32]NVStorageSaveData done [11:35:32]OFDSenderStorePacket done [11:35:32]KKMCreateOFDPacket done [11:35:32]NVStorageSaveData kkm_last_timestamp [11:35:32]File name is /storage/kkm_last_timestamp [11:35:32]Write 4 bytes [11:35:32]NVStorageSaveData done [11:35:32]ExternCall_PrintAddStr [11:35:32]wPrintStart [11:35:32]Write to MH i2c: 01 00 00 3D 06 43 [11:35:32]Write i2c OK [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: 01 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: 01 07 00 [11:35:32]MH_I2C_Read... [11:35:32]Read from MH i2c: 01 07 00 3D 06 00 00 00 00 00 FF 0F 58 [11:35:32]RasterBufferAndPrint [11:35:32]line Счет N : (3)129508 [11:35:32]line ИНН: 02508201610067 [11:35:32]line Контрольно-Кассовый Чек [11:35:32]line ПРОДАЖА [11:35:32]line Товар: 4780014240406 [11:35:32]line Сигареты Sovereign Blue [11:35:32]line 1.000 * 130.00 [11:35:32]line = 130.00 [11:35:32]line НДС 12% НСП 1% [11:35:32]line > о реализуемом товаре [11:35:32]line ИТОГО: 130.00 [11:35:32]line НСП 1% : 1.15 [11:35:32]line НДС 12% : 13.80 [11:35:32]line Наличными: 130.00 [11:35:32]line Безнал.: 0.00 [11:35:32]line Место: АЗС № 132 "Партнер Нефть" [11:35:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:35:32]line СНО: Общий режим [11:35:32]line Чек 62 14.07.2024 11:35 [11:35:32]line Смена: 496 ФФД: 1.0 [11:35:32]line ЗНМ: 0300000132 [11:35:32]line РНМ: 0000000000091208 [11:35:32]line Версия ККМ: 001 [11:35:32]line ФМ: 0000000000874857 [11:35:32]line ФД: 57045 [11:35:32]line ФПД: 61991679023715 [11:35:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113532&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57045&fm=61991679023715&tin=02508201610067®Number=0000000000091208&sum=13000 [11:35:32]line 0 [11:35:33]written 0, free lines is 4095 [11:35:33]OFD Sender: Processing packet 57045 [packets to send 38, broken 37] [11:35:33]ProducePacketName [11:35:33]name=ofd_packets/00057045 [11:35:33]OFD Sender: To server: pG, [11:35:33]CommunicateWithHost lk.salyk.kg:30040 [11:35:33]ConnectInit lk.salyk.kg [11:35:33]Connected sock=10 [11:35:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 34 D3 1D 01 AC D7 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 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 3E 00 00 00 F4 03 04 00 04 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D5 DE 00 00 35 04 06 00 38 61 90 01 DA 63 DF 7D CF BF F6 9A 4C 02 [11:35:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 A8 28 47 00 4E E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D5 DE 00 00 F4 03 04 00 55 5E 93 66 B6 04 01 00 00 12 6A 64 D5 CB F9 D5 CE [11:35:33]CommunicateWithHost err = 0 [11:35:33]CheckOFDResponse [11:35:33]1017 (14) - 77093643461234 [11:35:33]1041 (16) - 0000000000874857 [11:35:33]1040 (4) - 57045 [11:35:33]1012 (4) - 14.07.2024 05:12 [11:35:33]1206 (1) - 0 [11:35:33]OFD Sender: Remove packet 57045 [11:35:33]ProducePacketName [11:35:33]name=ofd_packets/00057045 [11:35:33]NVStorageDeleteData [11:35:33]Write to MH i2c: 01 00 00 65 06 6B [11:35:33]Write i2c OK [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: 01 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: 01 07 00 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: 01 07 00 65 06 00 00 00 00 00 FD 0C 7B [11:35:33]RasterBufferAndPrint [11:35:33]line [11:35:33]line [11:35:33]line [11:35:33]line [11:35:33]line [11:35:33]written 0, free lines is 3331 [11:35:33]MH_Cut [11:35:33]Write to MH i2c: D1 01 00 6C 06 01 44 [11:35:33]Write i2c OK [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: D1 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: D1 01 00 [11:35:33]MH_I2C_Read... [11:35:33]Read from MH i2c: D1 01 00 6C 06 00 43 [11:35:33]Write to MH i2c: 01 00 00 6D 06 73 [11:35:33]Write i2c OK [11:35:33]MH_I2C_Read... [11:35:34]OFD Sender: No OFD packet to send [11:35:34]*** Cut start [11:35:34]*** Partial cut [11:35:34]*** CUTSNS_PIN = 1 [11:35:34]*** CUTSNS_PIN = 0 [11:35:34]*** Brake cut motor [11:35:35]Read from MH i2c: 01 [11:35:35]MH_I2C_Read... [11:35:35]*** Stop cut motor [11:35:35]*** Cut end [11:35:35]Read from MH i2c: 01 07 00 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: 01 07 00 6D 06 00 00 00 00 00 FF 0F 88 [11:35:35]process_action close_receipt done [11:35:35]requested_data is exist [11:35:35]produce_requested_data [11:35:35]requested_item fm.sn is exist - process it [11:35:35]wFMCommunicate request_size=4 [11:35:35]MH_SAM_APDU [11:35:35]CAPDU: 80 11 00 00 [11:35:35]Write to MH i2c: E2 08 00 6E 06 80 11 00 00 00 00 00 00 EE [11:35:35]Write i2c OK [11:35:35]MH_I2C_Read... [11:35:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:35:35]Read from MH i2c: E2 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: E2 17 00 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: E2 17 00 6E 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 48 [11:35:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:35:35]wFMCommunicate OK [11:35:35]requested_item fd.num is exist - process it [11:35:35]SAM_PROTO_GetFieldsCounters [11:35:35]wFMCommunicate request_size=4 [11:35:35]MH_SAM_APDU [11:35:35]CAPDU: 80 13 00 00 [11:35:35]Write to MH i2c: E2 08 00 6F 06 80 13 00 00 00 00 00 00 F1 [11:35:35]Write i2c OK [11:35:35]MH_I2C_Read... [11:35:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:35:35]Read from MH i2c: E2 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: E2 62 00 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: E2 62 00 6F 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D5 DE 00 00 0E 04 04 00 F0 01 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 72 [11:35:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D5 DE 00 00 0E 04 04 00 F0 01 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 [11:35:35]wFMCommunicate OK [11:35:35]SAM_PROTO_GetFieldsCounters done [11:35:35]requested_item shift.num is exist - process it [11:35:35]requested_item shift.opened is exist - process it [11:35:35]req_shift_opened [11:35:35]FM_GetShiftState [11:35:35]SAM_PROTO_GetShiftState [11:35:35]wFMCommunicate request_size=4 [11:35:35]MH_SAM_APDU [11:35:35]CAPDU: 80 13 01 00 [11:35:35]Write to MH i2c: E2 08 00 70 06 80 13 01 00 00 00 00 00 F3 [11:35:35]Write i2c OK [11:35:35]MH_I2C_Read... [11:35:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:35:35]Read from MH i2c: E2 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: E2 0E 00 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: E2 0E 00 70 06 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 9A [11:35:35]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:35:35]wFMCommunicate OK [11:35:35]SAM_PROTO_GetShiftState done [11:35:35]FM_GetShiftState done [11:35:35]req_shift_opened done [11:35:35]requested_item shift.open_date is exist - process it [11:35:35]req_shift_open_date [11:35:35]req_shift_open_date done [11:35:35]requested_item shift.sale.total is exist - process it [11:35:35]SAM_PROTO_GetShiftData [11:35:35]wFMCommunicate request_size=4 [11:35:35]MH_SAM_APDU [11:35:35]CAPDU: 80 13 02 00 [11:35:35]Write to MH i2c: E2 08 00 71 06 80 13 02 00 00 00 00 00 F5 [11:35:35]Write i2c OK [11:35:35]MH_I2C_Read... [11:35:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:35:35]Read from MH i2c: E2 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: E2 FD 00 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: E2 FD 00 71 06 00 BB 04 AA 04 B7 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 98 D3 25 70 04 03 00 AC E3 1F 72 04 03 00 EC EF 05 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 61 04 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 6F [11:35:35]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 3E 00 00 00 69 04 9B 00 6F 04 04 00 3C 00 00 00 B1 04 03 00 98 D3 25 70 04 03 00 AC E3 1F 72 04 03 00 EC EF 05 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 61 04 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AB 55 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [11:35:35]wFMCommunicate OK [11:35:35]wFMCommunicate request_size=4 [11:35:35]MH_SAM_APDU [11:35:35]CAPDU: 80 17 00 00 [11:35:35]Write to MH i2c: E2 08 00 72 06 80 17 00 00 00 00 00 00 F8 [11:35:35]Write i2c OK [11:35:35]MH_I2C_Read... [11:35:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:35:35]Read from MH i2c: E2 [11:35:35]MH_I2C_Read... [11:35:35]Read from MH i2c: E2 FD 00 [11:35:35]MH_I2C_Read... [11:35:36]Read from MH i2c: E2 FD 00 72 06 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8B [11:35:36]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:35:36]wFMCommunicate OK [11:35:36]wFMCommunicate request_size=4 [11:35:36]MH_SAM_APDU [11:35:36]CAPDU: 80 17 00 00 [11:35:36]Write to MH i2c: E2 08 00 73 06 80 17 00 00 00 00 00 00 F9 [11:35:36]Write i2c OK [11:35:36]MH_I2C_Read... [11:35:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:35:36]Read from MH i2c: E2 [11:35:36]MH_I2C_Read... [11:35:36]Read from MH i2c: E2 FD 00 [11:35:36]MH_I2C_Read... [11:35:36]Read from MH i2c: E2 FD 00 73 06 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 25 [11:35:36]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:35:36]wFMCommunicate OK [11:35:36]wFMCommunicate request_size=4 [11:35:36]MH_SAM_APDU [11:35:36]CAPDU: 80 17 00 00 [11:35:36]Write to MH i2c: E2 08 00 74 06 80 17 00 00 00 00 00 00 FA [11:35:36]Write i2c OK [11:35:36]MH_I2C_Read... [11:35:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:35:36]Read from MH i2c: E2 [11:35:36]MH_I2C_Read... [11:35:36]Read from MH i2c: E2 FD 00 [11:35:36]MH_I2C_Read... [11:35:36]Read from MH i2c: E2 FD 00 74 06 00 00 00 EF 03 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 90 00 6F [11:35:36]RAPDU: 00 00 EF 03 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 90 00 [11:35:36]wFMCommunicate OK [11:35:36]wFMCommunicate request_size=4 [11:35:36]MH_SAM_APDU [11:35:36]CAPDU: 80 17 00 00 [11:35:36]Write to MH i2c: E2 08 00 75 06 80 17 00 00 00 00 00 00 FB [11:35:36]Write i2c OK [11:35:36]MH_I2C_Read... [11:35:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [11:35:36]Read from MH i2c: E2 [11:35:36]MH_I2C_Read... [11:35:36]Read from MH i2c: E2 D8 00 [11:35:36]MH_I2C_Read... [11:35:36]Read from MH i2c: E2 D8 00 75 06 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 E2 [11:35:36]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:35:36]wFMCommunicate OK [11:35:36]SAM_PROTO_GetShiftData done [11:35:36]requested_item shift.sale.total_cash is exist - process it [11:35:36]requested_item shift.sale_refund.total is exist - process it [11:35:36]requested_item shift.sale_refund.total_cash is exist - process it [11:35:36]produce_requested_data done [11:35:36]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57045,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":24790.00,"shift.sale.total_cash":20899.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [11:35:36]process_action_free close_receipt [11:35:36]json_value_free [11:35:36]json_value_free done [11:35:36]process_json_proto returns [11:35:36]Send response to host [11:35:36]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57045,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":24790.00,"shift.sale.total_cash":20899.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [11:35:36]free response buf [11:35:36]execute_script done [11:35:36]execute_script returns [11:35:36]free content buf [11:35:36]Sock 7.Close socket [11:35:36]Sock 7.Thread stoped [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:08]accept exits with 9 [11:36:08]New connection [11:36:08]New thread 3067592036 created [11:36:08]Thread 3067448676 joined [11:36:08]Waiting for new connection... [11:36:08] Sock 9.Parse request [11:36:08]Sock 9.Check first char [11:36:08]Sock 9.First char is OK [11:36:08]request: POST /json_proto HTTP/1.0 [11:36:08]Method: POST [11:36:08]URL: /json_proto [11:36:08]Method is POST - this is cgi request [11:36:08]url: /json_proto [11:36:08]query_string will be loaded in cgi processing [11:36:08]execute_cgi json_proto POST (null) [11:36:08]execute_cgi path=json_proto method=POST [11:36:08]POST find Content-Length [11:36:08]Host: 172.17.39.4:8080 [11:36:08]Content-Length: 926 [11:36:08]Content-Type: application/json [11:36:08] [11:36:08]POST finish read [11:36:08]Found Content-Length = 926 [11:36:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129509", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:36:08]execute_script... [11:36: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)129509", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 140.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:36:08]POST & json_proto [11:36:08]process_json_proto [11:36:08]json parsed OK: [11:36:08]protocol is kg_v1.0 [11:36:08]action value=close_receipt [11:36:08]process_action close_receipt [11:36:08]cmd_close_receipt [11:36:08]MH_GetDate [11:36:08]Write to MH i2c: F0 00 00 76 06 6B [11:36:08]Write i2c OK [11:36:08]MH_I2C_Read... [11:36:08]Read from MH i2c: F0 [11:36:08]MH_I2C_Read... [11:36:08]Read from MH i2c: F0 09 00 [11:36:08]MH_I2C_Read... [11:36:08]Read from MH i2c: F0 09 00 76 06 00 29 B8 93 66 2D 25 5D 64 61 [11:36:08]GetLastDocTimeStamp 1720956932 [11:36:08]current date 1720956969 [11:36:08]FM_GetShiftState [11:36:08]SAM_PROTO_GetShiftState [11:36:08]wFMCommunicate request_size=4 [11:36:08]MH_SAM_APDU [11:36:08]CAPDU: 80 13 01 00 [11:36:08]Write to MH i2c: E2 08 00 77 06 80 13 01 00 00 00 00 00 FA [11:36:08]Write i2c OK [11:36:08]MH_I2C_Read... [11:36:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:08]Read from MH i2c: E2 [11:36:08]MH_I2C_Read... [11:36:08]Read from MH i2c: E2 0E 00 [11:36:08]MH_I2C_Read... [11:36:08]Read from MH i2c: E2 0E 00 77 06 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 A1 [11:36:08]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:36:08]wFMCommunicate OK [11:36:08]SAM_PROTO_GetShiftState done [11:36:08]FM_GetShiftState done [11:36:08]opened in 1720917126 [11:36:08]opened+sec_in_day 1721003526 [11:36:08]quantity*price = 14000 [11:36:08]sum+1 = 14001 [11:36:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 0.00 Безнал.: 140.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 63 14.07.2024 11:36 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57046 ФПД: 233578413373613 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113609&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57046&fm=233578413373613&tin=02508201610067®Number=0000000000091208&sum=14000 0 [11:36:09]StoreToDocumentArchive [11:36:09]shift 496 fd 57046 [11:36:09]save to /storage/0496/doc_00057046 [11:36:09]save last doc name /storage/0496/doc_00057046 to /storage/kkm_last_doc_name [11:36:09]save OK [11:36:09]Clear old archive folders... [11:36:09]ProcessDocumentItem done err = 0, tmpTLVsize=273 [11:36:09]tlvbuf is 00FA7E70 [11:36:09]SAM_PROTO_ClearQueue [11:36:09]wFMCommunicate request_size=4 [11:36:09]MH_SAM_APDU [11:36:09]CAPDU: 80 09 00 00 [11:36:09]Write to MH i2c: E2 08 00 84 06 80 09 00 00 00 00 00 00 FC [11:36:09]Write i2c OK [11:36:09]MH_I2C_Read... [11:36:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:36:09]Read from MH i2c: E2 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 03 00 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 03 00 84 06 00 90 00 FE [11:36:09]RAPDU: 90 00 [11:36:09]wFMCommunicate OK [11:36:09]SAM_PROTO_ClearQueue done [11:36:09]KKMCreateOFDPacket [11:36:09]OFDProtocolAddRootSTLVToBuf [11:36:09]FM_MakeSignedData [11:36:09]FM_MakeSignedData [11:36:09]SAM_PROTO_SignData [11:36:09]wFMCommunicate request_size=4 [11:36:09]MH_SAM_APDU [11:36:09]CAPDU: 80 0D 01 02 [11:36:09]Write to MH i2c: E2 08 00 85 06 80 0D 01 02 00 00 00 00 04 [11:36:09]Write i2c OK [11:36:09]MH_I2C_Read... [11:36:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:36:09]Read from MH i2c: E2 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 03 00 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 03 00 85 06 00 90 00 FF [11:36:09]RAPDU: 90 00 [11:36:09]wFMCommunicate OK [11:36:09]wFMCommunicate request_size=255 [11:36:09]MH_SAM_APDU [11:36:09]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 29 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [11:36:09]Write to MH i2c: E2 02 01 86 06 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 29 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 EA [11:36:09]Write i2c OK [11:36:09]MH_I2C_Read... [11:36:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:09]Read from MH i2c: E2 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 03 00 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 03 00 86 06 00 90 00 00 [11:36:09]RAPDU: 90 00 [11:36:09]wFMCommunicate OK [11:36:09]wFMCommunicate request_size=32 [11:36:09]MH_SAM_APDU [11:36:09]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 D6 DE 00 00 35 04 06 00 D4 70 36 5B 38 AD [11:36:09]Write to MH i2c: E2 23 00 87 06 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 D6 DE 00 00 35 04 06 00 D4 70 36 5B 38 AD 00 00 D9 [11:36:09]Write i2c OK [11:36:09]MH_I2C_Read... [11:36:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:09]Read from MH i2c: E2 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 03 00 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 03 00 87 06 00 90 00 01 [11:36:09]RAPDU: 90 00 [11:36:09]wFMCommunicate OK [11:36:09]wFMCommunicate request_size=4 [11:36:09]MH_SAM_APDU [11:36:09]CAPDU: 80 0D 03 02 [11:36:09]Write to MH i2c: E2 08 00 88 06 80 0D 03 02 00 00 00 00 09 [11:36:09]Write i2c OK [11:36:09]MH_I2C_Read... [11:36:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:36:09]Read from MH i2c: E2 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 0B 00 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 0B 00 88 06 00 1F 71 BC 20 80 86 17 E4 90 00 77 [11:36:09]RAPDU: 1F 71 BC 20 80 86 17 E4 90 00 [11:36:09]wFMCommunicate OK [11:36:09]SAM_PROTO_SignData done [11:36:09]FM_MakeSignedData done [11:36:09]CreateOFDProtocolMessage [11:36:09]wFMCommunicate request_size=4 [11:36:09]MH_SAM_APDU [11:36:09]CAPDU: 80 11 00 00 [11:36:09]Write to MH i2c: E2 08 00 89 06 80 11 00 00 00 00 00 00 09 [11:36:09]Write i2c OK [11:36:09]MH_I2C_Read... [11:36:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:09]Read from MH i2c: E2 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 17 00 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: E2 17 00 89 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 63 [11:36:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:36:09]wFMCommunicate OK [11:36:09]CreateOFDProtocolMessage done [11:36:09]OFDSenderStorePacket 57046 [11:36:09]StoreOFDPacket docnum=57046 [11:36:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 B2 6A 1D 01 D6 FC 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 29 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D6 DE 00 00 35 04 06 00 D4 70 36 5B 38 AD 1F 71 BC 20 80 86 17 E4 [11:36:09]CheckFolder [11:36:09]dirname=/storage/ofd_packets [11:36:09]CheckFolder done [11:36:09]ProducePacketName [11:36:09]name=ofd_packets/00057046 [11:36:09]NVStorageSaveData ofd_packets/00057046 [11:36:09]File name is /storage/ofd_packets/00057046 [11:36:09]Write 323 bytes [11:36:09]NVStorageSaveData done [11:36:09]OFDSenderStorePacket done [11:36:09]KKMCreateOFDPacket done [11:36:09]NVStorageSaveData kkm_last_timestamp [11:36:09]File name is /storage/kkm_last_timestamp [11:36:09]Write 4 bytes [11:36:09]NVStorageSaveData done [11:36:09]ExternCall_PrintAddStr [11:36:09]wPrintStart [11:36:09]Write to MH i2c: 01 00 00 8A 06 90 [11:36:09]Write i2c OK [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: 01 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: 01 07 00 [11:36:09]MH_I2C_Read... [11:36:09]Read from MH i2c: 01 07 00 8A 06 00 00 00 00 00 FF 0F A5 [11:36:09]RasterBufferAndPrint [11:36:09]line Счет N : (3)129509 [11:36:09]line ИНН: 02508201610067 [11:36:09]line Контрольно-Кассовый Чек [11:36:09]line ПРОДАЖА [11:36:09]line Товар: 48747059 [11:36:09]line Сигареты Winston Legend Blue [11:36:09]line 1.000 * 140.00 [11:36:09]line = 140.00 [11:36:09]line НДС 12% НСП 1% [11:36:09]line > о реализуемом товаре [11:36:09]line ИТОГО: 140.00 [11:36:09]line НСП 1% : 1.24 [11:36:09]line НДС 12% : 14.87 [11:36:09]line Наличными: 0.00 [11:36:09]line Безнал.: 140.00 [11:36:09]line Место: АЗС № 132 "Партнер Нефть" [11:36:09]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:36:09]line СНО: Общий режим [11:36:09]line Чек 63 14.07.2024 11:36 [11:36:09]line Смена: 496 ФФД: 1.0 [11:36:09]line ЗНМ: 0300000132 [11:36:09]line РНМ: 0000000000091208 [11:36:09]line Версия ККМ: 001 [11:36:09]line Платежная система: АКБ Кыргызстан [11:36:09]line ФМ: 0000000000874857 [11:36:09]line ФД: 57046 [11:36:09]line ФПД: 233578413373613 [11:36:09]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113609&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57046&fm=233578413373613&tin=02508201610067®Number=0000000000091208&sum=14000 [11:36:09]line 0 [11:36:09]written 0, free lines is 4095 [11:36:09]OFD Sender: Processing packet 57046 [packets to send 38, broken 37] [11:36:09]ProducePacketName [11:36:09]name=ofd_packets/00057046 [11:36:09]OFD Sender: To server: pG, [11:36:10]CommunicateWithHost lk.salyk.kg:30040 [11:36:10]ConnectInit lk.salyk.kg [11:36:10]Write to MH i2c: 01 00 00 B5 06 BB [11:36:10]Write i2c OK [11:36:10]MH_I2C_Read... [11:36:10]Read from MH i2c: 01 [11:36:10]MH_I2C_Read... [11:36:10]Read from MH i2c: 01 07 00 [11:36:10]MH_I2C_Read... [11:36:10]Read from MH i2c: 01 07 00 B5 06 00 00 00 00 00 BE 0C 8C [11:36:10]RasterBufferAndPrint [11:36:10]line [11:36:10]line [11:36:10]line [11:36:10]line [11:36:10]line [11:36:10]written 0, free lines is 3265 [11:36:10]MH_Cut [11:36:10]Write to MH i2c: D1 01 00 BC 06 01 94 [11:36:10]Write i2c OK [11:36:10]MH_I2C_Read... [11:36:10]Read from MH i2c: D1 [11:36:10]MH_I2C_Read... [11:36:10]Read from MH i2c: D1 01 00 [11:36:10]MH_I2C_Read... [11:36:10]Read from MH i2c: D1 01 00 BC 06 00 93 [11:36:10]Write to MH i2c: 01 00 00 BD 06 C3 [11:36:10]Write i2c OK [11:36:10]MH_I2C_Read... [11:36:11]*** Cut start [11:36:11]*** Partial cut [11:36:11]*** CUTSNS_PIN = 1 [11:36:11]*** CUTSNS_PIN = 0 [11:36:11]*** Brake cut motor [11:36:11]Read from MH i2c: 01 [11:36:11]MH_I2C_Read... [11:36:11]*** Stop cut motor [11:36:11]*** Cut end [11:36:11]Read from MH i2c: 01 07 00 [11:36:11]MH_I2C_Read... [11:36:11]Read from MH i2c: 01 07 00 BD 06 00 00 00 00 00 FF 0F D8 [11:36:11]process_action close_receipt done [11:36:11]requested_data is exist [11:36:11]produce_requested_data [11:36:11]requested_item fm.sn is exist - process it [11:36:11]wFMCommunicate request_size=4 [11:36:11]MH_SAM_APDU [11:36:11]CAPDU: 80 11 00 00 [11:36:11]Write to MH i2c: E2 08 00 BE 06 80 11 00 00 00 00 00 00 3E [11:36:11]Write i2c OK [11:36:11]MH_I2C_Read... [11:36:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:11]Read from MH i2c: E2 [11:36:11]MH_I2C_Read... [11:36:11]Read from MH i2c: E2 17 00 [11:36:11]MH_I2C_Read... [11:36:11]Read from MH i2c: E2 17 00 BE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 98 [11:36:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:36:11]wFMCommunicate OK [11:36:11]requested_item fd.num is exist - process it [11:36:11]SAM_PROTO_GetFieldsCounters [11:36:11]wFMCommunicate request_size=4 [11:36:11]MH_SAM_APDU [11:36:11]CAPDU: 80 13 00 00 [11:36:11]Write to MH i2c: E2 08 00 BF 06 80 13 00 00 00 00 00 00 41 [11:36:11]Write i2c OK [11:36:11]MH_I2C_Read... [11:36:11]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:36:11]Read from MH i2c: E2 [11:36:11]MH_I2C_Read... [11:36:11]Read from MH i2c: E2 62 00 [11:36:11]MH_I2C_Read... [11:36:11]Read from MH i2c: E2 62 00 BF 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D6 DE 00 00 0E 04 04 00 F0 01 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 C6 [11:36:11]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D6 DE 00 00 0E 04 04 00 F0 01 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 [11:36:11]wFMCommunicate OK [11:36:11]SAM_PROTO_GetFieldsCounters done [11:36:11]requested_item shift.num is exist - process it [11:36:11]requested_item shift.opened is exist - process it [11:36:11]req_shift_opened [11:36:11]FM_GetShiftState [11:36:11]SAM_PROTO_GetShiftState [11:36:11]wFMCommunicate request_size=4 [11:36:11]MH_SAM_APDU [11:36:11]CAPDU: 80 13 01 00 [11:36:11]Write to MH i2c: E2 08 00 C0 06 80 13 01 00 00 00 00 00 43 [11:36:11]Write i2c OK [11:36:11]MH_I2C_Read... [11:36:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:12]Read from MH i2c: E2 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: E2 0E 00 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: E2 0E 00 C0 06 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 EA [11:36:12]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:36:12]wFMCommunicate OK [11:36:12]SAM_PROTO_GetShiftState done [11:36:12]FM_GetShiftState done [11:36:12]req_shift_opened done [11:36:12]requested_item shift.open_date is exist - process it [11:36:12]req_shift_open_date [11:36:12]req_shift_open_date done [11:36:12]requested_item shift.sale.total is exist - process it [11:36:12]SAM_PROTO_GetShiftData [11:36:12]wFMCommunicate request_size=4 [11:36:12]MH_SAM_APDU [11:36:12]CAPDU: 80 13 02 00 [11:36:12]Write to MH i2c: E2 08 00 C1 06 80 13 02 00 00 00 00 00 45 [11:36:12]Write i2c OK [11:36:12]MH_I2C_Read... [11:36:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:36:12]Read from MH i2c: E2 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: E2 FD 00 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: E2 FD 00 C1 06 00 BB 04 AA 04 B7 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3D 00 00 00 B1 04 03 00 48 0A 26 70 04 03 00 AC E3 1F 72 04 03 00 9C 26 06 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 30 0A 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 27 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 E3 [11:36:12]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 3F 00 00 00 69 04 9B 00 6F 04 04 00 3D 00 00 00 B1 04 03 00 48 0A 26 70 04 03 00 AC E3 1F 72 04 03 00 9C 26 06 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 30 0A 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 27 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [11:36:12]wFMCommunicate OK [11:36:12]wFMCommunicate request_size=4 [11:36:12]MH_SAM_APDU [11:36:12]CAPDU: 80 17 00 00 [11:36:12]Write to MH i2c: E2 08 00 C2 06 80 17 00 00 00 00 00 00 48 [11:36:12]Write i2c OK [11:36:12]MH_I2C_Read... [11:36:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:12]Read from MH i2c: E2 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: E2 FD 00 [11:36:12]MH_I2C_Read... [11:36:12]Read from MH i2c: E2 FD 00 C2 06 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DB [11:36:12]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:36:12]wFMCommunicate OK [11:36:12]wFMCommunicate request_size=4 [11:36:12]MH_SAM_APDU [11:36:12]CAPDU: 80 17 00 00 [11:36:12]Write to MH i2c: E2 08 00 C3 06 80 17 00 00 00 00 00 00 49 [11:36:12]Write i2c OK [11:36:12]MH_I2C_Read... [11:36:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:13]Read from MH i2c: E2 [11:36:13]MH_I2C_Read... [11:36:13]Read from MH i2c: E2 FD 00 [11:36:13]MH_I2C_Read... [11:36:13]Read from MH i2c: E2 FD 00 C3 06 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 75 [11:36:13]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:36:13]wFMCommunicate OK [11:36:13]wFMCommunicate request_size=4 [11:36:13]MH_SAM_APDU [11:36:13]CAPDU: 80 17 00 00 [11:36:13]Write to MH i2c: E2 08 00 C4 06 80 17 00 00 00 00 00 00 4A [11:36:13]Write i2c OK [11:36:13]MH_I2C_Read... [11:36:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:13]Read from MH i2c: E2 [11:36:13]MH_I2C_Read... [11:36:13]Read from MH i2c: E2 FD 00 [11:36:13]MH_I2C_Read... [11:36:13]Read from MH i2c: E2 FD 00 C4 06 00 00 00 EF 03 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 90 00 BF [11:36:13]RAPDU: 00 00 EF 03 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 90 00 [11:36:13]wFMCommunicate OK [11:36:13]wFMCommunicate request_size=4 [11:36:13]MH_SAM_APDU [11:36:13]CAPDU: 80 17 00 00 [11:36:13]Write to MH i2c: E2 08 00 C5 06 80 17 00 00 00 00 00 00 4B [11:36:13]Write i2c OK [11:36:13]MH_I2C_Read... [11:36:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [11:36:13]Read from MH i2c: E2 [11:36:13]MH_I2C_Read... [11:36:13]Read from MH i2c: E2 D8 00 [11:36:13]MH_I2C_Read... [11:36:13]Read from MH i2c: E2 D8 00 C5 06 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [11:36:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:36:13]wFMCommunicate OK [11:36:13]SAM_PROTO_GetShiftData done [11:36:13]requested_item shift.sale.total_cash is exist - process it [11:36:13]requested_item shift.sale_refund.total is exist - process it [11:36:13]requested_item shift.sale_refund.total_cash is exist - process it [11:36:13]produce_requested_data done [11:36:13]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57046,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":24930.00,"shift.sale.total_cash":20899.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [11:36:13]process_action_free close_receipt [11:36:13]json_value_free [11:36:13]json_value_free done [11:36:13]process_json_proto returns [11:36:13]Send response to host [11:36:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57046,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":24930.00,"shift.sale.total_cash":20899.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [11:36:13]free response buf [11:36:13]execute_script done [11:36:13]execute_script returns [11:36:13]free content buf [11:36:13]Sock 9.Close socket [11:36:13]Sock 9.Thread stoped [11:36:34]accept exits with 7 [11:36:34]New connection [11:36:34]New thread 3067448676 created [11:36:34]Thread 3067592036 joined [11:36:34]Waiting for new connection... [11:36:34] Sock 7.Parse request [11:36:34]Sock 7.Check first char [11:36:34]Sock 7.First char is OK [11:36:34]request: POST /json_proto HTTP/1.0 [11:36:34]Method: POST [11:36:34]URL: /json_proto [11:36:34]Method is POST - this is cgi request [11:36:34]url: /json_proto [11:36:34]query_string will be loaded in cgi processing [11:36:34]execute_cgi json_proto POST (null) [11:36:34]execute_cgi path=json_proto method=POST [11:36:34]POST find Content-Length [11:36:34]Host: 172.17.39.4:8080 [11:36:34]Content-Length: 896 [11:36:34]Content-Type: application/json [11:36:34] [11:36:34]POST finish read [11:36:34]Found Content-Length = 896 [11:36:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129510", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:36:34]execute_script... [11:36:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129510", "tax_sys" : 0, "items" : [ { "code": "42069942", "name": "\u0416\u0435\u0432 Orbit White Fresh Mint", "price" : 45.00, "quantity" : 1.000, "sum" : 45.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 45.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [11:36:34]POST & json_proto [11:36:34]process_json_proto [11:36:34]json parsed OK: [11:36:34]protocol is kg_v1.0 [11:36:34]action value=close_receipt [11:36:34]process_action close_receipt [11:36:34]cmd_close_receipt [11:36:34]MH_GetDate [11:36:34]Write to MH i2c: F0 00 00 C6 06 BB [11:36:34]Write i2c OK [11:36:34]MH_I2C_Read... [11:36:34]Read from MH i2c: F0 [11:36:34]MH_I2C_Read... [11:36:34]Read from MH i2c: F0 09 00 [11:36:34]MH_I2C_Read... [11:36:34]Read from MH i2c: F0 09 00 C6 06 00 43 B8 93 66 2D 25 5D 64 CB [11:36:34]GetLastDocTimeStamp 1720956969 [11:36:34]current date 1720956995 [11:36:34]FM_GetShiftState [11:36:34]SAM_PROTO_GetShiftState [11:36:34]wFMCommunicate request_size=4 [11:36:34]MH_SAM_APDU [11:36:34]CAPDU: 80 13 01 00 [11:36:34]Write to MH i2c: E2 08 00 C7 06 80 13 01 00 00 00 00 00 4A [11:36:34]Write i2c OK [11:36:34]MH_I2C_Read... [11:36:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:34]Read from MH i2c: E2 [11:36:34]MH_I2C_Read... [11:36:34]Read from MH i2c: E2 0E 00 [11:36:34]MH_I2C_Read... [11:36:34]Read from MH i2c: E2 0E 00 C7 06 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 F1 [11:36:34]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:36:34]wFMCommunicate OK [11:36:34]SAM_PROTO_GetShiftState done [11:36:34]FM_GetShiftState done [11:36:34]opened in 1720917126 [11:36:34]opened+sec_in_day 1721003526 [11:36:34]quantity*price = 4500 [11:36:34]sum+1 = 4501 [11:36:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 45.00 НСП 1% : 0.40 НДС 12% : 4.78 Наличными: 0.00 Безнал.: 45.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 64 14.07.2024 11:36 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57047 ФПД: 4635643531080 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113635&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57047&fm=4635643531080&tin=02508201610067®Number=0000000000091208&sum=4500 0 [11:36:35]StoreToDocumentArchive [11:36:35]shift 496 fd 57047 [11:36:35]save to /storage/0496/doc_00057047 [11:36:35]save last doc name /storage/0496/doc_00057047 to /storage/kkm_last_doc_name [11:36:35]save OK [11:36:35]Clear old archive folders... [11:36:35]ProcessDocumentItem done err = 0, tmpTLVsize=266 [11:36:35]tlvbuf is 00FCC560 [11:36:35]SAM_PROTO_ClearQueue [11:36:35]wFMCommunicate request_size=4 [11:36:35]MH_SAM_APDU [11:36:35]CAPDU: 80 09 00 00 [11:36:35]Write to MH i2c: E2 08 00 D4 06 80 09 00 00 00 00 00 00 4C [11:36:35]Write i2c OK [11:36:35]MH_I2C_Read... [11:36:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [11:36:35]Read from MH i2c: E2 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 03 00 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 03 00 D4 06 00 90 00 4E [11:36:35]RAPDU: 90 00 [11:36:35]wFMCommunicate OK [11:36:35]SAM_PROTO_ClearQueue done [11:36:35]KKMCreateOFDPacket [11:36:35]OFDProtocolAddRootSTLVToBuf [11:36:35]FM_MakeSignedData [11:36:35]FM_MakeSignedData [11:36:35]SAM_PROTO_SignData [11:36:35]wFMCommunicate request_size=4 [11:36:35]MH_SAM_APDU [11:36:35]CAPDU: 80 0D 01 02 [11:36:35]Write to MH i2c: E2 08 00 D5 06 80 0D 01 02 00 00 00 00 54 [11:36:35]Write i2c OK [11:36:35]MH_I2C_Read... [11:36:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [11:36:35]Read from MH i2c: E2 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 03 00 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 03 00 D5 06 00 90 00 4F [11:36:35]RAPDU: 90 00 [11:36:35]wFMCommunicate OK [11:36:35]wFMCommunicate request_size=255 [11:36:35]MH_SAM_APDU [11:36:35]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 43 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 [11:36:35]Write to MH i2c: E2 02 01 D6 06 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 43 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 00 00 2A [11:36:35]Write i2c OK [11:36:35]MH_I2C_Read... [11:36:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:35]Read from MH i2c: E2 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 03 00 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 03 00 D6 06 00 90 00 50 [11:36:35]RAPDU: 90 00 [11:36:35]wFMCommunicate OK [11:36:35]wFMCommunicate request_size=25 [11:36:35]MH_SAM_APDU [11:36:35]CAPDU: 80 0D 02 02 14 35 37 10 04 04 00 D7 DE 00 00 35 04 06 00 04 37 51 E2 CF 48 [11:36:35]Write to MH i2c: E2 1C 00 D7 06 80 0D 02 02 14 00 35 37 10 04 04 00 D7 DE 00 00 35 04 06 00 04 37 51 E2 CF 48 00 00 7C [11:36:35]Write i2c OK [11:36:35]MH_I2C_Read... [11:36:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [11:36:35]Read from MH i2c: E2 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 03 00 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 03 00 D7 06 00 90 00 51 [11:36:35]RAPDU: 90 00 [11:36:35]wFMCommunicate OK [11:36:35]wFMCommunicate request_size=4 [11:36:35]MH_SAM_APDU [11:36:35]CAPDU: 80 0D 03 02 [11:36:35]Write to MH i2c: E2 08 00 D8 06 80 0D 03 02 00 00 00 00 59 [11:36:35]Write i2c OK [11:36:35]MH_I2C_Read... [11:36:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [11:36:35]Read from MH i2c: E2 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 0B 00 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 0B 00 D8 06 00 24 15 1E 18 74 9C 28 B6 90 00 B7 [11:36:35]RAPDU: 24 15 1E 18 74 9C 28 B6 90 00 [11:36:35]wFMCommunicate OK [11:36:35]SAM_PROTO_SignData done [11:36:35]FM_MakeSignedData done [11:36:35]CreateOFDProtocolMessage [11:36:35]wFMCommunicate request_size=4 [11:36:35]MH_SAM_APDU [11:36:35]CAPDU: 80 11 00 00 [11:36:35]Write to MH i2c: E2 08 00 D9 06 80 11 00 00 00 00 00 00 59 [11:36:35]Write i2c OK [11:36:35]MH_I2C_Read... [11:36:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:35]Read from MH i2c: E2 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 17 00 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: E2 17 00 D9 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B3 [11:36:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:36:35]wFMCommunicate OK [11:36:35]CreateOFDProtocolMessage done [11:36:35]OFDSenderStorePacket 57047 [11:36:35]StoreOFDPacket docnum=57047 [11:36:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1E 01 00 00 09 EC 16 01 69 3B 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 43 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D7 DE 00 00 35 04 06 00 04 37 51 E2 CF 48 24 15 1E 18 74 9C 28 B6 [11:36:35]CheckFolder [11:36:35]dirname=/storage/ofd_packets [11:36:35]CheckFolder done [11:36:35]ProducePacketName [11:36:35]name=ofd_packets/00057047 [11:36:35]NVStorageSaveData ofd_packets/00057047 [11:36:35]File name is /storage/ofd_packets/00057047 [11:36:35]Write 316 bytes [11:36:35]NVStorageSaveData done [11:36:35]OFDSenderStorePacket done [11:36:35]KKMCreateOFDPacket done [11:36:35]NVStorageSaveData kkm_last_timestamp [11:36:35]File name is /storage/kkm_last_timestamp [11:36:35]Write 4 bytes [11:36:35]NVStorageSaveData done [11:36:35]ExternCall_PrintAddStr [11:36:35]wPrintStart [11:36:35]Write to MH i2c: 01 00 00 DA 06 E0 [11:36:35]Write i2c OK [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: 01 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: 01 07 00 [11:36:35]MH_I2C_Read... [11:36:35]Read from MH i2c: 01 07 00 DA 06 00 00 00 00 00 FF 0F F5 [11:36:35]RasterBufferAndPrint [11:36:35]line Счет N : (3)129510 [11:36:35]line ИНН: 02508201610067 [11:36:35]line Контрольно-Кассовый Чек [11:36:35]line ПРОДАЖА [11:36:35]line Товар: 42069942 [11:36:35]line Жев Orbit White Fresh Mint [11:36:35]line 1.000 * 45.00 [11:36:35]line = 45.00 [11:36:35]line НДС 12% НСП 1% [11:36:35]line > о реализуемом товаре [11:36:35]line ИТОГО: 45.00 [11:36:35]line НСП 1% : 0.40 [11:36:35]line НДС 12% : 4.78 [11:36:35]line Наличными: 0.00 [11:36:35]line Безнал.: 45.00 [11:36:35]line Место: АЗС № 132 "Партнер Нефть" [11:36:35]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [11:36:35]line СНО: Общий режим [11:36:35]line Чек 64 14.07.2024 11:36 [11:36:35]line Смена: 496 ФФД: 1.0 [11:36:35]line ЗНМ: 0300000132 [11:36:35]line РНМ: 0000000000091208 [11:36:35]line Версия ККМ: 001 [11:36:35]line Платежная система: АКБ Кыргызстан [11:36:35]line ФМ: 0000000000874857 [11:36:35]line ФД: 57047 [11:36:35]line ФПД: 4635643531080 [11:36:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T113635&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57047&fm=4635643531080&tin=02508201610067®Number=0000000000091208&sum=4500 [11:36:36]line 0 [11:36:36]written 0, free lines is 4095 [11:36:36]Write to MH i2c: 01 00 00 04 07 0B [11:36:36]Write i2c OK [11:36:36]MH_I2C_Read... [11:36:36]Read from MH i2c: 01 [11:36:36]MH_I2C_Read... [11:36:36]Read from MH i2c: 01 07 00 [11:36:36]MH_I2C_Read... [11:36:36]Read from MH i2c: 01 07 00 04 07 00 00 00 00 00 D6 0C F4 [11:36:36]RasterBufferAndPrint [11:36:36]line [11:36:36]line [11:36:36]line [11:36:36]line [11:36:36]line [11:36:36]written 0, free lines is 3293 [11:36:36]MH_Cut [11:36:36]Write to MH i2c: D1 01 00 0B 07 01 E4 [11:36:36]Write i2c OK [11:36:36]MH_I2C_Read... [11:36:36]Read from MH i2c: D1 [11:36:36]MH_I2C_Read... [11:36:36]Read from MH i2c: D1 01 00 [11:36:36]MH_I2C_Read... [11:36:36]Read from MH i2c: D1 01 00 0B 07 00 E3 [11:36:36]Write to MH i2c: 01 00 00 0C 07 13 [11:36:36]Write i2c OK [11:36:36]MH_I2C_Read... [11:36:37]*** Cut start [11:36:37]*** Partial cut [11:36:37]*** CUTSNS_PIN = 1 [11:36:37]*** CUTSNS_PIN = 0 [11:36:37]*** Brake cut motor [11:36:38]Read from MH i2c: 01 [11:36:38]MH_I2C_Read... [11:36:38]*** Stop cut motor [11:36:38]*** Cut end [11:36:38]Read from MH i2c: 01 07 00 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: 01 07 00 0C 07 00 00 00 00 00 FF 0F 28 [11:36:38]process_action close_receipt done [11:36:38]requested_data is exist [11:36:38]produce_requested_data [11:36:38]requested_item fm.sn is exist - process it [11:36:38]wFMCommunicate request_size=4 [11:36:38]MH_SAM_APDU [11:36:38]CAPDU: 80 11 00 00 [11:36:38]Write to MH i2c: E2 08 00 0D 07 80 11 00 00 00 00 00 00 8E [11:36:38]Write i2c OK [11:36:38]MH_I2C_Read... [11:36:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [11:36:38]Read from MH i2c: E2 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 17 00 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 17 00 0D 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E8 [11:36:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [11:36:38]wFMCommunicate OK [11:36:38]requested_item fd.num is exist - process it [11:36:38]SAM_PROTO_GetFieldsCounters [11:36:38]wFMCommunicate request_size=4 [11:36:38]MH_SAM_APDU [11:36:38]CAPDU: 80 13 00 00 [11:36:38]Write to MH i2c: E2 08 00 0E 07 80 13 00 00 00 00 00 00 91 [11:36:38]Write i2c OK [11:36:38]MH_I2C_Read... [11:36:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [11:36:38]Read from MH i2c: E2 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 62 00 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 62 00 0E 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D7 DE 00 00 0E 04 04 00 F0 01 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 1A [11:36:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D7 DE 00 00 0E 04 04 00 F0 01 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 [11:36:38]wFMCommunicate OK [11:36:38]SAM_PROTO_GetFieldsCounters done [11:36:38]requested_item shift.num is exist - process it [11:36:38]requested_item shift.opened is exist - process it [11:36:38]req_shift_opened [11:36:38]FM_GetShiftState [11:36:38]SAM_PROTO_GetShiftState [11:36:38]wFMCommunicate request_size=4 [11:36:38]MH_SAM_APDU [11:36:38]CAPDU: 80 13 01 00 [11:36:38]Write to MH i2c: E2 08 00 0F 07 80 13 01 00 00 00 00 00 93 [11:36:38]Write i2c OK [11:36:38]MH_I2C_Read... [11:36:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [11:36:38]Read from MH i2c: E2 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 0E 00 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 0E 00 0F 07 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 3A [11:36:38]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [11:36:38]wFMCommunicate OK [11:36:38]SAM_PROTO_GetShiftState done [11:36:38]FM_GetShiftState done [11:36:38]req_shift_opened done [11:36:38]requested_item shift.open_date is exist - process it [11:36:38]req_shift_open_date [11:36:38]req_shift_open_date done [11:36:38]requested_item shift.sale.total is exist - process it [11:36:38]SAM_PROTO_GetShiftData [11:36:38]wFMCommunicate request_size=4 [11:36:38]MH_SAM_APDU [11:36:38]CAPDU: 80 13 02 00 [11:36:38]Write to MH i2c: E2 08 00 10 07 80 13 02 00 00 00 00 00 95 [11:36:38]Write i2c OK [11:36:38]MH_I2C_Read... [11:36:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [11:36:38]Read from MH i2c: E2 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 FD 00 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 FD 00 10 07 00 BB 04 AA 04 B7 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 DC 1B 26 70 04 03 00 AC E3 1F 72 04 03 00 30 38 06 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 0E 0C 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4F 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 88 [11:36:38]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 40 00 00 00 69 04 9B 00 6F 04 04 00 3E 00 00 00 B1 04 03 00 DC 1B 26 70 04 03 00 AC E3 1F 72 04 03 00 30 38 06 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 0E 0C 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 4F 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [11:36:38]wFMCommunicate OK [11:36:38]wFMCommunicate request_size=4 [11:36:38]MH_SAM_APDU [11:36:38]CAPDU: 80 17 00 00 [11:36:38]Write to MH i2c: E2 08 00 11 07 80 17 00 00 00 00 00 00 98 [11:36:38]Write i2c OK [11:36:38]MH_I2C_Read... [11:36:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:38]Read from MH i2c: E2 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 FD 00 [11:36:38]MH_I2C_Read... [11:36:38]Read from MH i2c: E2 FD 00 11 07 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2B [11:36:38]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:36:39]wFMCommunicate OK [11:36:39]wFMCommunicate request_size=4 [11:36:39]MH_SAM_APDU [11:36:39]CAPDU: 80 17 00 00 [11:36:39]Write to MH i2c: E2 08 00 12 07 80 17 00 00 00 00 00 00 99 [11:36:39]Write i2c OK [11:36:39]MH_I2C_Read... [11:36:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:39]Read from MH i2c: E2 [11:36:39]MH_I2C_Read... [11:36:39]Read from MH i2c: E2 FD 00 [11:36:39]MH_I2C_Read... [11:36:39]Read from MH i2c: E2 FD 00 12 07 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C5 [11:36:39]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [11:36:39]wFMCommunicate OK [11:36:39]wFMCommunicate request_size=4 [11:36:39]MH_SAM_APDU [11:36:39]CAPDU: 80 17 00 00 [11:36:39]Write to MH i2c: E2 08 00 13 07 80 17 00 00 00 00 00 00 9A [11:36:39]Write i2c OK [11:36:39]MH_I2C_Read... [11:36:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [11:36:39]Read from MH i2c: E2 [11:36:39]MH_I2C_Read... [11:36:39]Read from MH i2c: E2 FD 00 [11:36:39]MH_I2C_Read... [11:36:39]Read from MH i2c: E2 FD 00 13 07 00 00 00 EF 03 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 90 00 0F [11:36:39]RAPDU: 00 00 EF 03 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 90 00 [11:36:39]wFMCommunicate OK [11:36:39]wFMCommunicate request_size=4 [11:36:39]MH_SAM_APDU [11:36:39]CAPDU: 80 17 00 00 [11:36:39]Write to MH i2c: E2 08 00 14 07 80 17 00 00 00 00 00 00 9B [11:36:39]Write i2c OK [11:36:39]MH_I2C_Read... [11:36:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [11:36:39]Read from MH i2c: E2 [11:36:39]MH_I2C_Read... [11:36:39]Read from MH i2c: E2 D8 00 [11:36:39]MH_I2C_Read... [11:36:39]Read from MH i2c: E2 D8 00 14 07 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 82 [11:36:39]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [11:36:39]wFMCommunicate OK [11:36:39]SAM_PROTO_GetShiftData done [11:36:39]requested_item shift.sale.total_cash is exist - process it [11:36:39]requested_item shift.sale_refund.total is exist - process it [11:36:39]requested_item shift.sale_refund.total_cash is exist - process it [11:36:39]produce_requested_data done [11:36:39]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57047,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":24975.00,"shift.sale.total_cash":20899.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [11:36:39]process_action_free close_receipt [11:36:39]json_value_free [11:36:39]json_value_free done [11:36:39]process_json_proto returns [11:36:39]Send response to host [11:36:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57047,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":24975.00,"shift.sale.total_cash":20899.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [11:36:39]free response buf [11:36:39]execute_script done [11:36:39]execute_script returns [11:36:39]free content buf [11:36:39]Sock 7.Close socket [11:36:39]Sock 7.Thread stoped [11:38:21]ConnectInit Can't connect to host [11:38:21]CommunicateWithHost connect error [11:38:21]CommunicateWithHost err = -1 [11:38:21]OFD Sender: Server communicate error [11:38:21]OFD Sender: Processing packet 57046 [packets to send 39, broken 37] [11:38:21]ProducePacketName [11:38:21]name=ofd_packets/00057046 [11:38:21]OFD Sender: To server: pG, [11:38:21]CommunicateWithHost lk.salyk.kg:30040 [11:38:21]ConnectInit lk.salyk.kg [11:38:21]Connected sock=7 [11:38:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 B2 6A 1D 01 D6 FC 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 00 00 00 00 39 04 06 00 B0 36 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 3F 00 00 00 F4 03 04 00 29 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D6 DE 00 00 35 04 06 00 D4 70 36 5B 38 AD 1F 71 BC 20 80 86 17 E4 [11:38:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 74 4F 47 00 13 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D6 DE 00 00 F4 03 04 00 FE 5E 93 66 B6 04 01 00 00 8C 19 82 C6 0E 74 CB D2 [11:38:22]CommunicateWithHost err = 0 [11:38:22]CheckOFDResponse [11:38:22]1017 (14) - 77093643461234 [11:38:22]1041 (16) - 0000000000874857 [11:38:22]1040 (4) - 57046 [11:38:22]1012 (4) - 14.07.2024 05:15 [11:38:22]1206 (1) - 0 [11:38:22]OFD Sender: Remove packet 57046 [11:38:22]ProducePacketName [11:38:22]name=ofd_packets/00057046 [11:38:22]NVStorageDeleteData [11:38:22]OFD Sender: Processing packet 57047 [packets to send 38, broken 37] [11:38:22]ProducePacketName [11:38:22]name=ofd_packets/00057047 [11:38:22]OFD Sender: To server: pG, [11:38:22]CommunicateWithHost lk.salyk.kg:30040 [11:38:22]ConnectInit lk.salyk.kg [11:40:34]ConnectInit Can't connect to host [11:40:34]CommunicateWithHost connect error [11:40:34]CommunicateWithHost err = -1 [11:40:34]OFD Sender: Server communicate error [11:40:39]OFD Sender: Processing packet 57047 [packets to send 38, broken 37] [11:40:39]ProducePacketName [11:40:39]name=ofd_packets/00057047 [11:40:39]OFD Sender: To server: pG, [11:40:39]CommunicateWithHost lk.salyk.kg:30040 [11:40:39]ConnectInit lk.salyk.kg [11:40:39]Connected sock=7 [11:40:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1E 01 00 00 09 EC 16 01 69 3B 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 08 00 34 32 30 36 39 39 34 32 06 04 1D 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 57 68 69 74 65 20 46 72 65 73 68 20 4D 69 6E 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 94 11 00 00 00 00 13 04 06 00 94 11 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 94 11 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 28 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 DE 01 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 94 11 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 40 00 00 00 F4 03 04 00 43 B8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D7 DE 00 00 35 04 06 00 04 37 51 E2 CF 48 24 15 1E 18 74 9C 28 B6 [11:40:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 21 2A 47 00 D8 2C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D7 DE 00 00 F4 03 04 00 88 5F 93 66 B6 04 01 00 00 12 E7 4C 3E 2C D4 37 41 [11:40:40]CommunicateWithHost err = 0 [11:40:40]CheckOFDResponse [11:40:40]1017 (14) - 77093643461234 [11:40:40]1041 (16) - 0000000000874857 [11:40:40]1040 (4) - 57047 [11:40:40]1012 (4) - 14.07.2024 05:18 [11:40:40]1206 (1) - 0 [11:40:40]OFD Sender: Remove packet 57047 [11:40:40]ProducePacketName [11:40:40]name=ofd_packets/00057047 [11:40:40]NVStorageDeleteData [11:40:40]OFD Sender: No OFD packet to send [11:40:45]OFD Sender: No OFD packet to send [11:40:50]OFD Sender: No OFD packet to send [11:40:55]OFD Sender: No OFD packet to send [11:41:00]OFD Sender: No OFD packet to send [11:41:05]OFD Sender: No OFD packet to send [11:41:10]OFD Sender: No OFD packet to send [11:41:15]OFD Sender: No OFD packet to send [11:41:20]OFD Sender: No OFD packet to send [11:41:25]OFD Sender: No OFD packet to send [11:41:30]OFD Sender: No OFD packet to send [11:41:35]OFD Sender: No OFD packet to send [11:41:40]OFD Sender: No OFD packet to send [11:41:45]OFD Sender: No OFD packet to send [11:41:50]OFD Sender: No OFD packet to send [11:41:55]OFD Sender: No OFD packet to send [11:42:00]OFD Sender: No OFD packet to send [11:42:05]OFD Sender: No OFD packet to send [11:42:10]OFD Sender: No OFD packet to send [11:42:15]OFD Sender: No OFD packet to send [11:42:20]OFD Sender: No OFD packet to send [11:42:25]OFD Sender: No OFD packet to send [11:42:30]OFD Sender: No OFD packet to send [11:42:35]OFD Sender: No OFD packet to send [11:42:40]OFD Sender: No OFD packet to send [11:42:45]OFD Sender: No OFD packet to send [11:42:50]OFD Sender: No OFD packet to send [11:42:55]OFD Sender: No OFD packet to send [11:43:00]OFD Sender: No OFD packet to send [11:43:05]OFD Sender: No OFD packet to send [11:43:10]OFD Sender: No OFD packet to send [11:43:15]OFD Sender: No OFD packet to send [11:43:20]OFD Sender: No OFD packet to send [11:43:25]OFD Sender: No OFD packet to send [11:43:30]OFD Sender: No OFD packet to send [11:43:35]OFD Sender: No OFD packet to send [11:43:40]OFD Sender: No OFD packet to send [11:43:45]OFD Sender: No OFD packet to send [11:43:50]OFD Sender: No OFD packet to send [11:43:55]OFD Sender: No OFD packet to send [11:44:00]OFD Sender: No OFD packet to send [11:44:05]OFD Sender: No OFD packet to send [11:44:10]OFD Sender: No OFD packet to send [11:44:15]OFD Sender: No OFD packet to send [11:44:20]OFD Sender: No OFD packet to send [11:44:25]OFD Sender: No OFD packet to send [11:44:30]OFD Sender: No OFD packet to send [11:44:35]OFD Sender: No OFD packet to send [11:44:40]OFD Sender: No OFD packet to send [11:44:45]OFD Sender: No OFD packet to send [11:44:50]OFD Sender: No OFD packet to send [11:44:55]OFD Sender: No OFD packet to send [11:45:00]OFD Sender: No OFD packet to send [11:45:05]OFD Sender: No OFD packet to send [11:45:10]OFD Sender: No OFD packet to send [11:45:15]OFD Sender: No OFD packet to send [11:45:20]OFD Sender: No OFD packet to send [11:45:25]OFD Sender: No OFD packet to send [11:45:30]OFD Sender: No OFD packet to send [11:45:35]OFD Sender: No OFD packet to send [11:45:40]OFD Sender: No OFD packet to send [11:45:45]OFD Sender: No OFD packet to send [11:45:50]OFD Sender: No OFD packet to send [11:45:55]OFD Sender: No OFD packet to send [11:46:00]OFD Sender: No OFD packet to send [11:46:05]OFD Sender: No OFD packet to send [11:46:10]OFD Sender: No OFD packet to send [11:46:15]OFD Sender: No OFD packet to send [11:46:20]OFD Sender: No OFD packet to send [11:46:25]OFD Sender: No OFD packet to send [11:46:30]OFD Sender: No OFD packet to send [11:46:35]OFD Sender: No OFD packet to send [11:46:40]OFD Sender: No OFD packet to send [11:46:45]OFD Sender: No OFD packet to send [11:46:50]OFD Sender: No OFD packet to send [11:46:55]OFD Sender: No OFD packet to send [11:47:00]OFD Sender: No OFD packet to send [11:47:05]OFD Sender: No OFD packet to send [11:47:10]OFD Sender: No OFD packet to send [11:47:15]OFD Sender: No OFD packet to send [11:47:20]OFD Sender: No OFD packet to send [11:47:25]OFD Sender: No OFD packet to send [11:47:30]OFD Sender: No OFD packet to send [11:47:35]OFD Sender: No OFD packet to send [11:47:40]OFD Sender: No OFD packet to send [11:47:45]OFD Sender: No OFD packet to send [11:47:50]OFD Sender: No OFD packet to send [11:47:55]OFD Sender: No OFD packet to send [11:48:00]OFD Sender: No OFD packet to send [11:48:05]OFD Sender: No OFD packet to send [11:48:10]OFD Sender: No OFD packet to send [11:48:15]OFD Sender: No OFD packet to send [11:48:20]OFD Sender: No OFD packet to send [11:48:25]OFD Sender: No OFD packet to send [11:48:30]OFD Sender: No OFD packet to send [11:48:35]OFD Sender: No OFD packet to send [11:48:40]OFD Sender: No OFD packet to send [11:48:45]OFD Sender: No OFD packet to send [11:48:50]OFD Sender: No OFD packet to send [11:48:55]OFD Sender: No OFD packet to send [11:49:00]OFD Sender: No OFD packet to send [11:49:05]OFD Sender: No OFD packet to send [11:49:10]OFD Sender: No OFD packet to send [11:49:15]OFD Sender: No OFD packet to send [11:49:21]OFD Sender: No OFD packet to send [11:49:26]OFD Sender: No OFD packet to send [11:49:31]OFD Sender: No OFD packet to send [11:49:36]OFD Sender: No OFD packet to send [11:49:41]OFD Sender: No OFD packet to send [11:49:46]OFD Sender: No OFD packet to send [11:49:51]OFD Sender: No OFD packet to send [11:49:56]OFD Sender: No OFD packet to send [11:50:01]OFD Sender: No OFD packet to send [11:50:06]OFD Sender: No OFD packet to send [11:50:11]OFD Sender: No OFD packet to send [11:50:16]OFD Sender: No OFD packet to send [11:50:21]OFD Sender: No OFD packet to send [11:50:26]OFD Sender: No OFD packet to send [11:50:31]OFD Sender: No OFD packet to send [11:50:36]OFD Sender: No OFD packet to send [11:50:41]OFD Sender: No OFD packet to send [11:50:46]OFD Sender: No OFD packet to send [11:50:51]OFD Sender: No OFD packet to send [11:50:56]OFD Sender: No OFD packet to send [11:51:01]OFD Sender: No OFD packet to send [11:51:06]OFD Sender: No OFD packet to send [11:51:11]OFD Sender: No OFD packet to send [11:51:16]OFD Sender: No OFD packet to send [11:51:21]OFD Sender: No OFD packet to send [11:51:26]OFD Sender: No OFD packet to send [11:51:31]OFD Sender: No OFD packet to send [11:51:36]OFD Sender: No OFD packet to send [11:51:41]OFD Sender: No OFD packet to send [11:51:46]OFD Sender: No OFD packet to send [11:51:51]OFD Sender: No OFD packet to send [11:51:56]OFD Sender: No OFD packet to send [11:52:01]OFD Sender: No OFD packet to send [11:52:06]OFD Sender: No OFD packet to send [11:52:11]OFD Sender: No OFD packet to send [11:52:16]OFD Sender: No OFD packet to send [11:52:21]OFD Sender: No OFD packet to send [11:52:26]OFD Sender: No OFD packet to send [11:52:31]OFD Sender: No OFD packet to send [11:52:36]OFD Sender: No OFD packet to send [11:52:41]OFD Sender: No OFD packet to send [11:52:46]OFD Sender: No OFD packet to send [11:52:51]OFD Sender: No OFD packet to send [11:52:56]OFD Sender: No OFD packet to send [11:53:01]OFD Sender: No OFD packet to send [11:53:06]OFD Sender: No OFD packet to send [11:53:11]OFD Sender: No OFD packet to send [11:53:16]OFD Sender: No OFD packet to send [11:53:21]OFD Sender: No OFD packet to send [11:53:26]OFD Sender: No OFD packet to send [11:53:31]OFD Sender: No OFD packet to send [11:53:36]OFD Sender: No OFD packet to send [11:53:41]OFD Sender: No OFD packet to send [11:53:46]OFD Sender: No OFD packet to send [11:53:51]OFD Sender: No OFD packet to send [11:53:56]OFD Sender: No OFD packet to send [11:54:01]OFD Sender: No OFD packet to send [11:54:06]OFD Sender: No OFD packet to send [11:54:11]OFD Sender: No OFD packet to send [11:54:16]OFD Sender: No OFD packet to send [11:54:21]OFD Sender: No OFD packet to send [11:54:26]OFD Sender: No OFD packet to send [11:54:31]OFD Sender: No OFD packet to send [11:54:36]OFD Sender: No OFD packet to send [11:54:41]OFD Sender: No OFD packet to send [11:54:46]OFD Sender: No OFD packet to send [11:54:51]OFD Sender: No OFD packet to send [11:54:56]OFD Sender: No OFD packet to send [11:55:01]OFD Sender: No OFD packet to send [11:55:06]OFD Sender: No OFD packet to send [11:55:11]OFD Sender: No OFD packet to send [11:55:16]OFD Sender: No OFD packet to send [11:55:21]OFD Sender: No OFD packet to send [11:55:26]OFD Sender: No OFD packet to send [11:55:31]OFD Sender: No OFD packet to send [11:55:36]OFD Sender: No OFD packet to send [11:55:41]OFD Sender: No OFD packet to send [11:55:46]OFD Sender: No OFD packet to send [11:55:51]OFD Sender: No OFD packet to send [11:55:56]OFD Sender: No OFD packet to send [11:56:01]OFD Sender: No OFD packet to send [11:56:06]OFD Sender: No OFD packet to send [11:56:11]OFD Sender: No OFD packet to send [11:56:16]OFD Sender: No OFD packet to send [11:56:21]OFD Sender: No OFD packet to send [11:56:26]OFD Sender: No OFD packet to send [11:56:31]OFD Sender: No OFD packet to send [11:56:36]OFD Sender: No OFD packet to send [11:56:41]OFD Sender: No OFD packet to send [11:56:46]OFD Sender: No OFD packet to send [11:56:51]OFD Sender: No OFD packet to send [11:56:56]OFD Sender: No OFD packet to send [11:57:01]OFD Sender: No OFD packet to send [11:57:06]OFD Sender: No OFD packet to send [11:57:11]OFD Sender: No OFD packet to send [11:57:16]OFD Sender: No OFD packet to send [11:57:21]OFD Sender: No OFD packet to send [11:57:26]OFD Sender: No OFD packet to send [11:57:31]OFD Sender: No OFD packet to send [11:57:36]OFD Sender: No OFD packet to send [11:57:41]OFD Sender: No OFD packet to send [11:57:46]OFD Sender: No OFD packet to send [11:57:51]OFD Sender: No OFD packet to send [11:57:56]OFD Sender: No OFD packet to send [11:58:01]OFD Sender: No OFD packet to send [11:58:06]OFD Sender: No OFD packet to send [11:58:11]OFD Sender: No OFD packet to send [11:58:16]OFD Sender: No OFD packet to send [11:58:21]OFD Sender: No OFD packet to send [11:58:26]OFD Sender: No OFD packet to send [11:58:31]OFD Sender: No OFD packet to send [11:58:36]OFD Sender: No OFD packet to send [11:58:41]OFD Sender: No OFD packet to send [11:58:46]OFD Sender: No OFD packet to send [11:58:51]OFD Sender: No OFD packet to send [11:58:56]OFD Sender: No OFD packet to send [11:59:01]OFD Sender: No OFD packet to send [11:59:06]OFD Sender: No OFD packet to send [11:59:11]OFD Sender: No OFD packet to send [11:59:16]OFD Sender: No OFD packet to send [11:59:21]OFD Sender: No OFD packet to send [11:59:26]OFD Sender: No OFD packet to send [11:59:31]OFD Sender: No OFD packet to send [11:59:36]OFD Sender: No OFD packet to send [11:59:41]OFD Sender: No OFD packet to send [11:59:46]OFD Sender: No OFD packet to send [11:59:51]OFD Sender: No OFD packet to send [11:59:56]OFD Sender: No OFD packet to send [12:00:01]OFD Sender: No OFD packet to send [12:00:06]OFD Sender: No OFD packet to send [12:00:11]OFD Sender: No OFD packet to send [12:00:16]OFD Sender: No OFD packet to send [12:00:21]OFD Sender: No OFD packet to send [12:00:26]OFD Sender: No OFD packet to send [12:00:31]OFD Sender: No OFD packet to send [12:00:36]OFD Sender: No OFD packet to send [12:00:41]OFD Sender: No OFD packet to send [12:00:46]OFD Sender: No OFD packet to send [12:00:51]OFD Sender: No OFD packet to send [12:00:56]OFD Sender: No OFD packet to send [12:01:01]OFD Sender: No OFD packet to send [12:01:06]OFD Sender: No OFD packet to send [12:01:11]OFD Sender: No OFD packet to send [12:01:16]OFD Sender: No OFD packet to send [12:01:21]OFD Sender: No OFD packet to send [12:01:26]OFD Sender: No OFD packet to send [12:01:31]OFD Sender: No OFD packet to send [12:01:36]OFD Sender: No OFD packet to send [12:01:41]OFD Sender: No OFD packet to send [12:01:46]OFD Sender: No OFD packet to send [12:01:51]OFD Sender: No OFD packet to send [12:01:56]OFD Sender: No OFD packet to send [12:02:01]OFD Sender: No OFD packet to send [12:02:06]OFD Sender: No OFD packet to send [12:02:11]OFD Sender: No OFD packet to send [12:02:16]OFD Sender: No OFD packet to send [12:02:21]OFD Sender: No OFD packet to send [12:02:26]OFD Sender: No OFD packet to send [12:02:31]OFD Sender: No OFD packet to send [12:02:36]OFD Sender: No OFD packet to send [12:02:41]OFD Sender: No OFD packet to send [12:02:46]OFD Sender: No OFD packet to send [12:02:51]OFD Sender: No OFD packet to send [12:02:56]OFD Sender: No OFD packet to send [12:03:01]OFD Sender: No OFD packet to send [12:03:06]OFD Sender: No OFD packet to send [12:03:11]OFD Sender: No OFD packet to send [12:03:16]OFD Sender: No OFD packet to send [12:03:21]OFD Sender: No OFD packet to send [12:03:26]OFD Sender: No OFD packet to send [12:03:31]OFD Sender: No OFD packet to send [12:03:36]OFD Sender: No OFD packet to send [12:03:41]OFD Sender: No OFD packet to send [12:03:46]OFD Sender: No OFD packet to send [12:03:51]OFD Sender: No OFD packet to send [12:03:56]OFD Sender: No OFD packet to send [12:04:01]OFD Sender: No OFD packet to send [12:04:06]OFD Sender: No OFD packet to send [12:04:11]OFD Sender: No OFD packet to send [12:04:16]OFD Sender: No OFD packet to send [12:04:21]OFD Sender: No OFD packet to send [12:04:26]OFD Sender: No OFD packet to send [12:04:31]OFD Sender: No OFD packet to send [12:04:36]OFD Sender: No OFD packet to send [12:04:41]OFD Sender: No OFD packet to send [12:04:46]OFD Sender: No OFD packet to send [12:04:51]OFD Sender: No OFD packet to send [12:04:56]OFD Sender: No OFD packet to send [12:05:01]OFD Sender: No OFD packet to send [12:05:06]OFD Sender: No OFD packet to send [12:05:11]OFD Sender: No OFD packet to send [12:05:16]OFD Sender: No OFD packet to send [12:05:21]OFD Sender: No OFD packet to send [12:05:26]OFD Sender: No OFD packet to send [12:05:31]OFD Sender: No OFD packet to send [12:05:36]OFD Sender: No OFD packet to send [12:05:41]OFD Sender: No OFD packet to send [12:05:46]OFD Sender: No OFD packet to send [12:05:51]OFD Sender: No OFD packet to send [12:05:56]OFD Sender: No OFD packet to send [12:06:01]OFD Sender: No OFD packet to send [12:06:06]OFD Sender: No OFD packet to send [12:06:11]OFD Sender: No OFD packet to send [12:06:16]OFD Sender: No OFD packet to send [12:06:21]OFD Sender: No OFD packet to send [12:06:26]OFD Sender: No OFD packet to send [12:06:31]OFD Sender: No OFD packet to send [12:06:36]OFD Sender: No OFD packet to send [12:06:41]OFD Sender: No OFD packet to send [12:06:46]OFD Sender: No OFD packet to send [12:06:51]OFD Sender: No OFD packet to send [12:06:56]OFD Sender: No OFD packet to send [12:07:01]OFD Sender: No OFD packet to send [12:07:06]OFD Sender: No OFD packet to send [12:07:11]OFD Sender: No OFD packet to send [12:07:16]OFD Sender: No OFD packet to send [12:07:21]OFD Sender: No OFD packet to send [12:07:26]OFD Sender: No OFD packet to send [12:07:31]OFD Sender: No OFD packet to send [12:07:36]OFD Sender: No OFD packet to send [12:07:41]OFD Sender: No OFD packet to send [12:07:46]OFD Sender: No OFD packet to send [12:07:51]OFD Sender: No OFD packet to send [12:07:56]OFD Sender: No OFD packet to send [12:08:01]OFD Sender: No OFD packet to send [12:08:06]OFD Sender: No OFD packet to send [12:08:11]OFD Sender: No OFD packet to send [12:08:16]OFD Sender: No OFD packet to send [12:08:21]OFD Sender: No OFD packet to send [12:08:27]OFD Sender: No OFD packet to send [12:08:32]OFD Sender: No OFD packet to send [12:08:37]OFD Sender: No OFD packet to send [12:08:42]OFD Sender: No OFD packet to send [12:08:47]OFD Sender: No OFD packet to send [12:08:52]OFD Sender: No OFD packet to send [12:08:57]OFD Sender: No OFD packet to send [12:09:02]OFD Sender: No OFD packet to send [12:09:07]OFD Sender: No OFD packet to send [12:09:12]OFD Sender: No OFD packet to send [12:09:14]accept exits with 9 [12:09:14]New connection [12:09:14]New thread 3067592036 created [12:09:14]Thread 3067448676 joined [12:09:14]Waiting for new connection... [12:09:14] Sock 9.Parse request [12:09:14]Sock 9.Check first char [12:09:14]Sock 9.First char is OK [12:09:14]request: POST /json_proto HTTP/1.0 [12:09:14]Method: POST [12:09:14]URL: /json_proto [12:09:14]Method is POST - this is cgi request [12:09:14]url: /json_proto [12:09:14]query_string will be loaded in cgi processing [12:09:14]execute_cgi json_proto POST (null) [12:09:14]execute_cgi path=json_proto method=POST [12:09:14]POST find Content-Length [12:09:14]Host: 172.17.39.4:8080 [12:09:14]Content-Length: 726 [12:09:14]Content-Type: application/json [12:09:14] [12:09:14]POST finish read [12:09:14]Found Content-Length = 726 [12:09:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129511", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:09:14]execute_script... [12:09: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)129511", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:09:14]POST & json_proto [12:09:14]process_json_proto [12:09:14]json parsed OK: [12:09:14]protocol is kg_v1.0 [12:09:14]action value=close_receipt [12:09:14]process_action close_receipt [12:09:14]cmd_close_receipt [12:09:14]MH_GetDate [12:09:14]Write to MH i2c: F0 00 00 15 07 0B [12:09:14]Write i2c OK [12:09:14]MH_I2C_Read... [12:09:14]Read from MH i2c: F0 [12:09:14]MH_I2C_Read... [12:09:14]Read from MH i2c: F0 09 00 [12:09:14]MH_I2C_Read... [12:09:14]Read from MH i2c: F0 09 00 15 07 00 EB BF 93 66 2D 25 5D 64 CA [12:09:14]GetLastDocTimeStamp 1720956995 [12:09:14]current date 1720958955 [12:09:14]FM_GetShiftState [12:09:14]SAM_PROTO_GetShiftState [12:09:14]wFMCommunicate request_size=4 [12:09:14]MH_SAM_APDU [12:09:14]CAPDU: 80 13 01 00 [12:09:14]Write to MH i2c: E2 08 00 16 07 80 13 01 00 00 00 00 00 9A [12:09:14]Write i2c OK [12:09:14]MH_I2C_Read... [12:09:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:14]Read from MH i2c: E2 [12:09:14]MH_I2C_Read... [12:09:14]Read from MH i2c: E2 0E 00 [12:09:14]MH_I2C_Read... [12:09:14]Read from MH i2c: E2 0E 00 16 07 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 41 [12:09:14]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:09:14]wFMCommunicate OK [12:09:14]SAM_PROTO_GetShiftState done [12:09:14]FM_GetShiftState done [12:09:14]opened in 1720917126 [12:09:14]opened+sec_in_day 1721003526 [12:09:14]quantity*price = 13800 [12:09:14]sum+1 = 13801 [12:09:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 138.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 65 14.07.2024 12:09 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57048 ФПД: 68147760250820 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T120915&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57048&fm=68147760250820&tin=02508201610067®Number=0000000000091208&sum=13800 0 [12:09:15]StoreToDocumentArchive [12:09:15]shift 496 fd 57048 [12:09:15]save to /storage/0496/doc_00057048 [12:09:15]save last doc name /storage/0496/doc_00057048 to /storage/kkm_last_doc_name [12:09:15]save OK [12:09:15]Clear old archive folders... [12:09:15]ProcessDocumentItem done err = 0, tmpTLVsize=274 [12:09:15]tlvbuf is 00FA63F0 [12:09:15]SAM_PROTO_ClearQueue [12:09:15]wFMCommunicate request_size=4 [12:09:15]MH_SAM_APDU [12:09:15]CAPDU: 80 09 00 00 [12:09:15]Write to MH i2c: E2 08 00 23 07 80 09 00 00 00 00 00 00 9C [12:09:15]Write i2c OK [12:09:15]MH_I2C_Read... [12:09:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:09:15]Read from MH i2c: E2 [12:09:15]MH_I2C_Read... [12:09:15]Read from MH i2c: E2 03 00 [12:09:15]MH_I2C_Read... [12:09:15]Read from MH i2c: E2 03 00 23 07 00 90 00 9E [12:09:15]RAPDU: 90 00 [12:09:15]wFMCommunicate OK [12:09:15]SAM_PROTO_ClearQueue done [12:09:15]KKMCreateOFDPacket [12:09:15]OFDProtocolAddRootSTLVToBuf [12:09:15]FM_MakeSignedData [12:09:15]FM_MakeSignedData [12:09:15]SAM_PROTO_SignData [12:09:15]wFMCommunicate request_size=4 [12:09:15]MH_SAM_APDU [12:09:15]CAPDU: 80 0D 01 02 [12:09:15]Write to MH i2c: E2 08 00 24 07 80 0D 01 02 00 00 00 00 A4 [12:09:15]Write i2c OK [12:09:15]MH_I2C_Read... [12:09:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:09:15]Read from MH i2c: E2 [12:09:15]MH_I2C_Read... [12:09:15]Read from MH i2c: E2 03 00 [12:09:15]MH_I2C_Read... [12:09:15]Read from MH i2c: E2 03 00 24 07 00 90 00 9F [12:09:15]RAPDU: 90 00 [12:09:15]wFMCommunicate OK [12:09:15]wFMCommunicate request_size=255 [12:09:15]MH_SAM_APDU [12:09:15]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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 EB BF 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 [12:09:15]Write to MH i2c: E2 02 01 25 07 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 EB BF 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 00 00 B1 [12:09:15]Write i2c OK [12:09:15]MH_I2C_Read... [12:09:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:15]Read from MH i2c: E2 [12:09:15]MH_I2C_Read... [12:09:15]Read from MH i2c: E2 03 00 [12:09:15]MH_I2C_Read... [12:09:15]Read from MH i2c: E2 03 00 25 07 00 90 00 A0 [12:09:15]RAPDU: 90 00 [12:09:15]wFMCommunicate OK [12:09:15]wFMCommunicate request_size=33 [12:09:15]MH_SAM_APDU [12:09:15]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D8 DE 00 00 35 04 06 00 3D FA E3 0A BF C4 [12:09:15]Write to MH i2c: E2 24 00 26 07 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D8 DE 00 00 35 04 06 00 3D FA E3 0A BF C4 00 00 9A [12:09:15]Write i2c OK [12:09:15]MH_I2C_Read... [12:09:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:09:15]Read from MH i2c: E2 [12:09:15]MH_I2C_Read... [12:09:15]Read from MH i2c: E2 03 00 [12:09:15]MH_I2C_Read... [12:09:15]Read from MH i2c: E2 03 00 26 07 00 90 00 A1 [12:09:15]RAPDU: 90 00 [12:09:15]wFMCommunicate OK [12:09:15]wFMCommunicate request_size=4 [12:09:15]MH_SAM_APDU [12:09:15]CAPDU: 80 0D 03 02 [12:09:15]Write to MH i2c: E2 08 00 27 07 80 0D 03 02 00 00 00 00 A9 [12:09:15]Write i2c OK [12:09:15]MH_I2C_Read... [12:09:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:09:16]Read from MH i2c: E2 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: E2 0B 00 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: E2 0B 00 27 07 00 A1 DE 0B 1C C0 79 B5 CF 90 00 0D [12:09:16]RAPDU: A1 DE 0B 1C C0 79 B5 CF 90 00 [12:09:16]wFMCommunicate OK [12:09:16]SAM_PROTO_SignData done [12:09:16]FM_MakeSignedData done [12:09:16]CreateOFDProtocolMessage [12:09:16]wFMCommunicate request_size=4 [12:09:16]MH_SAM_APDU [12:09:16]CAPDU: 80 11 00 00 [12:09:16]Write to MH i2c: E2 08 00 28 07 80 11 00 00 00 00 00 00 A9 [12:09:16]Write i2c OK [12:09:16]MH_I2C_Read... [12:09:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:16]Read from MH i2c: E2 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: E2 17 00 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: E2 17 00 28 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 03 [12:09:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:09:16]wFMCommunicate OK [12:09:16]CreateOFDProtocolMessage done [12:09:16]OFDSenderStorePacket 57048 [12:09:16]StoreOFDPacket docnum=57048 [12:09:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 6D B5 1E 01 1E 59 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 EB BF 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D8 DE 00 00 35 04 06 00 3D FA E3 0A BF C4 A1 DE 0B 1C C0 79 B5 CF [12:09:16]CheckFolder [12:09:16]dirname=/storage/ofd_packets [12:09:16]CheckFolder done [12:09:16]ProducePacketName [12:09:16]name=ofd_packets/00057048 [12:09:16]NVStorageSaveData ofd_packets/00057048 [12:09:16]File name is /storage/ofd_packets/00057048 [12:09:16]Write 324 bytes [12:09:16]NVStorageSaveData done [12:09:16]OFDSenderStorePacket done [12:09:16]KKMCreateOFDPacket done [12:09:16]NVStorageSaveData kkm_last_timestamp [12:09:16]File name is /storage/kkm_last_timestamp [12:09:16]Write 4 bytes [12:09:16]NVStorageSaveData done [12:09:16]ExternCall_PrintAddStr [12:09:16]wPrintStart [12:09:16]Write to MH i2c: 01 00 00 29 07 30 [12:09:16]Write i2c OK [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: 01 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: 01 07 00 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: 01 07 00 29 07 00 00 00 00 00 FF 0F 45 [12:09:16]RasterBufferAndPrint [12:09:16]line Счет N : (3)129511 [12:09:16]line ИНН: 02508201610067 [12:09:16]line Контрольно-Кассовый Чек [12:09:16]line ПРОДАЖА [12:09:16]line Товар: 4640030091645 [12:09:16]line Сигареты ESSE Exchange M [12:09:16]line 1.000 * 138.00 [12:09:16]line = 138.00 [12:09:16]line НДС 12% НСП 1% [12:09:16]line > о реализуемом товаре [12:09:16]line ИТОГО: 138.00 [12:09:16]line НСП 1% : 1.22 [12:09:16]line НДС 12% : 14.65 [12:09:16]line Наличными: 138.00 [12:09:16]line Безнал.: 0.00 [12:09:16]line Место: АЗС № 132 "Партнер Нефть" [12:09:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:09:16]line СНО: Общий режим [12:09:16]line Чек 65 14.07.2024 12:09 [12:09:16]line Смена: 496 ФФД: 1.0 [12:09:16]line ЗНМ: 0300000132 [12:09:16]line РНМ: 0000000000091208 [12:09:16]line Версия ККМ: 001 [12:09:16]line ФМ: 0000000000874857 [12:09:16]line ФД: 57048 [12:09:16]line ФПД: 68147760250820 [12:09:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T120915&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57048&fm=68147760250820&tin=02508201610067®Number=0000000000091208&sum=13800 [12:09:16]line 0 [12:09:16]written 0, free lines is 4095 [12:09:16]OFD Sender: Processing packet 57048 [packets to send 38, broken 37] [12:09:16]ProducePacketName [12:09:16]name=ofd_packets/00057048 [12:09:16]OFD Sender: To server: pG, [12:09:16]CommunicateWithHost lk.salyk.kg:30040 [12:09:16]ConnectInit lk.salyk.kg [12:09:16]Connected sock=10 [12:09:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 6D B5 1E 01 1E 59 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 E8 35 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 41 00 00 00 F4 03 04 00 EB BF 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D8 DE 00 00 35 04 06 00 3D FA E3 0A BF C4 A1 DE 0B 1C C0 79 B5 CF [12:09:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 84 6E 47 00 48 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D8 DE 00 00 F4 03 04 00 3C 66 93 66 B6 04 01 00 00 26 19 43 69 37 DD A3 40 [12:09:16]CommunicateWithHost err = 0 [12:09:16]CheckOFDResponse [12:09:16]1017 (14) - 77093643461234 [12:09:16]1041 (16) - 0000000000874857 [12:09:16]1040 (4) - 57048 [12:09:16]1012 (4) - 14.07.2024 05:46 [12:09:16]1206 (1) - 0 [12:09:16]OFD Sender: Remove packet 57048 [12:09:16]ProducePacketName [12:09:16]name=ofd_packets/00057048 [12:09:16]NVStorageDeleteData [12:09:16]Write to MH i2c: 01 00 00 51 07 58 [12:09:16]Write i2c OK [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: 01 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: 01 07 00 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: 01 07 00 51 07 00 00 00 00 00 FC 0C 67 [12:09:16]RasterBufferAndPrint [12:09:16]line [12:09:16]line [12:09:16]line [12:09:16]line [12:09:16]line [12:09:16]written 0, free lines is 3331 [12:09:16]MH_Cut [12:09:16]Write to MH i2c: D1 01 00 58 07 01 31 [12:09:16]Write i2c OK [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: D1 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: D1 01 00 [12:09:16]MH_I2C_Read... [12:09:16]Read from MH i2c: D1 01 00 58 07 00 30 [12:09:16]Write to MH i2c: 01 00 00 59 07 60 [12:09:16]Write i2c OK [12:09:16]MH_I2C_Read... [12:09:17]OFD Sender: No OFD packet to send [12:09:17]*** Cut start [12:09:17]*** Partial cut [12:09:17]*** CUTSNS_PIN = 1 [12:09:17]*** CUTSNS_PIN = 0 [12:09:17]*** Brake cut motor [12:09:18]Read from MH i2c: 01 [12:09:18]MH_I2C_Read... [12:09:18]*** Stop cut motor [12:09:18]*** Cut end [12:09:18]Read from MH i2c: 01 07 00 [12:09:18]MH_I2C_Read... [12:09:18]Read from MH i2c: 01 07 00 59 07 00 00 00 00 00 FF 0F 75 [12:09:18]process_action close_receipt done [12:09:18]requested_data is exist [12:09:18]produce_requested_data [12:09:18]requested_item fm.sn is exist - process it [12:09:18]wFMCommunicate request_size=4 [12:09:18]MH_SAM_APDU [12:09:18]CAPDU: 80 11 00 00 [12:09:18]Write to MH i2c: E2 08 00 5A 07 80 11 00 00 00 00 00 00 DB [12:09:18]Write i2c OK [12:09:18]MH_I2C_Read... [12:09:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:09:18]Read from MH i2c: E2 [12:09:18]MH_I2C_Read... [12:09:18]Read from MH i2c: E2 17 00 [12:09:18]MH_I2C_Read... [12:09:18]Read from MH i2c: E2 17 00 5A 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 35 [12:09:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:09:18]wFMCommunicate OK [12:09:18]requested_item fd.num is exist - process it [12:09:18]SAM_PROTO_GetFieldsCounters [12:09:18]wFMCommunicate request_size=4 [12:09:18]MH_SAM_APDU [12:09:18]CAPDU: 80 13 00 00 [12:09:18]Write to MH i2c: E2 08 00 5B 07 80 13 00 00 00 00 00 00 DE [12:09:18]Write i2c OK [12:09:18]MH_I2C_Read... [12:09:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:09:18]Read from MH i2c: E2 [12:09:18]MH_I2C_Read... [12:09:18]Read from MH i2c: E2 62 00 [12:09:18]MH_I2C_Read... [12:09:18]Read from MH i2c: E2 62 00 5B 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D8 DE 00 00 0E 04 04 00 F0 01 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 6B [12:09:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D8 DE 00 00 0E 04 04 00 F0 01 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 [12:09:18]wFMCommunicate OK [12:09:18]SAM_PROTO_GetFieldsCounters done [12:09:18]requested_item shift.num is exist - process it [12:09:18]requested_item shift.opened is exist - process it [12:09:18]req_shift_opened [12:09:18]FM_GetShiftState [12:09:18]SAM_PROTO_GetShiftState [12:09:18]wFMCommunicate request_size=4 [12:09:18]MH_SAM_APDU [12:09:18]CAPDU: 80 13 01 00 [12:09:18]Write to MH i2c: E2 08 00 5C 07 80 13 01 00 00 00 00 00 E0 [12:09:18]Write i2c OK [12:09:18]MH_I2C_Read... [12:09:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:09:18]Read from MH i2c: E2 [12:09:18]MH_I2C_Read... [12:09:18]Read from MH i2c: E2 0E 00 [12:09:18]MH_I2C_Read... [12:09:18]Read from MH i2c: E2 0E 00 5C 07 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 87 [12:09:18]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:09:18]wFMCommunicate OK [12:09:18]SAM_PROTO_GetShiftState done [12:09:18]FM_GetShiftState done [12:09:18]req_shift_opened done [12:09:18]requested_item shift.open_date is exist - process it [12:09:18]req_shift_open_date [12:09:18]req_shift_open_date done [12:09:18]requested_item shift.sale.total is exist - process it [12:09:18]SAM_PROTO_GetShiftData [12:09:18]wFMCommunicate request_size=4 [12:09:18]MH_SAM_APDU [12:09:18]CAPDU: 80 13 02 00 [12:09:18]Write to MH i2c: E2 08 00 5D 07 80 13 02 00 00 00 00 00 E2 [12:09:18]Write i2c OK [12:09:18]MH_I2C_Read... [12:09:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:09:18]Read from MH i2c: E2 [12:09:18]MH_I2C_Read... [12:09:18]Read from MH i2c: E2 FD 00 [12:09:18]MH_I2C_Read... [12:09:18]Read from MH i2c: E2 FD 00 5D 07 00 BB 04 AA 04 B7 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 C4 51 26 70 04 03 00 94 19 20 72 04 03 00 30 38 06 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 C7 11 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C9 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 4C [12:09:18]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 41 00 00 00 69 04 9B 00 6F 04 04 00 3F 00 00 00 B1 04 03 00 C4 51 26 70 04 03 00 94 19 20 72 04 03 00 30 38 06 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 C7 11 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 C9 56 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [12:09:18]wFMCommunicate OK [12:09:18]wFMCommunicate request_size=4 [12:09:18]MH_SAM_APDU [12:09:18]CAPDU: 80 17 00 00 [12:09:18]Write to MH i2c: E2 08 00 5E 07 80 17 00 00 00 00 00 00 E5 [12:09:18]Write i2c OK [12:09:18]MH_I2C_Read... [12:09:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:09:19]Read from MH i2c: E2 [12:09:19]MH_I2C_Read... [12:09:19]Read from MH i2c: E2 FD 00 [12:09:19]MH_I2C_Read... [12:09:19]Read from MH i2c: E2 FD 00 5E 07 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 78 [12:09:19]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:09:19]wFMCommunicate OK [12:09:19]wFMCommunicate request_size=4 [12:09:19]MH_SAM_APDU [12:09:19]CAPDU: 80 17 00 00 [12:09:19]Write to MH i2c: E2 08 00 5F 07 80 17 00 00 00 00 00 00 E6 [12:09:19]Write i2c OK [12:09:19]MH_I2C_Read... [12:09:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:09:19]Read from MH i2c: E2 [12:09:19]MH_I2C_Read... [12:09:19]Read from MH i2c: E2 FD 00 [12:09:19]MH_I2C_Read... [12:09:19]Read from MH i2c: E2 FD 00 5F 07 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 12 [12:09:19]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:09:19]wFMCommunicate OK [12:09:19]wFMCommunicate request_size=4 [12:09:19]MH_SAM_APDU [12:09:19]CAPDU: 80 17 00 00 [12:09:19]Write to MH i2c: E2 08 00 60 07 80 17 00 00 00 00 00 00 E7 [12:09:19]Write i2c OK [12:09:19]MH_I2C_Read... [12:09:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:09:19]Read from MH i2c: E2 [12:09:19]MH_I2C_Read... [12:09:19]Read from MH i2c: E2 FD 00 [12:09:19]MH_I2C_Read... [12:09:19]Read from MH i2c: E2 FD 00 60 07 00 00 00 EF 03 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 90 00 5C [12:09:19]RAPDU: 00 00 EF 03 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 90 00 [12:09:19]wFMCommunicate OK [12:09:19]wFMCommunicate request_size=4 [12:09:19]MH_SAM_APDU [12:09:19]CAPDU: 80 17 00 00 [12:09:19]Write to MH i2c: E2 08 00 61 07 80 17 00 00 00 00 00 00 E8 [12:09:19]Write i2c OK [12:09:19]MH_I2C_Read... [12:09:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [12:09:20]Read from MH i2c: E2 [12:09:20]MH_I2C_Read... [12:09:20]Read from MH i2c: E2 D8 00 [12:09:20]MH_I2C_Read... [12:09:20]Read from MH i2c: E2 D8 00 61 07 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 CF [12:09:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:09:20]wFMCommunicate OK [12:09:20]SAM_PROTO_GetShiftData done [12:09:20]requested_item shift.sale.total_cash is exist - process it [12:09:20]requested_item shift.sale_refund.total is exist - process it [12:09:20]requested_item shift.sale_refund.total_cash is exist - process it [12:09:20]produce_requested_data done [12:09:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57048,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25113.00,"shift.sale.total_cash":21037.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [12:09:20]process_action_free close_receipt [12:09:20]json_value_free [12:09:20]json_value_free done [12:09:20]process_json_proto returns [12:09:20]Send response to host [12:09:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57048,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25113.00,"shift.sale.total_cash":21037.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [12:09:20]free response buf [12:09:20]execute_script done [12:09:20]execute_script returns [12:09:20]free content buf [12:09:20]Sock 9.Close socket [12:09:20]Sock 9.Thread stoped [12:09:22]OFD Sender: No OFD packet to send [12:09:27]OFD Sender: No OFD packet to send [12:09:32]OFD Sender: No OFD packet to send [12:09:37]OFD Sender: No OFD packet to send [12:09:42]OFD Sender: No OFD packet to send [12:09:47]OFD Sender: No OFD packet to send [12:09:52]OFD Sender: No OFD packet to send [12:09:57]OFD Sender: No OFD packet to send [12:10:02]OFD Sender: No OFD packet to send [12:10:07]OFD Sender: No OFD packet to send [12:10:12]OFD Sender: No OFD packet to send [12:10:17]OFD Sender: No OFD packet to send [12:10:22]OFD Sender: No OFD packet to send [12:10:27]OFD Sender: No OFD packet to send [12:10:32]OFD Sender: No OFD packet to send [12:10:37]OFD Sender: No OFD packet to send [12:10:42]OFD Sender: No OFD packet to send [12:10:47]OFD Sender: No OFD packet to send [12:10:52]OFD Sender: No OFD packet to send [12:10:57]OFD Sender: No OFD packet to send [12:11:02]OFD Sender: No OFD packet to send [12:11:07]OFD Sender: No OFD packet to send [12:11:12]OFD Sender: No OFD packet to send [12:11:17]OFD Sender: No OFD packet to send [12:11:22]OFD Sender: No OFD packet to send [12:11:27]OFD Sender: No OFD packet to send [12:11:32]OFD Sender: No OFD packet to send [12:11:37]OFD Sender: No OFD packet to send [12:11:42]OFD Sender: No OFD packet to send [12:11:47]OFD Sender: No OFD packet to send [12:11:52]OFD Sender: No OFD packet to send [12:11:57]OFD Sender: No OFD packet to send [12:12:02]OFD Sender: No OFD packet to send [12:12:07]OFD Sender: No OFD packet to send [12:12:12]OFD Sender: No OFD packet to send [12:12:17]OFD Sender: No OFD packet to send [12:12:22]OFD Sender: No OFD packet to send [12:12:27]OFD Sender: No OFD packet to send [12:12:32]OFD Sender: No OFD packet to send [12:12:37]OFD Sender: No OFD packet to send [12:12:42]OFD Sender: No OFD packet to send [12:12:47]OFD Sender: No OFD packet to send [12:12:52]OFD Sender: No OFD packet to send [12:12:57]OFD Sender: No OFD packet to send [12:13:02]OFD Sender: No OFD packet to send [12:13:07]OFD Sender: No OFD packet to send [12:13:12]OFD Sender: No OFD packet to send [12:13:17]OFD Sender: No OFD packet to send [12:13:22]OFD Sender: No OFD packet to send [12:13:27]OFD Sender: No OFD packet to send [12:13:32]OFD Sender: No OFD packet to send [12:13:37]OFD Sender: No OFD packet to send [12:13:42]OFD Sender: No OFD packet to send [12:13:47]OFD Sender: No OFD packet to send [12:13:52]OFD Sender: No OFD packet to send [12:13:57]OFD Sender: No OFD packet to send [12:14:02]OFD Sender: No OFD packet to send [12:14:07]OFD Sender: No OFD packet to send [12:14:12]OFD Sender: No OFD packet to send [12:14:17]OFD Sender: No OFD packet to send [12:14:22]OFD Sender: No OFD packet to send [12:14:27]OFD Sender: No OFD packet to send [12:14:32]OFD Sender: No OFD packet to send [12:14:37]OFD Sender: No OFD packet to send [12:14:42]OFD Sender: No OFD packet to send [12:14:47]OFD Sender: No OFD packet to send [12:14:52]OFD Sender: No OFD packet to send [12:14:57]OFD Sender: No OFD packet to send [12:15:02]OFD Sender: No OFD packet to send [12:15:07]OFD Sender: No OFD packet to send [12:15:12]OFD Sender: No OFD packet to send [12:15:17]OFD Sender: No OFD packet to send [12:15:22]OFD Sender: No OFD packet to send [12:15:27]OFD Sender: No OFD packet to send [12:15:32]OFD Sender: No OFD packet to send [12:15:37]OFD Sender: No OFD packet to send [12:15:42]OFD Sender: No OFD packet to send [12:15:47]OFD Sender: No OFD packet to send [12:15:52]OFD Sender: No OFD packet to send [12:15:57]OFD Sender: No OFD packet to send [12:16:02]OFD Sender: No OFD packet to send [12:16:07]OFD Sender: No OFD packet to send [12:16:12]OFD Sender: No OFD packet to send [12:16:17]OFD Sender: No OFD packet to send [12:16:22]OFD Sender: No OFD packet to send [12:16:27]OFD Sender: No OFD packet to send [12:16:32]OFD Sender: No OFD packet to send [12:16:37]OFD Sender: No OFD packet to send [12:16:42]OFD Sender: No OFD packet to send [12:16:47]OFD Sender: No OFD packet to send [12:16:52]OFD Sender: No OFD packet to send [12:16:57]OFD Sender: No OFD packet to send [12:17:02]OFD Sender: No OFD packet to send [12:17:07]OFD Sender: No OFD packet to send [12:17:12]OFD Sender: No OFD packet to send [12:17:17]OFD Sender: No OFD packet to send [12:17:22]OFD Sender: No OFD packet to send [12:17:27]OFD Sender: No OFD packet to send [12:17:32]OFD Sender: No OFD packet to send [12:17:37]OFD Sender: No OFD packet to send [12:17:42]OFD Sender: No OFD packet to send [12:17:47]OFD Sender: No OFD packet to send [12:17:52]OFD Sender: No OFD packet to send [12:17:57]OFD Sender: No OFD packet to send [12:18:02]OFD Sender: No OFD packet to send [12:18:07]OFD Sender: No OFD packet to send [12:18:12]OFD Sender: No OFD packet to send [12:18:17]OFD Sender: No OFD packet to send [12:18:22]OFD Sender: No OFD packet to send [12:18:27]OFD Sender: No OFD packet to send [12:18:32]OFD Sender: No OFD packet to send [12:18:37]OFD Sender: No OFD packet to send [12:18:42]OFD Sender: No OFD packet to send [12:18:47]OFD Sender: No OFD packet to send [12:18:52]OFD Sender: No OFD packet to send [12:18:57]OFD Sender: No OFD packet to send [12:19:01]accept exits with 7 [12:19:01]New connection [12:19:01]New thread 3067448676 created [12:19:01]Thread 3067592036 joined [12:19:01]Waiting for new connection... [12:19:01] Sock 7.Parse request [12:19:01]Sock 7.Check first char [12:19:01]Sock 7.First char is OK [12:19:01]request: POST /json_proto HTTP/1.0 [12:19:01]Method: POST [12:19:01]URL: /json_proto [12:19:01]Method is POST - this is cgi request [12:19:01]url: /json_proto [12:19:01]query_string will be loaded in cgi processing [12:19:01]execute_cgi json_proto POST (null) [12:19:01]execute_cgi path=json_proto method=POST [12:19:01]POST find Content-Length [12:19:01]Host: 172.17.39.4:8080 [12:19:01]Content-Length: 810 [12:19:01]Content-Type: application/json [12:19:01] [12:19:01]POST finish read [12:19:01]Found Content-Length = 810 [12:19:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129512", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:19:01]execute_script... [12:19: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)129512", "tax_sys" : 0, "items" : [ { "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 107.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:19:01]POST & json_proto [12:19:01]process_json_proto [12:19:01]json parsed OK: [12:19:01]protocol is kg_v1.0 [12:19:01]action value=close_receipt [12:19:01]process_action close_receipt [12:19:01]cmd_close_receipt [12:19:01]MH_GetDate [12:19:01]Write to MH i2c: F0 00 00 62 07 58 [12:19:01]Write i2c OK [12:19:01]MH_I2C_Read... [12:19:01]Read from MH i2c: F0 [12:19:01]MH_I2C_Read... [12:19:01]Read from MH i2c: F0 09 00 [12:19:01]MH_I2C_Read... [12:19:01]Read from MH i2c: F0 09 00 62 07 00 36 C2 93 66 2D 25 5D 64 65 [12:19:01]GetLastDocTimeStamp 1720958955 [12:19:01]current date 1720959542 [12:19:01]FM_GetShiftState [12:19:01]SAM_PROTO_GetShiftState [12:19:01]wFMCommunicate request_size=4 [12:19:01]MH_SAM_APDU [12:19:01]CAPDU: 80 13 01 00 [12:19:01]Write to MH i2c: E2 08 00 63 07 80 13 01 00 00 00 00 00 E7 [12:19:01]Write i2c OK [12:19:01]MH_I2C_Read... [12:19:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:01]Read from MH i2c: E2 [12:19:01]MH_I2C_Read... [12:19:01]Read from MH i2c: E2 0E 00 [12:19:01]MH_I2C_Read... [12:19:01]Read from MH i2c: E2 0E 00 63 07 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 8E [12:19:01]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:19:01]wFMCommunicate OK [12:19:01]SAM_PROTO_GetShiftState done [12:19:01]FM_GetShiftState done [12:19:01]opened in 1720917126 [12:19:01]opened+sec_in_day 1721003526 [12:19:01]quantity*price = 10700 [12:19:01]sum+1 = 10701 [12:19:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 107.00 НСП 1% : 0.95 НДС 12% : 11.36 Наличными: 107.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 66 14.07.2024 12:19 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57049 ФПД: 255939004061082 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T121902&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57049&fm=255939004061082&tin=02508201610067®Number=0000000000091208&sum=10700 0 [12:19:02]StoreToDocumentArchive [12:19:02]shift 496 fd 57049 [12:19:02]save to /storage/0496/doc_00057049 [12:19:02]save last doc name /storage/0496/doc_00057049 to /storage/kkm_last_doc_name [12:19:02]save OK [12:19:02]Clear old archive folders... [12:19:02]ProcessDocumentItem done err = 0, tmpTLVsize=298 [12:19:02]tlvbuf is 00FF51D0 [12:19:02]SAM_PROTO_ClearQueue [12:19:02]wFMCommunicate request_size=4 [12:19:02]MH_SAM_APDU [12:19:02]CAPDU: 80 09 00 00 [12:19:02]Write to MH i2c: E2 08 00 70 07 80 09 00 00 00 00 00 00 E9 [12:19:02]Write i2c OK [12:19:02]MH_I2C_Read... [12:19:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:19:02]Read from MH i2c: E2 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 03 00 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 03 00 70 07 00 90 00 EB [12:19:02]RAPDU: 90 00 [12:19:02]wFMCommunicate OK [12:19:02]SAM_PROTO_ClearQueue done [12:19:02]KKMCreateOFDPacket [12:19:02]OFDProtocolAddRootSTLVToBuf [12:19:02]FM_MakeSignedData [12:19:02]FM_MakeSignedData [12:19:02]SAM_PROTO_SignData [12:19:02]wFMCommunicate request_size=4 [12:19:02]MH_SAM_APDU [12:19:02]CAPDU: 80 0D 01 02 [12:19:02]Write to MH i2c: E2 08 00 71 07 80 0D 01 02 00 00 00 00 F1 [12:19:02]Write i2c OK [12:19:02]MH_I2C_Read... [12:19:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:19:02]Read from MH i2c: E2 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 03 00 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 03 00 71 07 00 90 00 EC [12:19:02]RAPDU: 90 00 [12:19:02]wFMCommunicate OK [12:19:02]wFMCommunicate request_size=255 [12:19:02]MH_SAM_APDU [12:19:02]CAPDU: 80 0D 02 02 FA 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 36 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 [12:19:02]Write to MH i2c: E2 02 01 72 07 80 0D 02 02 FA 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 36 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 00 00 1A [12:19:02]Write i2c OK [12:19:02]MH_I2C_Read... [12:19:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:02]Read from MH i2c: E2 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 03 00 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 03 00 72 07 00 90 00 ED [12:19:02]RAPDU: 90 00 [12:19:02]wFMCommunicate OK [12:19:02]wFMCommunicate request_size=57 [12:19:02]MH_SAM_APDU [12:19:02]CAPDU: 80 0D 02 02 34 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DE 00 00 35 04 06 00 E8 C6 71 6B D5 9A [12:19:02]Write to MH i2c: E2 3C 00 73 07 80 0D 02 02 34 00 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DE 00 00 35 04 06 00 E8 C6 71 6B D5 9A 00 00 63 [12:19:02]Write i2c OK [12:19:02]MH_I2C_Read... [12:19:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:02]Read from MH i2c: E2 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 03 00 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 03 00 73 07 00 90 00 EE [12:19:02]RAPDU: 90 00 [12:19:02]wFMCommunicate OK [12:19:02]wFMCommunicate request_size=4 [12:19:02]MH_SAM_APDU [12:19:02]CAPDU: 80 0D 03 02 [12:19:02]Write to MH i2c: E2 08 00 74 07 80 0D 03 02 00 00 00 00 F6 [12:19:02]Write i2c OK [12:19:02]MH_I2C_Read... [12:19:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:19:02]Read from MH i2c: E2 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 0B 00 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 0B 00 74 07 00 46 AD EE 32 1A D8 63 2A 90 00 89 [12:19:02]RAPDU: 46 AD EE 32 1A D8 63 2A 90 00 [12:19:02]wFMCommunicate OK [12:19:02]SAM_PROTO_SignData done [12:19:02]FM_MakeSignedData done [12:19:02]CreateOFDProtocolMessage [12:19:02]wFMCommunicate request_size=4 [12:19:02]MH_SAM_APDU [12:19:02]CAPDU: 80 11 00 00 [12:19:02]Write to MH i2c: E2 08 00 75 07 80 11 00 00 00 00 00 00 F6 [12:19:02]Write i2c OK [12:19:02]MH_I2C_Read... [12:19:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:02]Read from MH i2c: E2 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 17 00 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: E2 17 00 75 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 50 [12:19:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:19:02]wFMCommunicate OK [12:19:02]CreateOFDProtocolMessage done [12:19:02]OFDSenderStorePacket 57049 [12:19:02]StoreOFDPacket docnum=57049 [12:19:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3E 01 00 00 A4 45 36 01 73 91 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 36 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DE 00 00 35 04 06 00 E8 C6 71 6B D5 9A 46 AD EE 32 1A D8 63 2A [12:19:02]CheckFolder [12:19:02]dirname=/storage/ofd_packets [12:19:02]CheckFolder done [12:19:02]ProducePacketName [12:19:02]name=ofd_packets/00057049 [12:19:02]NVStorageSaveData ofd_packets/00057049 [12:19:02]File name is /storage/ofd_packets/00057049 [12:19:02]Write 348 bytes [12:19:02]NVStorageSaveData done [12:19:02]OFDSenderStorePacket done [12:19:02]KKMCreateOFDPacket done [12:19:02]NVStorageSaveData kkm_last_timestamp [12:19:02]File name is /storage/kkm_last_timestamp [12:19:02]Write 4 bytes [12:19:02]NVStorageSaveData done [12:19:02]ExternCall_PrintAddStr [12:19:02]wPrintStart [12:19:02]Write to MH i2c: 01 00 00 76 07 7D [12:19:02]Write i2c OK [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: 01 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: 01 07 00 [12:19:02]MH_I2C_Read... [12:19:02]Read from MH i2c: 01 07 00 76 07 00 00 00 00 00 FF 0F 92 [12:19:02]RasterBufferAndPrint [12:19:02]line Счет N : (3)129512 [12:19:02]line ИНН: 02508201610067 [12:19:02]line Контрольно-Кассовый Чек [12:19:02]line ПРОДАЖА [12:19:02]line Товар: 5449000189356 [12:19:02]line Холодный чай Fuse манго ананас 1л [12:19:02]line 1.000 * 107.00 [12:19:02]line = 107.00 [12:19:02]line НДС 12% НСП 1% [12:19:02]line > о реализуемом товаре [12:19:02]line ИТОГО: 107.00 [12:19:02]line НСП 1% : 0.95 [12:19:02]line НДС 12% : 11.36 [12:19:02]line Наличными: 107.00 [12:19:02]line Безнал.: 0.00 [12:19:02]line Место: АЗС № 132 "Партнер Нефть" [12:19:02]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:19:02]line СНО: Общий режим [12:19:02]line Чек 66 14.07.2024 12:19 [12:19:02]line Смена: 496 ФФД: 1.0 [12:19:02]line ЗНМ: 0300000132 [12:19:02]line РНМ: 0000000000091208 [12:19:02]line Версия ККМ: 001 [12:19:02]line ФМ: 0000000000874857 [12:19:02]line ФД: 57049 [12:19:02]line ФПД: 255939004061082 [12:19:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T121902&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57049&fm=255939004061082&tin=02508201610067®Number=0000000000091208&sum=10700 [12:19:03]line 0 [12:19:03]OFD Sender: Processing packet 57049 [packets to send 38, broken 37] [12:19:03]ProducePacketName [12:19:03]name=ofd_packets/00057049 [12:19:03]OFD Sender: To server: pG, [12:19:03]CommunicateWithHost lk.salyk.kg:30040 [12:19:03]ConnectInit lk.salyk.kg [12:19:03]written 0, free lines is 4095 [12:19:03]Connected sock=10 [12:19:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3E 01 00 00 A4 45 36 01 73 91 5A 03 01 00 03 00 2A 01 1E 04 01 00 01 23 04 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 CC 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 70 04 00 00 00 00 07 04 06 00 CC 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 42 00 00 00 F4 03 04 00 36 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DE 00 00 35 04 06 00 E8 C6 71 6B D5 9A 46 AD EE 32 1A D8 63 2A [12:19:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 32 A9 47 00 5F 1F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 D9 DE 00 00 F4 03 04 00 87 68 93 66 B6 04 01 00 00 C5 13 28 1A A1 21 71 F7 [12:19:03]CommunicateWithHost err = 0 [12:19:03]CheckOFDResponse [12:19:03]1017 (14) - 77093643461234 [12:19:03]1041 (16) - 0000000000874857 [12:19:03]1040 (4) - 57049 [12:19:03]1012 (4) - 14.07.2024 05:56 [12:19:03]1206 (1) - 0 [12:19:03]OFD Sender: Remove packet 57049 [12:19:03]ProducePacketName [12:19:03]name=ofd_packets/00057049 [12:19:03]NVStorageDeleteData [12:19:03]Write to MH i2c: 01 00 00 9F 07 A6 [12:19:03]Write i2c OK [12:19:03]MH_I2C_Read... [12:19:03]Read from MH i2c: 01 [12:19:03]MH_I2C_Read... [12:19:03]Read from MH i2c: 01 07 00 [12:19:03]MH_I2C_Read... [12:19:03]Read from MH i2c: 01 07 00 9F 07 00 00 00 00 00 D9 0C 92 [12:19:03]RasterBufferAndPrint [12:19:03]line [12:19:03]line [12:19:03]line [12:19:03]line [12:19:03]line [12:19:03]written 0, free lines is 3296 [12:19:03]MH_Cut [12:19:03]Write to MH i2c: D1 01 00 A6 07 01 7F [12:19:03]Write i2c OK [12:19:03]MH_I2C_Read... [12:19:03]Read from MH i2c: D1 [12:19:03]MH_I2C_Read... [12:19:03]Read from MH i2c: D1 01 00 [12:19:03]MH_I2C_Read... [12:19:03]Read from MH i2c: D1 01 00 A6 07 00 7E [12:19:03]Write to MH i2c: 01 00 00 A7 07 AE [12:19:03]Write i2c OK [12:19:03]MH_I2C_Read... [12:19:03]OFD Sender: No OFD packet to send [12:19:04]*** Cut start [12:19:04]*** Partial cut [12:19:04]*** CUTSNS_PIN = 1 [12:19:04]*** CUTSNS_PIN = 0 [12:19:04]*** Brake cut motor [12:19:04]Read from MH i2c: 01 [12:19:04]MH_I2C_Read... [12:19:04]*** Stop cut motor [12:19:04]*** Cut end [12:19:04]Read from MH i2c: 01 07 00 [12:19:04]MH_I2C_Read... [12:19:04]Read from MH i2c: 01 07 00 A7 07 00 00 00 00 00 FF 0F C3 [12:19:04]process_action close_receipt done [12:19:04]requested_data is exist [12:19:04]produce_requested_data [12:19:04]requested_item fm.sn is exist - process it [12:19:04]wFMCommunicate request_size=4 [12:19:04]MH_SAM_APDU [12:19:04]CAPDU: 80 11 00 00 [12:19:04]Write to MH i2c: E2 08 00 A8 07 80 11 00 00 00 00 00 00 29 [12:19:04]Write i2c OK [12:19:04]MH_I2C_Read... [12:19:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:04]Read from MH i2c: E2 [12:19:04]MH_I2C_Read... [12:19:04]Read from MH i2c: E2 17 00 [12:19:04]MH_I2C_Read... [12:19:04]Read from MH i2c: E2 17 00 A8 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 83 [12:19:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:19:04]wFMCommunicate OK [12:19:04]requested_item fd.num is exist - process it [12:19:04]SAM_PROTO_GetFieldsCounters [12:19:04]wFMCommunicate request_size=4 [12:19:04]MH_SAM_APDU [12:19:04]CAPDU: 80 13 00 00 [12:19:04]Write to MH i2c: E2 08 00 A9 07 80 13 00 00 00 00 00 00 2C [12:19:04]Write i2c OK [12:19:04]MH_I2C_Read... [12:19:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:19:05]Read from MH i2c: E2 [12:19:05]MH_I2C_Read... [12:19:05]Read from MH i2c: E2 62 00 [12:19:05]MH_I2C_Read... [12:19:05]Read from MH i2c: E2 62 00 A9 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D9 DE 00 00 0E 04 04 00 F0 01 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 BD [12:19:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 D9 DE 00 00 0E 04 04 00 F0 01 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 [12:19:05]wFMCommunicate OK [12:19:05]SAM_PROTO_GetFieldsCounters done [12:19:05]requested_item shift.num is exist - process it [12:19:05]requested_item shift.opened is exist - process it [12:19:05]req_shift_opened [12:19:05]FM_GetShiftState [12:19:05]SAM_PROTO_GetShiftState [12:19:05]wFMCommunicate request_size=4 [12:19:05]MH_SAM_APDU [12:19:05]CAPDU: 80 13 01 00 [12:19:05]Write to MH i2c: E2 08 00 AA 07 80 13 01 00 00 00 00 00 2E [12:19:05]Write i2c OK [12:19:05]MH_I2C_Read... [12:19:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:05]Read from MH i2c: E2 [12:19:05]MH_I2C_Read... [12:19:05]Read from MH i2c: E2 0E 00 [12:19:05]MH_I2C_Read... [12:19:05]Read from MH i2c: E2 0E 00 AA 07 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 D5 [12:19:05]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:19:05]wFMCommunicate OK [12:19:05]SAM_PROTO_GetShiftState done [12:19:05]FM_GetShiftState done [12:19:05]req_shift_opened done [12:19:05]requested_item shift.open_date is exist - process it [12:19:05]req_shift_open_date [12:19:05]req_shift_open_date done [12:19:05]requested_item shift.sale.total is exist - process it [12:19:05]SAM_PROTO_GetShiftData [12:19:05]wFMCommunicate request_size=4 [12:19:05]MH_SAM_APDU [12:19:05]CAPDU: 80 13 02 00 [12:19:05]Write to MH i2c: E2 08 00 AB 07 80 13 02 00 00 00 00 00 30 [12:19:05]Write i2c OK [12:19:05]MH_I2C_Read... [12:19:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:19:05]Read from MH i2c: E2 [12:19:05]MH_I2C_Read... [12:19:05]Read from MH i2c: E2 FD 00 [12:19:05]MH_I2C_Read... [12:19:05]Read from MH i2c: E2 FD 00 AB 07 00 BB 04 AA 04 B7 04 6E 04 04 00 42 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 90 7B 26 70 04 03 00 60 43 20 72 04 03 00 30 38 06 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 37 16 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 28 57 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 5D [12:19:05]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 42 00 00 00 69 04 9B 00 6F 04 04 00 40 00 00 00 B1 04 03 00 90 7B 26 70 04 03 00 60 43 20 72 04 03 00 30 38 06 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 37 16 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 28 57 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [12:19:05]wFMCommunicate OK [12:19:05]wFMCommunicate request_size=4 [12:19:05]MH_SAM_APDU [12:19:05]CAPDU: 80 17 00 00 [12:19:05]Write to MH i2c: E2 08 00 AC 07 80 17 00 00 00 00 00 00 33 [12:19:05]Write i2c OK [12:19:05]MH_I2C_Read... [12:19:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:05]Read from MH i2c: E2 [12:19:05]MH_I2C_Read... [12:19:05]Read from MH i2c: E2 FD 00 [12:19:05]MH_I2C_Read... [12:19:05]Read from MH i2c: E2 FD 00 AC 07 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C6 [12:19:05]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:19:05]wFMCommunicate OK [12:19:05]wFMCommunicate request_size=4 [12:19:05]MH_SAM_APDU [12:19:05]CAPDU: 80 17 00 00 [12:19:05]Write to MH i2c: E2 08 00 AD 07 80 17 00 00 00 00 00 00 34 [12:19:05]Write i2c OK [12:19:05]MH_I2C_Read... [12:19:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:06]Read from MH i2c: E2 [12:19:06]MH_I2C_Read... [12:19:06]Read from MH i2c: E2 FD 00 [12:19:06]MH_I2C_Read... [12:19:06]Read from MH i2c: E2 FD 00 AD 07 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 60 [12:19:06]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:19:06]wFMCommunicate OK [12:19:06]wFMCommunicate request_size=4 [12:19:06]MH_SAM_APDU [12:19:06]CAPDU: 80 17 00 00 [12:19:06]Write to MH i2c: E2 08 00 AE 07 80 17 00 00 00 00 00 00 35 [12:19:06]Write i2c OK [12:19:06]MH_I2C_Read... [12:19:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:06]Read from MH i2c: E2 [12:19:06]MH_I2C_Read... [12:19:06]Read from MH i2c: E2 FD 00 [12:19:06]MH_I2C_Read... [12:19:06]Read from MH i2c: E2 FD 00 AE 07 00 00 00 EF 03 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 90 00 AA [12:19:06]RAPDU: 00 00 EF 03 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 90 00 [12:19:06]wFMCommunicate OK [12:19:06]wFMCommunicate request_size=4 [12:19:06]MH_SAM_APDU [12:19:06]CAPDU: 80 17 00 00 [12:19:06]Write to MH i2c: E2 08 00 AF 07 80 17 00 00 00 00 00 00 36 [12:19:06]Write i2c OK [12:19:06]MH_I2C_Read... [12:19:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [12:19:06]Read from MH i2c: E2 [12:19:06]MH_I2C_Read... [12:19:06]Read from MH i2c: E2 D8 00 [12:19:06]MH_I2C_Read... [12:19:06]Read from MH i2c: E2 D8 00 AF 07 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 1D [12:19:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:19:06]wFMCommunicate OK [12:19:06]SAM_PROTO_GetShiftData done [12:19:06]requested_item shift.sale.total_cash is exist - process it [12:19:06]requested_item shift.sale_refund.total is exist - process it [12:19:06]requested_item shift.sale_refund.total_cash is exist - process it [12:19:06]produce_requested_data done [12:19:06]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57049,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25220.00,"shift.sale.total_cash":21144.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [12:19:06]process_action_free close_receipt [12:19:06]json_value_free [12:19:06]json_value_free done [12:19:06]process_json_proto returns [12:19:06]Send response to host [12:19:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57049,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25220.00,"shift.sale.total_cash":21144.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [12:19:06]free response buf [12:19:06]execute_script done [12:19:06]execute_script returns [12:19:06]free content buf [12:19:06]Sock 7.Close socket [12:19:06]Sock 7.Thread stoped [12:19:08]OFD Sender: No OFD packet to send [12:19:13]OFD Sender: No OFD packet to send [12:19:18]OFD Sender: No OFD packet to send [12:19:23]OFD Sender: No OFD packet to send [12:19:28]OFD Sender: No OFD packet to send [12:19:33]OFD Sender: No OFD packet to send [12:19:38]OFD Sender: No OFD packet to send [12:19:43]accept exits with 9 [12:19:43]New connection [12:19:43]New thread 3067592036 created [12:19:43]Thread 3067448676 joined [12:19:43]Waiting for new connection... [12:19:43] Sock 9.Parse request [12:19:43]Sock 9.Check first char [12:19:43]Sock 9.First char is OK [12:19:43]request: POST /json_proto HTTP/1.0 [12:19:43]Method: POST [12:19:43]URL: /json_proto [12:19:43]Method is POST - this is cgi request [12:19:43]url: /json_proto [12:19:43]query_string will be loaded in cgi processing [12:19:43]execute_cgi json_proto POST (null) [12:19:43]execute_cgi path=json_proto method=POST [12:19:43]POST find Content-Length [12:19:43]Host: 172.17.39.4:8080 [12:19:43]Content-Length: 734 [12:19:43]Content-Type: application/json [12:19:43] [12:19:43]POST finish read [12:19:43]Found Content-Length = 734 [12:19:43]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129513", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:19:43]execute_script... [12:19: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)129513", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:19:43]POST & json_proto [12:19:43]process_json_proto [12:19:43]json parsed OK: [12:19:43]protocol is kg_v1.0 [12:19:43]action value=close_receipt [12:19:43]process_action close_receipt [12:19:43]cmd_close_receipt [12:19:43]MH_GetDate [12:19:43]Write to MH i2c: F0 00 00 B0 07 A6 [12:19:43]Write i2c OK [12:19:43]MH_I2C_Read... [12:19:43]Read from MH i2c: F0 [12:19:43]MH_I2C_Read... [12:19:43]Read from MH i2c: F0 09 00 [12:19:43]MH_I2C_Read... [12:19:43]Read from MH i2c: F0 09 00 B0 07 00 60 C2 93 66 2D 25 5D 64 DD [12:19:43]GetLastDocTimeStamp 1720959542 [12:19:43]current date 1720959584 [12:19:43]FM_GetShiftState [12:19:43]SAM_PROTO_GetShiftState [12:19:43]wFMCommunicate request_size=4 [12:19:43]MH_SAM_APDU [12:19:43]CAPDU: 80 13 01 00 [12:19:43]Write to MH i2c: E2 08 00 B1 07 80 13 01 00 00 00 00 00 35 [12:19:43]Write i2c OK [12:19:43]MH_I2C_Read... [12:19:43]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:43]Read from MH i2c: E2 [12:19:43]MH_I2C_Read... [12:19:43]Read from MH i2c: E2 0E 00 [12:19:43]MH_I2C_Read... [12:19:43]Read from MH i2c: E2 0E 00 B1 07 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 DC [12:19:43]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:19:43]wFMCommunicate OK [12:19:43]SAM_PROTO_GetShiftState done [12:19:43]FM_GetShiftState done [12:19:43]opened in 1720917126 [12:19:43]opened+sec_in_day 1721003526 [12:19:43]quantity*price = 5000 [12:19:43]sum+1 = 5001 [12:19:43]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 50.00 НСП 1% : 0.44 НДС 12% : 5.31 Наличными: 50.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 67 14.07.2024 12:19 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57050 ФПД: 198797404143840 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T121944&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57050&fm=198797404143840&tin=02508201610067®Number=0000000000091208&sum=5000 0 [12:19:44]StoreToDocumentArchive [12:19:44]shift 496 fd 57050 [12:19:44]save to /storage/0496/doc_00057050 [12:19:44]save last doc name /storage/0496/doc_00057050 to /storage/kkm_last_doc_name [12:19:44]save OK [12:19:44]Clear old archive folders... [12:19:44]ProcessDocumentItem done err = 0, tmpTLVsize=269 [12:19:44]tlvbuf is 00FA32C0 [12:19:44]SAM_PROTO_ClearQueue [12:19:44]wFMCommunicate request_size=4 [12:19:44]MH_SAM_APDU [12:19:44]CAPDU: 80 09 00 00 [12:19:44]Write to MH i2c: E2 08 00 BE 07 80 09 00 00 00 00 00 00 37 [12:19:44]Write i2c OK [12:19:44]MH_I2C_Read... [12:19:44]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:19:44]Read from MH i2c: E2 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 03 00 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 03 00 BE 07 00 90 00 39 [12:19:44]RAPDU: 90 00 [12:19:44]wFMCommunicate OK [12:19:44]SAM_PROTO_ClearQueue done [12:19:44]KKMCreateOFDPacket [12:19:44]OFDProtocolAddRootSTLVToBuf [12:19:44]FM_MakeSignedData [12:19:44]FM_MakeSignedData [12:19:44]SAM_PROTO_SignData [12:19:44]wFMCommunicate request_size=4 [12:19:44]MH_SAM_APDU [12:19:44]CAPDU: 80 0D 01 02 [12:19:44]Write to MH i2c: E2 08 00 BF 07 80 0D 01 02 00 00 00 00 3F [12:19:44]Write i2c OK [12:19:44]MH_I2C_Read... [12:19:44]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:19:44]Read from MH i2c: E2 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 03 00 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 03 00 BF 07 00 90 00 3A [12:19:44]RAPDU: 90 00 [12:19:44]wFMCommunicate OK [12:19:44]wFMCommunicate request_size=255 [12:19:44]MH_SAM_APDU [12:19:44]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 43 00 00 00 F4 03 04 00 60 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 [12:19:44]Write to MH i2c: E2 02 01 C0 07 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 43 00 00 00 F4 03 04 00 60 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 00 00 A0 [12:19:44]Write i2c OK [12:19:44]MH_I2C_Read... [12:19:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:44]Read from MH i2c: E2 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 03 00 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 03 00 C0 07 00 90 00 3B [12:19:44]RAPDU: 90 00 [12:19:44]wFMCommunicate OK [12:19:44]wFMCommunicate request_size=28 [12:19:44]MH_SAM_APDU [12:19:44]CAPDU: 80 0D 02 02 17 37 34 38 35 37 10 04 04 00 DA DE 00 00 35 04 06 00 B4 CE 20 A8 00 E0 [12:19:44]Write to MH i2c: E2 1F 00 C1 07 80 0D 02 02 17 00 37 34 38 35 37 10 04 04 00 DA DE 00 00 35 04 06 00 B4 CE 20 A8 00 E0 00 00 B8 [12:19:44]Write i2c OK [12:19:44]MH_I2C_Read... [12:19:44]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:19:44]Read from MH i2c: E2 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 03 00 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 03 00 C1 07 00 90 00 3C [12:19:44]RAPDU: 90 00 [12:19:44]wFMCommunicate OK [12:19:44]wFMCommunicate request_size=4 [12:19:44]MH_SAM_APDU [12:19:44]CAPDU: 80 0D 03 02 [12:19:44]Write to MH i2c: E2 08 00 C2 07 80 0D 03 02 00 00 00 00 44 [12:19:44]Write i2c OK [12:19:44]MH_I2C_Read... [12:19:44]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:19:44]Read from MH i2c: E2 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 0B 00 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 0B 00 C2 07 00 76 B5 41 DE 79 B6 1B 50 90 00 29 [12:19:44]RAPDU: 76 B5 41 DE 79 B6 1B 50 90 00 [12:19:44]wFMCommunicate OK [12:19:44]SAM_PROTO_SignData done [12:19:44]FM_MakeSignedData done [12:19:44]CreateOFDProtocolMessage [12:19:44]wFMCommunicate request_size=4 [12:19:44]MH_SAM_APDU [12:19:44]CAPDU: 80 11 00 00 [12:19:44]Write to MH i2c: E2 08 00 C3 07 80 11 00 00 00 00 00 00 44 [12:19:44]Write i2c OK [12:19:44]MH_I2C_Read... [12:19:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:44]Read from MH i2c: E2 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 17 00 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: E2 17 00 C3 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9E [12:19:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:19:44]wFMCommunicate OK [12:19:44]CreateOFDProtocolMessage done [12:19:44]OFDSenderStorePacket 57050 [12:19:44]StoreOFDPacket docnum=57050 [12:19:44]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 21 01 00 00 14 57 19 01 2C BC 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 43 00 00 00 F4 03 04 00 60 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DA DE 00 00 35 04 06 00 B4 CE 20 A8 00 E0 76 B5 41 DE 79 B6 1B 50 [12:19:44]CheckFolder [12:19:44]dirname=/storage/ofd_packets [12:19:44]CheckFolder done [12:19:44]ProducePacketName [12:19:44]name=ofd_packets/00057050 [12:19:44]NVStorageSaveData ofd_packets/00057050 [12:19:44]File name is /storage/ofd_packets/00057050 [12:19:44]Write 319 bytes [12:19:44]NVStorageSaveData done [12:19:44]OFDSenderStorePacket done [12:19:44]KKMCreateOFDPacket done [12:19:44]NVStorageSaveData kkm_last_timestamp [12:19:44]File name is /storage/kkm_last_timestamp [12:19:44]Write 4 bytes [12:19:44]NVStorageSaveData done [12:19:44]ExternCall_PrintAddStr [12:19:44]wPrintStart [12:19:44]Write to MH i2c: 01 00 00 C4 07 CB [12:19:44]Write i2c OK [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: 01 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: 01 07 00 [12:19:44]MH_I2C_Read... [12:19:44]Read from MH i2c: 01 07 00 C4 07 00 00 00 00 00 FF 0F E0 [12:19:44]RasterBufferAndPrint [12:19:44]line Счет N : (3)129513 [12:19:44]line ИНН: 02508201610067 [12:19:44]line Контрольно-Кассовый Чек [12:19:44]line ПРОДАЖА [12:19:44]line Товар: 4700000160358 [12:19:44]line Вода Легенда 1л [12:19:44]line 1.000 * 50.00 [12:19:44]line = 50.00 [12:19:44]line НДС 12% НСП 1% [12:19:44]line > о реализуемом товаре [12:19:44]line ИТОГО: 50.00 [12:19:44]line НСП 1% : 0.44 [12:19:44]line НДС 12% : 5.31 [12:19:44]line Наличными: 50.00 [12:19:44]line Безнал.: 0.00 [12:19:44]line Место: АЗС № 132 "Партнер Нефть" [12:19:44]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:19:44]line СНО: Общий режим [12:19:44]line Чек 67 14.07.2024 12:19 [12:19:44]line Смена: 496 ФФД: 1.0 [12:19:44]line ЗНМ: 0300000132 [12:19:44]line РНМ: 0000000000091208 [12:19:44]line Версия ККМ: 001 [12:19:44]line ФМ: 0000000000874857 [12:19:44]line ФД: 57050 [12:19:44]line ФПД: 198797404143840 [12:19:44]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T121944&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57050&fm=198797404143840&tin=02508201610067®Number=0000000000091208&sum=5000 [12:19:44]line 0 [12:19:44]written 0, free lines is 4095 [12:19:44]OFD Sender: Processing packet 57050 [packets to send 38, broken 37] [12:19:44]ProducePacketName [12:19:44]name=ofd_packets/00057050 [12:19:44]OFD Sender: To server: pG, [12:19:44]CommunicateWithHost lk.salyk.kg:30040 [12:19:44]ConnectInit lk.salyk.kg [12:19:44]Connected sock=10 [12:19:44]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 21 01 00 00 14 57 19 01 2C BC 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 43 00 00 00 F4 03 04 00 60 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DA DE 00 00 35 04 06 00 B4 CE 20 A8 00 E0 76 B5 41 DE 79 B6 1B 50 [12:19:45]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 BE AD 47 00 EE 27 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DA DE 00 00 F4 03 04 00 B1 68 93 66 B6 04 01 00 00 D6 55 75 5B EB BD 68 B3 [12:19:45]CommunicateWithHost err = 0 [12:19:45]CheckOFDResponse [12:19:45]1017 (14) - 77093643461234 [12:19:45]1041 (16) - 0000000000874857 [12:19:45]1040 (4) - 57050 [12:19:45]1012 (4) - 14.07.2024 05:57 [12:19:45]1206 (1) - 0 [12:19:45]OFD Sender: Remove packet 57050 [12:19:45]ProducePacketName [12:19:45]name=ofd_packets/00057050 [12:19:45]NVStorageDeleteData [12:19:45]Write to MH i2c: 01 00 00 EC 07 F3 [12:19:45]Write i2c OK [12:19:45]MH_I2C_Read... [12:19:45]Read from MH i2c: 01 [12:19:45]MH_I2C_Read... [12:19:45]Read from MH i2c: 01 07 00 [12:19:45]MH_I2C_Read... [12:19:45]Read from MH i2c: 01 07 00 EC 07 00 00 00 00 00 04 0D 0B [12:19:45]RasterBufferAndPrint [12:19:45]line [12:19:45]line [12:19:45]line [12:19:45]line [12:19:45]line [12:19:45]written 0, free lines is 3338 [12:19:45]MH_Cut [12:19:45]Write to MH i2c: D1 01 00 F3 07 01 CC [12:19:45]Write i2c OK [12:19:45]MH_I2C_Read... [12:19:45]Read from MH i2c: D1 [12:19:45]MH_I2C_Read... [12:19:45]Read from MH i2c: D1 01 00 [12:19:45]MH_I2C_Read... [12:19:45]Read from MH i2c: D1 01 00 F3 07 00 CB [12:19:45]Write to MH i2c: 01 00 00 F4 07 FB [12:19:45]Write i2c OK [12:19:45]MH_I2C_Read... [12:19:45]OFD Sender: No OFD packet to send [12:19:45]*** Cut start [12:19:45]*** Partial cut [12:19:45]*** CUTSNS_PIN = 1 [12:19:45]*** CUTSNS_PIN = 0 [12:19:46]*** Brake cut motor [12:19:46]Read from MH i2c: 01 [12:19:46]MH_I2C_Read... [12:19:46]*** Stop cut motor [12:19:46]*** Cut end [12:19:46]Read from MH i2c: 01 07 00 [12:19:46]MH_I2C_Read... [12:19:46]Read from MH i2c: 01 07 00 F4 07 00 00 00 00 00 FF 0F 10 [12:19:46]process_action close_receipt done [12:19:46]requested_data is exist [12:19:46]produce_requested_data [12:19:46]requested_item fm.sn is exist - process it [12:19:46]wFMCommunicate request_size=4 [12:19:46]MH_SAM_APDU [12:19:46]CAPDU: 80 11 00 00 [12:19:46]Write to MH i2c: E2 08 00 F5 07 80 11 00 00 00 00 00 00 76 [12:19:46]Write i2c OK [12:19:46]MH_I2C_Read... [12:19:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:19:46]Read from MH i2c: E2 [12:19:46]MH_I2C_Read... [12:19:46]Read from MH i2c: E2 17 00 [12:19:46]MH_I2C_Read... [12:19:46]Read from MH i2c: E2 17 00 F5 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D0 [12:19:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:19:46]wFMCommunicate OK [12:19:46]requested_item fd.num is exist - process it [12:19:46]SAM_PROTO_GetFieldsCounters [12:19:46]wFMCommunicate request_size=4 [12:19:46]MH_SAM_APDU [12:19:46]CAPDU: 80 13 00 00 [12:19:46]Write to MH i2c: E2 08 00 F6 07 80 13 00 00 00 00 00 00 79 [12:19:46]Write i2c OK [12:19:46]MH_I2C_Read... [12:19:46]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:19:46]Read from MH i2c: E2 [12:19:46]MH_I2C_Read... [12:19:46]Read from MH i2c: E2 62 00 [12:19:46]MH_I2C_Read... [12:19:46]Read from MH i2c: E2 62 00 F6 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DA DE 00 00 0E 04 04 00 F0 01 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 0E [12:19:46]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DA DE 00 00 0E 04 04 00 F0 01 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 [12:19:46]wFMCommunicate OK [12:19:46]SAM_PROTO_GetFieldsCounters done [12:19:46]requested_item shift.num is exist - process it [12:19:46]requested_item shift.opened is exist - process it [12:19:46]req_shift_opened [12:19:46]FM_GetShiftState [12:19:46]SAM_PROTO_GetShiftState [12:19:46]wFMCommunicate request_size=4 [12:19:46]MH_SAM_APDU [12:19:46]CAPDU: 80 13 01 00 [12:19:46]Write to MH i2c: E2 08 00 F7 07 80 13 01 00 00 00 00 00 7B [12:19:46]Write i2c OK [12:19:46]MH_I2C_Read... [12:19:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:19:46]Read from MH i2c: E2 [12:19:46]MH_I2C_Read... [12:19:46]Read from MH i2c: E2 0E 00 [12:19:46]MH_I2C_Read... [12:19:46]Read from MH i2c: E2 0E 00 F7 07 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 22 [12:19:46]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:19:46]wFMCommunicate OK [12:19:46]SAM_PROTO_GetShiftState done [12:19:46]FM_GetShiftState done [12:19:46]req_shift_opened done [12:19:46]requested_item shift.open_date is exist - process it [12:19:46]req_shift_open_date [12:19:46]req_shift_open_date done [12:19:46]requested_item shift.sale.total is exist - process it [12:19:46]SAM_PROTO_GetShiftData [12:19:46]wFMCommunicate request_size=4 [12:19:46]MH_SAM_APDU [12:19:46]CAPDU: 80 13 02 00 [12:19:46]Write to MH i2c: E2 08 00 F8 07 80 13 02 00 00 00 00 00 7D [12:19:46]Write i2c OK [12:19:46]MH_I2C_Read... [12:19:47]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:19:47]Read from MH i2c: E2 [12:19:47]MH_I2C_Read... [12:19:47]Read from MH i2c: E2 FD 00 [12:19:47]MH_I2C_Read... [12:19:47]Read from MH i2c: E2 FD 00 F8 07 00 BB 04 AA 04 B7 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 41 00 00 00 B1 04 03 00 18 8F 26 70 04 03 00 E8 56 20 72 04 03 00 30 38 06 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 4A 18 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 54 57 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 24 [12:19:47]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 43 00 00 00 69 04 9B 00 6F 04 04 00 41 00 00 00 B1 04 03 00 18 8F 26 70 04 03 00 E8 56 20 72 04 03 00 30 38 06 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 4A 18 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 54 57 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [12:19:47]wFMCommunicate OK [12:19:47]wFMCommunicate request_size=4 [12:19:47]MH_SAM_APDU [12:19:47]CAPDU: 80 17 00 00 [12:19:47]Write to MH i2c: E2 08 00 F9 07 80 17 00 00 00 00 00 00 80 [12:19:47]Write i2c OK [12:19:47]MH_I2C_Read... [12:19:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:47]Read from MH i2c: E2 [12:19:47]MH_I2C_Read... [12:19:47]Read from MH i2c: E2 FD 00 [12:19:47]MH_I2C_Read... [12:19:47]Read from MH i2c: E2 FD 00 F9 07 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 13 [12:19:47]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:19:47]wFMCommunicate OK [12:19:47]wFMCommunicate request_size=4 [12:19:47]MH_SAM_APDU [12:19:47]CAPDU: 80 17 00 00 [12:19:47]Write to MH i2c: E2 08 00 FA 07 80 17 00 00 00 00 00 00 81 [12:19:47]Write i2c OK [12:19:47]MH_I2C_Read... [12:19:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:47]Read from MH i2c: E2 [12:19:47]MH_I2C_Read... [12:19:47]Read from MH i2c: E2 FD 00 [12:19:47]MH_I2C_Read... [12:19:47]Read from MH i2c: E2 FD 00 FA 07 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AD [12:19:47]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:19:47]wFMCommunicate OK [12:19:47]wFMCommunicate request_size=4 [12:19:47]MH_SAM_APDU [12:19:47]CAPDU: 80 17 00 00 [12:19:47]Write to MH i2c: E2 08 00 FB 07 80 17 00 00 00 00 00 00 82 [12:19:47]Write i2c OK [12:19:47]MH_I2C_Read... [12:19:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:19:48]Read from MH i2c: E2 [12:19:48]MH_I2C_Read... [12:19:48]Read from MH i2c: E2 FD 00 [12:19:48]MH_I2C_Read... [12:19:48]Read from MH i2c: E2 FD 00 FB 07 00 00 00 EF 03 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 90 00 F7 [12:19:48]RAPDU: 00 00 EF 03 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 90 00 [12:19:48]wFMCommunicate OK [12:19:48]wFMCommunicate request_size=4 [12:19:48]MH_SAM_APDU [12:19:48]CAPDU: 80 17 00 00 [12:19:48]Write to MH i2c: E2 08 00 FC 07 80 17 00 00 00 00 00 00 83 [12:19:48]Write i2c OK [12:19:48]MH_I2C_Read... [12:19:48]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [12:19:48]Read from MH i2c: E2 [12:19:48]MH_I2C_Read... [12:19:48]Read from MH i2c: E2 D8 00 [12:19:48]MH_I2C_Read... [12:19:48]Read from MH i2c: E2 D8 00 FC 07 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 6A [12:19:48]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:19:48]wFMCommunicate OK [12:19:48]SAM_PROTO_GetShiftData done [12:19:48]requested_item shift.sale.total_cash is exist - process it [12:19:48]requested_item shift.sale_refund.total is exist - process it [12:19:48]requested_item shift.sale_refund.total_cash is exist - process it [12:19:48]produce_requested_data done [12:19:48]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57050,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25270.00,"shift.sale.total_cash":21194.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [12:19:48]process_action_free close_receipt [12:19:48]json_value_free [12:19:48]json_value_free done [12:19:48]process_json_proto returns [12:19:48]Send response to host [12:19:48]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57050,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25270.00,"shift.sale.total_cash":21194.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [12:19:48]free response buf [12:19:48]execute_script done [12:19:48]execute_script returns [12:19:48]free content buf [12:19:48]Sock 9.Close socket [12:19:48]Sock 9.Thread stoped [12:19:50]OFD Sender: No OFD packet to send [12:19:55]OFD Sender: No OFD packet to send [12:20:00]OFD Sender: No OFD packet to send [12:20:05]OFD Sender: No OFD packet to send [12:20:10]OFD Sender: No OFD packet to send [12:20:15]OFD Sender: No OFD packet to send [12:20:20]OFD Sender: No OFD packet to send [12:20:25]OFD Sender: No OFD packet to send [12:20:30]OFD Sender: No OFD packet to send [12:20:35]OFD Sender: No OFD packet to send [12:20:40]OFD Sender: No OFD packet to send [12:20:45]OFD Sender: No OFD packet to send [12:20:50]OFD Sender: No OFD packet to send [12:20:55]OFD Sender: No OFD packet to send [12:21:00]OFD Sender: No OFD packet to send [12:21:04]accept exits with 7 [12:21:04]New connection [12:21:04]New thread 3067448676 created [12:21:04]Thread 3067592036 joined [12:21:04]Waiting for new connection... [12:21:04] Sock 7.Parse request [12:21:04]Sock 7.Check first char [12:21:04]Sock 7.First char is OK [12:21:04]request: POST /json_proto HTTP/1.0 [12:21:04]Method: POST [12:21:04]URL: /json_proto [12:21:04]Method is POST - this is cgi request [12:21:04]url: /json_proto [12:21:04]query_string will be loaded in cgi processing [12:21:04]execute_cgi json_proto POST (null) [12:21:04]execute_cgi path=json_proto method=POST [12:21:04]POST find Content-Length [12:21:04]Host: 172.17.39.4:8080 [12:21:04]Content-Length: 947 [12:21:04]Content-Type: application/json [12:21:04] [12:21:04]POST finish read [12:21:04]Found Content-Length = 947 [12:21:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129514", "tax_sys" : 0, "items" : [ { "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 1.000, "sum" : 560.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:21:04]execute_script... [12:21: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)129514", "tax_sys" : 0, "items" : [ { "code": "4700003150936", "name": "\u041D\u043E\u0432\u0430\u044F \u0412\u043E\u0434\u043A\u0430 Organic 40% 0,48\u043B", "price" : 560.00, "quantity" : 1.000, "sum" : 560.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 560.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:21:04]POST & json_proto [12:21:04]process_json_proto [12:21:04]json parsed OK: [12:21:04]protocol is kg_v1.0 [12:21:04]action value=close_receipt [12:21:04]process_action close_receipt [12:21:04]cmd_close_receipt [12:21:04]MH_GetDate [12:21:04]Write to MH i2c: F0 00 00 FD 07 F3 [12:21:04]Write i2c OK [12:21:04]MH_I2C_Read... [12:21:04]Read from MH i2c: F0 [12:21:04]MH_I2C_Read... [12:21:04]Read from MH i2c: F0 09 00 [12:21:04]MH_I2C_Read... [12:21:04]Read from MH i2c: F0 09 00 FD 07 00 B1 C2 93 66 2D 25 5D 64 7B [12:21:04]GetLastDocTimeStamp 1720959584 [12:21:04]current date 1720959665 [12:21:04]FM_GetShiftState [12:21:04]SAM_PROTO_GetShiftState [12:21:04]wFMCommunicate request_size=4 [12:21:04]MH_SAM_APDU [12:21:04]CAPDU: 80 13 01 00 [12:21:04]Write to MH i2c: E2 08 00 FE 07 80 13 01 00 00 00 00 00 82 [12:21:04]Write i2c OK [12:21:04]MH_I2C_Read... [12:21:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:21:04]Read from MH i2c: E2 [12:21:04]MH_I2C_Read... [12:21:04]Read from MH i2c: E2 0E 00 [12:21:04]MH_I2C_Read... [12:21:04]Read from MH i2c: E2 0E 00 FE 07 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 29 [12:21:04]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:21:04]wFMCommunicate OK [12:21:04]SAM_PROTO_GetShiftState done [12:21:04]FM_GetShiftState done [12:21:04]opened in 1720917126 [12:21:04]opened+sec_in_day 1721003526 [12:21:04]quantity*price = 56000 [12:21:04]sum+1 = 56001 [12:21:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 560.00 НСП 1% : 4.96 НДС 12% : 59.47 Наличными: 0.00 Безнал.: 560.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 68 14.07.2024 12:21 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57051 ФПД: 28398154872814 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T122105&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57051&fm=28398154872814&tin=02508201610067®Number=0000000000091208&sum=56000 0 [12:21:04]StoreToDocumentArchive [12:21:04]shift 496 fd 57051 [12:21:04]save to /storage/0496/doc_00057051 [12:21:04]save last doc name /storage/0496/doc_00057051 to /storage/kkm_last_doc_name [12:21:04]save OK [12:21:04]Clear old archive folders... [12:21:04]ProcessDocumentItem done err = 0, tmpTLVsize=282 [12:21:04]tlvbuf is 00FEE2C0 [12:21:04]SAM_PROTO_ClearQueue [12:21:04]wFMCommunicate request_size=4 [12:21:04]MH_SAM_APDU [12:21:04]CAPDU: 80 09 00 00 [12:21:04]Write to MH i2c: E2 08 00 0B 08 80 09 00 00 00 00 00 00 85 [12:21:04]Write i2c OK [12:21:04]MH_I2C_Read... [12:21:04]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:21:04]Read from MH i2c: E2 [12:21:04]MH_I2C_Read... [12:21:04]Read from MH i2c: E2 03 00 [12:21:04]MH_I2C_Read... [12:21:04]Read from MH i2c: E2 03 00 0B 08 00 90 00 87 [12:21:04]RAPDU: 90 00 [12:21:04]wFMCommunicate OK [12:21:04]SAM_PROTO_ClearQueue done [12:21:04]KKMCreateOFDPacket [12:21:04]OFDProtocolAddRootSTLVToBuf [12:21:04]FM_MakeSignedData [12:21:04]FM_MakeSignedData [12:21:04]SAM_PROTO_SignData [12:21:04]wFMCommunicate request_size=4 [12:21:04]MH_SAM_APDU [12:21:04]CAPDU: 80 0D 01 02 [12:21:04]Write to MH i2c: E2 08 00 0C 08 80 0D 01 02 00 00 00 00 8D [12:21:04]Write i2c OK [12:21:04]MH_I2C_Read... [12:21:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:21:05]Read from MH i2c: E2 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 03 00 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 03 00 0C 08 00 90 00 88 [12:21:05]RAPDU: 90 00 [12:21:05]wFMCommunicate OK [12:21:05]wFMCommunicate request_size=255 [12:21:05]MH_SAM_APDU [12:21:05]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 DA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 B1 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [12:21:05]Write to MH i2c: E2 02 01 0D 08 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 DA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 B1 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 C2 [12:21:05]Write i2c OK [12:21:05]MH_I2C_Read... [12:21:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:21:05]Read from MH i2c: E2 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 03 00 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 03 00 0D 08 00 90 00 89 [12:21:05]RAPDU: 90 00 [12:21:05]wFMCommunicate OK [12:21:05]wFMCommunicate request_size=41 [12:21:05]MH_SAM_APDU [12:21:05]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DB DE 00 00 35 04 06 00 19 D3 F5 EE F7 EE [12:21:05]Write to MH i2c: E2 2C 00 0E 08 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DB DE 00 00 35 04 06 00 19 D3 F5 EE F7 EE 00 00 D3 [12:21:05]Write i2c OK [12:21:05]MH_I2C_Read... [12:21:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:21:05]Read from MH i2c: E2 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 03 00 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 03 00 0E 08 00 90 00 8A [12:21:05]RAPDU: 90 00 [12:21:05]wFMCommunicate OK [12:21:05]wFMCommunicate request_size=4 [12:21:05]MH_SAM_APDU [12:21:05]CAPDU: 80 0D 03 02 [12:21:05]Write to MH i2c: E2 08 00 0F 08 80 0D 03 02 00 00 00 00 92 [12:21:05]Write i2c OK [12:21:05]MH_I2C_Read... [12:21:05]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:21:05]Read from MH i2c: E2 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 0B 00 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 0B 00 0F 08 00 DC 65 94 F5 16 D5 3A 6C 90 00 EE [12:21:05]RAPDU: DC 65 94 F5 16 D5 3A 6C 90 00 [12:21:05]wFMCommunicate OK [12:21:05]SAM_PROTO_SignData done [12:21:05]FM_MakeSignedData done [12:21:05]CreateOFDProtocolMessage [12:21:05]wFMCommunicate request_size=4 [12:21:05]MH_SAM_APDU [12:21:05]CAPDU: 80 11 00 00 [12:21:05]Write to MH i2c: E2 08 00 10 08 80 11 00 00 00 00 00 00 92 [12:21:05]Write i2c OK [12:21:05]MH_I2C_Read... [12:21:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:21:05]Read from MH i2c: E2 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 17 00 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: E2 17 00 10 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EC [12:21:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:21:05]wFMCommunicate OK [12:21:05]CreateOFDProtocolMessage done [12:21:05]OFDSenderStorePacket 57051 [12:21:05]StoreOFDPacket docnum=57051 [12:21:05]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 14 2F 26 01 57 A4 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 DA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 B1 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DB DE 00 00 35 04 06 00 19 D3 F5 EE F7 EE DC 65 94 F5 16 D5 3A 6C [12:21:05]CheckFolder [12:21:05]dirname=/storage/ofd_packets [12:21:05]CheckFolder done [12:21:05]ProducePacketName [12:21:05]name=ofd_packets/00057051 [12:21:05]NVStorageSaveData ofd_packets/00057051 [12:21:05]File name is /storage/ofd_packets/00057051 [12:21:05]Write 332 bytes [12:21:05]NVStorageSaveData done [12:21:05]OFDSenderStorePacket done [12:21:05]KKMCreateOFDPacket done [12:21:05]NVStorageSaveData kkm_last_timestamp [12:21:05]File name is /storage/kkm_last_timestamp [12:21:05]Write 4 bytes [12:21:05]NVStorageSaveData done [12:21:05]ExternCall_PrintAddStr [12:21:05]wPrintStart [12:21:05]Write to MH i2c: 01 00 00 11 08 19 [12:21:05]Write i2c OK [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: 01 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: 01 07 00 [12:21:05]MH_I2C_Read... [12:21:05]Read from MH i2c: 01 07 00 11 08 00 00 00 00 00 FF 0F 2E [12:21:05]RasterBufferAndPrint [12:21:05]line Счет N : (3)129514 [12:21:05]line ИНН: 02508201610067 [12:21:05]line Контрольно-Кассовый Чек [12:21:05]line ПРОДАЖА [12:21:05]line Товар: 4700003150936 [12:21:05]line Новая Водка Organic 40% 0,48л [12:21:05]line 1.000 * 560.00 [12:21:05]line = 560.00 [12:21:05]line НДС 12% НСП 1% [12:21:05]line > о реализуемом товаре [12:21:05]line ИТОГО: 560.00 [12:21:05]line НСП 1% : 4.96 [12:21:05]line НДС 12% : 59.47 [12:21:05]line Наличными: 0.00 [12:21:05]line Безнал.: 560.00 [12:21:05]line Место: АЗС № 132 "Партнер Нефть" [12:21:05]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:21:05]line СНО: Общий режим [12:21:05]line Чек 68 14.07.2024 12:21 [12:21:05]line Смена: 496 ФФД: 1.0 [12:21:05]line ЗНМ: 0300000132 [12:21:05]line РНМ: 0000000000091208 [12:21:05]line Версия ККМ: 001 [12:21:05]line Платежная система: АКБ Кыргызстан [12:21:05]line ФМ: 0000000000874857 [12:21:05]line ФД: 57051 [12:21:05]line ФПД: 28398154872814 [12:21:05]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T122105&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57051&fm=28398154872814&tin=02508201610067®Number=0000000000091208&sum=56000 [12:21:05]line 0 [12:21:05]written 0, free lines is 4095 [12:21:05]OFD Sender: Processing packet 57051 [packets to send 38, broken 37] [12:21:05]ProducePacketName [12:21:05]name=ofd_packets/00057051 [12:21:05]OFD Sender: To server: pG, [12:21:05]CommunicateWithHost lk.salyk.kg:30040 [12:21:05]ConnectInit lk.salyk.kg [12:21:05]Connected sock=10 [12:21:05]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 14 2F 26 01 57 A4 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 37 30 30 30 30 33 31 35 30 39 33 36 06 04 28 00 D0 9D D0 BE D0 B2 D0 B0 D1 8F 20 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 4F 72 67 61 6E 69 63 20 34 30 25 20 30 2C 34 38 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C0 DA 00 00 00 00 13 04 06 00 C0 DA 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C0 DA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3B 17 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C0 DA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 44 00 00 00 F4 03 04 00 B1 C2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DB DE 00 00 35 04 06 00 19 D3 F5 EE F7 EE DC 65 94 F5 16 D5 3A 6C [12:21:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 6B BD 47 00 AA D0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DB DE 00 00 F4 03 04 00 02 69 93 66 B6 04 01 00 00 19 A1 75 6C 7C D4 A8 E4 [12:21:06]CommunicateWithHost err = 0 [12:21:06]CheckOFDResponse [12:21:06]1017 (14) - 77093643461234 [12:21:06]1041 (16) - 0000000000874857 [12:21:06]1040 (4) - 57051 [12:21:06]1012 (4) - 14.07.2024 05:58 [12:21:06]1206 (1) - 0 [12:21:06]OFD Sender: Remove packet 57051 [12:21:06]ProducePacketName [12:21:06]name=ofd_packets/00057051 [12:21:06]NVStorageDeleteData [12:21:06]Write to MH i2c: 01 00 00 3C 08 44 [12:21:06]Write i2c OK [12:21:06]MH_I2C_Read... [12:21:06]Read from MH i2c: 01 [12:21:06]MH_I2C_Read... [12:21:06]Read from MH i2c: 01 07 00 [12:21:06]MH_I2C_Read... [12:21:06]Read from MH i2c: 01 07 00 3C 08 00 00 00 00 00 D3 0C 2A [12:21:06]RasterBufferAndPrint [12:21:06]line [12:21:06]line [12:21:06]line [12:21:06]line [12:21:06]line [12:21:06]written 0, free lines is 3289 [12:21:06]MH_Cut [12:21:06]Write to MH i2c: D1 01 00 43 08 01 1D [12:21:06]Write i2c OK [12:21:06]MH_I2C_Read... [12:21:06]Read from MH i2c: D1 [12:21:06]MH_I2C_Read... [12:21:06]Read from MH i2c: D1 01 00 [12:21:06]MH_I2C_Read... [12:21:06]Read from MH i2c: D1 01 00 43 08 00 1C [12:21:06]Write to MH i2c: 01 00 00 44 08 4C [12:21:06]Write i2c OK [12:21:06]MH_I2C_Read... [12:21:06]OFD Sender: No OFD packet to send [12:21:07]*** Cut start [12:21:07]*** Partial cut [12:21:07]*** CUTSNS_PIN = 1 [12:21:07]*** CUTSNS_PIN = 0 [12:21:07]*** Brake cut motor [12:21:07]Read from MH i2c: 01 [12:21:07]MH_I2C_Read... [12:21:07]*** Stop cut motor [12:21:07]*** Cut end [12:21:07]Read from MH i2c: 01 07 00 [12:21:07]MH_I2C_Read... [12:21:07]Read from MH i2c: 01 07 00 44 08 00 00 00 00 00 FF 0F 61 [12:21:07]process_action close_receipt done [12:21:07]requested_data is exist [12:21:07]produce_requested_data [12:21:07]requested_item fm.sn is exist - process it [12:21:07]wFMCommunicate request_size=4 [12:21:07]MH_SAM_APDU [12:21:07]CAPDU: 80 11 00 00 [12:21:07]Write to MH i2c: E2 08 00 45 08 80 11 00 00 00 00 00 00 C7 [12:21:07]Write i2c OK [12:21:07]MH_I2C_Read... [12:21:07]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:21:07]Read from MH i2c: E2 [12:21:07]MH_I2C_Read... [12:21:07]Read from MH i2c: E2 17 00 [12:21:07]MH_I2C_Read... [12:21:07]Read from MH i2c: E2 17 00 45 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 21 [12:21:07]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:21:07]wFMCommunicate OK [12:21:07]requested_item fd.num is exist - process it [12:21:07]SAM_PROTO_GetFieldsCounters [12:21:07]wFMCommunicate request_size=4 [12:21:07]MH_SAM_APDU [12:21:07]CAPDU: 80 13 00 00 [12:21:07]Write to MH i2c: E2 08 00 46 08 80 13 00 00 00 00 00 00 CA [12:21:07]Write i2c OK [12:21:07]MH_I2C_Read... [12:21:07]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:21:07]Read from MH i2c: E2 [12:21:07]MH_I2C_Read... [12:21:07]Read from MH i2c: E2 62 00 [12:21:07]MH_I2C_Read... [12:21:07]Read from MH i2c: E2 62 00 46 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DB DE 00 00 0E 04 04 00 F0 01 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 63 [12:21:07]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DB DE 00 00 0E 04 04 00 F0 01 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 [12:21:07]wFMCommunicate OK [12:21:07]SAM_PROTO_GetFieldsCounters done [12:21:07]requested_item shift.num is exist - process it [12:21:07]requested_item shift.opened is exist - process it [12:21:07]req_shift_opened [12:21:07]FM_GetShiftState [12:21:07]SAM_PROTO_GetShiftState [12:21:07]wFMCommunicate request_size=4 [12:21:07]MH_SAM_APDU [12:21:07]CAPDU: 80 13 01 00 [12:21:07]Write to MH i2c: E2 08 00 47 08 80 13 01 00 00 00 00 00 CC [12:21:07]Write i2c OK [12:21:07]MH_I2C_Read... [12:21:07]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:21:07]Read from MH i2c: E2 [12:21:07]MH_I2C_Read... [12:21:07]Read from MH i2c: E2 0E 00 [12:21:07]MH_I2C_Read... [12:21:07]Read from MH i2c: E2 0E 00 47 08 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 73 [12:21:07]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:21:07]wFMCommunicate OK [12:21:07]SAM_PROTO_GetShiftState done [12:21:07]FM_GetShiftState done [12:21:07]req_shift_opened done [12:21:07]requested_item shift.open_date is exist - process it [12:21:07]req_shift_open_date [12:21:07]req_shift_open_date done [12:21:07]requested_item shift.sale.total is exist - process it [12:21:07]SAM_PROTO_GetShiftData [12:21:07]wFMCommunicate request_size=4 [12:21:07]MH_SAM_APDU [12:21:07]CAPDU: 80 13 02 00 [12:21:07]Write to MH i2c: E2 08 00 48 08 80 13 02 00 00 00 00 00 CE [12:21:07]Write i2c OK [12:21:07]MH_I2C_Read... [12:21:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:21:08]Read from MH i2c: E2 [12:21:08]MH_I2C_Read... [12:21:08]Read from MH i2c: E2 FD 00 [12:21:08]MH_I2C_Read... [12:21:08]Read from MH i2c: E2 FD 00 48 08 00 BB 04 AA 04 B7 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 42 00 00 00 B1 04 03 00 D8 69 27 70 04 03 00 E8 56 20 72 04 03 00 F0 12 07 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 85 2F 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 44 59 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 F1 [12:21:08]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 44 00 00 00 69 04 9B 00 6F 04 04 00 42 00 00 00 B1 04 03 00 D8 69 27 70 04 03 00 E8 56 20 72 04 03 00 F0 12 07 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 85 2F 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 44 59 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [12:21:08]wFMCommunicate OK [12:21:08]wFMCommunicate request_size=4 [12:21:08]MH_SAM_APDU [12:21:08]CAPDU: 80 17 00 00 [12:21:08]Write to MH i2c: E2 08 00 49 08 80 17 00 00 00 00 00 00 D1 [12:21:08]Write i2c OK [12:21:08]MH_I2C_Read... [12:21:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:21:08]Read from MH i2c: E2 [12:21:08]MH_I2C_Read... [12:21:08]Read from MH i2c: E2 FD 00 [12:21:08]MH_I2C_Read... [12:21:08]Read from MH i2c: E2 FD 00 49 08 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 64 [12:21:08]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:21:08]wFMCommunicate OK [12:21:08]wFMCommunicate request_size=4 [12:21:08]MH_SAM_APDU [12:21:08]CAPDU: 80 17 00 00 [12:21:08]Write to MH i2c: E2 08 00 4A 08 80 17 00 00 00 00 00 00 D2 [12:21:08]Write i2c OK [12:21:08]MH_I2C_Read... [12:21:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:21:08]Read from MH i2c: E2 [12:21:08]MH_I2C_Read... [12:21:08]Read from MH i2c: E2 FD 00 [12:21:08]MH_I2C_Read... [12:21:08]Read from MH i2c: E2 FD 00 4A 08 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FE [12:21:08]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:21:08]wFMCommunicate OK [12:21:08]wFMCommunicate request_size=4 [12:21:08]MH_SAM_APDU [12:21:08]CAPDU: 80 17 00 00 [12:21:08]Write to MH i2c: E2 08 00 4B 08 80 17 00 00 00 00 00 00 D3 [12:21:08]Write i2c OK [12:21:08]MH_I2C_Read... [12:21:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:21:09]Read from MH i2c: E2 [12:21:09]MH_I2C_Read... [12:21:09]Read from MH i2c: E2 FD 00 [12:21:09]MH_I2C_Read... [12:21:09]Read from MH i2c: E2 FD 00 4B 08 00 00 00 EF 03 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 90 00 48 [12:21:09]RAPDU: 00 00 EF 03 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 90 00 [12:21:09]wFMCommunicate OK [12:21:09]wFMCommunicate request_size=4 [12:21:09]MH_SAM_APDU [12:21:09]CAPDU: 80 17 00 00 [12:21:09]Write to MH i2c: E2 08 00 4C 08 80 17 00 00 00 00 00 00 D4 [12:21:09]Write i2c OK [12:21:09]MH_I2C_Read... [12:21:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [12:21:09]Read from MH i2c: E2 [12:21:09]MH_I2C_Read... [12:21:09]Read from MH i2c: E2 D8 00 [12:21:09]MH_I2C_Read... [12:21:09]Read from MH i2c: E2 D8 00 4C 08 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 BB [12:21:09]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:21:09]wFMCommunicate OK [12:21:09]SAM_PROTO_GetShiftData done [12:21:09]requested_item shift.sale.total_cash is exist - process it [12:21:09]requested_item shift.sale_refund.total is exist - process it [12:21:09]requested_item shift.sale_refund.total_cash is exist - process it [12:21:09]produce_requested_data done [12:21:09]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57051,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25830.00,"shift.sale.total_cash":21194.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [12:21:09]process_action_free close_receipt [12:21:09]json_value_free [12:21:09]json_value_free done [12:21:09]process_json_proto returns [12:21:09]Send response to host [12:21:09]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57051,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25830.00,"shift.sale.total_cash":21194.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [12:21:09]free response buf [12:21:09]execute_script done [12:21:09]execute_script returns [12:21:09]free content buf [12:21:09]Sock 7.Close socket [12:21:09]Sock 7.Thread stoped [12:21:11]OFD Sender: No OFD packet to send [12:21:16]OFD Sender: No OFD packet to send [12:21:21]OFD Sender: No OFD packet to send [12:21:26]OFD Sender: No OFD packet to send [12:21:31]OFD Sender: No OFD packet to send [12:21:36]OFD Sender: No OFD packet to send [12:21:41]OFD Sender: No OFD packet to send [12:21:46]OFD Sender: No OFD packet to send [12:21:51]OFD Sender: No OFD packet to send [12:21:56]OFD Sender: No OFD packet to send [12:22:01]OFD Sender: No OFD packet to send [12:22:06]OFD Sender: No OFD packet to send [12:22:11]OFD Sender: No OFD packet to send [12:22:16]OFD Sender: No OFD packet to send [12:22:21]OFD Sender: No OFD packet to send [12:22:26]OFD Sender: No OFD packet to send [12:22:31]OFD Sender: No OFD packet to send [12:22:36]OFD Sender: No OFD packet to send [12:22:41]OFD Sender: No OFD packet to send [12:22:46]OFD Sender: No OFD packet to send [12:22:51]OFD Sender: No OFD packet to send [12:22:56]OFD Sender: No OFD packet to send [12:23:01]OFD Sender: No OFD packet to send [12:23:06]OFD Sender: No OFD packet to send [12:23:11]OFD Sender: No OFD packet to send [12:23:16]OFD Sender: No OFD packet to send [12:23:21]OFD Sender: No OFD packet to send [12:23:26]OFD Sender: No OFD packet to send [12:23:31]OFD Sender: No OFD packet to send [12:23:36]OFD Sender: No OFD packet to send [12:23:41]OFD Sender: No OFD packet to send [12:23:46]OFD Sender: No OFD packet to send [12:23:51]OFD Sender: No OFD packet to send [12:23:56]OFD Sender: No OFD packet to send [12:24:01]OFD Sender: No OFD packet to send [12:24:06]OFD Sender: No OFD packet to send [12:24:11]OFD Sender: No OFD packet to send [12:24:16]OFD Sender: No OFD packet to send [12:24:21]OFD Sender: No OFD packet to send [12:24:26]OFD Sender: No OFD packet to send [12:24:31]OFD Sender: No OFD packet to send [12:24:36]OFD Sender: No OFD packet to send [12:24:41]OFD Sender: No OFD packet to send [12:24:46]OFD Sender: No OFD packet to send [12:24:51]OFD Sender: No OFD packet to send [12:24:56]OFD Sender: No OFD packet to send [12:25:01]OFD Sender: No OFD packet to send [12:25:06]OFD Sender: No OFD packet to send [12:25:11]OFD Sender: No OFD packet to send [12:25:16]OFD Sender: No OFD packet to send [12:25:21]OFD Sender: No OFD packet to send [12:25:26]OFD Sender: No OFD packet to send [12:25:31]OFD Sender: No OFD packet to send [12:25:36]OFD Sender: No OFD packet to send [12:25:41]OFD Sender: No OFD packet to send [12:25:46]OFD Sender: No OFD packet to send [12:25:51]OFD Sender: No OFD packet to send [12:25:56]OFD Sender: No OFD packet to send [12:26:01]OFD Sender: No OFD packet to send [12:26:06]OFD Sender: No OFD packet to send [12:26:11]OFD Sender: No OFD packet to send [12:26:16]OFD Sender: No OFD packet to send [12:26:21]OFD Sender: No OFD packet to send [12:26:26]OFD Sender: No OFD packet to send [12:26:31]OFD Sender: No OFD packet to send [12:26:36]OFD Sender: No OFD packet to send [12:26:41]OFD Sender: No OFD packet to send [12:26:46]OFD Sender: No OFD packet to send [12:26:51]OFD Sender: No OFD packet to send [12:26:56]OFD Sender: No OFD packet to send [12:27:01]OFD Sender: No OFD packet to send [12:27:06]OFD Sender: No OFD packet to send [12:27:11]OFD Sender: No OFD packet to send [12:27:16]OFD Sender: No OFD packet to send [12:27:21]OFD Sender: No OFD packet to send [12:27:26]OFD Sender: No OFD packet to send [12:27:31]OFD Sender: No OFD packet to send [12:27:36]OFD Sender: No OFD packet to send [12:27:42]OFD Sender: No OFD packet to send [12:27:47]OFD Sender: No OFD packet to send [12:27:52]OFD Sender: No OFD packet to send [12:27:57]OFD Sender: No OFD packet to send [12:28:02]OFD Sender: No OFD packet to send [12:28:07]OFD Sender: No OFD packet to send [12:28:12]OFD Sender: No OFD packet to send [12:28:17]OFD Sender: No OFD packet to send [12:28:22]OFD Sender: No OFD packet to send [12:28:27]OFD Sender: No OFD packet to send [12:28:32]OFD Sender: No OFD packet to send [12:28:37]OFD Sender: No OFD packet to send [12:28:42]OFD Sender: No OFD packet to send [12:28:47]OFD Sender: No OFD packet to send [12:28:52]OFD Sender: No OFD packet to send [12:28:57]OFD Sender: No OFD packet to send [12:29:02]OFD Sender: No OFD packet to send [12:29:07]OFD Sender: No OFD packet to send [12:29:12]OFD Sender: No OFD packet to send [12:29:17]OFD Sender: No OFD packet to send [12:29:22]OFD Sender: No OFD packet to send [12:29:27]OFD Sender: No OFD packet to send [12:29:32]OFD Sender: No OFD packet to send [12:29:37]OFD Sender: No OFD packet to send [12:29:42]OFD Sender: No OFD packet to send [12:29:47]OFD Sender: No OFD packet to send [12:29:52]OFD Sender: No OFD packet to send [12:29:57]OFD Sender: No OFD packet to send [12:30:02]OFD Sender: No OFD packet to send [12:30:07]OFD Sender: No OFD packet to send [12:30:12]OFD Sender: No OFD packet to send [12:30:17]OFD Sender: No OFD packet to send [12:30:22]OFD Sender: No OFD packet to send [12:30:27]OFD Sender: No OFD packet to send [12:30:32]OFD Sender: No OFD packet to send [12:30:37]OFD Sender: No OFD packet to send [12:30:42]OFD Sender: No OFD packet to send [12:30:47]OFD Sender: No OFD packet to send [12:30:52]OFD Sender: No OFD packet to send [12:30:57]OFD Sender: No OFD packet to send [12:31:02]OFD Sender: No OFD packet to send [12:31:07]OFD Sender: No OFD packet to send [12:31:12]OFD Sender: No OFD packet to send [12:31:17]OFD Sender: No OFD packet to send [12:31:22]OFD Sender: No OFD packet to send [12:31:27]OFD Sender: No OFD packet to send [12:31:32]OFD Sender: No OFD packet to send [12:31:37]OFD Sender: No OFD packet to send [12:31:42]OFD Sender: No OFD packet to send [12:31:47]OFD Sender: No OFD packet to send [12:31:52]OFD Sender: No OFD packet to send [12:31:57]OFD Sender: No OFD packet to send [12:32:02]OFD Sender: No OFD packet to send [12:32:07]OFD Sender: No OFD packet to send [12:32:09]accept exits with 9 [12:32:09]New connection [12:32:09]New thread 3067592036 created [12:32:09]Thread 3067448676 joined [12:32:09]Waiting for new connection... [12:32:09] Sock 9.Parse request [12:32:09]Sock 9.Check first char [12:32:09]Sock 9.First char is OK [12:32:09]request: POST /json_proto HTTP/1.0 [12:32:09]Method: POST [12:32:09]URL: /json_proto [12:32:09]Method is POST - this is cgi request [12:32:09]url: /json_proto [12:32:09]query_string will be loaded in cgi processing [12:32:09]execute_cgi json_proto POST (null) [12:32:09]execute_cgi path=json_proto method=POST [12:32:09]POST find Content-Length [12:32:09]Host: 172.17.39.4:8080 [12:32:09]Content-Length: 812 [12:32:09]Content-Type: application/json [12:32:09] [12:32:09]POST finish read [12:32:09]Found Content-Length = 812 [12:32:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129515", "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" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:32:09]execute_script... [12:32:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129515", "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" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:32:09]POST & json_proto [12:32:09]process_json_proto [12:32:09]json parsed OK: [12:32:09]protocol is kg_v1.0 [12:32:09]action value=close_receipt [12:32:09]process_action close_receipt [12:32:09]cmd_close_receipt [12:32:09]MH_GetDate [12:32:09]Write to MH i2c: F0 00 00 4D 08 44 [12:32:09]Write i2c OK [12:32:09]MH_I2C_Read... [12:32:09]Read from MH i2c: F0 [12:32:09]MH_I2C_Read... [12:32:09]Read from MH i2c: F0 09 00 [12:32:09]MH_I2C_Read... [12:32:09]Read from MH i2c: F0 09 00 4D 08 00 4B C5 93 66 2D 25 5D 64 69 [12:32:09]GetLastDocTimeStamp 1720959665 [12:32:09]current date 1720960331 [12:32:09]FM_GetShiftState [12:32:09]SAM_PROTO_GetShiftState [12:32:09]wFMCommunicate request_size=4 [12:32:09]MH_SAM_APDU [12:32:09]CAPDU: 80 13 01 00 [12:32:09]Write to MH i2c: E2 08 00 4E 08 80 13 01 00 00 00 00 00 D3 [12:32:09]Write i2c OK [12:32:09]MH_I2C_Read... [12:32:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:09]Read from MH i2c: E2 [12:32:09]MH_I2C_Read... [12:32:09]Read from MH i2c: E2 0E 00 [12:32:09]MH_I2C_Read... [12:32:09]Read from MH i2c: E2 0E 00 4E 08 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 7A [12:32:09]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:32:09]wFMCommunicate OK [12:32:09]SAM_PROTO_GetShiftState done [12:32:09]FM_GetShiftState done [12:32:09]opened in 1720917126 [12:32:09]opened+sec_in_day 1721003526 [12:32:09]quantity*price = 11000 [12:32:09]sum+1 = 11001 [12:32:09]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 69 14.07.2024 12:32 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57052 ФПД: 194105478798250 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T123211&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57052&fm=194105478798250&tin=02508201610067®Number=0000000000091208&sum=11000 0 [12:32:11]StoreToDocumentArchive [12:32:11]shift 496 fd 57052 [12:32:11]save to /storage/0496/doc_00057052 [12:32:11]save last doc name /storage/0496/doc_00057052 to /storage/kkm_last_doc_name [12:32:11]save OK [12:32:11]Clear old archive folders... [12:32:11]ProcessDocumentItem done err = 0, tmpTLVsize=304 [12:32:11]tlvbuf is 00FD5FB0 [12:32:11]SAM_PROTO_ClearQueue [12:32:11]wFMCommunicate request_size=4 [12:32:11]MH_SAM_APDU [12:32:11]CAPDU: 80 09 00 00 [12:32:11]Write to MH i2c: E2 08 00 5B 08 80 09 00 00 00 00 00 00 D5 [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:32:11]Read from MH i2c: E2 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 03 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 03 00 5B 08 00 90 00 D7 [12:32:11]RAPDU: 90 00 [12:32:11]wFMCommunicate OK [12:32:11]SAM_PROTO_ClearQueue done [12:32:11]KKMCreateOFDPacket [12:32:11]OFDProtocolAddRootSTLVToBuf [12:32:11]FM_MakeSignedData [12:32:11]FM_MakeSignedData [12:32:11]SAM_PROTO_SignData [12:32:11]wFMCommunicate request_size=4 [12:32:11]MH_SAM_APDU [12:32:11]CAPDU: 80 0D 01 02 [12:32:11]Write to MH i2c: E2 08 00 5C 08 80 0D 01 02 00 00 00 00 DD [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:32:11]Read from MH i2c: E2 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 03 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 03 00 5C 08 00 90 00 D8 [12:32:11]RAPDU: 90 00 [12:32:11]wFMCommunicate OK [12:32:11]wFMCommunicate request_size=255 [12:32:11]MH_SAM_APDU [12:32:11]CAPDU: 80 0D 02 02 FA 03 00 30 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 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 4B C5 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 [12:32:11]Write to MH i2c: E2 02 01 5D 08 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 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 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 4B C5 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 00 00 0D [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:11]Read from MH i2c: E2 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 03 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 03 00 5D 08 00 90 00 D9 [12:32:11]RAPDU: 90 00 [12:32:11]wFMCommunicate OK [12:32:11]wFMCommunicate request_size=63 [12:32:11]MH_SAM_APDU [12:32:11]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DC DE 00 00 35 04 06 00 B0 89 B4 1C DB AA [12:32:11]Write to MH i2c: E2 42 00 5E 08 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DC DE 00 00 35 04 06 00 B0 89 B4 1C DB AA 00 00 74 [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:32:11]Read from MH i2c: E2 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 03 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 03 00 5E 08 00 90 00 DA [12:32:11]RAPDU: 90 00 [12:32:11]wFMCommunicate OK [12:32:11]wFMCommunicate request_size=4 [12:32:11]MH_SAM_APDU [12:32:11]CAPDU: 80 0D 03 02 [12:32:11]Write to MH i2c: E2 08 00 5F 08 80 0D 03 02 00 00 00 00 E2 [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:32:11]Read from MH i2c: E2 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 0B 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 0B 00 5F 08 00 DA 4F DF C6 77 5D 78 04 90 00 01 [12:32:11]RAPDU: DA 4F DF C6 77 5D 78 04 90 00 [12:32:11]wFMCommunicate OK [12:32:11]SAM_PROTO_SignData done [12:32:11]FM_MakeSignedData done [12:32:11]CreateOFDProtocolMessage [12:32:11]wFMCommunicate request_size=4 [12:32:11]MH_SAM_APDU [12:32:11]CAPDU: 80 11 00 00 [12:32:11]Write to MH i2c: E2 08 00 60 08 80 11 00 00 00 00 00 00 E2 [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:11]Read from MH i2c: E2 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 17 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: E2 17 00 60 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3C [12:32:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:32:11]wFMCommunicate OK [12:32:11]CreateOFDProtocolMessage done [12:32:11]OFDSenderStorePacket 57052 [12:32:11]StoreOFDPacket docnum=57052 [12:32:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 44 01 00 00 39 32 3C 01 92 46 5A 03 01 00 03 00 30 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 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 4B C5 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DC DE 00 00 35 04 06 00 B0 89 B4 1C DB AA DA 4F DF C6 77 5D 78 04 [12:32:11]CheckFolder [12:32:11]dirname=/storage/ofd_packets [12:32:11]CheckFolder done [12:32:11]ProducePacketName [12:32:11]name=ofd_packets/00057052 [12:32:11]NVStorageSaveData ofd_packets/00057052 [12:32:11]File name is /storage/ofd_packets/00057052 [12:32:11]Write 354 bytes [12:32:11]NVStorageSaveData done [12:32:11]OFDSenderStorePacket done [12:32:11]KKMCreateOFDPacket done [12:32:11]NVStorageSaveData kkm_last_timestamp [12:32:11]File name is /storage/kkm_last_timestamp [12:32:11]Write 4 bytes [12:32:11]NVStorageSaveData done [12:32:11]ExternCall_PrintAddStr [12:32:11]wPrintStart [12:32:11]Write to MH i2c: 01 00 00 61 08 69 [12:32:11]Write i2c OK [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: 01 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: 01 07 00 [12:32:11]MH_I2C_Read... [12:32:11]Read from MH i2c: 01 07 00 61 08 00 00 00 00 00 FF 0F 7E [12:32:11]RasterBufferAndPrint [12:32:11]line Счет N : (3)129515 [12:32:11]line ИНН: 02508201610067 [12:32:11]line Контрольно-Кассовый Чек [12:32:11]line ПРОДАЖА [12:32:11]line Товар: 4650243871224 [12:32:11]line Напиток Gorilla ж/б 0,45л (ПИТАЙЯ АНАНАС [12:32:11]line 1.000 * 110.00 [12:32:11]line = 110.00 [12:32:11]line НДС 12% НСП 1% [12:32:11]line > о реализуемом товаре [12:32:11]line ИТОГО: 110.00 [12:32:11]line НСП 1% : 0.97 [12:32:11]line НДС 12% : 11.68 [12:32:11]line Наличными: 110.00 [12:32:11]line Безнал.: 0.00 [12:32:11]line Место: АЗС № 132 "Партнер Нефть" [12:32:11]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:32:11]line СНО: Общий режим [12:32:11]line Чек 69 14.07.2024 12:32 [12:32:11]line Смена: 496 ФФД: 1.0 [12:32:11]line ЗНМ: 0300000132 [12:32:11]line РНМ: 0000000000091208 [12:32:11]line Версия ККМ: 001 [12:32:11]line ФМ: 0000000000874857 [12:32:11]line ФД: 57052 [12:32:11]line ФПД: 194105478798250 [12:32:11]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T123211&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57052&fm=194105478798250&tin=02508201610067®Number=0000000000091208&sum=11000 [12:32:12]OFD Sender: Processing packet 57052 [packets to send 38, broken 37] [12:32:12]ProducePacketName [12:32:12]name=ofd_packets/00057052 [12:32:12]OFD Sender: To server: pG, [12:32:12]CommunicateWithHost lk.salyk.kg:30040 [12:32:12]ConnectInit lk.salyk.kg [12:32:12]line 0 [12:32:12]written 0, free lines is 4095 [12:32:12]Connected sock=10 [12:32:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 44 01 00 00 39 32 3C 01 92 46 5A 03 01 00 03 00 30 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 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 4B C5 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DC DE 00 00 35 04 06 00 B0 89 B4 1C DB AA DA 4F DF C6 77 5D 78 04 [12:32:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 26 C0 47 00 BE 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DC DE 00 00 F4 03 04 00 9C 6B 93 66 B6 04 01 00 00 26 64 84 7E 38 8E A8 26 [12:32:12]CommunicateWithHost err = 0 [12:32:12]CheckOFDResponse [12:32:12]1017 (14) - 77093643461234 [12:32:12]1041 (16) - 0000000000874857 [12:32:12]1040 (4) - 57052 [12:32:12]1012 (4) - 14.07.2024 06:09 [12:32:12]1206 (1) - 0 [12:32:12]OFD Sender: Remove packet 57052 [12:32:12]ProducePacketName [12:32:12]name=ofd_packets/00057052 [12:32:12]NVStorageDeleteData [12:32:12]Write to MH i2c: 01 00 00 8A 08 92 [12:32:12]Write i2c OK [12:32:12]MH_I2C_Read... [12:32:12]Read from MH i2c: 01 [12:32:12]MH_I2C_Read... [12:32:12]Read from MH i2c: 01 07 00 [12:32:12]MH_I2C_Read... [12:32:12]Read from MH i2c: 01 07 00 8A 08 00 00 00 00 00 FC 0C A1 [12:32:12]RasterBufferAndPrint [12:32:12]line [12:32:12]line [12:32:12]line [12:32:12]line [12:32:12]line [12:32:12]written 0, free lines is 3331 [12:32:12]MH_Cut [12:32:12]Write to MH i2c: D1 01 00 91 08 01 6B [12:32:12]Write i2c OK [12:32:12]MH_I2C_Read... [12:32:12]Read from MH i2c: D1 [12:32:12]MH_I2C_Read... [12:32:12]Read from MH i2c: D1 01 00 [12:32:12]MH_I2C_Read... [12:32:12]Read from MH i2c: D1 01 00 91 08 00 6A [12:32:12]Write to MH i2c: 01 00 00 92 08 9A [12:32:12]Write i2c OK [12:32:12]MH_I2C_Read... [12:32:12]OFD Sender: No OFD packet to send [12:32:13]*** Cut start [12:32:13]*** Partial cut [12:32:13]*** CUTSNS_PIN = 1 [12:32:13]*** CUTSNS_PIN = 0 [12:32:13]*** Brake cut motor [12:32:13]Read from MH i2c: 01 [12:32:13]MH_I2C_Read... [12:32:13]*** Stop cut motor [12:32:13]*** Cut end [12:32:13]Read from MH i2c: 01 07 00 [12:32:13]MH_I2C_Read... [12:32:13]Read from MH i2c: 01 07 00 92 08 00 00 00 00 00 FF 0F AF [12:32:13]process_action close_receipt done [12:32:13]requested_data is exist [12:32:13]produce_requested_data [12:32:13]requested_item fm.sn is exist - process it [12:32:13]wFMCommunicate request_size=4 [12:32:13]MH_SAM_APDU [12:32:13]CAPDU: 80 11 00 00 [12:32:13]Write to MH i2c: E2 08 00 93 08 80 11 00 00 00 00 00 00 15 [12:32:13]Write i2c OK [12:32:13]MH_I2C_Read... [12:32:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:32:13]Read from MH i2c: E2 [12:32:13]MH_I2C_Read... [12:32:13]Read from MH i2c: E2 17 00 [12:32:13]MH_I2C_Read... [12:32:13]Read from MH i2c: E2 17 00 93 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6F [12:32:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:32:13]wFMCommunicate OK [12:32:13]requested_item fd.num is exist - process it [12:32:13]SAM_PROTO_GetFieldsCounters [12:32:13]wFMCommunicate request_size=4 [12:32:13]MH_SAM_APDU [12:32:13]CAPDU: 80 13 00 00 [12:32:13]Write to MH i2c: E2 08 00 94 08 80 13 00 00 00 00 00 00 18 [12:32:13]Write i2c OK [12:32:13]MH_I2C_Read... [12:32:13]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:32:14]Read from MH i2c: E2 [12:32:14]MH_I2C_Read... [12:32:14]Read from MH i2c: E2 62 00 [12:32:14]MH_I2C_Read... [12:32:14]Read from MH i2c: E2 62 00 94 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DC DE 00 00 0E 04 04 00 F0 01 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 B5 [12:32:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DC DE 00 00 0E 04 04 00 F0 01 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 [12:32:14]wFMCommunicate OK [12:32:14]SAM_PROTO_GetFieldsCounters done [12:32:14]requested_item shift.num is exist - process it [12:32:14]requested_item shift.opened is exist - process it [12:32:14]req_shift_opened [12:32:14]FM_GetShiftState [12:32:14]SAM_PROTO_GetShiftState [12:32:14]wFMCommunicate request_size=4 [12:32:14]MH_SAM_APDU [12:32:14]CAPDU: 80 13 01 00 [12:32:14]Write to MH i2c: E2 08 00 95 08 80 13 01 00 00 00 00 00 1A [12:32:14]Write i2c OK [12:32:14]MH_I2C_Read... [12:32:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:32:14]Read from MH i2c: E2 [12:32:14]MH_I2C_Read... [12:32:14]Read from MH i2c: E2 0E 00 [12:32:14]MH_I2C_Read... [12:32:14]Read from MH i2c: E2 0E 00 95 08 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C1 [12:32:14]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:32:14]wFMCommunicate OK [12:32:14]SAM_PROTO_GetShiftState done [12:32:14]FM_GetShiftState done [12:32:14]req_shift_opened done [12:32:14]requested_item shift.open_date is exist - process it [12:32:14]req_shift_open_date [12:32:14]req_shift_open_date done [12:32:14]requested_item shift.sale.total is exist - process it [12:32:14]SAM_PROTO_GetShiftData [12:32:14]wFMCommunicate request_size=4 [12:32:14]MH_SAM_APDU [12:32:14]CAPDU: 80 13 02 00 [12:32:14]Write to MH i2c: E2 08 00 96 08 80 13 02 00 00 00 00 00 1C [12:32:14]Write i2c OK [12:32:14]MH_I2C_Read... [12:32:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:32:14]Read from MH i2c: E2 [12:32:14]MH_I2C_Read... [12:32:14]Read from MH i2c: E2 FD 00 [12:32:14]MH_I2C_Read... [12:32:14]Read from MH i2c: E2 FD 00 96 08 00 BB 04 AA 04 B7 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 D0 94 27 70 04 03 00 E0 81 20 72 04 03 00 F0 12 07 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 15 34 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A5 59 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 7D [12:32:14]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 45 00 00 00 69 04 9B 00 6F 04 04 00 43 00 00 00 B1 04 03 00 D0 94 27 70 04 03 00 E0 81 20 72 04 03 00 F0 12 07 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 15 34 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A5 59 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [12:32:14]wFMCommunicate OK [12:32:14]wFMCommunicate request_size=4 [12:32:14]MH_SAM_APDU [12:32:14]CAPDU: 80 17 00 00 [12:32:14]Write to MH i2c: E2 08 00 97 08 80 17 00 00 00 00 00 00 1F [12:32:14]Write i2c OK [12:32:14]MH_I2C_Read... [12:32:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:32:14]Read from MH i2c: E2 [12:32:14]MH_I2C_Read... [12:32:14]Read from MH i2c: E2 FD 00 [12:32:14]MH_I2C_Read... [12:32:14]Read from MH i2c: E2 FD 00 97 08 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B2 [12:32:14]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:32:14]wFMCommunicate OK [12:32:14]wFMCommunicate request_size=4 [12:32:14]MH_SAM_APDU [12:32:14]CAPDU: 80 17 00 00 [12:32:14]Write to MH i2c: E2 08 00 98 08 80 17 00 00 00 00 00 00 20 [12:32:14]Write i2c OK [12:32:14]MH_I2C_Read... [12:32:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:32:15]Read from MH i2c: E2 [12:32:15]MH_I2C_Read... [12:32:15]Read from MH i2c: E2 FD 00 [12:32:15]MH_I2C_Read... [12:32:15]Read from MH i2c: E2 FD 00 98 08 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [12:32:15]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:32:15]wFMCommunicate OK [12:32:15]wFMCommunicate request_size=4 [12:32:15]MH_SAM_APDU [12:32:15]CAPDU: 80 17 00 00 [12:32:15]Write to MH i2c: E2 08 00 99 08 80 17 00 00 00 00 00 00 21 [12:32:15]Write i2c OK [12:32:15]MH_I2C_Read... [12:32:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:32:15]Read from MH i2c: E2 [12:32:15]MH_I2C_Read... [12:32:15]Read from MH i2c: E2 FD 00 [12:32:15]MH_I2C_Read... [12:32:15]Read from MH i2c: E2 FD 00 99 08 00 00 00 EF 03 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 90 00 96 [12:32:15]RAPDU: 00 00 EF 03 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 90 00 [12:32:15]wFMCommunicate OK [12:32:15]wFMCommunicate request_size=4 [12:32:15]MH_SAM_APDU [12:32:15]CAPDU: 80 17 00 00 [12:32:15]Write to MH i2c: E2 08 00 9A 08 80 17 00 00 00 00 00 00 22 [12:32:15]Write i2c OK [12:32:15]MH_I2C_Read... [12:32:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [12:32:15]Read from MH i2c: E2 [12:32:15]MH_I2C_Read... [12:32:15]Read from MH i2c: E2 D8 00 [12:32:15]MH_I2C_Read... [12:32:15]Read from MH i2c: E2 D8 00 9A 08 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 09 [12:32:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:32:15]wFMCommunicate OK [12:32:15]SAM_PROTO_GetShiftData done [12:32:15]requested_item shift.sale.total_cash is exist - process it [12:32:15]requested_item shift.sale_refund.total is exist - process it [12:32:15]requested_item shift.sale_refund.total_cash is exist - process it [12:32:15]produce_requested_data done [12:32:15]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57052,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25940.00,"shift.sale.total_cash":21304.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [12:32:15]process_action_free close_receipt [12:32:15]json_value_free [12:32:15]json_value_free done [12:32:15]process_json_proto returns [12:32:15]Send response to host [12:32:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57052,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":25940.00,"shift.sale.total_cash":21304.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [12:32:15]free response buf [12:32:15]execute_script done [12:32:15]execute_script returns [12:32:15]free content buf [12:32:15]Sock 9.Close socket [12:32:15]Sock 9.Thread stoped [12:32:17]OFD Sender: No OFD packet to send [12:32:22]OFD Sender: No OFD packet to send [12:32:27]OFD Sender: No OFD packet to send [12:32:32]OFD Sender: No OFD packet to send [12:32:37]OFD Sender: No OFD packet to send [12:32:42]OFD Sender: No OFD packet to send [12:32:47]OFD Sender: No OFD packet to send [12:32:52]OFD Sender: No OFD packet to send [12:32:57]OFD Sender: No OFD packet to send [12:33:02]OFD Sender: No OFD packet to send [12:33:07]OFD Sender: No OFD packet to send [12:33:12]OFD Sender: No OFD packet to send [12:33:17]OFD Sender: No OFD packet to send [12:33:22]OFD Sender: No OFD packet to send [12:33:27]OFD Sender: No OFD packet to send [12:33:32]OFD Sender: No OFD packet to send [12:33:37]OFD Sender: No OFD packet to send [12:33:42]OFD Sender: No OFD packet to send [12:33:47]OFD Sender: No OFD packet to send [12:33:52]OFD Sender: No OFD packet to send [12:33:57]OFD Sender: No OFD packet to send [12:34:02]OFD Sender: No OFD packet to send [12:34:07]OFD Sender: No OFD packet to send [12:34:12]OFD Sender: No OFD packet to send [12:34:17]OFD Sender: No OFD packet to send [12:34:22]OFD Sender: No OFD packet to send [12:34:27]OFD Sender: No OFD packet to send [12:34:32]OFD Sender: No OFD packet to send [12:34:37]OFD Sender: No OFD packet to send [12:34:43]OFD Sender: No OFD packet to send [12:34:48]OFD Sender: No OFD packet to send [12:34:53]OFD Sender: No OFD packet to send [12:34:58]OFD Sender: No OFD packet to send [12:35:03]OFD Sender: No OFD packet to send [12:35:08]OFD Sender: No OFD packet to send [12:35:13]OFD Sender: No OFD packet to send [12:35:18]OFD Sender: No OFD packet to send [12:35:23]OFD Sender: No OFD packet to send [12:35:28]OFD Sender: No OFD packet to send [12:35:33]OFD Sender: No OFD packet to send [12:35:38]OFD Sender: No OFD packet to send [12:35:43]OFD Sender: No OFD packet to send [12:35:48]OFD Sender: No OFD packet to send [12:35:53]OFD Sender: No OFD packet to send [12:35:58]OFD Sender: No OFD packet to send [12:36:03]OFD Sender: No OFD packet to send [12:36:08]OFD Sender: No OFD packet to send [12:36:13]OFD Sender: No OFD packet to send [12:36:18]OFD Sender: No OFD packet to send [12:36:23]OFD Sender: No OFD packet to send [12:36:28]OFD Sender: No OFD packet to send [12:36:33]OFD Sender: No OFD packet to send [12:36:38]OFD Sender: No OFD packet to send [12:36:43]OFD Sender: No OFD packet to send [12:36:48]OFD Sender: No OFD packet to send [12:36:53]OFD Sender: No OFD packet to send [12:36:58]OFD Sender: No OFD packet to send [12:37:03]OFD Sender: No OFD packet to send [12:37:08]OFD Sender: No OFD packet to send [12:37:13]OFD Sender: No OFD packet to send [12:37:18]OFD Sender: No OFD packet to send [12:37:23]OFD Sender: No OFD packet to send [12:37:28]OFD Sender: No OFD packet to send [12:37:33]OFD Sender: No OFD packet to send [12:37:38]OFD Sender: No OFD packet to send [12:37:43]OFD Sender: No OFD packet to send [12:37:48]OFD Sender: No OFD packet to send [12:37:53]OFD Sender: No OFD packet to send [12:37:58]OFD Sender: No OFD packet to send [12:38:03]OFD Sender: No OFD packet to send [12:38:08]OFD Sender: No OFD packet to send [12:38:13]OFD Sender: No OFD packet to send [12:38:18]OFD Sender: No OFD packet to send [12:38:23]OFD Sender: No OFD packet to send [12:38:28]OFD Sender: No OFD packet to send [12:38:33]OFD Sender: No OFD packet to send [12:38:37]accept exits with 7 [12:38:37]New connection [12:38:37]New thread 3067448676 created [12:38:37]Thread 3067592036 joined [12:38:37]Waiting for new connection... [12:38:37] Sock 7.Parse request [12:38:37]Sock 7.Check first char [12:38:37]Sock 7.First char is OK [12:38:37]request: POST /json_proto HTTP/1.0 [12:38:37]Method: POST [12:38:37]URL: /json_proto [12:38:37]Method is POST - this is cgi request [12:38:37]url: /json_proto [12:38:37]query_string will be loaded in cgi processing [12:38:37]execute_cgi json_proto POST (null) [12:38:37]execute_cgi path=json_proto method=POST [12:38:37]POST find Content-Length [12:38:37]Host: 172.17.39.4:8080 [12:38:37]Content-Length: 759 [12:38:37]Content-Type: application/json [12:38:37] [12:38:37]POST finish read [12:38:37]Found Content-Length = 759 [12:38:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129516", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:38:37]execute_script... [12:38: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)129516", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:38:37]POST & json_proto [12:38:37]process_json_proto [12:38:37]json parsed OK: [12:38:37]protocol is kg_v1.0 [12:38:37]action value=close_receipt [12:38:37]process_action close_receipt [12:38:37]cmd_close_receipt [12:38:37]MH_GetDate [12:38:37]Write to MH i2c: F0 00 00 9B 08 92 [12:38:37]Write i2c OK [12:38:37]MH_I2C_Read... [12:38:37]Read from MH i2c: F0 [12:38:37]MH_I2C_Read... [12:38:37]Read from MH i2c: F0 09 00 [12:38:37]MH_I2C_Read... [12:38:37]Read from MH i2c: F0 09 00 9B 08 00 CF C6 93 66 2D 25 5D 64 3C [12:38:37]GetLastDocTimeStamp 1720960331 [12:38:37]current date 1720960719 [12:38:37]FM_GetShiftState [12:38:37]SAM_PROTO_GetShiftState [12:38:37]wFMCommunicate request_size=4 [12:38:37]MH_SAM_APDU [12:38:37]CAPDU: 80 13 01 00 [12:38:37]Write to MH i2c: E2 08 00 9C 08 80 13 01 00 00 00 00 00 21 [12:38:37]Write i2c OK [12:38:37]MH_I2C_Read... [12:38:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:38:38]Read from MH i2c: E2 [12:38:38]MH_I2C_Read... [12:38:38]Read from MH i2c: E2 0E 00 [12:38:38]MH_I2C_Read... [12:38:38]Read from MH i2c: E2 0E 00 9C 08 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C8 [12:38:38]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:38:38]wFMCommunicate OK [12:38:38]SAM_PROTO_GetShiftState done [12:38:38]FM_GetShiftState done [12:38:38]opened in 1720917126 [12:38:38]opened+sec_in_day 1721003526 [12:38:38]quantity*price = 8500 [12:38:38]sum+1 = 8501 [12:38:38]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 85.00 НСП 1% : 0.75 НДС 12% : 9.03 Наличными: 85.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 70 14.07.2024 12:38 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57053 ФПД: 140319866987571 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T123839&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57053&fm=140319866987571&tin=02508201610067®Number=0000000000091208&sum=8500 0 [12:38:39]StoreToDocumentArchive [12:38:39]shift 496 fd 57053 [12:38:39]save to /storage/0496/doc_00057053 [12:38:39]save last doc name /storage/0496/doc_00057053 to /storage/kkm_last_doc_name [12:38:39]save OK [12:38:39]Clear old archive folders... [12:38:39]ProcessDocumentItem done err = 0, tmpTLVsize=294 [12:38:39]tlvbuf is 00FD5EB0 [12:38:39]SAM_PROTO_ClearQueue [12:38:39]wFMCommunicate request_size=4 [12:38:39]MH_SAM_APDU [12:38:39]CAPDU: 80 09 00 00 [12:38:39]Write to MH i2c: E2 08 00 A9 08 80 09 00 00 00 00 00 00 23 [12:38:39]Write i2c OK [12:38:39]MH_I2C_Read... [12:38:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:38:39]Read from MH i2c: E2 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 03 00 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 03 00 A9 08 00 90 00 25 [12:38:39]RAPDU: 90 00 [12:38:39]wFMCommunicate OK [12:38:39]SAM_PROTO_ClearQueue done [12:38:39]KKMCreateOFDPacket [12:38:39]OFDProtocolAddRootSTLVToBuf [12:38:39]FM_MakeSignedData [12:38:39]FM_MakeSignedData [12:38:39]SAM_PROTO_SignData [12:38:39]wFMCommunicate request_size=4 [12:38:39]MH_SAM_APDU [12:38:39]CAPDU: 80 0D 01 02 [12:38:39]Write to MH i2c: E2 08 00 AA 08 80 0D 01 02 00 00 00 00 2B [12:38:39]Write i2c OK [12:38:39]MH_I2C_Read... [12:38:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:38:39]Read from MH i2c: E2 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 03 00 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 03 00 AA 08 00 90 00 26 [12:38:39]RAPDU: 90 00 [12:38:39]wFMCommunicate OK [12:38:39]wFMCommunicate request_size=255 [12:38:39]MH_SAM_APDU [12:38:39]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 46 00 00 00 F4 03 04 00 CF C6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 [12:38:39]Write to MH i2c: E2 02 01 AB 08 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 46 00 00 00 F4 03 04 00 CF C6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 00 00 D4 [12:38:39]Write i2c OK [12:38:39]MH_I2C_Read... [12:38:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:39]Read from MH i2c: E2 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 03 00 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 03 00 AB 08 00 90 00 27 [12:38:39]RAPDU: 90 00 [12:38:39]wFMCommunicate OK [12:38:39]wFMCommunicate request_size=53 [12:38:39]MH_SAM_APDU [12:38:39]CAPDU: 80 0D 02 02 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DD DE 00 00 35 04 06 00 7F 9E C3 D3 A4 33 [12:38:39]Write to MH i2c: E2 38 00 AC 08 80 0D 02 02 30 00 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DD DE 00 00 35 04 06 00 7F 9E C3 D3 A4 33 00 00 6A [12:38:39]Write i2c OK [12:38:39]MH_I2C_Read... [12:38:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:38:39]Read from MH i2c: E2 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 03 00 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 03 00 AC 08 00 90 00 28 [12:38:39]RAPDU: 90 00 [12:38:39]wFMCommunicate OK [12:38:39]wFMCommunicate request_size=4 [12:38:39]MH_SAM_APDU [12:38:39]CAPDU: 80 0D 03 02 [12:38:39]Write to MH i2c: E2 08 00 AD 08 80 0D 03 02 00 00 00 00 30 [12:38:39]Write i2c OK [12:38:39]MH_I2C_Read... [12:38:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:38:39]Read from MH i2c: E2 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 0B 00 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 0B 00 AD 08 00 16 BE 59 89 68 01 29 F0 90 00 69 [12:38:39]RAPDU: 16 BE 59 89 68 01 29 F0 90 00 [12:38:39]wFMCommunicate OK [12:38:39]SAM_PROTO_SignData done [12:38:39]FM_MakeSignedData done [12:38:39]CreateOFDProtocolMessage [12:38:39]wFMCommunicate request_size=4 [12:38:39]MH_SAM_APDU [12:38:39]CAPDU: 80 11 00 00 [12:38:39]Write to MH i2c: E2 08 00 AE 08 80 11 00 00 00 00 00 00 30 [12:38:39]Write i2c OK [12:38:39]MH_I2C_Read... [12:38:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:39]Read from MH i2c: E2 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 17 00 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: E2 17 00 AE 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8A [12:38:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:38:39]wFMCommunicate OK [12:38:39]CreateOFDProtocolMessage done [12:38:39]OFDSenderStorePacket 57053 [12:38:39]StoreOFDPacket docnum=57053 [12:38:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3A 01 00 00 B3 93 32 01 A0 5C 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 46 00 00 00 F4 03 04 00 CF C6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DD DE 00 00 35 04 06 00 7F 9E C3 D3 A4 33 16 BE 59 89 68 01 29 F0 [12:38:39]CheckFolder [12:38:39]dirname=/storage/ofd_packets [12:38:39]CheckFolder done [12:38:39]ProducePacketName [12:38:39]name=ofd_packets/00057053 [12:38:39]NVStorageSaveData ofd_packets/00057053 [12:38:39]File name is /storage/ofd_packets/00057053 [12:38:39]Write 344 bytes [12:38:39]NVStorageSaveData done [12:38:39]OFDSenderStorePacket done [12:38:39]KKMCreateOFDPacket done [12:38:39]NVStorageSaveData kkm_last_timestamp [12:38:39]File name is /storage/kkm_last_timestamp [12:38:39]Write 4 bytes [12:38:39]NVStorageSaveData done [12:38:39]ExternCall_PrintAddStr [12:38:39]wPrintStart [12:38:39]Write to MH i2c: 01 00 00 AF 08 B7 [12:38:39]Write i2c OK [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: 01 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: 01 07 00 [12:38:39]MH_I2C_Read... [12:38:39]Read from MH i2c: 01 07 00 AF 08 00 00 00 00 00 FF 0F CC [12:38:39]RasterBufferAndPrint [12:38:39]line Счет N : (3)129516 [12:38:39]line ИНН: 02508201610067 [12:38:39]line Контрольно-Кассовый Чек [12:38:39]line ПРОДАЖА [12:38:39]line Товар: 4600682557456 [12:38:39]line Напиток FLash up energy эн ж/б 0,5/0,45л [12:38:39]line 1.000 * 85.00 [12:38:39]line = 85.00 [12:38:39]line НДС 12% НСП 1% [12:38:39]line > о реализуемом товаре [12:38:39]line ИТОГО: 85.00 [12:38:39]line НСП 1% : 0.75 [12:38:39]line НДС 12% : 9.03 [12:38:39]line Наличными: 85.00 [12:38:39]line Безнал.: 0.00 [12:38:39]line Место: АЗС № 132 "Партнер Нефть" [12:38:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:38:39]line СНО: Общий режим [12:38:39]line Чек 70 14.07.2024 12:38 [12:38:39]line Смена: 496 ФФД: 1.0 [12:38:39]line ЗНМ: 0300000132 [12:38:39]line РНМ: 0000000000091208 [12:38:39]line Версия ККМ: 001 [12:38:39]line ФМ: 0000000000874857 [12:38:39]line ФД: 57053 [12:38:39]line ФПД: 140319866987571 [12:38:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T123839&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57053&fm=140319866987571&tin=02508201610067®Number=0000000000091208&sum=8500 [12:38:40]line 0 [12:38:40]OFD Sender: Processing packet 57053 [packets to send 38, broken 37] [12:38:40]ProducePacketName [12:38:40]name=ofd_packets/00057053 [12:38:40]OFD Sender: To server: pG, [12:38:40]CommunicateWithHost lk.salyk.kg:30040 [12:38:40]ConnectInit lk.salyk.kg [12:38:40]written 0, free lines is 4095 [12:38:40]Connected sock=10 [12:38:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 3A 01 00 00 B3 93 32 01 A0 5C 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 46 00 00 00 F4 03 04 00 CF C6 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DD DE 00 00 35 04 06 00 7F 9E C3 D3 A4 33 16 BE 59 89 68 01 29 F0 [12:38:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E1 32 47 00 F0 59 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DD DE 00 00 F4 03 04 00 20 6D 93 66 B6 04 01 00 00 95 B6 5F 69 A4 47 80 2D [12:38:40]CommunicateWithHost err = 0 [12:38:40]CheckOFDResponse [12:38:40]1017 (14) - 77093643461234 [12:38:40]1041 (16) - 0000000000874857 [12:38:40]1040 (4) - 57053 [12:38:40]1012 (4) - 14.07.2024 06:16 [12:38:40]1206 (1) - 0 [12:38:40]OFD Sender: Remove packet 57053 [12:38:40]ProducePacketName [12:38:40]name=ofd_packets/00057053 [12:38:40]NVStorageDeleteData [12:38:40]Write to MH i2c: 01 00 00 D8 08 E0 [12:38:40]Write i2c OK [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: 01 [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: 01 07 00 [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: 01 07 00 D8 08 00 00 00 00 00 E2 0C D5 [12:38:40]RasterBufferAndPrint [12:38:40]line [12:38:40]line [12:38:40]line [12:38:40]line [12:38:40]line [12:38:40]written 0, free lines is 3304 [12:38:40]MH_Cut [12:38:40]Write to MH i2c: D1 01 00 DF 08 01 B9 [12:38:40]Write i2c OK [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: D1 [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: D1 01 00 [12:38:40]MH_I2C_Read... [12:38:40]Read from MH i2c: D1 01 00 DF 08 00 B8 [12:38:40]Write to MH i2c: 01 00 00 E0 08 E8 [12:38:40]Write i2c OK [12:38:40]MH_I2C_Read... [12:38:40]OFD Sender: No OFD packet to send [12:38:41]*** Cut start [12:38:41]*** Partial cut [12:38:41]*** CUTSNS_PIN = 1 [12:38:41]*** CUTSNS_PIN = 0 [12:38:41]*** Brake cut motor [12:38:41]Read from MH i2c: 01 [12:38:41]MH_I2C_Read... [12:38:41]*** Stop cut motor [12:38:41]*** Cut end [12:38:41]Read from MH i2c: 01 07 00 [12:38:41]MH_I2C_Read... [12:38:41]Read from MH i2c: 01 07 00 E0 08 00 00 00 00 00 FF 0F FD [12:38:41]process_action close_receipt done [12:38:41]requested_data is exist [12:38:41]produce_requested_data [12:38:41]requested_item fm.sn is exist - process it [12:38:41]wFMCommunicate request_size=4 [12:38:41]MH_SAM_APDU [12:38:41]CAPDU: 80 11 00 00 [12:38:41]Write to MH i2c: E2 08 00 E1 08 80 11 00 00 00 00 00 00 63 [12:38:41]Write i2c OK [12:38:41]MH_I2C_Read... [12:38:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:38:41]Read from MH i2c: E2 [12:38:41]MH_I2C_Read... [12:38:41]Read from MH i2c: E2 17 00 [12:38:41]MH_I2C_Read... [12:38:41]Read from MH i2c: E2 17 00 E1 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BD [12:38:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:38:41]wFMCommunicate OK [12:38:41]requested_item fd.num is exist - process it [12:38:41]SAM_PROTO_GetFieldsCounters [12:38:41]wFMCommunicate request_size=4 [12:38:41]MH_SAM_APDU [12:38:41]CAPDU: 80 13 00 00 [12:38:41]Write to MH i2c: E2 08 00 E2 08 80 13 00 00 00 00 00 00 66 [12:38:41]Write i2c OK [12:38:41]MH_I2C_Read... [12:38:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:38:42]Read from MH i2c: E2 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 62 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 62 00 E2 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DD DE 00 00 0E 04 04 00 F0 01 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 07 [12:38:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DD DE 00 00 0E 04 04 00 F0 01 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 [12:38:42]wFMCommunicate OK [12:38:42]SAM_PROTO_GetFieldsCounters done [12:38:42]requested_item shift.num is exist - process it [12:38:42]requested_item shift.opened is exist - process it [12:38:42]req_shift_opened [12:38:42]FM_GetShiftState [12:38:42]SAM_PROTO_GetShiftState [12:38:42]wFMCommunicate request_size=4 [12:38:42]MH_SAM_APDU [12:38:42]CAPDU: 80 13 01 00 [12:38:42]Write to MH i2c: E2 08 00 E3 08 80 13 01 00 00 00 00 00 68 [12:38:42]Write i2c OK [12:38:42]MH_I2C_Read... [12:38:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:38:42]Read from MH i2c: E2 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 0E 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 0E 00 E3 08 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 0F [12:38:42]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:38:42]wFMCommunicate OK [12:38:42]SAM_PROTO_GetShiftState done [12:38:42]FM_GetShiftState done [12:38:42]req_shift_opened done [12:38:42]requested_item shift.open_date is exist - process it [12:38:42]req_shift_open_date [12:38:42]req_shift_open_date done [12:38:42]requested_item shift.sale.total is exist - process it [12:38:42]SAM_PROTO_GetShiftData [12:38:42]wFMCommunicate request_size=4 [12:38:42]MH_SAM_APDU [12:38:42]CAPDU: 80 13 02 00 [12:38:42]Write to MH i2c: E2 08 00 E4 08 80 13 02 00 00 00 00 00 6A [12:38:42]Write i2c OK [12:38:42]MH_I2C_Read... [12:38:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:38:42]Read from MH i2c: E2 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 FD 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 FD 00 E4 08 00 BB 04 AA 04 B7 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 04 B6 27 70 04 03 00 14 A3 20 72 04 03 00 F0 12 07 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 9C 37 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F0 59 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 4E [12:38:42]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 46 00 00 00 69 04 9B 00 6F 04 04 00 44 00 00 00 B1 04 03 00 04 B6 27 70 04 03 00 14 A3 20 72 04 03 00 F0 12 07 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 9C 37 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F0 59 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [12:38:42]wFMCommunicate OK [12:38:42]wFMCommunicate request_size=4 [12:38:42]MH_SAM_APDU [12:38:42]CAPDU: 80 17 00 00 [12:38:42]Write to MH i2c: E2 08 00 E5 08 80 17 00 00 00 00 00 00 6D [12:38:42]Write i2c OK [12:38:42]MH_I2C_Read... [12:38:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:38:42]Read from MH i2c: E2 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 FD 00 [12:38:42]MH_I2C_Read... [12:38:42]Read from MH i2c: E2 FD 00 E5 08 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 00 [12:38:42]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:38:42]wFMCommunicate OK [12:38:42]wFMCommunicate request_size=4 [12:38:42]MH_SAM_APDU [12:38:42]CAPDU: 80 17 00 00 [12:38:42]Write to MH i2c: E2 08 00 E6 08 80 17 00 00 00 00 00 00 6E [12:38:42]Write i2c OK [12:38:42]MH_I2C_Read... [12:38:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:38:43]Read from MH i2c: E2 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: E2 FD 00 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: E2 FD 00 E6 08 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9A [12:38:43]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:38:43]wFMCommunicate OK [12:38:43]wFMCommunicate request_size=4 [12:38:43]MH_SAM_APDU [12:38:43]CAPDU: 80 17 00 00 [12:38:43]Write to MH i2c: E2 08 00 E7 08 80 17 00 00 00 00 00 00 6F [12:38:43]Write i2c OK [12:38:43]MH_I2C_Read... [12:38:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:38:43]Read from MH i2c: E2 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: E2 FD 00 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: E2 FD 00 E7 08 00 00 00 EF 03 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 90 00 E4 [12:38:43]RAPDU: 00 00 EF 03 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 90 00 [12:38:43]wFMCommunicate OK [12:38:43]wFMCommunicate request_size=4 [12:38:43]MH_SAM_APDU [12:38:43]CAPDU: 80 17 00 00 [12:38:43]Write to MH i2c: E2 08 00 E8 08 80 17 00 00 00 00 00 00 70 [12:38:43]Write i2c OK [12:38:43]MH_I2C_Read... [12:38:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [12:38:43]Read from MH i2c: E2 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: E2 D8 00 [12:38:43]MH_I2C_Read... [12:38:43]Read from MH i2c: E2 D8 00 E8 08 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 57 [12:38:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:38:43]wFMCommunicate OK [12:38:43]SAM_PROTO_GetShiftData done [12:38:43]requested_item shift.sale.total_cash is exist - process it [12:38:43]requested_item shift.sale_refund.total is exist - process it [12:38:43]requested_item shift.sale_refund.total_cash is exist - process it [12:38:43]produce_requested_data done [12:38:43]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57053,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26025.00,"shift.sale.total_cash":21389.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [12:38:43]process_action_free close_receipt [12:38:43]json_value_free [12:38:43]json_value_free done [12:38:43]process_json_proto returns [12:38:43]Send response to host [12:38:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57053,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26025.00,"shift.sale.total_cash":21389.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [12:38:43]free response buf [12:38:43]execute_script done [12:38:43]execute_script returns [12:38:43]free content buf [12:38:43]Sock 7.Close socket [12:38:43]Sock 7.Thread stoped [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:11]OFD Sender: No OFD packet to send [12:39:16]OFD Sender: No OFD packet to send [12:39:21]OFD Sender: No OFD packet to send [12:39:26]OFD Sender: No OFD packet to send [12:39:31]OFD Sender: No OFD packet to send [12:39:36]OFD Sender: No OFD packet to send [12:39:41]OFD Sender: No OFD packet to send [12:39:46]OFD Sender: No OFD packet to send [12:39:51]OFD Sender: No OFD packet to send [12:39:56]OFD Sender: No OFD packet to send [12:40:01]OFD Sender: No OFD packet to send [12:40:06]OFD Sender: No OFD packet to send [12:40:11]OFD Sender: No OFD packet to send [12:40:16]OFD Sender: No OFD packet to send [12:40:21]OFD Sender: No OFD packet to send [12:40:26]OFD Sender: No OFD packet to send [12:40:31]OFD Sender: No OFD packet to send [12:40:36]OFD Sender: No OFD packet to send [12:40:41]OFD Sender: No OFD packet to send [12:40:46]OFD Sender: No OFD packet to send [12:40:51]OFD Sender: No OFD packet to send [12:40:56]OFD Sender: No OFD packet to send [12:41:01]OFD Sender: No OFD packet to send [12:41:06]OFD Sender: No OFD packet to send [12:41:11]OFD Sender: No OFD packet to send [12:41:16]OFD Sender: No OFD packet to send [12:41:21]OFD Sender: No OFD packet to send [12:41:26]OFD Sender: No OFD packet to send [12:41:31]OFD Sender: No OFD packet to send [12:41:36]OFD Sender: No OFD packet to send [12:41:41]OFD Sender: No OFD packet to send [12:41:46]OFD Sender: No OFD packet to send [12:41:51]OFD Sender: No OFD packet to send [12:41:56]OFD Sender: No OFD packet to send [12:42:01]OFD Sender: No OFD packet to send [12:42:06]OFD Sender: No OFD packet to send [12:42:11]OFD Sender: No OFD packet to send [12:42:16]OFD Sender: No OFD packet to send [12:42:21]OFD Sender: No OFD packet to send [12:42:26]OFD Sender: No OFD packet to send [12:42:31]OFD Sender: No OFD packet to send [12:42:36]OFD Sender: No OFD packet to send [12:42:41]OFD Sender: No OFD packet to send [12:42:46]OFD Sender: No OFD packet to send [12:42:51]OFD Sender: No OFD packet to send [12:42:56]OFD Sender: No OFD packet to send [12:43:01]OFD Sender: No OFD packet to send [12:43:06]OFD Sender: No OFD packet to send [12:43:11]OFD Sender: No OFD packet to send [12:43:16]OFD Sender: No OFD packet to send [12:43:21]OFD Sender: No OFD packet to send [12:43:26]OFD Sender: No OFD packet to send [12:43:31]OFD Sender: No OFD packet to send [12:43:36]OFD Sender: No OFD packet to send [12:43:41]OFD Sender: No OFD packet to send [12:43:46]OFD Sender: No OFD packet to send [12:43:51]OFD Sender: No OFD packet to send [12:43:56]OFD Sender: No OFD packet to send [12:44:01]OFD Sender: No OFD packet to send [12:44:04]accept exits with 9 [12:44:04]New connection [12:44:04]New thread 3067592036 created [12:44:04]Thread 3067448676 joined [12:44:04]Waiting for new connection... [12:44:04] Sock 9.Parse request [12:44:04]Sock 9.Check first char [12:44:04]Sock 9.First char is OK [12:44:04]request: POST /json_proto HTTP/1.0 [12:44:04]Method: POST [12:44:04]URL: /json_proto [12:44:04]Method is POST - this is cgi request [12:44:04]url: /json_proto [12:44:04]query_string will be loaded in cgi processing [12:44:04]execute_cgi json_proto POST (null) [12:44:04]execute_cgi path=json_proto method=POST [12:44:04]POST find Content-Length [12:44:04]Host: 172.17.39.4:8080 [12:44:04]Content-Length: 750 [12:44:04]Content-Type: application/json [12:44:04] [12:44:04]POST finish read [12:44:04]Found Content-Length = 750 [12:44:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129517", "tax_sys" : 0, "items" : [ { "code": "4607161615386", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:44:04]execute_script... [12:44: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)129517", "tax_sys" : 0, "items" : [ { "code": "4607161615386", "name": "\u041B\u0443\u043A\u043E\u0439\u043B \u0421\u0443\u043F\u0435\u0440 10W40 SG/CD 1\u043B.", "price" : 405.00, "quantity" : 1.000, "sum" : 405.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 405.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:44:04]POST & json_proto [12:44:04]process_json_proto [12:44:04]json parsed OK: [12:44:04]protocol is kg_v1.0 [12:44:04]action value=close_receipt [12:44:04]process_action close_receipt [12:44:04]cmd_close_receipt [12:44:04]MH_GetDate [12:44:04]Write to MH i2c: F0 00 00 E9 08 E0 [12:44:04]Write i2c OK [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: F0 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: F0 09 00 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: F0 09 00 E9 08 00 16 C8 93 66 2D 25 5D 64 D3 [12:44:04]GetLastDocTimeStamp 1720960719 [12:44:04]current date 1720961046 [12:44:04]FM_GetShiftState [12:44:04]SAM_PROTO_GetShiftState [12:44:04]wFMCommunicate request_size=4 [12:44:04]MH_SAM_APDU [12:44:04]CAPDU: 80 13 01 00 [12:44:04]Write to MH i2c: E2 08 00 EA 08 80 13 01 00 00 00 00 00 6F [12:44:04]Write i2c OK [12:44:04]MH_I2C_Read... [12:44:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:04]Read from MH i2c: E2 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: E2 0E 00 [12:44:04]MH_I2C_Read... [12:44:04]Read from MH i2c: E2 0E 00 EA 08 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 16 [12:44:04]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:44:04]wFMCommunicate OK [12:44:04]SAM_PROTO_GetShiftState done [12:44:04]FM_GetShiftState done [12:44:04]opened in 1720917126 [12:44:04]opened+sec_in_day 1721003526 [12:44:04]quantity*price = 40500 [12:44:04]sum+1 = 40501 [12:44:04]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 405.00 НСП 1% : 3.58 НДС 12% : 43.01 Наличными: 405.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 71 14.07.2024 12:44 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57054 ФПД: 125945169711093 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T124406&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57054&fm=125945169711093&tin=02508201610067®Number=0000000000091208&sum=40500 0 [12:44:06]StoreToDocumentArchive [12:44:06]shift 496 fd 57054 [12:44:06]save to /storage/0496/doc_00057054 [12:44:06]save last doc name /storage/0496/doc_00057054 to /storage/kkm_last_doc_name [12:44:06]save OK [12:44:06]Clear old archive folders... [12:44:06]ProcessDocumentItem done err = 0, tmpTLVsize=282 [12:44:06]tlvbuf is 00FC5E80 [12:44:06]SAM_PROTO_ClearQueue [12:44:06]wFMCommunicate request_size=4 [12:44:06]MH_SAM_APDU [12:44:06]CAPDU: 80 09 00 00 [12:44:06]Write to MH i2c: E2 08 00 F7 08 80 09 00 00 00 00 00 00 71 [12:44:06]Write i2c OK [12:44:06]MH_I2C_Read... [12:44:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:44:06]Read from MH i2c: E2 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 03 00 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 03 00 F7 08 00 90 00 73 [12:44:06]RAPDU: 90 00 [12:44:06]wFMCommunicate OK [12:44:06]SAM_PROTO_ClearQueue done [12:44:06]KKMCreateOFDPacket [12:44:06]OFDProtocolAddRootSTLVToBuf [12:44:06]FM_MakeSignedData [12:44:06]FM_MakeSignedData [12:44:06]SAM_PROTO_SignData [12:44:06]wFMCommunicate request_size=4 [12:44:06]MH_SAM_APDU [12:44:06]CAPDU: 80 0D 01 02 [12:44:06]Write to MH i2c: E2 08 00 F8 08 80 0D 01 02 00 00 00 00 79 [12:44:06]Write i2c OK [12:44:06]MH_I2C_Read... [12:44:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:44:06]Read from MH i2c: E2 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 03 00 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 03 00 F8 08 00 90 00 74 [12:44:06]RAPDU: 90 00 [12:44:06]wFMCommunicate OK [12:44:06]wFMCommunicate request_size=255 [12:44:06]MH_SAM_APDU [12:44:06]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 36 31 36 31 35 33 38 36 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 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 16 C8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [12:44:06]Write to MH i2c: E2 02 01 F9 08 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 36 31 36 31 35 33 38 36 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 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 16 C8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 FE [12:44:06]Write i2c OK [12:44:06]MH_I2C_Read... [12:44:06]OFD Sender: No OFD packet to send [12:44:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:06]Read from MH i2c: E2 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 03 00 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 03 00 F9 08 00 90 00 75 [12:44:06]RAPDU: 90 00 [12:44:06]wFMCommunicate OK [12:44:06]wFMCommunicate request_size=41 [12:44:06]MH_SAM_APDU [12:44:06]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DE DE 00 00 35 04 06 00 72 8B E5 1A 0F F5 [12:44:06]Write to MH i2c: E2 2C 00 FA 08 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DE DE 00 00 35 04 06 00 72 8B E5 1A 0F F5 00 00 0E [12:44:06]Write i2c OK [12:44:06]MH_I2C_Read... [12:44:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:44:06]Read from MH i2c: E2 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 03 00 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 03 00 FA 08 00 90 00 76 [12:44:06]RAPDU: 90 00 [12:44:06]wFMCommunicate OK [12:44:06]wFMCommunicate request_size=4 [12:44:06]MH_SAM_APDU [12:44:06]CAPDU: 80 0D 03 02 [12:44:06]Write to MH i2c: E2 08 00 FB 08 80 0D 03 02 00 00 00 00 7E [12:44:06]Write i2c OK [12:44:06]MH_I2C_Read... [12:44:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:44:06]Read from MH i2c: E2 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 0B 00 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 0B 00 FB 08 00 88 43 1C 65 49 6C 18 8B 90 00 23 [12:44:06]RAPDU: 88 43 1C 65 49 6C 18 8B 90 00 [12:44:06]wFMCommunicate OK [12:44:06]SAM_PROTO_SignData done [12:44:06]FM_MakeSignedData done [12:44:06]CreateOFDProtocolMessage [12:44:06]wFMCommunicate request_size=4 [12:44:06]MH_SAM_APDU [12:44:06]CAPDU: 80 11 00 00 [12:44:06]Write to MH i2c: E2 08 00 FC 08 80 11 00 00 00 00 00 00 7E [12:44:06]Write i2c OK [12:44:06]MH_I2C_Read... [12:44:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:06]Read from MH i2c: E2 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 17 00 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: E2 17 00 FC 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D8 [12:44:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:44:06]wFMCommunicate OK [12:44:06]CreateOFDProtocolMessage done [12:44:06]OFDSenderStorePacket 57054 [12:44:06]StoreOFDPacket docnum=57054 [12:44:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 57 DE 26 01 1D 56 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 36 31 36 31 35 33 38 36 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 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 16 C8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DE DE 00 00 35 04 06 00 72 8B E5 1A 0F F5 88 43 1C 65 49 6C 18 8B [12:44:06]CheckFolder [12:44:06]dirname=/storage/ofd_packets [12:44:06]CheckFolder done [12:44:06]ProducePacketName [12:44:06]name=ofd_packets/00057054 [12:44:06]NVStorageSaveData ofd_packets/00057054 [12:44:06]File name is /storage/ofd_packets/00057054 [12:44:06]Write 332 bytes [12:44:06]NVStorageSaveData done [12:44:06]OFDSenderStorePacket done [12:44:06]KKMCreateOFDPacket done [12:44:06]NVStorageSaveData kkm_last_timestamp [12:44:06]File name is /storage/kkm_last_timestamp [12:44:06]Write 4 bytes [12:44:06]NVStorageSaveData done [12:44:06]ExternCall_PrintAddStr [12:44:06]wPrintStart [12:44:06]Write to MH i2c: 01 00 00 FD 08 05 [12:44:06]Write i2c OK [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: 01 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: 01 07 00 [12:44:06]MH_I2C_Read... [12:44:06]Read from MH i2c: 01 07 00 FD 08 00 00 00 00 00 FF 0F 1A [12:44:06]RasterBufferAndPrint [12:44:06]line Счет N : (3)129517 [12:44:06]line ИНН: 02508201610067 [12:44:06]line Контрольно-Кассовый Чек [12:44:06]line ПРОДАЖА [12:44:06]line Товар: 4607161615386 [12:44:06]line Лукойл Супер 10W40 SG/CD 1л. [12:44:06]line 1.000 * 405.00 [12:44:06]line = 405.00 [12:44:06]line НДС 12% НСП 1% [12:44:06]line > о реализуемом товаре [12:44:06]line ИТОГО: 405.00 [12:44:06]line НСП 1% : 3.58 [12:44:06]line НДС 12% : 43.01 [12:44:06]line Наличными: 405.00 [12:44:06]line Безнал.: 0.00 [12:44:06]line Место: АЗС № 132 "Партнер Нефть" [12:44:06]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:44:06]line СНО: Общий режим [12:44:06]line Чек 71 14.07.2024 12:44 [12:44:06]line Смена: 496 ФФД: 1.0 [12:44:06]line ЗНМ: 0300000132 [12:44:06]line РНМ: 0000000000091208 [12:44:06]line Версия ККМ: 001 [12:44:06]line ФМ: 0000000000874857 [12:44:06]line ФД: 57054 [12:44:06]line ФПД: 125945169711093 [12:44:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T124406&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57054&fm=125945169711093&tin=02508201610067®Number=0000000000091208&sum=40500 [12:44:06]line 0 [12:44:06]OFD Sender: Processing packet 57054 [packets to send 38, broken 37] [12:44:06]ProducePacketName [12:44:06]name=ofd_packets/00057054 [12:44:06]OFD Sender: To server: pG, [12:44:06]CommunicateWithHost lk.salyk.kg:30040 [12:44:06]ConnectInit lk.salyk.kg [12:44:06]written 0, free lines is 4095 [12:44:07]Connected sock=10 [12:44:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 57 DE 26 01 1D 56 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 34 36 30 37 31 36 31 36 31 35 33 38 36 06 04 28 00 D0 9B D1 83 D0 BA D0 BE D0 B9 D0 BB 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 20 31 30 57 34 30 20 53 47 2F 43 44 20 31 D0 BB 2E FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 34 9E 00 00 00 00 13 04 06 00 34 9E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 34 9E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 66 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 CD 10 00 00 00 00 07 04 06 00 34 9E 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 16 C8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DE DE 00 00 35 04 06 00 72 8B E5 1A 0F F5 88 43 1C 65 49 6C 18 8B [12:44:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 61 77 47 00 76 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DE DE 00 00 F4 03 04 00 67 6E 93 66 B6 04 01 00 00 99 45 51 52 76 D0 98 D8 [12:44:07]CommunicateWithHost err = 0 [12:44:07]CheckOFDResponse [12:44:07]1017 (14) - 77093643461234 [12:44:07]1041 (16) - 0000000000874857 [12:44:07]1040 (4) - 57054 [12:44:07]1012 (4) - 14.07.2024 06:21 [12:44:07]1206 (1) - 0 [12:44:07]OFD Sender: Remove packet 57054 [12:44:07]ProducePacketName [12:44:07]name=ofd_packets/00057054 [12:44:07]NVStorageDeleteData [12:44:07]Write to MH i2c: 01 00 00 26 09 2F [12:44:07]Write i2c OK [12:44:07]MH_I2C_Read... [12:44:07]Read from MH i2c: 01 [12:44:07]MH_I2C_Read... [12:44:07]Read from MH i2c: 01 07 00 [12:44:07]MH_I2C_Read... [12:44:07]Read from MH i2c: 01 07 00 26 09 00 00 00 00 00 EB 0C 2D [12:44:07]RasterBufferAndPrint [12:44:07]line [12:44:07]line [12:44:07]line [12:44:07]line [12:44:07]line [12:44:07]written 0, free lines is 3313 [12:44:07]MH_Cut [12:44:07]Write to MH i2c: D1 01 00 2D 09 01 08 [12:44:07]Write i2c OK [12:44:07]MH_I2C_Read... [12:44:07]Read from MH i2c: D1 [12:44:07]MH_I2C_Read... [12:44:07]Read from MH i2c: D1 01 00 [12:44:07]MH_I2C_Read... [12:44:07]Read from MH i2c: D1 01 00 2D 09 00 07 [12:44:07]Write to MH i2c: 01 00 00 2E 09 37 [12:44:07]Write i2c OK [12:44:07]MH_I2C_Read... [12:44:07]OFD Sender: No OFD packet to send [12:44:08]*** Cut start [12:44:08]*** Partial cut [12:44:08]*** CUTSNS_PIN = 1 [12:44:08]*** CUTSNS_PIN = 0 [12:44:08]*** Brake cut motor [12:44:08]Read from MH i2c: 01 [12:44:08]MH_I2C_Read... [12:44:08]*** Stop cut motor [12:44:08]*** Cut end [12:44:08]Read from MH i2c: 01 07 00 [12:44:08]MH_I2C_Read... [12:44:08]Read from MH i2c: 01 07 00 2E 09 00 00 00 00 00 FF 0F 4C [12:44:08]process_action close_receipt done [12:44:08]requested_data is exist [12:44:08]produce_requested_data [12:44:08]requested_item fm.sn is exist - process it [12:44:08]wFMCommunicate request_size=4 [12:44:08]MH_SAM_APDU [12:44:08]CAPDU: 80 11 00 00 [12:44:08]Write to MH i2c: E2 08 00 2F 09 80 11 00 00 00 00 00 00 B2 [12:44:08]Write i2c OK [12:44:08]MH_I2C_Read... [12:44:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:44:08]Read from MH i2c: E2 [12:44:08]MH_I2C_Read... [12:44:08]Read from MH i2c: E2 17 00 [12:44:08]MH_I2C_Read... [12:44:08]Read from MH i2c: E2 17 00 2F 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0C [12:44:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:44:08]wFMCommunicate OK [12:44:08]requested_item fd.num is exist - process it [12:44:08]SAM_PROTO_GetFieldsCounters [12:44:08]wFMCommunicate request_size=4 [12:44:08]MH_SAM_APDU [12:44:08]CAPDU: 80 13 00 00 [12:44:08]Write to MH i2c: E2 08 00 30 09 80 13 00 00 00 00 00 00 B5 [12:44:08]Write i2c OK [12:44:08]MH_I2C_Read... [12:44:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:44:08]Read from MH i2c: E2 [12:44:08]MH_I2C_Read... [12:44:08]Read from MH i2c: E2 62 00 [12:44:08]MH_I2C_Read... [12:44:08]Read from MH i2c: E2 62 00 30 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DE DE 00 00 0E 04 04 00 F0 01 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 5A [12:44:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DE DE 00 00 0E 04 04 00 F0 01 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 [12:44:08]wFMCommunicate OK [12:44:08]SAM_PROTO_GetFieldsCounters done [12:44:08]requested_item shift.num is exist - process it [12:44:08]requested_item shift.opened is exist - process it [12:44:08]req_shift_opened [12:44:08]FM_GetShiftState [12:44:08]SAM_PROTO_GetShiftState [12:44:08]wFMCommunicate request_size=4 [12:44:08]MH_SAM_APDU [12:44:08]CAPDU: 80 13 01 00 [12:44:08]Write to MH i2c: E2 08 00 31 09 80 13 01 00 00 00 00 00 B7 [12:44:08]Write i2c OK [12:44:08]MH_I2C_Read... [12:44:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:44:09]Read from MH i2c: E2 [12:44:09]MH_I2C_Read... [12:44:09]Read from MH i2c: E2 0E 00 [12:44:09]MH_I2C_Read... [12:44:09]Read from MH i2c: E2 0E 00 31 09 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 5E [12:44:09]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:44:09]wFMCommunicate OK [12:44:09]SAM_PROTO_GetShiftState done [12:44:09]FM_GetShiftState done [12:44:09]req_shift_opened done [12:44:09]requested_item shift.open_date is exist - process it [12:44:09]req_shift_open_date [12:44:09]req_shift_open_date done [12:44:09]requested_item shift.sale.total is exist - process it [12:44:09]SAM_PROTO_GetShiftData [12:44:09]wFMCommunicate request_size=4 [12:44:09]MH_SAM_APDU [12:44:09]CAPDU: 80 13 02 00 [12:44:09]Write to MH i2c: E2 08 00 32 09 80 13 02 00 00 00 00 00 B9 [12:44:09]Write i2c OK [12:44:09]MH_I2C_Read... [12:44:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:44:09]Read from MH i2c: E2 [12:44:09]MH_I2C_Read... [12:44:09]Read from MH i2c: E2 FD 00 [12:44:09]MH_I2C_Read... [12:44:09]Read from MH i2c: E2 FD 00 32 09 00 BB 04 AA 04 B7 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 38 54 28 70 04 03 00 48 41 21 72 04 03 00 F0 12 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 69 48 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 56 5B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 8B [12:44:09]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 47 00 00 00 69 04 9B 00 6F 04 04 00 45 00 00 00 B1 04 03 00 38 54 28 70 04 03 00 48 41 21 72 04 03 00 F0 12 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 69 48 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 56 5B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [12:44:09]wFMCommunicate OK [12:44:09]wFMCommunicate request_size=4 [12:44:09]MH_SAM_APDU [12:44:09]CAPDU: 80 17 00 00 [12:44:09]Write to MH i2c: E2 08 00 33 09 80 17 00 00 00 00 00 00 BC [12:44:09]Write i2c OK [12:44:09]MH_I2C_Read... [12:44:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:44:09]Read from MH i2c: E2 [12:44:09]MH_I2C_Read... [12:44:09]Read from MH i2c: E2 FD 00 [12:44:09]MH_I2C_Read... [12:44:09]Read from MH i2c: E2 FD 00 33 09 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4F [12:44:09]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:44:09]wFMCommunicate OK [12:44:09]wFMCommunicate request_size=4 [12:44:09]MH_SAM_APDU [12:44:09]CAPDU: 80 17 00 00 [12:44:09]Write to MH i2c: E2 08 00 34 09 80 17 00 00 00 00 00 00 BD [12:44:09]Write i2c OK [12:44:09]MH_I2C_Read... [12:44:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:44:10]Read from MH i2c: E2 [12:44:10]MH_I2C_Read... [12:44:10]Read from MH i2c: E2 FD 00 [12:44:10]MH_I2C_Read... [12:44:10]Read from MH i2c: E2 FD 00 34 09 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E9 [12:44:10]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:44:10]wFMCommunicate OK [12:44:10]wFMCommunicate request_size=4 [12:44:10]MH_SAM_APDU [12:44:10]CAPDU: 80 17 00 00 [12:44:10]Write to MH i2c: E2 08 00 35 09 80 17 00 00 00 00 00 00 BE [12:44:10]Write i2c OK [12:44:10]MH_I2C_Read... [12:44:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:44:10]Read from MH i2c: E2 [12:44:10]MH_I2C_Read... [12:44:10]Read from MH i2c: E2 FD 00 [12:44:10]MH_I2C_Read... [12:44:10]Read from MH i2c: E2 FD 00 35 09 00 00 00 EF 03 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 90 00 33 [12:44:10]RAPDU: 00 00 EF 03 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 90 00 [12:44:10]wFMCommunicate OK [12:44:10]wFMCommunicate request_size=4 [12:44:10]MH_SAM_APDU [12:44:10]CAPDU: 80 17 00 00 [12:44:10]Write to MH i2c: E2 08 00 36 09 80 17 00 00 00 00 00 00 BF [12:44:10]Write i2c OK [12:44:10]MH_I2C_Read... [12:44:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [12:44:10]Read from MH i2c: E2 [12:44:10]MH_I2C_Read... [12:44:10]Read from MH i2c: E2 D8 00 [12:44:10]MH_I2C_Read... [12:44:10]Read from MH i2c: E2 D8 00 36 09 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 A6 [12:44:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:44:10]wFMCommunicate OK [12:44:10]SAM_PROTO_GetShiftData done [12:44:10]requested_item shift.sale.total_cash is exist - process it [12:44:10]requested_item shift.sale_refund.total is exist - process it [12:44:10]requested_item shift.sale_refund.total_cash is exist - process it [12:44:10]produce_requested_data done [12:44:10]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57054,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26430.00,"shift.sale.total_cash":21794.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [12:44:10]process_action_free close_receipt [12:44:10]json_value_free [12:44:10]json_value_free done [12:44:10]process_json_proto returns [12:44:10]Send response to host [12:44:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57054,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26430.00,"shift.sale.total_cash":21794.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [12:44:10]free response buf [12:44:10]execute_script done [12:44:10]execute_script returns [12:44:10]free content buf [12:44:10]Sock 9.Close socket [12:44:10]Sock 9.Thread stoped [12:44:12]OFD Sender: No OFD packet to send [12:44:17]OFD Sender: No OFD packet to send [12:44:22]OFD Sender: No OFD packet to send [12:44:27]OFD Sender: No OFD packet to send [12:44:32]OFD Sender: No OFD packet to send [12:44:37]OFD Sender: No OFD packet to send [12:44:42]OFD Sender: No OFD packet to send [12:44:47]OFD Sender: No OFD packet to send [12:44:52]OFD Sender: No OFD packet to send [12:44:57]OFD Sender: No OFD packet to send [12:45:02]OFD Sender: No OFD packet to send [12:45:07]OFD Sender: No OFD packet to send [12:45:12]OFD Sender: No OFD packet to send [12:45:17]OFD Sender: No OFD packet to send [12:45:22]OFD Sender: No OFD packet to send [12:45:27]OFD Sender: No OFD packet to send [12:45:32]OFD Sender: No OFD packet to send [12:45:37]OFD Sender: No OFD packet to send [12:45:42]OFD Sender: No OFD packet to send [12:45:47]OFD Sender: No OFD packet to send [12:45:52]OFD Sender: No OFD packet to send [12:45:57]OFD Sender: No OFD packet to send [12:46:02]OFD Sender: No OFD packet to send [12:46:07]OFD Sender: No OFD packet to send [12:46:12]OFD Sender: No OFD packet to send [12:46:17]OFD Sender: No OFD packet to send [12:46:22]OFD Sender: No OFD packet to send [12:46:27]OFD Sender: No OFD packet to send [12:46:32]OFD Sender: No OFD packet to send [12:46:37]OFD Sender: No OFD packet to send [12:46:42]OFD Sender: No OFD packet to send [12:46:47]OFD Sender: No OFD packet to send [12:46:52]OFD Sender: No OFD packet to send [12:46:57]OFD Sender: No OFD packet to send [12:47:02]OFD Sender: No OFD packet to send [12:47:07]OFD Sender: No OFD packet to send [12:47:12]OFD Sender: No OFD packet to send [12:47:17]OFD Sender: No OFD packet to send [12:47:22]OFD Sender: No OFD packet to send [12:47:27]OFD Sender: No OFD packet to send [12:47:33]OFD Sender: No OFD packet to send [12:47:38]OFD Sender: No OFD packet to send [12:47:43]OFD Sender: No OFD packet to send [12:47:48]OFD Sender: No OFD packet to send [12:47:53]OFD Sender: No OFD packet to send [12:47:58]OFD Sender: No OFD packet to send [12:48:03]OFD Sender: No OFD packet to send [12:48:08]OFD Sender: No OFD packet to send [12:48:13]OFD Sender: No OFD packet to send [12:48:18]OFD Sender: No OFD packet to send [12:48:23]OFD Sender: No OFD packet to send [12:48:28]OFD Sender: No OFD packet to send [12:48:33]OFD Sender: No OFD packet to send [12:48:38]OFD Sender: No OFD packet to send [12:48:43]OFD Sender: No OFD packet to send [12:48:48]OFD Sender: No OFD packet to send [12:48:53]OFD Sender: No OFD packet to send [12:48:58]OFD Sender: No OFD packet to send [12:49:03]OFD Sender: No OFD packet to send [12:49:08]OFD Sender: No OFD packet to send [12:49:13]OFD Sender: No OFD packet to send [12:49:18]OFD Sender: No OFD packet to send [12:49:23]OFD Sender: No OFD packet to send [12:49:28]OFD Sender: No OFD packet to send [12:49:33]OFD Sender: No OFD packet to send [12:49:38]OFD Sender: No OFD packet to send [12:49:43]OFD Sender: No OFD packet to send [12:49:48]OFD Sender: No OFD packet to send [12:49:53]OFD Sender: No OFD packet to send [12:49:58]OFD Sender: No OFD packet to send [12:50:03]OFD Sender: No OFD packet to send [12:50:08]OFD Sender: No OFD packet to send [12:50:13]OFD Sender: No OFD packet to send [12:50:18]OFD Sender: No OFD packet to send [12:50:23]OFD Sender: No OFD packet to send [12:50:28]OFD Sender: No OFD packet to send [12:50:33]OFD Sender: No OFD packet to send [12:50:38]OFD Sender: No OFD packet to send [12:50:43]OFD Sender: No OFD packet to send [12:50:48]OFD Sender: No OFD packet to send [12:50:53]OFD Sender: No OFD packet to send [12:50:58]OFD Sender: No OFD packet to send [12:51:03]OFD Sender: No OFD packet to send [12:51:08]OFD Sender: No OFD packet to send [12:51:13]OFD Sender: No OFD packet to send [12:51:18]OFD Sender: No OFD packet to send [12:51:23]OFD Sender: No OFD packet to send [12:51:28]OFD Sender: No OFD packet to send [12:51:33]OFD Sender: No OFD packet to send [12:51:38]OFD Sender: No OFD packet to send [12:51:43]OFD Sender: No OFD packet to send [12:51:48]OFD Sender: No OFD packet to send [12:51:53]OFD Sender: No OFD packet to send [12:51:58]OFD Sender: No OFD packet to send [12:52:03]OFD Sender: No OFD packet to send [12:52:08]OFD Sender: No OFD packet to send [12:52:13]OFD Sender: No OFD packet to send [12:52:18]OFD Sender: No OFD packet to send [12:52:23]OFD Sender: No OFD packet to send [12:52:28]OFD Sender: No OFD packet to send [12:52:33]OFD Sender: No OFD packet to send [12:52:38]OFD Sender: No OFD packet to send [12:52:43]OFD Sender: No OFD packet to send [12:52:48]OFD Sender: No OFD packet to send [12:52:50]accept exits with 7 [12:52:50]New connection [12:52:50]New thread 3067448676 created [12:52:50]Thread 3067592036 joined [12:52:50]Waiting for new connection... [12:52:50] Sock 7.Parse request [12:52:50]Sock 7.Check first char [12:52:50]Sock 7.First char is OK [12:52:50]request: POST /json_proto HTTP/1.0 [12:52:50]Method: POST [12:52:50]URL: /json_proto [12:52:50]Method is POST - this is cgi request [12:52:50]url: /json_proto [12:52:50]query_string will be loaded in cgi processing [12:52:50]execute_cgi json_proto POST (null) [12:52:50]execute_cgi path=json_proto method=POST [12:52:50]POST find Content-Length [12:52:50]Host: 172.17.39.4:8080 [12:52:50]Content-Length: 813 [12:52:50]Content-Type: application/json [12:52:50] [12:52:50]POST finish read [12:52:50]Found Content-Length = 813 [12:52:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129518", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:52:50]execute_script... [12:52:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129518", "tax_sys" : 0, "items" : [ { "code": "4700000480302", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u043C\u0430\u043D\u0433\u043E-\u043A\u043B\u0443\u0431 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 95.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [12:52:50]POST & json_proto [12:52:50]process_json_proto [12:52:50]json parsed OK: [12:52:50]protocol is kg_v1.0 [12:52:50]action value=close_receipt [12:52:50]process_action close_receipt [12:52:50]cmd_close_receipt [12:52:50]MH_GetDate [12:52:50]Write to MH i2c: F0 00 00 37 09 2F [12:52:50]Write i2c OK [12:52:50]MH_I2C_Read... [12:52:50]Read from MH i2c: F0 [12:52:50]MH_I2C_Read... [12:52:50]Read from MH i2c: F0 09 00 [12:52:50]MH_I2C_Read... [12:52:50]Read from MH i2c: F0 09 00 37 09 00 24 CA 93 66 2D 25 5D 64 32 [12:52:50]GetLastDocTimeStamp 1720961046 [12:52:50]current date 1720961572 [12:52:50]FM_GetShiftState [12:52:50]SAM_PROTO_GetShiftState [12:52:50]wFMCommunicate request_size=4 [12:52:50]MH_SAM_APDU [12:52:50]CAPDU: 80 13 01 00 [12:52:50]Write to MH i2c: E2 08 00 38 09 80 13 01 00 00 00 00 00 BE [12:52:50]Write i2c OK [12:52:50]MH_I2C_Read... [12:52:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:52:50]Read from MH i2c: E2 [12:52:50]MH_I2C_Read... [12:52:50]Read from MH i2c: E2 0E 00 [12:52:50]MH_I2C_Read... [12:52:50]Read from MH i2c: E2 0E 00 38 09 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 65 [12:52:50]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:52:50]wFMCommunicate OK [12:52:50]SAM_PROTO_GetShiftState done [12:52:50]FM_GetShiftState done [12:52:50]opened in 1720917126 [12:52:50]opened+sec_in_day 1721003526 [12:52:50]quantity*price = 9500 [12:52:50]sum+1 = 9501 [12:52:50]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 95.00 НСП 1% : 0.84 НДС 12% : 10.09 Наличными: 95.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 72 14.07.2024 12:52 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57055 ФПД: 201439128540703 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T125252&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57055&fm=201439128540703&tin=02508201610067®Number=0000000000091208&sum=9500 0 [12:52:52]StoreToDocumentArchive [12:52:52]shift 496 fd 57055 [12:52:52]save to /storage/0496/doc_00057055 [12:52:52]save last doc name /storage/0496/doc_00057055 to /storage/kkm_last_doc_name [12:52:52]save OK [12:52:52]Clear old archive folders... [12:52:52]ProcessDocumentItem done err = 0, tmpTLVsize=304 [12:52:52]tlvbuf is 00FA2900 [12:52:52]SAM_PROTO_ClearQueue [12:52:52]wFMCommunicate request_size=4 [12:52:52]MH_SAM_APDU [12:52:52]CAPDU: 80 09 00 00 [12:52:52]Write to MH i2c: E2 08 00 45 09 80 09 00 00 00 00 00 00 C0 [12:52:52]Write i2c OK [12:52:52]MH_I2C_Read... [12:52:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [12:52:52]Read from MH i2c: E2 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 03 00 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 03 00 45 09 00 90 00 C2 [12:52:52]RAPDU: 90 00 [12:52:52]wFMCommunicate OK [12:52:52]SAM_PROTO_ClearQueue done [12:52:52]KKMCreateOFDPacket [12:52:52]OFDProtocolAddRootSTLVToBuf [12:52:52]FM_MakeSignedData [12:52:52]FM_MakeSignedData [12:52:52]SAM_PROTO_SignData [12:52:52]wFMCommunicate request_size=4 [12:52:52]MH_SAM_APDU [12:52:52]CAPDU: 80 0D 01 02 [12:52:52]Write to MH i2c: E2 08 00 46 09 80 0D 01 02 00 00 00 00 C8 [12:52:52]Write i2c OK [12:52:52]MH_I2C_Read... [12:52:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [12:52:52]Read from MH i2c: E2 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 03 00 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 03 00 46 09 00 90 00 C3 [12:52:52]RAPDU: 90 00 [12:52:52]wFMCommunicate OK [12:52:52]wFMCommunicate request_size=255 [12:52:52]MH_SAM_APDU [12:52:52]CAPDU: 80 0D 02 02 FA 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 24 CA 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 [12:52:52]Write to MH i2c: E2 02 01 47 09 80 0D 02 02 FA 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 24 CA 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 00 00 2E [12:52:52]Write i2c OK [12:52:52]MH_I2C_Read... [12:52:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:52:52]Read from MH i2c: E2 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 03 00 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 03 00 47 09 00 90 00 C4 [12:52:52]RAPDU: 90 00 [12:52:52]wFMCommunicate OK [12:52:52]wFMCommunicate request_size=63 [12:52:52]MH_SAM_APDU [12:52:52]CAPDU: 80 0D 02 02 3A 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DF DE 00 00 35 04 06 00 B7 35 33 B3 56 1F [12:52:52]Write to MH i2c: E2 42 00 48 09 80 0D 02 02 3A 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DF DE 00 00 35 04 06 00 B7 35 33 B3 56 1F 00 00 1B [12:52:52]Write i2c OK [12:52:52]MH_I2C_Read... [12:52:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [12:52:52]Read from MH i2c: E2 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 03 00 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 03 00 48 09 00 90 00 C5 [12:52:52]RAPDU: 90 00 [12:52:52]wFMCommunicate OK [12:52:52]wFMCommunicate request_size=4 [12:52:52]MH_SAM_APDU [12:52:52]CAPDU: 80 0D 03 02 [12:52:52]Write to MH i2c: E2 08 00 49 09 80 0D 03 02 00 00 00 00 CD [12:52:52]Write i2c OK [12:52:52]MH_I2C_Read... [12:52:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [12:52:52]Read from MH i2c: E2 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 0B 00 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 0B 00 49 09 00 2B 8D 6A 3A 9D 9C BA B3 90 00 D0 [12:52:52]RAPDU: 2B 8D 6A 3A 9D 9C BA B3 90 00 [12:52:52]wFMCommunicate OK [12:52:52]SAM_PROTO_SignData done [12:52:52]FM_MakeSignedData done [12:52:52]CreateOFDProtocolMessage [12:52:52]wFMCommunicate request_size=4 [12:52:52]MH_SAM_APDU [12:52:52]CAPDU: 80 11 00 00 [12:52:52]Write to MH i2c: E2 08 00 4A 09 80 11 00 00 00 00 00 00 CD [12:52:52]Write i2c OK [12:52:52]MH_I2C_Read... [12:52:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:52:52]Read from MH i2c: E2 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 17 00 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: E2 17 00 4A 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 27 [12:52:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:52:52]wFMCommunicate OK [12:52:52]CreateOFDProtocolMessage done [12:52:52]OFDSenderStorePacket 57055 [12:52:52]StoreOFDPacket docnum=57055 [12:52:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 44 01 00 00 E1 4C 3C 01 2E 97 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 24 CA 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DF DE 00 00 35 04 06 00 B7 35 33 B3 56 1F 2B 8D 6A 3A 9D 9C BA B3 [12:52:52]CheckFolder [12:52:52]dirname=/storage/ofd_packets [12:52:52]CheckFolder done [12:52:52]ProducePacketName [12:52:52]name=ofd_packets/00057055 [12:52:52]NVStorageSaveData ofd_packets/00057055 [12:52:52]File name is /storage/ofd_packets/00057055 [12:52:52]Write 354 bytes [12:52:52]NVStorageSaveData done [12:52:52]OFDSenderStorePacket done [12:52:52]KKMCreateOFDPacket done [12:52:52]NVStorageSaveData kkm_last_timestamp [12:52:52]File name is /storage/kkm_last_timestamp [12:52:52]Write 4 bytes [12:52:52]NVStorageSaveData done [12:52:52]ExternCall_PrintAddStr [12:52:52]wPrintStart [12:52:52]Write to MH i2c: 01 00 00 4B 09 54 [12:52:52]Write i2c OK [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: 01 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: 01 07 00 [12:52:52]MH_I2C_Read... [12:52:52]Read from MH i2c: 01 07 00 4B 09 00 00 00 00 00 FF 0F 69 [12:52:52]RasterBufferAndPrint [12:52:52]line Счет N : (3)129518 [12:52:52]line ИНН: 02508201610067 [12:52:52]line Контрольно-Кассовый Чек [12:52:52]line ПРОДАЖА [12:52:52]line Товар: 4700000480302 [12:52:52]line Напиток энерг Nitro манго-клуб 0.45 ж/б [12:52:52]line 1.000 * 95.00 [12:52:52]line = 95.00 [12:52:52]line НДС 12% НСП 1% [12:52:52]line > о реализуемом товаре [12:52:52]line ИТОГО: 95.00 [12:52:52]line НСП 1% : 0.84 [12:52:52]line НДС 12% : 10.09 [12:52:52]line Наличными: 95.00 [12:52:52]line Безнал.: 0.00 [12:52:52]line Место: АЗС № 132 "Партнер Нефть" [12:52:52]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [12:52:52]line СНО: Общий режим [12:52:52]line Чек 72 14.07.2024 12:52 [12:52:52]line Смена: 496 ФФД: 1.0 [12:52:52]line ЗНМ: 0300000132 [12:52:52]line РНМ: 0000000000091208 [12:52:52]line Версия ККМ: 001 [12:52:52]line ФМ: 0000000000874857 [12:52:52]line ФД: 57055 [12:52:52]line ФПД: 201439128540703 [12:52:53]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T125252&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57055&fm=201439128540703&tin=02508201610067®Number=0000000000091208&sum=9500 [12:52:53]line 0 [12:52:53]OFD Sender: Processing packet 57055 [packets to send 38, broken 37] [12:52:53]ProducePacketName [12:52:53]name=ofd_packets/00057055 [12:52:53]OFD Sender: To server: pG, [12:52:53]CommunicateWithHost lk.salyk.kg:30040 [12:52:53]ConnectInit lk.salyk.kg [12:52:53]written 0, free lines is 4095 [12:52:53]Connected sock=10 [12:52:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 44 01 00 00 E1 4C 3C 01 2E 97 5A 03 01 00 03 00 30 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 30 32 06 04 3E 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2D D0 BA D0 BB D1 83 D0 B1 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 1C 25 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F1 03 00 00 00 00 07 04 06 00 1C 25 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 48 00 00 00 F4 03 04 00 24 CA 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 DF DE 00 00 35 04 06 00 B7 35 33 B3 56 1F 2B 8D 6A 3A 9D 9C BA B3 [12:52:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 9A 7C 47 00 2C 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 38 37 34 38 35 37 10 04 04 00 DF DE 00 00 F4 03 04 00 75 70 93 66 B6 04 01 00 00 E5 4A 28 15 38 66 61 7D [12:52:53]CommunicateWithHost err = 0 [12:52:53]CheckOFDResponse [12:52:53]1017 (14) - 77093643461234 [12:52:53]1041 (16) - 0000000000874857 [12:52:53]1040 (4) - 57055 [12:52:53]1012 (4) - 14.07.2024 06:30 [12:52:53]1206 (1) - 0 [12:52:53]OFD Sender: Remove packet 57055 [12:52:53]ProducePacketName [12:52:53]name=ofd_packets/00057055 [12:52:53]NVStorageDeleteData [12:52:53]Write to MH i2c: 01 00 00 74 09 7D [12:52:53]Write i2c OK [12:52:53]MH_I2C_Read... [12:52:53]Read from MH i2c: 01 [12:52:53]MH_I2C_Read... [12:52:53]Read from MH i2c: 01 07 00 [12:52:53]MH_I2C_Read... [12:52:53]Read from MH i2c: 01 07 00 74 09 00 00 00 00 00 E6 0C 76 [12:52:53]RasterBufferAndPrint [12:52:53]line [12:52:53]line [12:52:53]line [12:52:53]line [12:52:53]line [12:52:53]written 0, free lines is 3311 [12:52:53]MH_Cut [12:52:53]Write to MH i2c: D1 01 00 7B 09 01 56 [12:52:53]Write i2c OK [12:52:53]MH_I2C_Read... [12:52:53]Read from MH i2c: D1 [12:52:53]MH_I2C_Read... [12:52:53]Read from MH i2c: D1 01 00 [12:52:53]MH_I2C_Read... [12:52:53]Read from MH i2c: D1 01 00 7B 09 00 55 [12:52:53]Write to MH i2c: 01 00 00 7C 09 85 [12:52:53]Write i2c OK [12:52:53]MH_I2C_Read... [12:52:53]OFD Sender: No OFD packet to send [12:52:54]*** Cut start [12:52:54]*** Partial cut [12:52:54]*** CUTSNS_PIN = 1 [12:52:54]*** CUTSNS_PIN = 0 [12:52:54]*** Brake cut motor [12:52:54]Read from MH i2c: 01 [12:52:54]MH_I2C_Read... [12:52:54]*** Stop cut motor [12:52:54]*** Cut end [12:52:54]Read from MH i2c: 01 07 00 [12:52:54]MH_I2C_Read... [12:52:54]Read from MH i2c: 01 07 00 7C 09 00 00 00 00 00 FF 0F 9A [12:52:54]process_action close_receipt done [12:52:54]requested_data is exist [12:52:54]produce_requested_data [12:52:54]requested_item fm.sn is exist - process it [12:52:54]wFMCommunicate request_size=4 [12:52:54]MH_SAM_APDU [12:52:54]CAPDU: 80 11 00 00 [12:52:54]Write to MH i2c: E2 08 00 7D 09 80 11 00 00 00 00 00 00 00 [12:52:54]Write i2c OK [12:52:54]MH_I2C_Read... [12:52:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [12:52:54]Read from MH i2c: E2 [12:52:54]MH_I2C_Read... [12:52:54]Read from MH i2c: E2 17 00 [12:52:54]MH_I2C_Read... [12:52:54]Read from MH i2c: E2 17 00 7D 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5A [12:52:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [12:52:54]wFMCommunicate OK [12:52:54]requested_item fd.num is exist - process it [12:52:54]SAM_PROTO_GetFieldsCounters [12:52:54]wFMCommunicate request_size=4 [12:52:54]MH_SAM_APDU [12:52:54]CAPDU: 80 13 00 00 [12:52:54]Write to MH i2c: E2 08 00 7E 09 80 13 00 00 00 00 00 00 03 [12:52:54]Write i2c OK [12:52:54]MH_I2C_Read... [12:52:55]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [12:52:55]Read from MH i2c: E2 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 62 00 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 62 00 7E 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DF DE 00 00 0E 04 04 00 F0 01 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 AC [12:52:55]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 DF DE 00 00 0E 04 04 00 F0 01 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 [12:52:55]wFMCommunicate OK [12:52:55]SAM_PROTO_GetFieldsCounters done [12:52:55]requested_item shift.num is exist - process it [12:52:55]requested_item shift.opened is exist - process it [12:52:55]req_shift_opened [12:52:55]FM_GetShiftState [12:52:55]SAM_PROTO_GetShiftState [12:52:55]wFMCommunicate request_size=4 [12:52:55]MH_SAM_APDU [12:52:55]CAPDU: 80 13 01 00 [12:52:55]Write to MH i2c: E2 08 00 7F 09 80 13 01 00 00 00 00 00 05 [12:52:55]Write i2c OK [12:52:55]MH_I2C_Read... [12:52:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [12:52:55]Read from MH i2c: E2 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 0E 00 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 0E 00 7F 09 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 AC [12:52:55]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [12:52:55]wFMCommunicate OK [12:52:55]SAM_PROTO_GetShiftState done [12:52:55]FM_GetShiftState done [12:52:55]req_shift_opened done [12:52:55]requested_item shift.open_date is exist - process it [12:52:55]req_shift_open_date [12:52:55]req_shift_open_date done [12:52:55]requested_item shift.sale.total is exist - process it [12:52:55]SAM_PROTO_GetShiftData [12:52:55]wFMCommunicate request_size=4 [12:52:55]MH_SAM_APDU [12:52:55]CAPDU: 80 13 02 00 [12:52:55]Write to MH i2c: E2 08 00 80 09 80 13 02 00 00 00 00 00 07 [12:52:55]Write i2c OK [12:52:55]MH_I2C_Read... [12:52:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [12:52:55]Read from MH i2c: E2 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 FD 00 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 FD 00 80 09 00 BB 04 AA 04 B7 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 46 00 00 00 B1 04 03 00 54 79 28 70 04 03 00 64 66 21 72 04 03 00 F0 12 07 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 5A 4C 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 5B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 A6 [12:52:55]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 48 00 00 00 69 04 9B 00 6F 04 04 00 46 00 00 00 B1 04 03 00 54 79 28 70 04 03 00 64 66 21 72 04 03 00 F0 12 07 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 5A 4C 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AA 5B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [12:52:55]wFMCommunicate OK [12:52:55]wFMCommunicate request_size=4 [12:52:55]MH_SAM_APDU [12:52:55]CAPDU: 80 17 00 00 [12:52:55]Write to MH i2c: E2 08 00 81 09 80 17 00 00 00 00 00 00 0A [12:52:55]Write i2c OK [12:52:55]MH_I2C_Read... [12:52:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:52:55]Read from MH i2c: E2 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 FD 00 [12:52:55]MH_I2C_Read... [12:52:55]Read from MH i2c: E2 FD 00 81 09 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9D [12:52:55]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:52:55]wFMCommunicate OK [12:52:55]wFMCommunicate request_size=4 [12:52:55]MH_SAM_APDU [12:52:55]CAPDU: 80 17 00 00 [12:52:55]Write to MH i2c: E2 08 00 82 09 80 17 00 00 00 00 00 00 0B [12:52:55]Write i2c OK [12:52:55]MH_I2C_Read... [12:52:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:52:56]Read from MH i2c: E2 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 FD 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 FD 00 82 09 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 37 [12:52:56]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [12:52:56]wFMCommunicate OK [12:52:56]wFMCommunicate request_size=4 [12:52:56]MH_SAM_APDU [12:52:56]CAPDU: 80 17 00 00 [12:52:56]Write to MH i2c: E2 08 00 83 09 80 17 00 00 00 00 00 00 0C [12:52:56]Write i2c OK [12:52:56]MH_I2C_Read... [12:52:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [12:52:56]Read from MH i2c: E2 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 FD 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 FD 00 83 09 00 00 00 EF 03 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 90 00 81 [12:52:56]RAPDU: 00 00 EF 03 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 90 00 [12:52:56]wFMCommunicate OK [12:52:56]wFMCommunicate request_size=4 [12:52:56]MH_SAM_APDU [12:52:56]CAPDU: 80 17 00 00 [12:52:56]Write to MH i2c: E2 08 00 84 09 80 17 00 00 00 00 00 00 0D [12:52:56]Write i2c OK [12:52:56]MH_I2C_Read... [12:52:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [12:52:56]Read from MH i2c: E2 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 D8 00 [12:52:56]MH_I2C_Read... [12:52:56]Read from MH i2c: E2 D8 00 84 09 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 F4 [12:52:56]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [12:52:56]wFMCommunicate OK [12:52:56]SAM_PROTO_GetShiftData done [12:52:56]requested_item shift.sale.total_cash is exist - process it [12:52:56]requested_item shift.sale_refund.total is exist - process it [12:52:56]requested_item shift.sale_refund.total_cash is exist - process it [12:52:56]produce_requested_data done [12:52:56]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57055,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26525.00,"shift.sale.total_cash":21889.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [12:52:56]process_action_free close_receipt [12:52:56]json_value_free [12:52:56]json_value_free done [12:52:56]process_json_proto returns [12:52:56]Send response to host [12:52:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57055,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26525.00,"shift.sale.total_cash":21889.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [12:52:56]free response buf [12:52:56]execute_script done [12:52:56]execute_script returns [12:52:56]free content buf [12:52:56]Sock 7.Close socket [12:52:56]Sock 7.Thread stoped [12:52:58]OFD Sender: No OFD packet to send [12:53:03]OFD Sender: No OFD packet to send [12:53:08]OFD Sender: No OFD packet to send [12:53:13]OFD Sender: No OFD packet to send [12:53:18]OFD Sender: No OFD packet to send [12:53:23]OFD Sender: No OFD packet to send [12:53:28]OFD Sender: No OFD packet to send [12:53:33]OFD Sender: No OFD packet to send [12:53:38]OFD Sender: No OFD packet to send [12:53:43]OFD Sender: No OFD packet to send [12:53:48]OFD Sender: No OFD packet to send [12:53:53]OFD Sender: No OFD packet to send [12:53:58]OFD Sender: No OFD packet to send [12:54:03]OFD Sender: No OFD packet to send [12:54:08]OFD Sender: No OFD packet to send [12:54:13]OFD Sender: No OFD packet to send [12:54:18]OFD Sender: No OFD packet to send [12:54:23]OFD Sender: No OFD packet to send [12:54:28]OFD Sender: No OFD packet to send [12:54:33]OFD Sender: No OFD packet to send [12:54:38]OFD Sender: No OFD packet to send [12:54:43]OFD Sender: No OFD packet to send [12:54:48]OFD Sender: No OFD packet to send [12:54:53]OFD Sender: No OFD packet to send [12:54:58]OFD Sender: No OFD packet to send [12:55:04]OFD Sender: No OFD packet to send [12:55:09]OFD Sender: No OFD packet to send [12:55:14]OFD Sender: No OFD packet to send [12:55:19]OFD Sender: No OFD packet to send [12:55:24]OFD Sender: No OFD packet to send [12:55:29]OFD Sender: No OFD packet to send [12:55:34]OFD Sender: No OFD packet to send [12:55:39]OFD Sender: No OFD packet to send [12:55:44]OFD Sender: No OFD packet to send [12:55:49]OFD Sender: No OFD packet to send [12:55:54]OFD Sender: No OFD packet to send [12:55:59]OFD Sender: No OFD packet to send [12:56:04]OFD Sender: No OFD packet to send [12:56:09]OFD Sender: No OFD packet to send [12:56:14]OFD Sender: No OFD packet to send [12:56:19]OFD Sender: No OFD packet to send [12:56:24]OFD Sender: No OFD packet to send [12:56:29]OFD Sender: No OFD packet to send [12:56:34]OFD Sender: No OFD packet to send [12:56:39]OFD Sender: No OFD packet to send [12:56:44]OFD Sender: No OFD packet to send [12:56:49]OFD Sender: No OFD packet to send [12:56:54]OFD Sender: No OFD packet to send [12:56:59]OFD Sender: No OFD packet to send [12:57:04]OFD Sender: No OFD packet to send [12:57:09]OFD Sender: No OFD packet to send [12:57:14]OFD Sender: No OFD packet to send [12:57:19]OFD Sender: No OFD packet to send [12:57:24]OFD Sender: No OFD packet to send [12:57:29]OFD Sender: No OFD packet to send [12:57:34]OFD Sender: No OFD packet to send [12:57:39]OFD Sender: No OFD packet to send [12:57:44]OFD Sender: No OFD packet to send [12:57:49]OFD Sender: No OFD packet to send [12:57:54]OFD Sender: No OFD packet to send [12:57:59]OFD Sender: No OFD packet to send [12:58:04]OFD Sender: No OFD packet to send [12:58:09]OFD Sender: No OFD packet to send [12:58:14]OFD Sender: No OFD packet to send [12:58:19]OFD Sender: No OFD packet to send [12:58:24]OFD Sender: No OFD packet to send [12:58:29]OFD Sender: No OFD packet to send [12:58:34]OFD Sender: No OFD packet to send [12:58:39]OFD Sender: No OFD packet to send [12:58:44]OFD Sender: No OFD packet to send [12:58:49]OFD Sender: No OFD packet to send [12:58:54]OFD Sender: No OFD packet to send [12:58:59]OFD Sender: No OFD packet to send [12:59:04]OFD Sender: No OFD packet to send [12:59:09]OFD Sender: No OFD packet to send [12:59:14]OFD Sender: No OFD packet to send [12:59:19]OFD Sender: No OFD packet to send [12:59:24]OFD Sender: No OFD packet to send [12:59:29]OFD Sender: No OFD packet to send [12:59:34]OFD Sender: No OFD packet to send [12:59:39]OFD Sender: No OFD packet to send [12:59:44]OFD Sender: No OFD packet to send [12:59:49]OFD Sender: No OFD packet to send [12:59:54]OFD Sender: No OFD packet to send [12:59:59]OFD Sender: No OFD packet to send [13:00:04]OFD Sender: No OFD packet to send [13:00:09]OFD Sender: No OFD packet to send [13:00:14]OFD Sender: No OFD packet to send [13:00:19]OFD Sender: No OFD packet to send [13:00:24]OFD Sender: No OFD packet to send [13:00:28]accept exits with 9 [13:00:28]New connection [13:00:28]New thread 3067592036 created [13:00:28]Thread 3067448676 joined [13:00:28]Waiting for new connection... [13:00:28] Sock 9.Parse request [13:00:28]Sock 9.Check first char [13:00:28]Sock 9.First char is OK [13:00:28]request: POST /json_proto HTTP/1.0 [13:00:28]Method: POST [13:00:28]URL: /json_proto [13:00:28]Method is POST - this is cgi request [13:00:28]url: /json_proto [13:00:28]query_string will be loaded in cgi processing [13:00:28]execute_cgi json_proto POST (null) [13:00:28]execute_cgi path=json_proto method=POST [13:00:28]POST find Content-Length [13:00:28]Host: 172.17.39.4:8080 [13:00:28]Content-Length: 1557 [13:00:28]Content-Type: application/json [13:00:28] [13:00:28]POST finish read [13:00:28]Found Content-Length = 1557 [13:00:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129519", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 3.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600338001623", "name": "\u0412\u043E\u0434\u0430 \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043D\u0435\u0433\u0430\u0437\u0438\u0440 \u0434/\u0434\u0435\u0442\u0435\u0439 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 204.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:00:28]execute_script... [13:00:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129519", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 3.000, "sum" : 120.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4600338001623", "name": "\u0412\u043E\u0434\u0430 \u0424\u0440\u0443\u0442\u043E \u041D\u042F\u041D\u042F \u043D\u0435\u0433\u0430\u0437\u0438\u0440 \u0434/\u0434\u0435\u0442\u0435\u0439 0,33\u043B", "price" : 80.00, "quantity" : 1.000, "sum" : 80.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 204.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:00:28]POST & json_proto [13:00:28]process_json_proto [13:00:28]json parsed OK: [13:00:28]protocol is kg_v1.0 [13:00:28]action value=close_receipt [13:00:28]process_action close_receipt [13:00:28]cmd_close_receipt [13:00:28]MH_GetDate [13:00:28]Write to MH i2c: F0 00 00 85 09 7D [13:00:28]Write i2c OK [13:00:28]MH_I2C_Read... [13:00:28]Read from MH i2c: F0 [13:00:28]MH_I2C_Read... [13:00:28]Read from MH i2c: F0 09 00 [13:00:28]MH_I2C_Read... [13:00:28]Read from MH i2c: F0 09 00 85 09 00 ED CB 93 66 2D 25 5D 64 4A [13:00:28]GetLastDocTimeStamp 1720961572 [13:00:28]current date 1720962029 [13:00:28]FM_GetShiftState [13:00:28]SAM_PROTO_GetShiftState [13:00:28]wFMCommunicate request_size=4 [13:00:28]MH_SAM_APDU [13:00:28]CAPDU: 80 13 01 00 [13:00:28]Write to MH i2c: E2 08 00 86 09 80 13 01 00 00 00 00 00 0C [13:00:28]Write i2c OK [13:00:28]MH_I2C_Read... [13:00:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:28]Read from MH i2c: E2 [13:00:28]MH_I2C_Read... [13:00:28]Read from MH i2c: E2 0E 00 [13:00:28]MH_I2C_Read... [13:00:28]Read from MH i2c: E2 0E 00 86 09 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 B3 [13:00:28]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [13:00:28]wFMCommunicate OK [13:00:28]SAM_PROTO_GetShiftState done [13:00:28]FM_GetShiftState done [13:00:28]opened in 1720917126 [13:00:28]opened+sec_in_day 1721003526 [13:00:28]quantity*price = 12000 [13:00:28]sum+1 = 12001 [13:00:28]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4600338001623 Вода Фруто НЯНЯ негазир д/детей 0,33л 1.000 * 80.00 = 80.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2587136579566 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 204.00 НСП 1% : 1.80 НДС 12% : 21.66 Наличными: 0.00 Безнал.: 204.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 73 14.07.2024 13:00 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57056 ФПД: 242535989944214 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T130030&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57056&fm=242535989944214&tin=02508201610067®Number=0000000000091208&sum=20400 0 [13:00:29]StoreToDocumentArchive [13:00:29]shift 496 fd 57056 [13:00:29]save to /storage/0496/doc_00057056 [13:00:29]save last doc name /storage/0496/doc_00057056 to /storage/kkm_last_doc_name [13:00:29]save OK [13:00:29]Clear old archive folders... [13:00:29]ProcessDocumentItem done err = 0, tmpTLVsize=515 [13:00:29]tlvbuf is 00FF2330 [13:00:29]SAM_PROTO_ClearQueue [13:00:29]wFMCommunicate request_size=4 [13:00:29]MH_SAM_APDU [13:00:29]CAPDU: 80 09 00 00 [13:00:29]Write to MH i2c: E2 08 00 93 09 80 09 00 00 00 00 00 00 0E [13:00:29]Write i2c OK [13:00:29]MH_I2C_Read... [13:00:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:00:30]Read from MH i2c: E2 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 93 09 00 90 00 10 [13:00:30]RAPDU: 90 00 [13:00:30]wFMCommunicate OK [13:00:30]SAM_PROTO_ClearQueue done [13:00:30]KKMCreateOFDPacket [13:00:30]OFDProtocolAddRootSTLVToBuf [13:00:30]FM_MakeSignedData [13:00:30]FM_MakeSignedData [13:00:30]SAM_PROTO_SignData [13:00:30]wFMCommunicate request_size=4 [13:00:30]MH_SAM_APDU [13:00:30]CAPDU: 80 0D 01 02 [13:00:30]Write to MH i2c: E2 08 00 94 09 80 0D 01 02 00 00 00 00 16 [13:00:30]Write i2c OK [13:00:30]MH_I2C_Read... [13:00:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:00:30]Read from MH i2c: E2 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 94 09 00 90 00 11 [13:00:30]RAPDU: 90 00 [13:00:30]wFMCommunicate OK [13:00:30]wFMCommunicate request_size=255 [13:00:30]MH_SAM_APDU [13:00:30]CAPDU: 80 0D 02 02 FA 03 00 03 02 1E 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 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 [13:00:30]Write to MH i2c: E2 02 01 95 09 80 0D 02 02 FA 00 03 00 03 02 1E 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 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 00 00 41 [13:00:30]Write i2c OK [13:00:30]MH_I2C_Read... [13:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:30]Read from MH i2c: E2 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 95 09 00 90 00 12 [13:00:30]RAPDU: 90 00 [13:00:30]wFMCommunicate OK [13:00:30]wFMCommunicate request_size=255 [13:00:30]MH_SAM_APDU [13:00:30]CAPDU: 80 0D 02 02 FA 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 EE CB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 [13:00:30]Write to MH i2c: E2 02 01 96 09 80 0D 02 02 FA 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 EE CB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 00 00 09 [13:00:30]Write i2c OK [13:00:30]MH_I2C_Read... [13:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:30]Read from MH i2c: E2 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 96 09 00 90 00 13 [13:00:30]RAPDU: 90 00 [13:00:30]wFMCommunicate OK [13:00:30]wFMCommunicate request_size=24 [13:00:30]MH_SAM_APDU [13:00:30]CAPDU: 80 0D 02 02 13 37 10 04 04 00 E0 DE 00 00 35 04 06 00 DC 95 CF 86 9F 96 [13:00:30]Write to MH i2c: E2 1B 00 97 09 80 0D 02 02 13 00 37 10 04 04 00 E0 DE 00 00 35 04 06 00 DC 95 CF 86 9F 96 00 00 87 [13:00:30]Write i2c OK [13:00:30]MH_I2C_Read... [13:00:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:00:30]Read from MH i2c: E2 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 03 00 97 09 00 90 00 14 [13:00:30]RAPDU: 90 00 [13:00:30]wFMCommunicate OK [13:00:30]wFMCommunicate request_size=4 [13:00:30]MH_SAM_APDU [13:00:30]CAPDU: 80 0D 03 02 [13:00:30]Write to MH i2c: E2 08 00 98 09 80 0D 03 02 00 00 00 00 1C [13:00:30]Write i2c OK [13:00:30]MH_I2C_Read... [13:00:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:00:30]Read from MH i2c: E2 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 0B 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 0B 00 98 09 00 89 AE 71 50 FE 38 8A 23 90 00 F8 [13:00:30]RAPDU: 89 AE 71 50 FE 38 8A 23 90 00 [13:00:30]wFMCommunicate OK [13:00:30]SAM_PROTO_SignData done [13:00:30]FM_MakeSignedData done [13:00:30]CreateOFDProtocolMessage [13:00:30]wFMCommunicate request_size=4 [13:00:30]MH_SAM_APDU [13:00:30]CAPDU: 80 11 00 00 [13:00:30]Write to MH i2c: E2 08 00 99 09 80 11 00 00 00 00 00 00 1C [13:00:30]Write i2c OK [13:00:30]MH_I2C_Read... [13:00:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:30]Read from MH i2c: E2 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 17 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: E2 17 00 99 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 76 [13:00:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:00:30]wFMCommunicate OK [13:00:30]CreateOFDProtocolMessage done [13:00:30]OFDSenderStorePacket 57056 [13:00:30]StoreOFDPacket docnum=57056 [13:00:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 17 02 00 00 A2 06 0F 02 85 8F 5A 03 01 00 03 00 03 02 1E 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 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 EE CB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E0 DE 00 00 35 04 06 00 DC 95 CF 86 9F 96 89 AE 71 50 FE 38 8A 23 [13:00:30]CheckFolder [13:00:30]dirname=/storage/ofd_packets [13:00:30]CheckFolder done [13:00:30]ProducePacketName [13:00:30]name=ofd_packets/00057056 [13:00:30]NVStorageSaveData ofd_packets/00057056 [13:00:30]File name is /storage/ofd_packets/00057056 [13:00:30]Write 565 bytes [13:00:30]NVStorageSaveData done [13:00:30]OFDSenderStorePacket done [13:00:30]KKMCreateOFDPacket done [13:00:30]NVStorageSaveData kkm_last_timestamp [13:00:30]File name is /storage/kkm_last_timestamp [13:00:30]Write 4 bytes [13:00:30]NVStorageSaveData done [13:00:30]ExternCall_PrintAddStr [13:00:30]wPrintStart [13:00:30]Write to MH i2c: 01 00 00 9A 09 A3 [13:00:30]Write i2c OK [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: 01 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: 01 07 00 [13:00:30]MH_I2C_Read... [13:00:30]Read from MH i2c: 01 07 00 9A 09 00 00 00 00 00 FF 0F B8 [13:00:30]RasterBufferAndPrint [13:00:30]line Счет N : (3)129519 [13:00:30]line ИНН: 02508201610067 [13:00:30]line Контрольно-Кассовый Чек [13:00:30]line ПРОДАЖА [13:00:30]line Товар: 4700000160211 [13:00:30]line Вода Легенда 0,5л [13:00:30]line 3.000 * 40.00 [13:00:30]line = 120.00 [13:00:30]line НДС 12% НСП 1% [13:00:30]line > о реализуемом товаре [13:00:30]line Товар: 4600338001623 [13:00:30]line Вода Фруто НЯНЯ негазир д/детей 0,33л [13:00:30]line 1.000 * 80.00 [13:00:30]line = 80.00 [13:00:30]line НДС 12% НСП 1% [13:00:31]line > о реализуемом товаре [13:00:31]line Товар: 2587136579566 [13:00:31]line Пакет Партнер Нефть [13:00:31]line 1.000 * 4.00 [13:00:31]line = 4.00 [13:00:31]line НДС 12% НСП 1% [13:00:31]line > о реализуемом товаре [13:00:31]line ИТОГО: 204.00 [13:00:31]line НСП 1% : 1.80 [13:00:31]line НДС 12% : 21.66 [13:00:31]line Наличными: 0.00 [13:00:31]line Безнал.: 204.00 [13:00:31]line Место: АЗС № 132 "Партнер Нефть" [13:00:31]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:00:31]line СНО: Общий режим [13:00:31]line Чек 73 14.07.2024 13:00 [13:00:31]line Смена: 496 ФФД: 1.0 [13:00:31]line ЗНМ: 0300000132 [13:00:31]line РНМ: 0000000000091208 [13:00:31]line Версия ККМ: 001 [13:00:31]line Платежная система: АКБ Кыргызстан [13:00:31]line ФМ: 0000000000874857 [13:00:31]line ФД: 57056 [13:00:31]line ФПД: 242535989944214 [13:00:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T130030&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57056&fm=242535989944214&tin=02508201610067®Number=0000000000091208&sum=20400 [13:00:31]line 0 [13:00:31]OFD Sender: Processing packet 57056 [packets to send 38, broken 37] [13:00:31]ProducePacketName [13:00:31]name=ofd_packets/00057056 [13:00:31]OFD Sender: To server: pG, [13:00:31]CommunicateWithHost lk.salyk.kg:30040 [13:00:31]ConnectInit lk.salyk.kg [13:00:31]written 0, free lines is 4095 [13:00:31]Connected sock=10 [13:00:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 17 02 00 00 A2 06 0F 02 85 8F 5A 03 01 00 03 00 03 02 1E 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 B8 0B 00 00 00 00 00 37 04 06 00 A0 0F 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 84 00 8A 04 0D 00 34 36 30 30 33 33 38 30 30 31 36 32 33 06 04 40 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 A4 D1 80 D1 83 D1 82 D0 BE 20 D0 9D D0 AF D0 9D D0 AF 20 D0 BD D0 B5 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 20 D0 B4 2F D0 B4 D0 B5 D1 82 D0 B5 D0 B9 20 30 2C 33 33 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 40 1F 00 00 00 00 13 04 06 00 40 1F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 B0 4F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B4 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 76 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B0 4F 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 49 00 00 00 F4 03 04 00 EE CB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E0 DE 00 00 35 04 06 00 DC 95 CF 86 9F 96 89 AE 71 50 FE 38 8A 23 [13:00:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 18 8A 47 00 F6 88 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E0 DE 00 00 F4 03 04 00 3F 72 93 66 B6 04 01 00 00 92 26 CC F5 7C F8 90 69 [13:00:31]CommunicateWithHost err = 0 [13:00:31]CheckOFDResponse [13:00:31]1017 (14) - 77093643461234 [13:00:31]1041 (16) - 0000000000874857 [13:00:31]1040 (4) - 57056 [13:00:31]1012 (4) - 14.07.2024 06:37 [13:00:31]1206 (1) - 0 [13:00:31]OFD Sender: Remove packet 57056 [13:00:31]ProducePacketName [13:00:31]name=ofd_packets/00057056 [13:00:31]NVStorageDeleteData [13:00:31]Write to MH i2c: 01 00 00 D1 09 DA [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: 01 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: 01 07 00 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: 01 07 00 D1 09 00 00 00 00 00 34 0C 21 [13:00:31]RasterBufferAndPrint [13:00:31]line [13:00:31]line [13:00:31]line [13:00:31]line [13:00:31]line [13:00:31]written 0, free lines is 3133 [13:00:31]MH_Cut [13:00:31]Write to MH i2c: D1 01 00 D8 09 01 B3 [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: D1 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: D1 01 00 [13:00:31]MH_I2C_Read... [13:00:31]Read from MH i2c: D1 01 00 D8 09 00 B2 [13:00:31]Write to MH i2c: 01 00 00 D9 09 E2 [13:00:31]Write i2c OK [13:00:31]MH_I2C_Read... [13:00:31]OFD Sender: No OFD packet to send [13:00:32]*** Cut start [13:00:32]*** Partial cut [13:00:32]*** CUTSNS_PIN = 1 [13:00:32]*** CUTSNS_PIN = 0 [13:00:32]*** Brake cut motor [13:00:33]Read from MH i2c: 01 [13:00:33]MH_I2C_Read... [13:00:33]*** Stop cut motor [13:00:33]*** Cut end [13:00:33]Read from MH i2c: 01 07 00 [13:00:33]MH_I2C_Read... [13:00:33]Read from MH i2c: 01 07 00 D9 09 00 00 00 00 00 FF 0F F7 [13:00:33]process_action close_receipt done [13:00:33]requested_data is exist [13:00:33]produce_requested_data [13:00:33]requested_item fm.sn is exist - process it [13:00:33]wFMCommunicate request_size=4 [13:00:33]MH_SAM_APDU [13:00:33]CAPDU: 80 11 00 00 [13:00:33]Write to MH i2c: E2 08 00 DA 09 80 11 00 00 00 00 00 00 5D [13:00:33]Write i2c OK [13:00:33]MH_I2C_Read... [13:00:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:00:33]Read from MH i2c: E2 [13:00:33]MH_I2C_Read... [13:00:33]Read from MH i2c: E2 17 00 [13:00:33]MH_I2C_Read... [13:00:33]Read from MH i2c: E2 17 00 DA 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B7 [13:00:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:00:33]wFMCommunicate OK [13:00:33]requested_item fd.num is exist - process it [13:00:33]SAM_PROTO_GetFieldsCounters [13:00:33]wFMCommunicate request_size=4 [13:00:33]MH_SAM_APDU [13:00:33]CAPDU: 80 13 00 00 [13:00:33]Write to MH i2c: E2 08 00 DB 09 80 13 00 00 00 00 00 00 60 [13:00:33]Write i2c OK [13:00:33]MH_I2C_Read... [13:00:33]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:00:33]Read from MH i2c: E2 [13:00:33]MH_I2C_Read... [13:00:33]Read from MH i2c: E2 62 00 [13:00:33]MH_I2C_Read... [13:00:33]Read from MH i2c: E2 62 00 DB 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E0 DE 00 00 0E 04 04 00 F0 01 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 0D [13:00:33]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E0 DE 00 00 0E 04 04 00 F0 01 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 [13:00:33]wFMCommunicate OK [13:00:33]SAM_PROTO_GetFieldsCounters done [13:00:33]requested_item shift.num is exist - process it [13:00:33]requested_item shift.opened is exist - process it [13:00:33]req_shift_opened [13:00:33]FM_GetShiftState [13:00:33]SAM_PROTO_GetShiftState [13:00:33]wFMCommunicate request_size=4 [13:00:33]MH_SAM_APDU [13:00:33]CAPDU: 80 13 01 00 [13:00:33]Write to MH i2c: E2 08 00 DC 09 80 13 01 00 00 00 00 00 62 [13:00:33]Write i2c OK [13:00:33]MH_I2C_Read... [13:00:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:00:33]Read from MH i2c: E2 [13:00:33]MH_I2C_Read... [13:00:33]Read from MH i2c: E2 0E 00 [13:00:33]MH_I2C_Read... [13:00:33]Read from MH i2c: E2 0E 00 DC 09 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 09 [13:00:33]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [13:00:33]wFMCommunicate OK [13:00:33]SAM_PROTO_GetShiftState done [13:00:33]FM_GetShiftState done [13:00:33]req_shift_opened done [13:00:33]requested_item shift.open_date is exist - process it [13:00:33]req_shift_open_date [13:00:33]req_shift_open_date done [13:00:33]requested_item shift.sale.total is exist - process it [13:00:33]SAM_PROTO_GetShiftData [13:00:33]wFMCommunicate request_size=4 [13:00:33]MH_SAM_APDU [13:00:33]CAPDU: 80 13 02 00 [13:00:33]Write to MH i2c: E2 08 00 DD 09 80 13 02 00 00 00 00 00 64 [13:00:33]Write i2c OK [13:00:33]MH_I2C_Read... [13:00:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:00:33]Read from MH i2c: E2 [13:00:33]MH_I2C_Read... [13:00:33]Read from MH i2c: E2 FD 00 [13:00:33]MH_I2C_Read... [13:00:33]Read from MH i2c: E2 FD 00 DD 09 00 BB 04 AA 04 B7 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 04 C9 28 70 04 03 00 64 66 21 72 04 03 00 A0 62 07 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 D0 54 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5E 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 38 [13:00:33]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 49 00 00 00 69 04 9B 00 6F 04 04 00 47 00 00 00 B1 04 03 00 04 C9 28 70 04 03 00 64 66 21 72 04 03 00 A0 62 07 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 D0 54 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 5E 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [13:00:33]wFMCommunicate OK [13:00:33]wFMCommunicate request_size=4 [13:00:33]MH_SAM_APDU [13:00:33]CAPDU: 80 17 00 00 [13:00:33]Write to MH i2c: E2 08 00 DE 09 80 17 00 00 00 00 00 00 67 [13:00:33]Write i2c OK [13:00:33]MH_I2C_Read... [13:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:00:34]Read from MH i2c: E2 [13:00:34]MH_I2C_Read... [13:00:34]Read from MH i2c: E2 FD 00 [13:00:34]MH_I2C_Read... [13:00:34]Read from MH i2c: E2 FD 00 DE 09 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FA [13:00:34]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:00:34]wFMCommunicate OK [13:00:34]wFMCommunicate request_size=4 [13:00:34]MH_SAM_APDU [13:00:34]CAPDU: 80 17 00 00 [13:00:34]Write to MH i2c: E2 08 00 DF 09 80 17 00 00 00 00 00 00 68 [13:00:34]Write i2c OK [13:00:34]MH_I2C_Read... [13:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:00:34]Read from MH i2c: E2 [13:00:34]MH_I2C_Read... [13:00:34]Read from MH i2c: E2 FD 00 [13:00:34]MH_I2C_Read... [13:00:34]Read from MH i2c: E2 FD 00 DF 09 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 94 [13:00:34]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:00:34]wFMCommunicate OK [13:00:34]wFMCommunicate request_size=4 [13:00:34]MH_SAM_APDU [13:00:34]CAPDU: 80 17 00 00 [13:00:34]Write to MH i2c: E2 08 00 E0 09 80 17 00 00 00 00 00 00 69 [13:00:34]Write i2c OK [13:00:34]MH_I2C_Read... [13:00:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:00:34]Read from MH i2c: E2 [13:00:34]MH_I2C_Read... [13:00:34]Read from MH i2c: E2 FD 00 [13:00:34]MH_I2C_Read... [13:00:34]Read from MH i2c: E2 FD 00 E0 09 00 00 00 EF 03 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 90 00 DE [13:00:34]RAPDU: 00 00 EF 03 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 90 00 [13:00:34]wFMCommunicate OK [13:00:34]wFMCommunicate request_size=4 [13:00:34]MH_SAM_APDU [13:00:34]CAPDU: 80 17 00 00 [13:00:34]Write to MH i2c: E2 08 00 E1 09 80 17 00 00 00 00 00 00 6A [13:00:34]Write i2c OK [13:00:34]MH_I2C_Read... [13:00:35]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [13:00:35]Read from MH i2c: E2 [13:00:35]MH_I2C_Read... [13:00:35]Read from MH i2c: E2 D8 00 [13:00:35]MH_I2C_Read... [13:00:35]Read from MH i2c: E2 D8 00 E1 09 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 51 [13:00:35]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:00:35]wFMCommunicate OK [13:00:35]SAM_PROTO_GetShiftData done [13:00:35]requested_item shift.sale.total_cash is exist - process it [13:00:35]requested_item shift.sale_refund.total is exist - process it [13:00:35]requested_item shift.sale_refund.total_cash is exist - process it [13:00:35]produce_requested_data done [13:00:35]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57056,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26729.00,"shift.sale.total_cash":21889.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [13:00:35]process_action_free close_receipt [13:00:35]json_value_free [13:00:35]json_value_free done [13:00:35]process_json_proto returns [13:00:35]Send response to host [13:00:35]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57056,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26729.00,"shift.sale.total_cash":21889.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [13:00:35]free response buf [13:00:35]execute_script done [13:00:35]execute_script returns [13:00:35]free content buf [13:00:35]Sock 9.Close socket [13:00:35]Sock 9.Thread stoped [13:00:37]OFD Sender: No OFD packet to send [13:00:42]OFD Sender: No OFD packet to send [13:00:47]OFD Sender: No OFD packet to send [13:00:52]OFD Sender: No OFD packet to send [13:00:57]OFD Sender: No OFD packet to send [13:01:02]OFD Sender: No OFD packet to send [13:01:07]OFD Sender: No OFD packet to send [13:01:07]accept exits with 7 [13:01:07]New connection [13:01:07]New thread 3067448676 created [13:01:07]Thread 3067592036 joined [13:01:07]Waiting for new connection... [13:01:07] Sock 7.Parse request [13:01:07]Sock 7.Check first char [13:01:07]Sock 7.First char is OK [13:01:07]request: POST /json_proto HTTP/1.0 [13:01:07]Method: POST [13:01:07]URL: /json_proto [13:01:07]Method is POST - this is cgi request [13:01:07]url: /json_proto [13:01:07]query_string will be loaded in cgi processing [13:01:07]execute_cgi json_proto POST (null) [13:01:07]execute_cgi path=json_proto method=POST [13:01:07]POST find Content-Length [13:01:07]Host: 172.17.39.4:8080 [13:01:07]Content-Length: 863 [13:01:07]Content-Type: application/json [13:01:07] [13:01:07]POST finish read [13:01:07]Found Content-Length = 863 [13:01:07]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129520", "tax_sys" : 0, "items" : [ { "code": "4870066000476", "name": "\u041F\u0430\u043B\u043E\u0447\u043A\u0438 \u0410\u043B\u043C\u0430\u0442\u0438\u043D\u0441\u043A\u0438\u0439 \u041F\u0440\u043E\u0434\u0443\u043A\u0442 \u0441\u043B\u0430\u0434\u043A\u0438\u0435 50\u0433", "price" : 27.00, "quantity" : 1.000, "sum" : 27.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 27.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:01:07]execute_script... [13:01: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)129520", "tax_sys" : 0, "items" : [ { "code": "4870066000476", "name": "\u041F\u0430\u043B\u043E\u0447\u043A\u0438 \u0410\u043B\u043C\u0430\u0442\u0438\u043D\u0441\u043A\u0438\u0439 \u041F\u0440\u043E\u0434\u0443\u043A\u0442 \u0441\u043B\u0430\u0434\u043A\u0438\u0435 50\u0433", "price" : 27.00, "quantity" : 1.000, "sum" : 27.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 27.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [13:01:07]POST & json_proto [13:01:07]process_json_proto [13:01:07]json parsed OK: [13:01:07]protocol is kg_v1.0 [13:01:07]action value=close_receipt [13:01:07]process_action close_receipt [13:01:07]cmd_close_receipt [13:01:07]MH_GetDate [13:01:07]Write to MH i2c: F0 00 00 E2 09 DA [13:01:07]Write i2c OK [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: F0 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: F0 09 00 [13:01:07]MH_I2C_Read... [13:01:07]Read from MH i2c: F0 09 00 E2 09 00 15 CC 93 66 2D 25 5D 64 D0 [13:01:07]GetLastDocTimeStamp 1720962030 [13:01:07]current date 1720962069 [13:01:07]FM_GetShiftState [13:01:07]SAM_PROTO_GetShiftState [13:01:07]wFMCommunicate request_size=4 [13:01:07]MH_SAM_APDU [13:01:07]CAPDU: 80 13 01 00 [13:01:07]Write to MH i2c: E2 08 00 E3 09 80 13 01 00 00 00 00 00 69 [13:01:07]Write i2c OK [13:01:07]MH_I2C_Read... [13:01:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:01:08]Read from MH i2c: E2 [13:01:08]MH_I2C_Read... [13:01:08]Read from MH i2c: E2 0E 00 [13:01:08]MH_I2C_Read... [13:01:08]Read from MH i2c: E2 0E 00 E3 09 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 10 [13:01:08]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [13:01:08]wFMCommunicate OK [13:01:08]SAM_PROTO_GetShiftState done [13:01:08]FM_GetShiftState done [13:01:08]opened in 1720917126 [13:01:08]opened+sec_in_day 1721003526 [13:01:08]quantity*price = 2700 [13:01:08]sum+1 = 2701 [13:01:08]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 27.00 НСП 1% : 0.24 НДС 12% : 2.87 Наличными: 27.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 74 14.07.2024 13:01 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57057 ФПД: 27077408266723 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T130109&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57057&fm=27077408266723&tin=02508201610067®Number=0000000000091208&sum=2700 0 [13:01:09]StoreToDocumentArchive [13:01:09]shift 496 fd 57057 [13:01:09]save to /storage/0496/doc_00057057 [13:01:09]save last doc name /storage/0496/doc_00057057 to /storage/kkm_last_doc_name [13:01:09]save OK [13:01:09]Clear old archive folders... [13:01:09]ProcessDocumentItem done err = 0, tmpTLVsize=314 [13:01:09]tlvbuf is 00FED1C0 [13:01:09]SAM_PROTO_ClearQueue [13:01:09]wFMCommunicate request_size=4 [13:01:09]MH_SAM_APDU [13:01:09]CAPDU: 80 09 00 00 [13:01:09]Write to MH i2c: E2 08 00 F0 09 80 09 00 00 00 00 00 00 6B [13:01:09]Write i2c OK [13:01:09]MH_I2C_Read... [13:01:09]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [13:01:09]Read from MH i2c: E2 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 03 00 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 03 00 F0 09 00 90 00 6D [13:01:09]RAPDU: 90 00 [13:01:09]wFMCommunicate OK [13:01:09]SAM_PROTO_ClearQueue done [13:01:09]KKMCreateOFDPacket [13:01:09]OFDProtocolAddRootSTLVToBuf [13:01:09]FM_MakeSignedData [13:01:09]FM_MakeSignedData [13:01:09]SAM_PROTO_SignData [13:01:09]wFMCommunicate request_size=4 [13:01:09]MH_SAM_APDU [13:01:09]CAPDU: 80 0D 01 02 [13:01:09]Write to MH i2c: E2 08 00 F1 09 80 0D 01 02 00 00 00 00 73 [13:01:09]Write i2c OK [13:01:09]MH_I2C_Read... [13:01:09]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [13:01:09]Read from MH i2c: E2 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 03 00 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 03 00 F1 09 00 90 00 6E [13:01:09]RAPDU: 90 00 [13:01:09]wFMCommunicate OK [13:01:09]wFMCommunicate request_size=255 [13:01:09]MH_SAM_APDU [13:01:09]CAPDU: 80 0D 02 02 FA 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 38 37 30 30 36 36 30 30 30 34 37 36 06 04 48 00 D0 9F D0 B0 D0 BB D0 BE D1 87 D0 BA D0 B8 20 D0 90 D0 BB D0 BC D0 B0 D1 82 D0 B8 D0 BD D1 81 D0 BA D0 B8 D0 B9 20 D0 9F D1 80 D0 BE D0 B4 D1 83 D0 BA D1 82 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B5 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 0A 00 00 00 00 13 04 06 00 8C 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 01 00 00 00 00 07 04 06 00 8C 0A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 15 CC 93 66 0E 04 04 [13:01:09]Write to MH i2c: E2 02 01 F2 09 80 0D 02 02 FA 00 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 38 37 30 30 36 36 30 30 30 34 37 36 06 04 48 00 D0 9F D0 B0 D0 BB D0 BE D1 87 D0 BA D0 B8 20 D0 90 D0 BB D0 BC D0 B0 D1 82 D0 B8 D0 BD D1 81 D0 BA D0 B8 D0 B9 20 D0 9F D1 80 D0 BE D0 B4 D1 83 D0 BA D1 82 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B5 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 0A 00 00 00 00 13 04 06 00 8C 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 01 00 00 00 00 07 04 06 00 8C 0A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 15 CC 93 66 0E 04 04 00 00 18 [13:01:09]Write i2c OK [13:01:09]MH_I2C_Read... [13:01:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:09]Read from MH i2c: E2 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 03 00 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 03 00 F2 09 00 90 00 6F [13:01:09]RAPDU: 90 00 [13:01:09]wFMCommunicate OK [13:01:09]wFMCommunicate request_size=73 [13:01:09]MH_SAM_APDU [13:01:09]CAPDU: 80 0D 02 02 44 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E1 DE 00 00 35 04 06 00 18 A0 73 4D 19 E3 [13:01:09]Write to MH i2c: E2 4C 00 F3 09 80 0D 02 02 44 00 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E1 DE 00 00 35 04 06 00 18 A0 73 4D 19 E3 00 00 B9 [13:01:09]Write i2c OK [13:01:09]MH_I2C_Read... [13:01:09]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [13:01:09]Read from MH i2c: E2 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 03 00 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 03 00 F3 09 00 90 00 70 [13:01:09]RAPDU: 90 00 [13:01:09]wFMCommunicate OK [13:01:09]wFMCommunicate request_size=4 [13:01:09]MH_SAM_APDU [13:01:09]CAPDU: 80 0D 03 02 [13:01:09]Write to MH i2c: E2 08 00 F4 09 80 0D 03 02 00 00 00 00 78 [13:01:09]Write i2c OK [13:01:09]MH_I2C_Read... [13:01:09]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [13:01:09]Read from MH i2c: E2 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 0B 00 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 0B 00 F4 09 00 95 EA 19 40 2C 51 4C 45 90 00 5F [13:01:09]RAPDU: 95 EA 19 40 2C 51 4C 45 90 00 [13:01:09]wFMCommunicate OK [13:01:09]SAM_PROTO_SignData done [13:01:09]FM_MakeSignedData done [13:01:09]CreateOFDProtocolMessage [13:01:09]wFMCommunicate request_size=4 [13:01:09]MH_SAM_APDU [13:01:09]CAPDU: 80 11 00 00 [13:01:09]Write to MH i2c: E2 08 00 F5 09 80 11 00 00 00 00 00 00 78 [13:01:09]Write i2c OK [13:01:09]MH_I2C_Read... [13:01:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:09]Read from MH i2c: E2 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 17 00 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: E2 17 00 F5 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D2 [13:01:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:01:09]wFMCommunicate OK [13:01:09]CreateOFDProtocolMessage done [13:01:09]OFDSenderStorePacket 57057 [13:01:09]StoreOFDPacket docnum=57057 [13:01:09]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4E 01 00 00 80 D2 46 01 F0 3C 5A 03 01 00 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 38 37 30 30 36 36 30 30 30 34 37 36 06 04 48 00 D0 9F D0 B0 D0 BB D0 BE D1 87 D0 BA D0 B8 20 D0 90 D0 BB D0 BC D0 B0 D1 82 D0 B8 D0 BD D1 81 D0 BA D0 B8 D0 B9 20 D0 9F D1 80 D0 BE D0 B4 D1 83 D0 BA D1 82 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B5 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 0A 00 00 00 00 13 04 06 00 8C 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 01 00 00 00 00 07 04 06 00 8C 0A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 15 CC 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E1 DE 00 00 35 04 06 00 18 A0 73 4D 19 E3 95 EA 19 40 2C 51 4C 45 [13:01:09]CheckFolder [13:01:09]dirname=/storage/ofd_packets [13:01:09]CheckFolder done [13:01:09]ProducePacketName [13:01:09]name=ofd_packets/00057057 [13:01:09]NVStorageSaveData ofd_packets/00057057 [13:01:09]File name is /storage/ofd_packets/00057057 [13:01:09]Write 364 bytes [13:01:09]NVStorageSaveData done [13:01:09]OFDSenderStorePacket done [13:01:09]KKMCreateOFDPacket done [13:01:09]NVStorageSaveData kkm_last_timestamp [13:01:09]File name is /storage/kkm_last_timestamp [13:01:09]Write 4 bytes [13:01:09]NVStorageSaveData done [13:01:09]ExternCall_PrintAddStr [13:01:09]wPrintStart [13:01:09]Write to MH i2c: 01 00 00 F6 09 FF [13:01:09]Write i2c OK [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: 01 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: 01 07 00 [13:01:09]MH_I2C_Read... [13:01:09]Read from MH i2c: 01 07 00 F6 09 00 00 00 00 00 FF 0F 14 [13:01:09]RasterBufferAndPrint [13:01:09]line Счет N : (3)129520 [13:01:09]line ИНН: 02508201610067 [13:01:09]line Контрольно-Кассовый Чек [13:01:09]line ПРОДАЖА [13:01:09]line Товар: 4870066000476 [13:01:09]line Палочки Алматинский Продукт сладкие 50г [13:01:09]line 1.000 * 27.00 [13:01:09]line = 27.00 [13:01:09]line НДС 12% НСП 1% [13:01:09]line > о реализуемом товаре [13:01:09]line ИТОГО: 27.00 [13:01:09]line НСП 1% : 0.24 [13:01:09]line НДС 12% : 2.87 [13:01:09]line Наличными: 27.00 [13:01:09]line Безнал.: 0.00 [13:01:09]line Место: АЗС № 132 "Партнер Нефть" [13:01:09]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [13:01:09]line СНО: Общий режим [13:01:09]line Чек 74 14.07.2024 13:01 [13:01:09]line Смена: 496 ФФД: 1.0 [13:01:09]line ЗНМ: 0300000132 [13:01:09]line РНМ: 0000000000091208 [13:01:09]line Версия ККМ: 001 [13:01:09]line ФМ: 0000000000874857 [13:01:09]line ФД: 57057 [13:01:09]line ФПД: 27077408266723 [13:01:10]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T130109&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57057&fm=27077408266723&tin=02508201610067®Number=0000000000091208&sum=2700 [13:01:10]line 0 [13:01:10]OFD Sender: Processing packet 57057 [packets to send 38, broken 37] [13:01:10]ProducePacketName [13:01:10]name=ofd_packets/00057057 [13:01:10]OFD Sender: To server: pG, [13:01:10]CommunicateWithHost lk.salyk.kg:30040 [13:01:10]ConnectInit lk.salyk.kg [13:01:10]written 0, free lines is 4095 [13:01:10]Connected sock=10 [13:01:10]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4E 01 00 00 80 D2 46 01 F0 3C 5A 03 01 00 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 38 37 30 30 36 36 30 30 30 34 37 36 06 04 48 00 D0 9F D0 B0 D0 BB D0 BE D1 87 D0 BA D0 B8 20 D0 90 D0 BB D0 BC D0 B0 D1 82 D0 B8 D0 BD D1 81 D0 BA D0 B8 D0 B9 20 D0 9F D1 80 D0 BE D0 B4 D1 83 D0 BA D1 82 20 D1 81 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B5 20 35 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 0A 00 00 00 00 13 04 06 00 8C 0A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 0A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 18 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 1F 01 00 00 00 00 07 04 06 00 8C 0A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4A 00 00 00 F4 03 04 00 15 CC 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E1 DE 00 00 35 04 06 00 18 A0 73 4D 19 E3 95 EA 19 40 2C 51 4C 45 [13:01:10]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B4 D5 47 00 D9 83 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E1 DE 00 00 F4 03 04 00 66 72 93 66 B6 04 01 00 00 7B 2F 54 45 69 4A 1D B5 [13:01:10]CommunicateWithHost err = 0 [13:01:10]CheckOFDResponse [13:01:10]1017 (14) - 77093643461234 [13:01:10]1041 (16) - 0000000000874857 [13:01:10]1040 (4) - 57057 [13:01:10]1012 (4) - 14.07.2024 06:38 [13:01:10]1206 (1) - 0 [13:01:10]OFD Sender: Remove packet 57057 [13:01:10]ProducePacketName [13:01:10]name=ofd_packets/00057057 [13:01:10]NVStorageDeleteData [13:01:10]Write to MH i2c: 01 00 00 1F 0A 29 [13:01:10]Write i2c OK [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: 01 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: 01 07 00 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: 01 07 00 1F 0A 00 00 00 00 00 EF 0C 2B [13:01:10]RasterBufferAndPrint [13:01:10]line [13:01:10]line [13:01:10]line [13:01:10]line [13:01:10]line [13:01:10]written 0, free lines is 3320 [13:01:10]MH_Cut [13:01:10]Write to MH i2c: D1 01 00 26 0A 01 02 [13:01:10]Write i2c OK [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: D1 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: D1 01 00 [13:01:10]MH_I2C_Read... [13:01:10]Read from MH i2c: D1 01 00 26 0A 00 01 [13:01:10]Write to MH i2c: 01 00 00 27 0A 31 [13:01:10]Write i2c OK [13:01:10]MH_I2C_Read... [13:01:10]OFD Sender: No OFD packet to send [13:01:11]*** Cut start [13:01:11]*** Partial cut [13:01:11]*** CUTSNS_PIN = 1 [13:01:11]*** CUTSNS_PIN = 0 [13:01:11]*** Brake cut motor [13:01:11]Read from MH i2c: 01 [13:01:11]MH_I2C_Read... [13:01:11]*** Stop cut motor [13:01:11]*** Cut end [13:01:11]Read from MH i2c: 01 07 00 [13:01:11]MH_I2C_Read... [13:01:11]Read from MH i2c: 01 07 00 27 0A 00 00 00 00 00 FF 0F 46 [13:01:11]process_action close_receipt done [13:01:11]requested_data is exist [13:01:11]produce_requested_data [13:01:11]requested_item fm.sn is exist - process it [13:01:11]wFMCommunicate request_size=4 [13:01:11]MH_SAM_APDU [13:01:11]CAPDU: 80 11 00 00 [13:01:11]Write to MH i2c: E2 08 00 28 0A 80 11 00 00 00 00 00 00 AC [13:01:11]Write i2c OK [13:01:11]MH_I2C_Read... [13:01:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [13:01:11]Read from MH i2c: E2 [13:01:11]MH_I2C_Read... [13:01:11]Read from MH i2c: E2 17 00 [13:01:11]MH_I2C_Read... [13:01:11]Read from MH i2c: E2 17 00 28 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 06 [13:01:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [13:01:11]wFMCommunicate OK [13:01:11]requested_item fd.num is exist - process it [13:01:11]SAM_PROTO_GetFieldsCounters [13:01:11]wFMCommunicate request_size=4 [13:01:11]MH_SAM_APDU [13:01:11]CAPDU: 80 13 00 00 [13:01:11]Write to MH i2c: E2 08 00 29 0A 80 13 00 00 00 00 00 00 AF [13:01:11]Write i2c OK [13:01:11]MH_I2C_Read... [13:01:12]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [13:01:12]Read from MH i2c: E2 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 62 00 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 62 00 29 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E1 DE 00 00 0E 04 04 00 F0 01 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 60 [13:01:12]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E1 DE 00 00 0E 04 04 00 F0 01 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 [13:01:12]wFMCommunicate OK [13:01:12]SAM_PROTO_GetFieldsCounters done [13:01:12]requested_item shift.num is exist - process it [13:01:12]requested_item shift.opened is exist - process it [13:01:12]req_shift_opened [13:01:12]FM_GetShiftState [13:01:12]SAM_PROTO_GetShiftState [13:01:12]wFMCommunicate request_size=4 [13:01:12]MH_SAM_APDU [13:01:12]CAPDU: 80 13 01 00 [13:01:12]Write to MH i2c: E2 08 00 2A 0A 80 13 01 00 00 00 00 00 B1 [13:01:12]Write i2c OK [13:01:12]MH_I2C_Read... [13:01:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [13:01:12]Read from MH i2c: E2 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 0E 00 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 0E 00 2A 0A 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 58 [13:01:12]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [13:01:12]wFMCommunicate OK [13:01:12]SAM_PROTO_GetShiftState done [13:01:12]FM_GetShiftState done [13:01:12]req_shift_opened done [13:01:12]requested_item shift.open_date is exist - process it [13:01:12]req_shift_open_date [13:01:12]req_shift_open_date done [13:01:12]requested_item shift.sale.total is exist - process it [13:01:12]SAM_PROTO_GetShiftData [13:01:12]wFMCommunicate request_size=4 [13:01:12]MH_SAM_APDU [13:01:12]CAPDU: 80 13 02 00 [13:01:12]Write to MH i2c: E2 08 00 2B 0A 80 13 02 00 00 00 00 00 B3 [13:01:12]Write i2c OK [13:01:12]MH_I2C_Read... [13:01:12]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [13:01:12]Read from MH i2c: E2 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 FD 00 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 FD 00 2B 0A 00 BB 04 AA 04 B7 04 6E 04 04 00 4A 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 90 D3 28 70 04 03 00 F0 70 21 72 04 03 00 A0 62 07 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 EF 55 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 76 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 ED [13:01:12]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 4A 00 00 00 69 04 9B 00 6F 04 04 00 48 00 00 00 B1 04 03 00 90 D3 28 70 04 03 00 F0 70 21 72 04 03 00 A0 62 07 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 EF 55 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 76 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [13:01:12]wFMCommunicate OK [13:01:12]wFMCommunicate request_size=4 [13:01:12]MH_SAM_APDU [13:01:12]CAPDU: 80 17 00 00 [13:01:12]Write to MH i2c: E2 08 00 2C 0A 80 17 00 00 00 00 00 00 B6 [13:01:12]Write i2c OK [13:01:12]MH_I2C_Read... [13:01:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:01:12]Read from MH i2c: E2 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 FD 00 [13:01:12]MH_I2C_Read... [13:01:12]Read from MH i2c: E2 FD 00 2C 0A 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 49 [13:01:12]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:01:12]wFMCommunicate OK [13:01:12]wFMCommunicate request_size=4 [13:01:12]MH_SAM_APDU [13:01:12]CAPDU: 80 17 00 00 [13:01:12]Write to MH i2c: E2 08 00 2D 0A 80 17 00 00 00 00 00 00 B7 [13:01:12]Write i2c OK [13:01:12]MH_I2C_Read... [13:01:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:01:13]Read from MH i2c: E2 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 FD 00 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 FD 00 2D 0A 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E3 [13:01:13]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [13:01:13]wFMCommunicate OK [13:01:13]wFMCommunicate request_size=4 [13:01:13]MH_SAM_APDU [13:01:13]CAPDU: 80 17 00 00 [13:01:13]Write to MH i2c: E2 08 00 2E 0A 80 17 00 00 00 00 00 00 B8 [13:01:13]Write i2c OK [13:01:13]MH_I2C_Read... [13:01:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [13:01:13]Read from MH i2c: E2 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 FD 00 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 FD 00 2E 0A 00 00 00 EF 03 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 90 00 2D [13:01:13]RAPDU: 00 00 EF 03 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 90 00 [13:01:13]wFMCommunicate OK [13:01:13]wFMCommunicate request_size=4 [13:01:13]MH_SAM_APDU [13:01:13]CAPDU: 80 17 00 00 [13:01:13]Write to MH i2c: E2 08 00 2F 0A 80 17 00 00 00 00 00 00 B9 [13:01:13]Write i2c OK [13:01:13]MH_I2C_Read... [13:01:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [13:01:13]Read from MH i2c: E2 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 D8 00 [13:01:13]MH_I2C_Read... [13:01:13]Read from MH i2c: E2 D8 00 2F 0A 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 A0 [13:01:13]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [13:01:13]wFMCommunicate OK [13:01:13]SAM_PROTO_GetShiftData done [13:01:13]requested_item shift.sale.total_cash is exist - process it [13:01:13]requested_item shift.sale_refund.total is exist - process it [13:01:13]requested_item shift.sale_refund.total_cash is exist - process it [13:01:13]produce_requested_data done [13:01:13]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57057,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26756.00,"shift.sale.total_cash":21916.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [13:01:13]process_action_free close_receipt [13:01:13]json_value_free [13:01:13]json_value_free done [13:01:13]process_json_proto returns [13:01:13]Send response to host [13:01:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57057,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26756.00,"shift.sale.total_cash":21916.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [13:01:13]free response buf [13:01:13]execute_script done [13:01:13]execute_script returns [13:01:13]free content buf [13:01:13]Sock 7.Close socket [13:01:13]Sock 7.Thread stoped [13:01:15]OFD Sender: No OFD packet to send [13:01:20]OFD Sender: No OFD packet to send [13:01:25]OFD Sender: No OFD packet to send [13:01:30]OFD Sender: No OFD packet to send [13:01:35]OFD Sender: No OFD packet to send [13:01:40]OFD Sender: No OFD packet to send [13:01:45]OFD Sender: No OFD packet to send [13:01:50]OFD Sender: No OFD packet to send [13:01:55]OFD Sender: No OFD packet to send [13:02:00]OFD Sender: No OFD packet to send [13:02:05]OFD Sender: No OFD packet to send [13:02:10]OFD Sender: No OFD packet to send [13:02:15]OFD Sender: No OFD packet to send [13:02:20]OFD Sender: No OFD packet to send [13:02:25]OFD Sender: No OFD packet to send [13:02:30]OFD Sender: No OFD packet to send [13:02:35]OFD Sender: No OFD packet to send [13:02:40]OFD Sender: No OFD packet to send [13:02: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:31]OFD Sender: No OFD packet to send [13:10:36]OFD Sender: No OFD packet to send [13:10:41]OFD Sender: No OFD packet to send [13:10:46]OFD Sender: No OFD packet to send [13:10:51]OFD Sender: No OFD packet to send [13:10:56]OFD Sender: No OFD packet to send [13:11:01]OFD Sender: No OFD packet to send [13:11:06]OFD Sender: No OFD packet to send [13:11:11]OFD Sender: No OFD packet to send [13:11:16]OFD Sender: No OFD packet to send [13:11:21]OFD Sender: No OFD packet to send [13:11:26]OFD Sender: No OFD packet to send [13:11:31]OFD Sender: No OFD packet to send [13:11:36]OFD Sender: No OFD packet to send [13:11:41]OFD Sender: No OFD packet to send [13:11:46]OFD Sender: No OFD packet to send [13:11:51]OFD Sender: No OFD packet to send [13:11:56]OFD Sender: No OFD packet to send [13:12:01]OFD Sender: No OFD packet to send [13:12:06]OFD Sender: No OFD packet to send [13:12:11]OFD Sender: No OFD packet to send [13:12:16]OFD Sender: No OFD packet to send [13:12:21]OFD Sender: No OFD packet to send [13:12:26]OFD Sender: No OFD packet to send [13:12:31]OFD Sender: No OFD packet to send [13:12:36]OFD Sender: No OFD packet to send [13:12:41]OFD Sender: No OFD packet to send [13:12:46]OFD Sender: No OFD packet to send [13:12:51]OFD Sender: No OFD packet to send [13:12:56]OFD Sender: No OFD packet to send [13:13:01]OFD Sender: No OFD packet to send [13:13:06]OFD Sender: No OFD packet to send [13:13:11]OFD Sender: No OFD packet to send [13:13:16]OFD Sender: No OFD packet to send [13:13:21]OFD Sender: No OFD packet to send [13:13:26]OFD Sender: No OFD packet to send [13:13:31]OFD Sender: No OFD packet to send [13:13:36]OFD Sender: No OFD packet to send [13:13:41]OFD Sender: No OFD packet to send [13:13:46]OFD Sender: No OFD packet to send [13:13:51]OFD Sender: No OFD packet to send [13:13:56]OFD Sender: No OFD packet to send [13:14:01]OFD Sender: No OFD packet to send [13:14:06]OFD Sender: No OFD packet to send [13:14:11]OFD Sender: No OFD packet to send [13:14:16]OFD Sender: No OFD packet to send [13:14:21]OFD Sender: No OFD packet to send [13:14:26]OFD Sender: No OFD packet to send [13:14:31]OFD Sender: No OFD packet to send [13:14:36]OFD Sender: No OFD packet to send [13:14:41]OFD Sender: No OFD packet to send [13:14:46]OFD Sender: No OFD packet to send [13:14:51]OFD Sender: No OFD packet to send [13:14:56]OFD Sender: No OFD packet to send [13:15:01]OFD Sender: No OFD packet to send [13:15:06]OFD Sender: No OFD packet to send [13:15:11]OFD Sender: No OFD packet to send [13:15:16]OFD Sender: No OFD packet to send [13:15:21]OFD Sender: No OFD packet to send [13:15:26]OFD Sender: No OFD packet to send [13:15:31]OFD Sender: No OFD packet to send [13:15:36]OFD Sender: No OFD packet to send [13:15:41]OFD Sender: No OFD packet to send [13:15:46]OFD Sender: No OFD packet to send [13:15:51]OFD Sender: No OFD packet to send [13:15:56]OFD Sender: No OFD packet to send [13:16:01]OFD Sender: No OFD packet to send [13:16:06]OFD Sender: No OFD packet to send [13:16:11]OFD Sender: No OFD packet to send [13:16:16]OFD Sender: No OFD packet to send [13:16:21]OFD Sender: No OFD packet to send [13:16:26]OFD Sender: No OFD packet to send [13:16:31]OFD Sender: No OFD packet to send [13:16:36]OFD Sender: No OFD packet to send [13:16:41]OFD Sender: No OFD packet to send [13:16:46]OFD Sender: No OFD packet to send [13:16:51]OFD Sender: No OFD packet to send [13:16:56]OFD Sender: No OFD packet to send [13:17:01]OFD Sender: No OFD packet to send [13:17:06]OFD Sender: No OFD packet to send [13:17:11]OFD Sender: No OFD packet to send [13:17:16]OFD Sender: No OFD packet to send [13:17:21]OFD Sender: No OFD packet to send [13:17:26]OFD Sender: No OFD packet to send [13:17:31]OFD Sender: No OFD packet to send [13:17:36]OFD Sender: No OFD packet to send [13:17:41]OFD Sender: No OFD packet to send [13:17:46]OFD Sender: No OFD packet to send [13:17:51]OFD Sender: No OFD packet to send [13:17:56]OFD Sender: No OFD packet to send [13:18:01]OFD Sender: No OFD packet to send [13:18:06]OFD Sender: No OFD packet to send [13:18:11]OFD Sender: No OFD packet to send [13:18:16]OFD Sender: No OFD packet to send [13:18:21]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:52]OFD Sender: No OFD packet to send [13:21:57]OFD Sender: No OFD packet to send [13:22:02]OFD Sender: No OFD packet to send [13:22:07]OFD Sender: No OFD packet to send [13:22:12]OFD Sender: No OFD packet to send [13:22:17]OFD Sender: No OFD packet to send [13:22:22]OFD Sender: No OFD packet to send [13:22:27]OFD Sender: No OFD packet to send [13:22:32]OFD Sender: No OFD packet to send [13:22:37]OFD Sender: No OFD packet to send [13:22:42]OFD Sender: No OFD packet to send [13:22:47]OFD Sender: No OFD packet to send [13:22:52]OFD Sender: No OFD packet to send [13:22:57]OFD Sender: No OFD packet to send [13:23:02]OFD Sender: No OFD packet to send [13:23:07]OFD Sender: No OFD packet to send [13:23:12]OFD Sender: No OFD packet to send [13:23:17]OFD Sender: No OFD packet to send [13:23:22]OFD Sender: No OFD packet to send [13:23:27]OFD Sender: No OFD packet to send [13:23:32]OFD Sender: No OFD packet to send [13:23:37]OFD Sender: No OFD packet to send [13:23:42]OFD Sender: No OFD packet to send [13:23:47]OFD Sender: No OFD packet to send [13:23:52]OFD Sender: No OFD packet to send [13:23:57]OFD Sender: No OFD packet to send [13:24:02]OFD Sender: No OFD packet to send [13:24:07]OFD Sender: No OFD packet to send [13:24:12]OFD Sender: No OFD packet to send [13:24:17]OFD Sender: No OFD packet to send [13:24:22]OFD Sender: No OFD packet to send [13:24:27]OFD Sender: No OFD packet to send [13:24:32]OFD Sender: No OFD packet to send [13:24:37]OFD Sender: No OFD packet to send [13:24:42]OFD Sender: No OFD packet to send [13:24:47]OFD Sender: No OFD packet to send [13:24:52]OFD Sender: No OFD packet to send [13:24:57]OFD Sender: No OFD packet to send [13:25:02]OFD Sender: No OFD packet to send [13:25:07]OFD Sender: No OFD packet to send [13:25:12]OFD Sender: No OFD packet to send [13:25:17]OFD Sender: No OFD packet to send [13:25:22]OFD Sender: No OFD packet to send [13:25:27]OFD Sender: No OFD packet to send [13:25:32]OFD Sender: No OFD packet to send [13:25:37]OFD Sender: No OFD packet to send [13:25:42]OFD Sender: No OFD packet to send [13:25:47]OFD Sender: No OFD packet to send [13:25:52]OFD Sender: No OFD packet to send [13:25:57]OFD Sender: No OFD packet to send [13:26:02]OFD Sender: No OFD packet to send [13:26:07]OFD Sender: No OFD packet to send [13:26:12]OFD Sender: No OFD packet to send [13:26:17]OFD Sender: No OFD packet to send [13:26:22]OFD Sender: No OFD packet to send [13:26:27]OFD Sender: No OFD packet to send [13:26:32]OFD Sender: No OFD packet to send [13:26:37]OFD Sender: No OFD packet to send [13:26:42]OFD Sender: No OFD packet to send [13:26:47]OFD Sender: No OFD packet to send [13:26:52]OFD Sender: No OFD packet to send [13:26:57]OFD Sender: No OFD packet to send [13:27:02]OFD Sender: No OFD packet to send [13:27:07]OFD Sender: No OFD packet to send [13:27:12]OFD Sender: No OFD packet to send [13:27:17]OFD Sender: No OFD packet to send [13:27:22]OFD Sender: No OFD packet to send [13:27:27]OFD Sender: No OFD packet to send [13:27:32]OFD Sender: No OFD packet to send [13:27:37]OFD Sender: No OFD packet to send [13:27:42]OFD Sender: No OFD packet to send [13:27:47]OFD Sender: No OFD packet to send [13:27:52]OFD Sender: No OFD packet to send [13:27:57]OFD Sender: No OFD packet to send [13:28:02]OFD Sender: No OFD packet to send [13:28:07]OFD Sender: No OFD packet to send [13:28:12]OFD Sender: No OFD packet to send [13:28:17]OFD Sender: No OFD packet to send [13:28:22]OFD Sender: No OFD packet to send [13:28:27]OFD Sender: No OFD packet to send [13:28:32]OFD Sender: No OFD packet to send [13:28:37]OFD Sender: No OFD packet to send [13:28:42]OFD Sender: No OFD packet to send [13:28:47]OFD Sender: No OFD packet to send [13:28:52]OFD Sender: No OFD packet to send [13:28:57]OFD Sender: No OFD packet to send [13:29:02]OFD Sender: No OFD packet to send [13:29:07]OFD Sender: No OFD packet to send [13:29:12]OFD Sender: No OFD packet to send [13:29:17]OFD Sender: No OFD packet to send [13:29:22]OFD Sender: No OFD packet to send [13:29:27]OFD Sender: No OFD packet to send [13:29:32]OFD Sender: No OFD packet to send [13:29:37]OFD Sender: No OFD packet to send [13:29:42]OFD Sender: No OFD packet to send [13:29:47]OFD Sender: No OFD packet to send [13:29:52]OFD Sender: No OFD packet to send [13:29:57]OFD Sender: No OFD packet to send [13:30:02]OFD Sender: No OFD packet to send [13:30:07]OFD Sender: No OFD packet to send [13:30:12]OFD Sender: No OFD packet to send [13:30:17]OFD Sender: No OFD packet to send [13:30:22]OFD Sender: No OFD packet to send [13:30:27]OFD Sender: No OFD packet to send [13:30:32]OFD Sender: No OFD packet to send [13:30:37]OFD Sender: No OFD packet to send [13:30:42]OFD Sender: No OFD packet to send [13:30:47]OFD Sender: No OFD packet to send [13:30:52]OFD Sender: No OFD packet to send [13:30:57]OFD Sender: No OFD packet to send [13:31:02]OFD Sender: No OFD packet to send [13:31:07]OFD Sender: No OFD packet to send [13:31:12]OFD Sender: No OFD packet to send [13:31:17]OFD Sender: No OFD packet to send [13:31:22]OFD Sender: No OFD packet to send [13:31:27]OFD Sender: No OFD packet to send [13:31:32]OFD Sender: No OFD packet to send [13:31:37]OFD Sender: No OFD packet to send [13:31:42]OFD Sender: No OFD packet to send [13:31:47]OFD Sender: No OFD packet to send [13:31:52]OFD Sender: No OFD packet to send [13:31:57]OFD Sender: No OFD packet to send [13:32:02]OFD Sender: No OFD packet to send [13:32:07]OFD Sender: No OFD packet to send [13:32:12]OFD Sender: No OFD packet to send [13:32:17]OFD Sender: No OFD packet to send [13:32:22]OFD Sender: No OFD packet to send [13:32:27]OFD Sender: No OFD packet to send [13:32:32]OFD Sender: No OFD packet to send [13:32:37]OFD Sender: No OFD packet to send [13:32:42]OFD Sender: No OFD packet to send [13:32:47]OFD Sender: No OFD packet to send [13:32:52]OFD Sender: No OFD packet to send [13:32:57]OFD Sender: No OFD packet to send [13:33:02]OFD Sender: No OFD packet to send [13:33:07]OFD Sender: No OFD packet to send [13:33:12]OFD Sender: No OFD packet to send [13:33:17]OFD Sender: No OFD packet to send [13:33:22]OFD Sender: No OFD packet to send [13:33:27]OFD Sender: No OFD packet to send [13:33:32]OFD Sender: No OFD packet to send [13:33:37]OFD Sender: No OFD packet to send [13:33:42]OFD Sender: No OFD packet to send [13:33:47]OFD Sender: No OFD packet to send [13:33:52]OFD Sender: No OFD packet to send [13:33:57]OFD Sender: No OFD packet to send [13:34:02]OFD Sender: No OFD packet to send [13:34:07]OFD Sender: No OFD packet to send [13:34:12]OFD Sender: No OFD packet to send [13:34:17]OFD Sender: No OFD packet to send [13:34:22]OFD Sender: No OFD packet to send [13:34:27]OFD Sender: No OFD packet to send [13:34:32]OFD Sender: No OFD packet to send [13:34:37]OFD Sender: No OFD packet to send [13:34:42]OFD Sender: No OFD packet to send [13:34:47]OFD Sender: No OFD packet to send [13:34:52]OFD Sender: No OFD packet to send [13:34:57]OFD Sender: No OFD packet to send [13:35:02]OFD Sender: No OFD packet to send [13:35:07]OFD Sender: No OFD packet to send [13:35:12]OFD Sender: No OFD packet to send [13:35:17]OFD Sender: No OFD packet to send [13:35:22]OFD Sender: No OFD packet to send [13:35:27]OFD Sender: No OFD packet to send [13:35:32]OFD Sender: No OFD packet to send [13:35:37]OFD Sender: No OFD packet to send [13:35:42]OFD Sender: No OFD packet to send [13:35:47]OFD Sender: No OFD packet to send [13:35:52]OFD Sender: No OFD packet to send [13:35:57]OFD Sender: No OFD packet to send [13:36:02]OFD Sender: No OFD packet to send [13:36:07]OFD Sender: No OFD packet to send [13:36:12]OFD Sender: No OFD packet to send [13:36:17]OFD Sender: No OFD packet to send [13:36:22]OFD Sender: No OFD packet to send [13:36:27]OFD Sender: No OFD packet to send [13:36:32]OFD Sender: No OFD packet to send [13:36:37]OFD Sender: No OFD packet to send [13:36:42]OFD Sender: No OFD packet to send [13:36:47]OFD Sender: No OFD packet to send [13:36:52]OFD Sender: No OFD packet to send [13:36:57]OFD Sender: No OFD packet to send [13:37:02]OFD Sender: No OFD packet to send [13:37:07]OFD Sender: No OFD packet to send [13:37:12]OFD Sender: No OFD packet to send [13:37:17]OFD Sender: No OFD packet to send [13:37:22]OFD Sender: No OFD packet to send [13:37:27]OFD Sender: No OFD packet to send [13:37:32]OFD Sender: No OFD packet to send [13:37:37]OFD Sender: No OFD packet to send [13:37:42]OFD Sender: No OFD packet to send [13:37:47]OFD Sender: No OFD packet to send [13:37:52]OFD Sender: No OFD packet to send [13:37:57]OFD Sender: No OFD packet to send [13:38:02]OFD Sender: No OFD packet to send [13:38:07]OFD Sender: No OFD packet to send [13:38:12]OFD Sender: No OFD packet to send [13:38:17]OFD Sender: No OFD packet to send [13:38:22]OFD Sender: No OFD packet to send [13:38:27]OFD Sender: No OFD packet to send [13:38:32]OFD Sender: No OFD packet to send [13:38:37]OFD Sender: No OFD packet to send [13:38:42]OFD Sender: No OFD packet to send [13:38:47]OFD Sender: No OFD packet to send [13:38:52]OFD Sender: No OFD packet to send [13:38:57]OFD Sender: No OFD packet to send [13:39:02]OFD Sender: No OFD packet to send [13:39:07]OFD Sender: No OFD packet to send [13:39:12]OFD Sender: No OFD packet to send [13:39:17]OFD Sender: No OFD packet to send [13:39:22]OFD Sender: No OFD packet to send [13:39:27]OFD Sender: No OFD packet to send [13:39:32]OFD Sender: No OFD packet to send [13:39:37]OFD Sender: No OFD packet to send [13:39:42]OFD Sender: No OFD packet to send [13:39:47]OFD Sender: No OFD packet to send [13:39:52]OFD Sender: No OFD packet to send [13:39:57]OFD Sender: No OFD packet to send [13:40:02]OFD Sender: No OFD packet to send [13:40:07]OFD Sender: No OFD packet to send [13:40:12]OFD Sender: No OFD packet to send [13:40:17]OFD Sender: No OFD packet to send [13:40:22]OFD Sender: No OFD packet to send [13:40:27]OFD Sender: No OFD packet to send [13:40:32]OFD Sender: No OFD packet to send [13:40:37]OFD Sender: No OFD packet to send [13:40:42]OFD Sender: No OFD packet to send [13:40:48]OFD Sender: No OFD packet to send [13:40:53]OFD Sender: No OFD packet to send [13:40:58]OFD Sender: No OFD packet to send [13:41:03]OFD Sender: No OFD packet to send [13:41:08]OFD Sender: No OFD packet to send [13:41:13]OFD Sender: No OFD packet to send [13:41:18]OFD Sender: No OFD packet to send [13:41:23]OFD Sender: No OFD packet to send [13:41:28]OFD Sender: No OFD packet to send [13:41:33]OFD Sender: No OFD packet to send [13:41:38]OFD Sender: No OFD packet to send [13:41:43]OFD Sender: No OFD packet to send [13:41:48]OFD Sender: No OFD packet to send [13:41:53]OFD Sender: No OFD packet to send [13:41:58]OFD Sender: No OFD packet to send [13:42:03]OFD Sender: No OFD packet to send [13:42:08]OFD Sender: No OFD packet to send [13:42:13]OFD Sender: No OFD packet to send [13:42:18]OFD Sender: No OFD packet to send [13:42:23]OFD Sender: No OFD packet to send [13:42:28]OFD Sender: No OFD packet to send [13:42:33]OFD Sender: No OFD packet to send [13:42:38]OFD Sender: No OFD packet to send [13:42:43]OFD Sender: No OFD packet to send [13:42:48]OFD Sender: No OFD packet to send [13:42:53]OFD Sender: No OFD packet to send [13:42:58]OFD Sender: No OFD packet to send [13:43:03]OFD Sender: No OFD packet to send [13:43:08]OFD Sender: No OFD packet to send [13:43:13]OFD Sender: No OFD packet to send [13:43:18]OFD Sender: No OFD packet to send [13:43:23]OFD Sender: No OFD packet to send [13:43:28]OFD Sender: No OFD packet to send [13:43:33]OFD Sender: No OFD packet to send [13:43:38]OFD Sender: No OFD packet to send [13:43:43]OFD Sender: No OFD packet to send [13:43:48]OFD Sender: No OFD packet to send [13:43:53]OFD Sender: No OFD packet to send [13:43:58]OFD Sender: No OFD packet to send [13:44:03]OFD Sender: No OFD packet to send [13:44:08]OFD Sender: No OFD packet to send [13:44:13]OFD Sender: No OFD packet to send [13:44:18]OFD Sender: No OFD packet to send [13:44:23]OFD Sender: No OFD packet to send [13:44:28]OFD Sender: No OFD packet to send [13:44:33]OFD Sender: No OFD packet to send [13:44:38]OFD Sender: No OFD packet to send [13:44:43]OFD Sender: No OFD packet to send [13:44:48]OFD Sender: No OFD packet to send [13:44:53]OFD Sender: No OFD packet to send [13:44:58]OFD Sender: No OFD packet to send [13:45:03]OFD Sender: No OFD packet to send [13:45:08]OFD Sender: No OFD packet to send [13:45:13]OFD Sender: No OFD packet to send [13:45:18]OFD Sender: No OFD packet to send [13:45:23]OFD Sender: No OFD packet to send [13:45:28]OFD Sender: No OFD packet to send [13:45:33]OFD Sender: No OFD packet to send [13:45:38]OFD Sender: No OFD packet to send [13:45:43]OFD Sender: No OFD packet to send [13:45:48]OFD Sender: No OFD packet to send [13:45:53]OFD Sender: No OFD packet to send [13:45:58]OFD Sender: No OFD packet to send [13:46:03]OFD Sender: No OFD packet to send [13:46:08]OFD Sender: No OFD packet to send [13:46:13]OFD Sender: No OFD packet to send [13:46:18]OFD Sender: No OFD packet to send [13:46:23]OFD Sender: No OFD packet to send [13:46:28]OFD Sender: No OFD packet to send [13:46:33]OFD Sender: No OFD packet to send [13:46:38]OFD Sender: No OFD packet to send [13:46:43]OFD Sender: No OFD packet to send [13:46:48]OFD Sender: No OFD packet to send [13:46:53]OFD Sender: No OFD packet to send [13:46:58]OFD Sender: No OFD packet to send [13:47:03]OFD Sender: No OFD packet to send [13:47:08]OFD Sender: No OFD packet to send [13:47:13]OFD Sender: No OFD packet to send [13:47:18]OFD Sender: No OFD packet to send [13:47:23]OFD Sender: No OFD packet to send [13:47:28]OFD Sender: No OFD packet to send [13:47:33]OFD Sender: No OFD packet to send [13:47:38]OFD Sender: No OFD packet to send [13:47:43]OFD Sender: No OFD packet to send [13:47:48]OFD Sender: No OFD packet to send [13:47:53]OFD Sender: No OFD packet to send [13:47:58]OFD Sender: No OFD packet to send [13:48:03]OFD Sender: No OFD packet to send [13:48:08]OFD Sender: No OFD packet to send [13:48:13]OFD Sender: No OFD packet to send [13:48:18]OFD Sender: No OFD packet to send [13:48:23]OFD Sender: No OFD packet to send [13:48:28]OFD Sender: No OFD packet to send [13:48:33]OFD Sender: No OFD packet to send [13:48:38]OFD Sender: No OFD packet to send [13:48:43]OFD Sender: No OFD packet to send [13:48:48]OFD Sender: No OFD packet to send [13:48:53]OFD Sender: No OFD packet to send [13:48:58]OFD Sender: No OFD packet to send [13:49:03]OFD Sender: No OFD packet to send [13:49:08]OFD Sender: No OFD packet to send [13:49:13]OFD Sender: No OFD packet to send [13:49:18]OFD Sender: No OFD packet to send [13:49:23]OFD Sender: No OFD packet to send [13:49:28]OFD Sender: No OFD packet to send [13:49:33]OFD Sender: No OFD packet to send [13:49:38]OFD Sender: No OFD packet to send [13:49:43]OFD Sender: No OFD packet to send [13:49:48]OFD Sender: No OFD packet to send [13:49:53]OFD Sender: No OFD packet to send [13:49:58]OFD Sender: No OFD packet to send [13:50:03]OFD Sender: No OFD packet to send [13:50:08]OFD Sender: No OFD packet to send [13:50:13]OFD Sender: No OFD packet to send [13:50:18]OFD Sender: No OFD packet to send [13:50:23]OFD Sender: No OFD packet to send [13:50:28]OFD Sender: No OFD packet to send [13:50:33]OFD Sender: No OFD packet to send [13:50:38]OFD Sender: No OFD packet to send [13:50:43]OFD Sender: No OFD packet to send [13:50:48]OFD Sender: No OFD packet to send [13:50:53]OFD Sender: No OFD packet to send [13:50:58]OFD Sender: No OFD packet to send [13:51:03]OFD Sender: No OFD packet to send [13:51:08]OFD Sender: No OFD packet to send [13:51:13]OFD Sender: No OFD packet to send [13:51:18]OFD Sender: No OFD packet to send [13:51:23]OFD Sender: No OFD packet to send [13:51:28]OFD Sender: No OFD packet to send [13:51:33]OFD Sender: No OFD packet to send [13:51:38]OFD Sender: No OFD packet to send [13:51:43]OFD Sender: No OFD packet to send [13:51:48]OFD Sender: No OFD packet to send [13:51:53]OFD Sender: No OFD packet to send [13:51:58]OFD Sender: No OFD packet to send [13:52:03]OFD Sender: No OFD packet to send [13:52:08]OFD Sender: No OFD packet to send [13:52:13]OFD Sender: No OFD packet to send [13:52:18]OFD Sender: No OFD packet to send [13:52:23]OFD Sender: No OFD packet to send [13:52:28]OFD Sender: No OFD packet to send [13:52:33]OFD Sender: No OFD packet to send [13:52:38]OFD Sender: No OFD packet to send [13:52:43]OFD Sender: No OFD packet to send [13:52:48]OFD Sender: No OFD packet to send [13:52:53]OFD Sender: No OFD packet to send [13:52:58]OFD Sender: No OFD packet to send [13:53:03]OFD Sender: No OFD packet to send [13:53:08]OFD Sender: No OFD packet to send [13:53:13]OFD Sender: No OFD packet to send [13:53:18]OFD Sender: No OFD packet to send [13:53:23]OFD Sender: No OFD packet to send [13:53:28]OFD Sender: No OFD packet to send [13:53:33]OFD Sender: No OFD packet to send [13:53:38]OFD Sender: No OFD packet to send [13:53:43]OFD Sender: No OFD packet to send [13:53:48]OFD Sender: No OFD packet to send [13:53:53]OFD Sender: No OFD packet to send [13:53:58]OFD Sender: No OFD packet to send [13:54:03]OFD Sender: No OFD packet to send [13:54:08]OFD Sender: No OFD packet to send [13:54:13]OFD Sender: No OFD packet to send [13:54:18]OFD Sender: No OFD packet to send [13:54:23]OFD Sender: No OFD packet to send [13:54:28]OFD Sender: No OFD packet to send [13:54:33]OFD Sender: No OFD packet to send [13:54:38]OFD Sender: No OFD packet to send [13:54:43]OFD Sender: No OFD packet to send [13:54:48]OFD Sender: No OFD packet to send [13:54:53]OFD Sender: No OFD packet to send [13:54:58]OFD Sender: No OFD packet to send [13:55:03]OFD Sender: No OFD packet to send [13:55:08]OFD Sender: No OFD packet to send [13:55:13]OFD Sender: No OFD packet to send [13:55:18]OFD Sender: No OFD packet to send [13:55:23]OFD Sender: No OFD packet to send [13:55:28]OFD Sender: No OFD packet to send [13:55:33]OFD Sender: No OFD packet to send [13:55:38]OFD Sender: No OFD packet to send [13:55:43]OFD Sender: No OFD packet to send [13:55:48]OFD Sender: No OFD packet to send [13:55:53]OFD Sender: No OFD packet to send [13:55:58]OFD Sender: No OFD packet to send [13:56:03]OFD Sender: No OFD packet to send [13:56:08]OFD Sender: No OFD packet to send [13:56:13]OFD Sender: No OFD packet to send [13:56:18]OFD Sender: No OFD packet to send [13:56:23]OFD Sender: No OFD packet to send [13:56:28]OFD Sender: No OFD packet to send [13:56:33]OFD Sender: No OFD packet to send [13:56:38]OFD Sender: No OFD packet to send [13:56:43]OFD Sender: No OFD packet to send [13:56:48]OFD Sender: No OFD packet to send [13:56:53]OFD Sender: No OFD packet to send [13:56:58]OFD Sender: No OFD packet to send [13:57:03]OFD Sender: No OFD packet to send [13:57:08]OFD Sender: No OFD packet to send [13:57:13]OFD Sender: No OFD packet to send [13:57:18]OFD Sender: No OFD packet to send [13:57:23]OFD Sender: No OFD packet to send [13:57:28]OFD Sender: No OFD packet to send [13:57:33]OFD Sender: No OFD packet to send [13:57:38]OFD Sender: No OFD packet to send [13:57:43]OFD Sender: No OFD packet to send [13:57:48]OFD Sender: No OFD packet to send [13:57:53]OFD Sender: No OFD packet to send [13:57:58]OFD Sender: No OFD packet to send [13:58:03]OFD Sender: No OFD packet to send [13:58:08]OFD Sender: No OFD packet to send [13:58:13]OFD Sender: No OFD packet to send [13:58:18]OFD Sender: No OFD packet to send [13:58:23]OFD Sender: No OFD packet to send [13:58:28]OFD Sender: No OFD packet to send [13:58:33]OFD Sender: No OFD packet to send [13:58:38]OFD Sender: No OFD packet to send [13:58:43]OFD Sender: No OFD packet to send [13:58:48]OFD Sender: No OFD packet to send [13:58:53]OFD Sender: No OFD packet to send [13:58:58]OFD Sender: No OFD packet to send [13:59:03]OFD Sender: No OFD packet to send [13:59:08]OFD Sender: No OFD packet to send [13:59:13]OFD Sender: No OFD packet to send [13:59:18]OFD Sender: No OFD packet to send [13:59:23]OFD Sender: No OFD packet to send [13:59:28]OFD Sender: No OFD packet to send [13:59:33]OFD Sender: No OFD packet to send [13:59:38]OFD Sender: No OFD packet to send [13:59:44]OFD Sender: No OFD packet to send [13:59:49]OFD Sender: No OFD packet to send [13:59:54]OFD Sender: No OFD packet to send [13:59:59]OFD Sender: No OFD packet to send [14:00:04]OFD Sender: No OFD packet to send [14:00:09]OFD Sender: No OFD packet to send [14:00:14]OFD Sender: No OFD packet to send [14:00:19]OFD Sender: No OFD packet to send [14:00:24]OFD Sender: No OFD packet to send [14:00:29]OFD Sender: No OFD packet to send [14:00:34]OFD Sender: No OFD packet to send [14:00:39]OFD Sender: No OFD packet to send [14:00:44]OFD Sender: No OFD packet to send [14:00:49]OFD Sender: No OFD packet to send [14:00:54]OFD Sender: No OFD packet to send [14:00:59]OFD Sender: No OFD packet to send [14:01:04]OFD Sender: No OFD packet to send [14:01:09]OFD Sender: No OFD packet to send [14:01:14]OFD Sender: No OFD packet to send [14:01:19]OFD Sender: No OFD packet to send [14:01:24]OFD Sender: No OFD packet to send [14:01:29]OFD Sender: No OFD packet to send [14:01:34]OFD Sender: No OFD packet to send [14:01:39]OFD Sender: No OFD packet to send [14:01:44]OFD Sender: No OFD packet to send [14:01:49]OFD Sender: No OFD packet to send [14:01:54]OFD Sender: No OFD packet to send [14:01:59]OFD Sender: No OFD packet to send [14:02:04]OFD Sender: No OFD packet to send [14:02:09]OFD Sender: No OFD packet to send [14:02:14]OFD Sender: No OFD packet to send [14:02:19]OFD Sender: No OFD packet to send [14:02:24]OFD Sender: No OFD packet to send [14:02:29]OFD Sender: No OFD packet to send [14:02:34]OFD Sender: No OFD packet to send [14:02:39]OFD Sender: No OFD packet to send [14:02:44]OFD Sender: No OFD packet to send [14:02:49]OFD Sender: No OFD packet to send [14:02:54]OFD Sender: No OFD packet to send [14:02:59]OFD Sender: No OFD packet to send [14:03:04]OFD Sender: No OFD packet to send [14:03:09]OFD Sender: No OFD packet to send [14:03:14]OFD Sender: No OFD packet to send [14:03:19]OFD Sender: No OFD packet to send [14:03:24]OFD Sender: No OFD packet to send [14:03:29]OFD Sender: No OFD packet to send [14:03:34]OFD Sender: No OFD packet to send [14:03:39]OFD Sender: No OFD packet to send [14:03:44]OFD Sender: No OFD packet to send [14:03:49]OFD Sender: No OFD packet to send [14:03:54]OFD Sender: No OFD packet to send [14:03:59]OFD Sender: No OFD packet to send [14:04:04]OFD Sender: No OFD packet to send [14:04:09]OFD Sender: No OFD packet to send [14:04:14]OFD Sender: No OFD packet to send [14:04:19]OFD Sender: No OFD packet to send [14:04:24]OFD Sender: No OFD packet to send [14:04:29]OFD Sender: No OFD packet to send [14:04:34]OFD Sender: No OFD packet to send [14:04:39]OFD Sender: No OFD packet to send [14:04:44]OFD Sender: No OFD packet to send [14:04:49]OFD Sender: No OFD packet to send [14:04:54]OFD Sender: No OFD packet to send [14:04:59]OFD Sender: No OFD packet to send [14:05:04]OFD Sender: No OFD packet to send [14:05:09]OFD Sender: No OFD packet to send [14:05:14]OFD Sender: No OFD packet to send [14:05:19]OFD Sender: No OFD packet to send [14:05:24]OFD Sender: No OFD packet to send [14:05:29]OFD Sender: No OFD packet to send [14:05:34]OFD Sender: No OFD packet to send [14:05:39]OFD Sender: No OFD packet to send [14:05:44]OFD Sender: No OFD packet to send [14:05:49]OFD Sender: No OFD packet to send [14:05:54]OFD Sender: No OFD packet to send [14:05:59]OFD Sender: No OFD packet to send [14:06:04]OFD Sender: No OFD packet to send [14:06:09]OFD Sender: No OFD packet to send [14:06:14]OFD Sender: No OFD packet to send [14:06:19]OFD Sender: No OFD packet to send [14:06:24]OFD Sender: No OFD packet to send [14:06:29]OFD Sender: No OFD packet to send [14:06:34]OFD Sender: No OFD packet to send [14:06:39]OFD Sender: No OFD packet to send [14:06:44]OFD Sender: No OFD packet to send [14:06:49]OFD Sender: No OFD packet to send [14:06:54]OFD Sender: No OFD packet to send [14:06:59]OFD Sender: No OFD packet to send [14:07:04]OFD Sender: No OFD packet to send [14:07:09]OFD Sender: No OFD packet to send [14:07:14]OFD Sender: No OFD packet to send [14:07:19]OFD Sender: No OFD packet to send [14:07:24]OFD Sender: No OFD packet to send [14:07:29]OFD Sender: No OFD packet to send [14:07:34]OFD Sender: No OFD packet to send [14:07:39]OFD Sender: No OFD packet to send [14:07:44]OFD Sender: No OFD packet to send [14:07:49]OFD Sender: No OFD packet to send [14:07:54]OFD Sender: No OFD packet to send [14:07:59]OFD Sender: No OFD packet to send [14:08:04]OFD Sender: No OFD packet to send [14:08:09]OFD Sender: No OFD packet to send [14:08:14]OFD Sender: No OFD packet to send [14:08:19]OFD Sender: No OFD packet to send [14:08:24]OFD Sender: No OFD packet to send [14:08:29]OFD Sender: No OFD packet to send [14:08:34]OFD Sender: No OFD packet to send [14:08:39]OFD Sender: No OFD packet to send [14:08:44]OFD Sender: No OFD packet to send [14:08:49]OFD Sender: No OFD packet to send [14:08:54]OFD Sender: No OFD packet to send [14:08:59]OFD Sender: No OFD packet to send [14:09:04]OFD Sender: No OFD packet to send [14:09:09]OFD Sender: No OFD packet to send [14:09:14]OFD Sender: No OFD packet to send [14:09:19]OFD Sender: No OFD packet to send [14:09:24]OFD Sender: No OFD packet to send [14:09:29]OFD Sender: No OFD packet to send [14:09:34]OFD Sender: No OFD packet to send [14:09:39]OFD Sender: No OFD packet to send [14:09:44]OFD Sender: No OFD packet to send [14:09:49]OFD Sender: No OFD packet to send [14:09:54]OFD Sender: No OFD packet to send [14:09:59]OFD Sender: No OFD packet to send [14:10:04]OFD Sender: No OFD packet to send [14:10:09]OFD Sender: No OFD packet to send [14:10:14]OFD Sender: No OFD packet to send [14:10:19]OFD Sender: No OFD packet to send [14:10:24]OFD Sender: No OFD packet to send [14:10:29]OFD Sender: No OFD packet to send [14:10:34]OFD Sender: No OFD packet to send [14:10:39]OFD Sender: No OFD packet to send [14:10:44]OFD Sender: No OFD packet to send [14:10:49]OFD Sender: No OFD packet to send [14:10:54]OFD Sender: No OFD packet to send [14:10:59]OFD Sender: No OFD packet to send [14:11:04]OFD Sender: No OFD packet to send [14:11:09]OFD Sender: No OFD packet to send [14:11:14]OFD Sender: No OFD packet to send [14:11:19]OFD Sender: No OFD packet to send [14:11:24]OFD Sender: No OFD packet to send [14:11:29]OFD Sender: No OFD packet to send [14:11:34]OFD Sender: No OFD packet to send [14:11:39]OFD Sender: No OFD packet to send [14:11:44]OFD Sender: No OFD packet to send [14:11:49]OFD Sender: No OFD packet to send [14:11:54]OFD Sender: No OFD packet to send [14:11:59]OFD Sender: No OFD packet to send [14:12:04]OFD Sender: No OFD packet to send [14:12:09]OFD Sender: No OFD packet to send [14:12:14]OFD Sender: No OFD packet to send [14:12:19]OFD Sender: No OFD packet to send [14:12:24]OFD Sender: No OFD packet to send [14:12:29]OFD Sender: No OFD packet to send [14:12:34]OFD Sender: No OFD packet to send [14:12:39]OFD Sender: No OFD packet to send [14:12:44]OFD Sender: No OFD packet to send [14:12:49]OFD Sender: No OFD packet to send [14:12:54]OFD Sender: No OFD packet to send [14:12:59]OFD Sender: No OFD packet to send [14:13:04]OFD Sender: No OFD packet to send [14:13:09]OFD Sender: No OFD packet to send [14:13:14]OFD Sender: No OFD packet to send [14:13:19]OFD Sender: No OFD packet to send [14:13:24]OFD Sender: No OFD packet to send [14:13:29]OFD Sender: No OFD packet to send [14:13:34]OFD Sender: No OFD packet to send [14:13:39]OFD Sender: No OFD packet to send [14:13:44]OFD Sender: No OFD packet to send [14:13:49]OFD Sender: No OFD packet to send [14:13:54]OFD Sender: No OFD packet to send [14:13:59]OFD Sender: No OFD packet to send [14:14:04]OFD Sender: No OFD packet to send [14:14:09]OFD Sender: No OFD packet to send [14:14:14]OFD Sender: No OFD packet to send [14:14:19]OFD Sender: No OFD packet to send [14:14:24]OFD Sender: No OFD packet to send [14:14:29]OFD Sender: No OFD packet to send [14:14:34]OFD Sender: No OFD packet to send [14:14:39]OFD Sender: No OFD packet to send [14:14:44]OFD Sender: No OFD packet to send [14:14:49]OFD Sender: No OFD packet to send [14:14:54]OFD Sender: No OFD packet to send [14:14:59]OFD Sender: No OFD packet to send [14:15:04]OFD Sender: No OFD packet to send [14:15:09]OFD Sender: No OFD packet to send [14:15:14]OFD Sender: No OFD packet to send [14:15:19]OFD Sender: No OFD packet to send [14:15:24]OFD Sender: No OFD packet to send [14:15:29]OFD Sender: No OFD packet to send [14:15:34]OFD Sender: No OFD packet to send [14:15:39]OFD Sender: No OFD packet to send [14:15:44]OFD Sender: No OFD packet to send [14:15:49]OFD Sender: No OFD packet to send [14:15:54]OFD Sender: No OFD packet to send [14:15:59]OFD Sender: No OFD packet to send [14:16:04]OFD Sender: No OFD packet to send [14:16:09]OFD Sender: No OFD packet to send [14:16:14]OFD Sender: No OFD packet to send [14:16:19]OFD Sender: No OFD packet to send [14:16:24]OFD Sender: No OFD packet to send [14:16:29]OFD Sender: No OFD packet to send [14:16:34]OFD Sender: No OFD packet to send [14:16:39]OFD Sender: No OFD packet to send [14:16:44]OFD Sender: No OFD packet to send [14:16:49]OFD Sender: No OFD packet to send [14:16:54]OFD Sender: No OFD packet to send [14:16:59]OFD Sender: No OFD packet to send [14:17:04]OFD Sender: No OFD packet to send [14:17:09]OFD Sender: No OFD packet to send [14:17:14]OFD Sender: No OFD packet to send [14:17:19]OFD Sender: No OFD packet to send [14:17:24]OFD Sender: No OFD packet to send [14:17:29]OFD Sender: No OFD packet to send [14:17:34]OFD Sender: No OFD packet to send [14:17:37]accept exits with 9 [14:17:37]New connection [14:17:37]New thread 3067592036 created [14:17:37]Thread 3067448676 joined [14:17:37]Waiting for new connection... [14:17:37] Sock 9.Parse request [14:17:37]Sock 9.Check first char [14:17:37]Sock 9.First char is OK [14:17:37]request: POST /json_proto HTTP/1.0 [14:17:37]Method: POST [14:17:37]URL: /json_proto [14:17:37]Method is POST - this is cgi request [14:17:37]url: /json_proto [14:17:37]query_string will be loaded in cgi processing [14:17:37]execute_cgi json_proto POST (null) [14:17:37]execute_cgi path=json_proto method=POST [14:17:37]POST find Content-Length [14:17:37]Host: 172.17.39.4:8080 [14:17:37]Content-Length: 723 [14:17:37]Content-Type: application/json [14:17:37] [14:17:37]POST finish read [14:17:37]Found Content-Length = 723 [14:17:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129521", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:17:37]execute_script... [14:17: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)129521", "tax_sys" : 0, "items" : [ { "code": "47802995", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XS Silver", "price" : 140.00, "quantity" : 1.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:17:37]POST & json_proto [14:17:37]process_json_proto [14:17:37]json parsed OK: [14:17:37]protocol is kg_v1.0 [14:17:37]action value=close_receipt [14:17:37]process_action close_receipt [14:17:37]cmd_close_receipt [14:17:37]MH_GetDate [14:17:37]Write to MH i2c: F0 00 00 30 0A 29 [14:17:37]Write i2c OK [14:17:37]MH_I2C_Read... [14:17:37]Read from MH i2c: F0 [14:17:37]MH_I2C_Read... [14:17:37]Read from MH i2c: F0 09 00 [14:17:37]MH_I2C_Read... [14:17:37]Read from MH i2c: F0 09 00 30 0A 00 03 DE 93 66 2D 25 5D 64 1F [14:17:37]GetLastDocTimeStamp 1720962069 [14:17:37]current date 1720966659 [14:17:37]FM_GetShiftState [14:17:37]SAM_PROTO_GetShiftState [14:17:37]wFMCommunicate request_size=4 [14:17:37]MH_SAM_APDU [14:17:37]CAPDU: 80 13 01 00 [14:17:37]Write to MH i2c: E2 08 00 31 0A 80 13 01 00 00 00 00 00 B8 [14:17:37]Write i2c OK [14:17:37]MH_I2C_Read... [14:17:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:17:37]Read from MH i2c: E2 [14:17:37]MH_I2C_Read... [14:17:37]Read from MH i2c: E2 0E 00 [14:17:37]MH_I2C_Read... [14:17:37]Read from MH i2c: E2 0E 00 31 0A 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 5F [14:17:37]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [14:17:37]wFMCommunicate OK [14:17:37]SAM_PROTO_GetShiftState done [14:17:37]FM_GetShiftState done [14:17:37]opened in 1720917126 [14:17:37]opened+sec_in_day 1721003526 [14:17:37]quantity*price = 14000 [14:17:37]sum+1 = 14001 [14:17:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 75 14.07.2024 14:17 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57058 ФПД: 147373224327590 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T141739&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57058&fm=147373224327590&tin=02508201610067®Number=0000000000091208&sum=14000 0 [14:17:39]StoreToDocumentArchive [14:17:39]shift 496 fd 57058 [14:17:39]save to /storage/0496/doc_00057058 [14:17:39]save last doc name /storage/0496/doc_00057058 to /storage/kkm_last_doc_name [14:17:39]save OK [14:17:39]Clear old archive folders... [14:17:39]ProcessDocumentItem done err = 0, tmpTLVsize=271 [14:17:39]tlvbuf is 00FA30E0 [14:17:39]SAM_PROTO_ClearQueue [14:17:39]wFMCommunicate request_size=4 [14:17:39]MH_SAM_APDU [14:17:39]CAPDU: 80 09 00 00 [14:17:39]Write to MH i2c: E2 08 00 3E 0A 80 09 00 00 00 00 00 00 BA [14:17:39]Write i2c OK [14:17:39]MH_I2C_Read... [14:17:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:17:39]Read from MH i2c: E2 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 03 00 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 03 00 3E 0A 00 90 00 BC [14:17:39]RAPDU: 90 00 [14:17:39]wFMCommunicate OK [14:17:39]SAM_PROTO_ClearQueue done [14:17:39]KKMCreateOFDPacket [14:17:39]OFDProtocolAddRootSTLVToBuf [14:17:39]FM_MakeSignedData [14:17:39]FM_MakeSignedData [14:17:39]SAM_PROTO_SignData [14:17:39]wFMCommunicate request_size=4 [14:17:39]MH_SAM_APDU [14:17:39]CAPDU: 80 0D 01 02 [14:17:39]Write to MH i2c: E2 08 00 3F 0A 80 0D 01 02 00 00 00 00 C2 [14:17:39]Write i2c OK [14:17:39]MH_I2C_Read... [14:17:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:17:39]Read from MH i2c: E2 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 03 00 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 03 00 3F 0A 00 90 00 BD [14:17:39]RAPDU: 90 00 [14:17:39]wFMCommunicate OK [14:17:39]wFMCommunicate request_size=255 [14:17:39]MH_SAM_APDU [14:17:39]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 4B 00 00 00 F4 03 04 00 03 DE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [14:17:39]Write to MH i2c: E2 02 01 40 0A 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 4B 00 00 00 F4 03 04 00 03 DE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 57 [14:17:39]Write i2c OK [14:17:39]MH_I2C_Read... [14:17:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:17:39]Read from MH i2c: E2 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 03 00 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 03 00 40 0A 00 90 00 BE [14:17:39]RAPDU: 90 00 [14:17:39]wFMCommunicate OK [14:17:39]wFMCommunicate request_size=30 [14:17:39]MH_SAM_APDU [14:17:39]CAPDU: 80 0D 02 02 19 30 38 37 34 38 35 37 10 04 04 00 E2 DE 00 00 35 04 06 00 86 09 00 AF 79 A6 [14:17:39]Write to MH i2c: E2 21 00 41 0A 80 0D 02 02 19 00 30 38 37 34 38 35 37 10 04 04 00 E2 DE 00 00 35 04 06 00 86 09 00 AF 79 A6 00 00 E2 [14:17:39]Write i2c OK [14:17:39]MH_I2C_Read... [14:17:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:17:39]Read from MH i2c: E2 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 03 00 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 03 00 41 0A 00 90 00 BF [14:17:39]RAPDU: 90 00 [14:17:39]wFMCommunicate OK [14:17:39]wFMCommunicate request_size=4 [14:17:39]MH_SAM_APDU [14:17:39]CAPDU: 80 0D 03 02 [14:17:39]Write to MH i2c: E2 08 00 42 0A 80 0D 03 02 00 00 00 00 C7 [14:17:39]Write i2c OK [14:17:39]MH_I2C_Read... [14:17:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:17:39]Read from MH i2c: E2 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 0B 00 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 0B 00 42 0A 00 E7 26 C0 07 43 A9 F1 B3 90 00 2C [14:17:39]RAPDU: E7 26 C0 07 43 A9 F1 B3 90 00 [14:17:39]wFMCommunicate OK [14:17:39]SAM_PROTO_SignData done [14:17:39]FM_MakeSignedData done [14:17:39]CreateOFDProtocolMessage [14:17:39]wFMCommunicate request_size=4 [14:17:39]MH_SAM_APDU [14:17:39]CAPDU: 80 11 00 00 [14:17:39]Write to MH i2c: E2 08 00 43 0A 80 11 00 00 00 00 00 00 C7 [14:17:39]Write i2c OK [14:17:39]MH_I2C_Read... [14:17:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:17:39]Read from MH i2c: E2 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 17 00 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: E2 17 00 43 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 21 [14:17:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:17:39]wFMCommunicate OK [14:17:39]CreateOFDProtocolMessage done [14:17:39]OFDSenderStorePacket 57058 [14:17:39]StoreOFDPacket docnum=57058 [14:17:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 1E ED 1B 01 A0 C3 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 4B 00 00 00 F4 03 04 00 03 DE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E2 DE 00 00 35 04 06 00 86 09 00 AF 79 A6 E7 26 C0 07 43 A9 F1 B3 [14:17:39]CheckFolder [14:17:39]dirname=/storage/ofd_packets [14:17:39]CheckFolder done [14:17:39]ProducePacketName [14:17:39]name=ofd_packets/00057058 [14:17:39]NVStorageSaveData ofd_packets/00057058 [14:17:39]File name is /storage/ofd_packets/00057058 [14:17:39]Write 321 bytes [14:17:39]NVStorageSaveData done [14:17:39]OFDSenderStorePacket done [14:17:39]KKMCreateOFDPacket done [14:17:39]NVStorageSaveData kkm_last_timestamp [14:17:39]File name is /storage/kkm_last_timestamp [14:17:39]Write 4 bytes [14:17:39]NVStorageSaveData done [14:17:39]ExternCall_PrintAddStr [14:17:39]wPrintStart [14:17:39]Write to MH i2c: 01 00 00 44 0A 4E [14:17:39]Write i2c OK [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: 01 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: 01 07 00 [14:17:39]MH_I2C_Read... [14:17:39]Read from MH i2c: 01 07 00 44 0A 00 00 00 00 00 FF 0F 63 [14:17:39]RasterBufferAndPrint [14:17:39]line Счет N : (3)129521 [14:17:39]line ИНН: 02508201610067 [14:17:39]line Контрольно-Кассовый Чек [14:17:39]line ПРОДАЖА [14:17:39]line Товар: 47802995 [14:17:39]line Сигареты Winston XS Silver [14:17:39]line 1.000 * 140.00 [14:17:39]line = 140.00 [14:17:39]line НДС 12% НСП 1% [14:17:39]line > о реализуемом товаре [14:17:39]line ИТОГО: 140.00 [14:17:39]line НСП 1% : 1.24 [14:17:39]line НДС 12% : 14.87 [14:17:39]line Наличными: 140.00 [14:17:39]line Безнал.: 0.00 [14:17:39]line Место: АЗС № 132 "Партнер Нефть" [14:17:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:17:39]line СНО: Общий режим [14:17:39]line Чек 75 14.07.2024 14:17 [14:17:39]line Смена: 496 ФФД: 1.0 [14:17:39]line ЗНМ: 0300000132 [14:17:39]line РНМ: 0000000000091208 [14:17:39]line Версия ККМ: 001 [14:17:39]line ФМ: 0000000000874857 [14:17:39]line ФД: 57058 [14:17:39]line ФПД: 147373224327590 [14:17:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T141739&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57058&fm=147373224327590&tin=02508201610067®Number=0000000000091208&sum=14000 [14:17:39]line 0 [14:17:39]written 0, free lines is 4095 [14:17:39]OFD Sender: Processing packet 57058 [packets to send 38, broken 37] [14:17:39]ProducePacketName [14:17:39]name=ofd_packets/00057058 [14:17:39]OFD Sender: To server: pG, [14:17:39]CommunicateWithHost lk.salyk.kg:30040 [14:17:39]ConnectInit lk.salyk.kg [14:17:39]Connected sock=10 [14:17:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 1E ED 1B 01 A0 C3 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 37 38 30 32 39 39 35 06 04 22 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 20 53 69 6C 76 65 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 4B 00 00 00 F4 03 04 00 03 DE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E2 DE 00 00 35 04 06 00 86 09 00 AF 79 A6 E7 26 C0 07 43 A9 F1 B3 [14:17:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 37 7D 47 00 0D 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 38 37 34 38 35 37 10 04 04 00 E2 DE 00 00 F4 03 04 00 54 84 93 66 B6 04 01 00 00 12 56 72 3F 8B 35 CB E4 [14:17:40]CommunicateWithHost err = 0 [14:17:40]CheckOFDResponse [14:17:40]1017 (14) - 77093643461234 [14:17:40]1041 (16) - 0000000000874857 [14:17:40]1040 (4) - 57058 [14:17:40]1012 (4) - 14.07.2024 07:55 [14:17:40]1206 (1) - 0 [14:17:40]OFD Sender: Remove packet 57058 [14:17:40]ProducePacketName [14:17:40]name=ofd_packets/00057058 [14:17:40]NVStorageDeleteData [14:17:40]Write to MH i2c: 01 00 00 6C 0A 76 [14:17:40]Write i2c OK [14:17:40]MH_I2C_Read... [14:17:40]Read from MH i2c: 01 [14:17:40]MH_I2C_Read... [14:17:40]Read from MH i2c: 01 07 00 [14:17:40]MH_I2C_Read... [14:17:40]Read from MH i2c: 01 07 00 6C 0A 00 00 00 00 00 05 0D 8F [14:17:40]RasterBufferAndPrint [14:17:40]line [14:17:40]line [14:17:40]line [14:17:40]line [14:17:40]line [14:17:40]written 0, free lines is 3340 [14:17:40]MH_Cut [14:17:40]Write to MH i2c: D1 01 00 73 0A 01 4F [14:17:40]Write i2c OK [14:17:40]MH_I2C_Read... [14:17:40]Read from MH i2c: D1 [14:17:40]MH_I2C_Read... [14:17:40]Read from MH i2c: D1 01 00 [14:17:40]MH_I2C_Read... [14:17:40]Read from MH i2c: D1 01 00 73 0A 00 4E [14:17:40]Write to MH i2c: 01 00 00 74 0A 7E [14:17:40]Write i2c OK [14:17:40]MH_I2C_Read... [14:17:40]OFD Sender: No OFD packet to send [14:17:40]*** Cut start [14:17:40]*** Partial cut [14:17:40]*** CUTSNS_PIN = 1 [14:17:40]*** CUTSNS_PIN = 0 [14:17:41]*** Brake cut motor [14:17:41]Read from MH i2c: 01 [14:17:41]MH_I2C_Read... [14:17:41]*** Stop cut motor [14:17:41]*** Cut end [14:17:41]Read from MH i2c: 01 07 00 [14:17:41]MH_I2C_Read... [14:17:41]Read from MH i2c: 01 07 00 74 0A 00 00 00 00 00 FF 0F 93 [14:17:41]process_action close_receipt done [14:17:41]requested_data is exist [14:17:41]produce_requested_data [14:17:41]requested_item fm.sn is exist - process it [14:17:41]wFMCommunicate request_size=4 [14:17:41]MH_SAM_APDU [14:17:41]CAPDU: 80 11 00 00 [14:17:41]Write to MH i2c: E2 08 00 75 0A 80 11 00 00 00 00 00 00 F9 [14:17:41]Write i2c OK [14:17:41]MH_I2C_Read... [14:17:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:17:41]Read from MH i2c: E2 [14:17:41]MH_I2C_Read... [14:17:41]Read from MH i2c: E2 17 00 [14:17:41]MH_I2C_Read... [14:17:41]Read from MH i2c: E2 17 00 75 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 53 [14:17:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:17:41]wFMCommunicate OK [14:17:41]requested_item fd.num is exist - process it [14:17:41]SAM_PROTO_GetFieldsCounters [14:17:41]wFMCommunicate request_size=4 [14:17:41]MH_SAM_APDU [14:17:41]CAPDU: 80 13 00 00 [14:17:41]Write to MH i2c: E2 08 00 76 0A 80 13 00 00 00 00 00 00 FC [14:17:41]Write i2c OK [14:17:41]MH_I2C_Read... [14:17:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:17:41]Read from MH i2c: E2 [14:17:41]MH_I2C_Read... [14:17:41]Read from MH i2c: E2 62 00 [14:17:41]MH_I2C_Read... [14:17:41]Read from MH i2c: E2 62 00 76 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E2 DE 00 00 0E 04 04 00 F0 01 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 B1 [14:17:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E2 DE 00 00 0E 04 04 00 F0 01 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 [14:17:41]wFMCommunicate OK [14:17:41]SAM_PROTO_GetFieldsCounters done [14:17:41]requested_item shift.num is exist - process it [14:17:41]requested_item shift.opened is exist - process it [14:17:41]req_shift_opened [14:17:41]FM_GetShiftState [14:17:41]SAM_PROTO_GetShiftState [14:17:41]wFMCommunicate request_size=4 [14:17:41]MH_SAM_APDU [14:17:41]CAPDU: 80 13 01 00 [14:17:41]Write to MH i2c: E2 08 00 77 0A 80 13 01 00 00 00 00 00 FE [14:17:41]Write i2c OK [14:17:41]MH_I2C_Read... [14:17:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:17:41]Read from MH i2c: E2 [14:17:41]MH_I2C_Read... [14:17:41]Read from MH i2c: E2 0E 00 [14:17:41]MH_I2C_Read... [14:17:41]Read from MH i2c: E2 0E 00 77 0A 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 A5 [14:17:41]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [14:17:41]wFMCommunicate OK [14:17:41]SAM_PROTO_GetShiftState done [14:17:41]FM_GetShiftState done [14:17:41]req_shift_opened done [14:17:41]requested_item shift.open_date is exist - process it [14:17:41]req_shift_open_date [14:17:41]req_shift_open_date done [14:17:41]requested_item shift.sale.total is exist - process it [14:17:41]SAM_PROTO_GetShiftData [14:17:41]wFMCommunicate request_size=4 [14:17:41]MH_SAM_APDU [14:17:41]CAPDU: 80 13 02 00 [14:17:41]Write to MH i2c: E2 08 00 78 0A 80 13 02 00 00 00 00 00 00 [14:17:41]Write i2c OK [14:17:41]MH_I2C_Read... [14:17:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:17:42]Read from MH i2c: E2 [14:17:42]MH_I2C_Read... [14:17:42]Read from MH i2c: E2 FD 00 [14:17:42]MH_I2C_Read... [14:17:42]Read from MH i2c: E2 FD 00 78 0A 00 BB 04 AA 04 B7 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 40 0A 29 70 04 03 00 A0 A7 21 72 04 03 00 A0 62 07 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 BE 5B 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F2 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 5C [14:17:42]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 4B 00 00 00 69 04 9B 00 6F 04 04 00 49 00 00 00 B1 04 03 00 40 0A 29 70 04 03 00 A0 A7 21 72 04 03 00 A0 62 07 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 BE 5B 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 F2 5C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [14:17:42]wFMCommunicate OK [14:17:42]wFMCommunicate request_size=4 [14:17:42]MH_SAM_APDU [14:17:42]CAPDU: 80 17 00 00 [14:17:42]Write to MH i2c: E2 08 00 79 0A 80 17 00 00 00 00 00 00 03 [14:17:42]Write i2c OK [14:17:42]MH_I2C_Read... [14:17:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:17:42]Read from MH i2c: E2 [14:17:42]MH_I2C_Read... [14:17:42]Read from MH i2c: E2 FD 00 [14:17:42]MH_I2C_Read... [14:17:42]Read from MH i2c: E2 FD 00 79 0A 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 96 [14:17:42]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:17:42]wFMCommunicate OK [14:17:42]wFMCommunicate request_size=4 [14:17:42]MH_SAM_APDU [14:17:42]CAPDU: 80 17 00 00 [14:17:42]Write to MH i2c: E2 08 00 7A 0A 80 17 00 00 00 00 00 00 04 [14:17:42]Write i2c OK [14:17:42]MH_I2C_Read... [14:17:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:17:42]Read from MH i2c: E2 [14:17:42]MH_I2C_Read... [14:17:42]Read from MH i2c: E2 FD 00 [14:17:42]MH_I2C_Read... [14:17:42]Read from MH i2c: E2 FD 00 7A 0A 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 30 [14:17:42]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:17:42]wFMCommunicate OK [14:17:42]wFMCommunicate request_size=4 [14:17:42]MH_SAM_APDU [14:17:42]CAPDU: 80 17 00 00 [14:17:42]Write to MH i2c: E2 08 00 7B 0A 80 17 00 00 00 00 00 00 05 [14:17:42]Write i2c OK [14:17:42]MH_I2C_Read... [14:17:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:17:42]Read from MH i2c: E2 [14:17:42]MH_I2C_Read... [14:17:42]Read from MH i2c: E2 FD 00 [14:17:42]MH_I2C_Read... [14:17:42]Read from MH i2c: E2 FD 00 7B 0A 00 00 00 EF 03 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 90 00 7A [14:17:43]RAPDU: 00 00 EF 03 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 90 00 [14:17:43]wFMCommunicate OK [14:17:43]wFMCommunicate request_size=4 [14:17:43]MH_SAM_APDU [14:17:43]CAPDU: 80 17 00 00 [14:17:43]Write to MH i2c: E2 08 00 7C 0A 80 17 00 00 00 00 00 00 06 [14:17:43]Write i2c OK [14:17:43]MH_I2C_Read... [14:17:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [14:17:43]Read from MH i2c: E2 [14:17:43]MH_I2C_Read... [14:17:43]Read from MH i2c: E2 D8 00 [14:17:43]MH_I2C_Read... [14:17:43]Read from MH i2c: E2 D8 00 7C 0A 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 ED [14:17:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:17:43]wFMCommunicate OK [14:17:43]SAM_PROTO_GetShiftData done [14:17:43]requested_item shift.sale.total_cash is exist - process it [14:17:43]requested_item shift.sale_refund.total is exist - process it [14:17:43]requested_item shift.sale_refund.total_cash is exist - process it [14:17:43]produce_requested_data done [14:17:43]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57058,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26896.00,"shift.sale.total_cash":22056.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [14:17:43]process_action_free close_receipt [14:17:43]json_value_free [14:17:43]json_value_free done [14:17:43]process_json_proto returns [14:17:43]Send response to host [14:17:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57058,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":26896.00,"shift.sale.total_cash":22056.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [14:17:43]free response buf [14:17:43]execute_script done [14:17:43]execute_script returns [14:17:43]free content buf [14:17:43]Sock 9.Close socket [14:17:43]Sock 9.Thread stoped [14:17:44]accept exits with 7 [14:17:44]New connection [14:17:44]New thread 3067448676 created [14:17:44]Thread 3067592036 joined [14:17:44]Waiting for new connection... [14:17:44] Sock 7.Parse request [14:17:44]Sock 7.Check first char [14:17:44]Sock 7.First char is OK [14:17:44]request: POST /json_proto HTTP/1.0 [14:17:44]Method: POST [14:17:44]URL: /json_proto [14:17:44]Method is POST - this is cgi request [14:17:44]url: /json_proto [14:17:44]query_string will be loaded in cgi processing [14:17:44]execute_cgi json_proto POST (null) [14:17:44]execute_cgi path=json_proto method=POST [14:17:44]POST find Content-Length [14:17:44]Host: 172.17.39.4:8080 [14:17:44]Content-Length: 776 [14:17:44]Content-Type: application/json [14:17:44] [14:17:44]POST finish read [14:17:44]Found Content-Length = 776 [14:17:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129522", "tax_sys" : 0, "items" : [ { "code": "4620006995702", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u0435\u043B\u0435\u043D\u0430\u044F \u041C\u0430\u0440\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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:17:44]execute_script... [14:17: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)129522", "tax_sys" : 0, "items" : [ { "code": "4620006995702", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u0435\u043B\u0435\u043D\u0430\u044F \u041C\u0430\u0440\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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:17:44]POST & json_proto [14:17:44]process_json_proto [14:17:44]json parsed OK: [14:17:44]protocol is kg_v1.0 [14:17:44]action value=close_receipt [14:17:44]process_action close_receipt [14:17:44]cmd_close_receipt [14:17:44]MH_GetDate [14:17:44]Write to MH i2c: F0 00 00 7D 0A 76 [14:17:44]Write i2c OK [14:17:44]MH_I2C_Read... [14:17:44]Read from MH i2c: F0 [14:17:44]MH_I2C_Read... [14:17:44]Read from MH i2c: F0 09 00 [14:17:44]MH_I2C_Read... [14:17:44]Read from MH i2c: F0 09 00 7D 0A 00 0A DE 93 66 2D 25 5D 64 73 [14:17:44]GetLastDocTimeStamp 1720966659 [14:17:44]current date 1720966666 [14:17:44]FM_GetShiftState [14:17:44]SAM_PROTO_GetShiftState [14:17:44]wFMCommunicate request_size=4 [14:17:44]MH_SAM_APDU [14:17:44]CAPDU: 80 13 01 00 [14:17:44]Write to MH i2c: E2 08 00 7E 0A 80 13 01 00 00 00 00 00 05 [14:17:44]Write i2c OK [14:17:44]MH_I2C_Read... [14:17:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:17:44]Read from MH i2c: E2 [14:17:44]MH_I2C_Read... [14:17:44]Read from MH i2c: E2 0E 00 [14:17:44]MH_I2C_Read... [14:17:44]Read from MH i2c: E2 0E 00 7E 0A 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 AC [14:17:44]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [14:17:44]wFMCommunicate OK [14:17:44]SAM_PROTO_GetShiftState done [14:17:44]FM_GetShiftState done [14:17:44]opened in 1720917126 [14:17:44]opened+sec_in_day 1721003526 [14:17:44]quantity*price = 13000 [14:17:44]sum+1 = 13001 [14:17:44]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 130.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 76 14.07.2024 14:17 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57059 ФПД: 146087580880493 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T141746&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57059&fm=146087580880493&tin=02508201610067®Number=0000000000091208&sum=13000 0 [14:17:45]StoreToDocumentArchive [14:17:45]shift 496 fd 57059 [14:17:45]save to /storage/0496/doc_00057059 [14:17:45]save last doc name /storage/0496/doc_00057059 to /storage/kkm_last_doc_name [14:17:45]save OK [14:17:45]Clear old archive folders... [14:17:45]ProcessDocumentItem done err = 0, tmpTLVsize=284 [14:17:45]tlvbuf is 01011B50 [14:17:45]SAM_PROTO_ClearQueue [14:17:45]wFMCommunicate request_size=4 [14:17:45]MH_SAM_APDU [14:17:45]CAPDU: 80 09 00 00 [14:17:45]Write to MH i2c: E2 08 00 8B 0A 80 09 00 00 00 00 00 00 07 [14:17:45]Write i2c OK [14:17:45]MH_I2C_Read... [14:17:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:17:45]Read from MH i2c: E2 [14:17:45]MH_I2C_Read... [14:17:45]Read from MH i2c: E2 03 00 [14:17:45]MH_I2C_Read... [14:17:45]Read from MH i2c: E2 03 00 8B 0A 00 90 00 09 [14:17:45]RAPDU: 90 00 [14:17:45]wFMCommunicate OK [14:17:45]SAM_PROTO_ClearQueue done [14:17:45]KKMCreateOFDPacket [14:17:45]OFDProtocolAddRootSTLVToBuf [14:17:45]FM_MakeSignedData [14:17:45]FM_MakeSignedData [14:17:45]SAM_PROTO_SignData [14:17:45]wFMCommunicate request_size=4 [14:17:45]MH_SAM_APDU [14:17:45]CAPDU: 80 0D 01 02 [14:17:45]Write to MH i2c: E2 08 00 8C 0A 80 0D 01 02 00 00 00 00 0F [14:17:45]Write i2c OK [14:17:45]MH_I2C_Read... [14:17:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:17:46]Read from MH i2c: E2 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 03 00 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 03 00 8C 0A 00 90 00 0A [14:17:46]RAPDU: 90 00 [14:17:46]wFMCommunicate OK [14:17:46]wFMCommunicate request_size=255 [14:17:46]MH_SAM_APDU [14:17:46]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 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 4C 00 00 00 F4 03 04 00 0A DE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [14:17:46]Write to MH i2c: E2 02 01 8D 0A 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 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 4C 00 00 00 F4 03 04 00 0A DE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 83 [14:17:46]Write i2c OK [14:17:46]MH_I2C_Read... [14:17:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:17:46]Read from MH i2c: E2 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 03 00 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 03 00 8D 0A 00 90 00 0B [14:17:46]RAPDU: 90 00 [14:17:46]wFMCommunicate OK [14:17:46]wFMCommunicate request_size=43 [14:17:46]MH_SAM_APDU [14:17:46]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E3 DE 00 00 35 04 06 00 84 DD AA 5D 4E 6D [14:17:46]Write to MH i2c: E2 2E 00 8E 0A 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E3 DE 00 00 35 04 06 00 84 DD AA 5D 4E 6D 00 00 E5 [14:17:46]Write i2c OK [14:17:46]MH_I2C_Read... [14:17:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:17:46]Read from MH i2c: E2 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 03 00 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 03 00 8E 0A 00 90 00 0C [14:17:46]RAPDU: 90 00 [14:17:46]wFMCommunicate OK [14:17:46]wFMCommunicate request_size=4 [14:17:46]MH_SAM_APDU [14:17:46]CAPDU: 80 0D 03 02 [14:17:46]Write to MH i2c: E2 08 00 8F 0A 80 0D 03 02 00 00 00 00 14 [14:17:46]Write i2c OK [14:17:46]MH_I2C_Read... [14:17:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:17:46]Read from MH i2c: E2 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 0B 00 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 0B 00 8F 0A 00 6E 06 74 21 30 A7 9C B1 90 00 42 [14:17:46]RAPDU: 6E 06 74 21 30 A7 9C B1 90 00 [14:17:46]wFMCommunicate OK [14:17:46]SAM_PROTO_SignData done [14:17:46]FM_MakeSignedData done [14:17:46]CreateOFDProtocolMessage [14:17:46]wFMCommunicate request_size=4 [14:17:46]MH_SAM_APDU [14:17:46]CAPDU: 80 11 00 00 [14:17:46]Write to MH i2c: E2 08 00 90 0A 80 11 00 00 00 00 00 00 14 [14:17:46]Write i2c OK [14:17:46]MH_I2C_Read... [14:17:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:17:46]Read from MH i2c: E2 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 17 00 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: E2 17 00 90 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6E [14:17:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:17:46]wFMCommunicate OK [14:17:46]CreateOFDProtocolMessage done [14:17:46]OFDSenderStorePacket 57059 [14:17:46]StoreOFDPacket docnum=57059 [14:17:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 30 01 00 00 6B 28 28 01 78 42 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 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 4C 00 00 00 F4 03 04 00 0A DE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E3 DE 00 00 35 04 06 00 84 DD AA 5D 4E 6D 6E 06 74 21 30 A7 9C B1 [14:17:46]CheckFolder [14:17:46]dirname=/storage/ofd_packets [14:17:46]CheckFolder done [14:17:46]ProducePacketName [14:17:46]name=ofd_packets/00057059 [14:17:46]NVStorageSaveData ofd_packets/00057059 [14:17:46]File name is /storage/ofd_packets/00057059 [14:17:46]Write 334 bytes [14:17:46]NVStorageSaveData done [14:17:46]OFDSenderStorePacket done [14:17:46]KKMCreateOFDPacket done [14:17:46]NVStorageSaveData kkm_last_timestamp [14:17:46]File name is /storage/kkm_last_timestamp [14:17:46]Write 4 bytes [14:17:46]NVStorageSaveData done [14:17:46]ExternCall_PrintAddStr [14:17:46]wPrintStart [14:17:46]Write to MH i2c: 01 00 00 91 0A 9B [14:17:46]Write i2c OK [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: 01 [14:17:46]MH_I2C_Read... [14:17:46]Read from MH i2c: 01 07 00 [14:17:46]MH_I2C_Read... [14:17:46]OFD Sender: Processing packet 57059 [packets to send 38, broken 37] [14:17:46]ProducePacketName [14:17:46]name=ofd_packets/00057059 [14:17:46]OFD Sender: To server: pG, [14:17:46]CommunicateWithHost lk.salyk.kg:30040 [14:17:46]ConnectInit lk.salyk.kg [14:17:46]Read from MH i2c: 01 07 00 91 0A 00 00 00 00 00 FF 0F B0 [14:17:46]RasterBufferAndPrint [14:17:46]line Счет N : (3)129522 [14:17:46]line ИНН: 02508201610067 [14:17:46]line Контрольно-Кассовый Чек [14:17:46]line ПРОДАЖА [14:17:46]line Товар: 4620006995702 [14:17:46]line Водка Зеленая Марка 0,1л [14:17:46]line 1.000 * 130.00 [14:17:46]line = 130.00 [14:17:46]line НДС 12% НСП 1% [14:17:46]line > о реализуемом товаре [14:17:46]line ИТОГО: 130.00 [14:17:46]line НСП 1% : 1.15 [14:17:46]line НДС 12% : 13.80 [14:17:46]line Наличными: 130.00 [14:17:46]line Безнал.: 0.00 [14:17:46]line Место: АЗС № 132 "Партнер Нефть" [14:17:46]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:17:46]line СНО: Общий режим [14:17:46]line Чек 76 14.07.2024 14:17 [14:17:46]line Смена: 496 ФФД: 1.0 [14:17:46]line ЗНМ: 0300000132 [14:17:46]line РНМ: 0000000000091208 [14:17:46]line Версия ККМ: 001 [14:17:46]line ФМ: 0000000000874857 [14:17:46]line ФД: 57059 [14:17:46]line ФПД: 146087580880493 [14:17:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T141746&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57059&fm=146087580880493&tin=02508201610067®Number=0000000000091208&sum=13000 [14:17:46]line 0 [14:17:46]written 0, free lines is 4095 [14:17:46]Connected sock=10 [14:17:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 30 01 00 00 6B 28 28 01 78 42 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 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 4C 00 00 00 F4 03 04 00 0A DE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E3 DE 00 00 35 04 06 00 84 DD AA 5D 4E 6D 6E 06 74 21 30 A7 9C B1 [14:17:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 CF 80 47 00 E4 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E3 DE 00 00 F4 03 04 00 5B 84 93 66 B6 04 01 00 00 13 77 DF 1A 40 5F 97 8E [14:17:47]CommunicateWithHost err = 0 [14:17:47]CheckOFDResponse [14:17:47]1017 (14) - 77093643461234 [14:17:47]1041 (16) - 0000000000874857 [14:17:47]1040 (4) - 57059 [14:17:47]1012 (4) - 14.07.2024 07:55 [14:17:47]1206 (1) - 0 [14:17:47]OFD Sender: Remove packet 57059 [14:17:47]ProducePacketName [14:17:47]name=ofd_packets/00057059 [14:17:47]NVStorageDeleteData [14:17:47]Write to MH i2c: 01 00 00 B9 0A C3 [14:17:47]Write i2c OK [14:17:47]MH_I2C_Read... [14:17:47]Read from MH i2c: 01 [14:17:47]MH_I2C_Read... [14:17:47]Read from MH i2c: 01 07 00 [14:17:47]MH_I2C_Read... [14:17:47]Read from MH i2c: 01 07 00 B9 0A 00 00 00 00 00 14 0D EB [14:17:47]RasterBufferAndPrint [14:17:47]line [14:17:47]line [14:17:47]line [14:17:47]line [14:17:47]line [14:17:47]written 0, free lines is 3366 [14:17:47]MH_Cut [14:17:47]Write to MH i2c: D1 01 00 C0 0A 01 9C [14:17:47]Write i2c OK [14:17:47]MH_I2C_Read... [14:17:47]Read from MH i2c: D1 [14:17:47]MH_I2C_Read... [14:17:47]Read from MH i2c: D1 01 00 [14:17:47]MH_I2C_Read... [14:17:47]Read from MH i2c: D1 01 00 C0 0A 00 9B [14:17:47]Write to MH i2c: 01 00 00 C1 0A CB [14:17:47]Write i2c OK [14:17:47]MH_I2C_Read... [14:17:47]OFD Sender: No OFD packet to send [14:17:47]*** Cut start [14:17:47]*** Partial cut [14:17:47]*** CUTSNS_PIN = 1 [14:17:47]*** CUTSNS_PIN = 0 [14:17:48]*** Brake cut motor [14:17:48]Read from MH i2c: 01 [14:17:48]MH_I2C_Read... [14:17:48]*** Stop cut motor [14:17:48]*** Cut end [14:17:48]Read from MH i2c: 01 07 00 [14:17:48]MH_I2C_Read... [14:17:48]Read from MH i2c: 01 07 00 C1 0A 00 00 00 00 00 FF 0F E0 [14:17:48]process_action close_receipt done [14:17:48]requested_data is exist [14:17:48]produce_requested_data [14:17:48]requested_item fm.sn is exist - process it [14:17:48]wFMCommunicate request_size=4 [14:17:48]MH_SAM_APDU [14:17:48]CAPDU: 80 11 00 00 [14:17:48]Write to MH i2c: E2 08 00 C2 0A 80 11 00 00 00 00 00 00 46 [14:17:48]Write i2c OK [14:17:48]MH_I2C_Read... [14:17:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:17:48]Read from MH i2c: E2 [14:17:48]MH_I2C_Read... [14:17:48]Read from MH i2c: E2 17 00 [14:17:48]MH_I2C_Read... [14:17:48]Read from MH i2c: E2 17 00 C2 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A0 [14:17:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:17:48]wFMCommunicate OK [14:17:48]requested_item fd.num is exist - process it [14:17:48]SAM_PROTO_GetFieldsCounters [14:17:48]wFMCommunicate request_size=4 [14:17:48]MH_SAM_APDU [14:17:48]CAPDU: 80 13 00 00 [14:17:48]Write to MH i2c: E2 08 00 C3 0A 80 13 00 00 00 00 00 00 49 [14:17:48]Write i2c OK [14:17:48]MH_I2C_Read... [14:17:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:17:48]Read from MH i2c: E2 [14:17:48]MH_I2C_Read... [14:17:48]Read from MH i2c: E2 62 00 [14:17:48]MH_I2C_Read... [14:17:48]Read from MH i2c: E2 62 00 C3 0A 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E3 DE 00 00 0E 04 04 00 F0 01 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 02 [14:17:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E3 DE 00 00 0E 04 04 00 F0 01 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 [14:17:48]wFMCommunicate OK [14:17:48]SAM_PROTO_GetFieldsCounters done [14:17:48]requested_item shift.num is exist - process it [14:17:48]requested_item shift.opened is exist - process it [14:17:48]req_shift_opened [14:17:48]FM_GetShiftState [14:17:48]SAM_PROTO_GetShiftState [14:17:48]wFMCommunicate request_size=4 [14:17:48]MH_SAM_APDU [14:17:48]CAPDU: 80 13 01 00 [14:17:48]Write to MH i2c: E2 08 00 C4 0A 80 13 01 00 00 00 00 00 4B [14:17:48]Write i2c OK [14:17:48]MH_I2C_Read... [14:17:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:17:48]Read from MH i2c: E2 [14:17:48]MH_I2C_Read... [14:17:48]Read from MH i2c: E2 0E 00 [14:17:48]MH_I2C_Read... [14:17:48]Read from MH i2c: E2 0E 00 C4 0A 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 F2 [14:17:48]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [14:17:48]wFMCommunicate OK [14:17:48]SAM_PROTO_GetShiftState done [14:17:48]FM_GetShiftState done [14:17:48]req_shift_opened done [14:17:48]requested_item shift.open_date is exist - process it [14:17:48]req_shift_open_date [14:17:48]req_shift_open_date done [14:17:48]requested_item shift.sale.total is exist - process it [14:17:48]SAM_PROTO_GetShiftData [14:17:48]wFMCommunicate request_size=4 [14:17:48]MH_SAM_APDU [14:17:48]CAPDU: 80 13 02 00 [14:17:48]Write to MH i2c: E2 08 00 C5 0A 80 13 02 00 00 00 00 00 4D [14:17:48]Write i2c OK [14:17:48]MH_I2C_Read... [14:17:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:17:49]Read from MH i2c: E2 [14:17:49]MH_I2C_Read... [14:17:49]Read from MH i2c: E2 FD 00 [14:17:49]MH_I2C_Read... [14:17:49]Read from MH i2c: E2 FD 00 C5 0A 00 BB 04 AA 04 B7 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4A 00 00 00 B1 04 03 00 08 3D 29 70 04 03 00 68 DA 21 72 04 03 00 A0 62 07 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 22 61 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 65 5D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 7F [14:17:49]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 4C 00 00 00 69 04 9B 00 6F 04 04 00 4A 00 00 00 B1 04 03 00 08 3D 29 70 04 03 00 68 DA 21 72 04 03 00 A0 62 07 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 22 61 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 65 5D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [14:17:49]wFMCommunicate OK [14:17:49]wFMCommunicate request_size=4 [14:17:49]MH_SAM_APDU [14:17:49]CAPDU: 80 17 00 00 [14:17:49]Write to MH i2c: E2 08 00 C6 0A 80 17 00 00 00 00 00 00 50 [14:17:49]Write i2c OK [14:17:49]MH_I2C_Read... [14:17:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:17:49]Read from MH i2c: E2 [14:17:49]MH_I2C_Read... [14:17:49]Read from MH i2c: E2 FD 00 [14:17:49]MH_I2C_Read... [14:17:49]Read from MH i2c: E2 FD 00 C6 0A 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E3 [14:17:49]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:17:49]wFMCommunicate OK [14:17:49]wFMCommunicate request_size=4 [14:17:49]MH_SAM_APDU [14:17:49]CAPDU: 80 17 00 00 [14:17:49]Write to MH i2c: E2 08 00 C7 0A 80 17 00 00 00 00 00 00 51 [14:17:49]Write i2c OK [14:17:49]MH_I2C_Read... [14:17:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:17:50]Read from MH i2c: E2 [14:17:50]MH_I2C_Read... [14:17:50]Read from MH i2c: E2 FD 00 [14:17:50]MH_I2C_Read... [14:17:50]Read from MH i2c: E2 FD 00 C7 0A 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7D [14:17:50]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:17:50]wFMCommunicate OK [14:17:50]wFMCommunicate request_size=4 [14:17:50]MH_SAM_APDU [14:17:50]CAPDU: 80 17 00 00 [14:17:50]Write to MH i2c: E2 08 00 C8 0A 80 17 00 00 00 00 00 00 52 [14:17:50]Write i2c OK [14:17:50]MH_I2C_Read... [14:17:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:17:50]Read from MH i2c: E2 [14:17:50]MH_I2C_Read... [14:17:50]Read from MH i2c: E2 FD 00 [14:17:50]MH_I2C_Read... [14:17:50]Read from MH i2c: E2 FD 00 C8 0A 00 00 00 EF 03 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 90 00 C7 [14:17:50]RAPDU: 00 00 EF 03 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 90 00 [14:17:50]wFMCommunicate OK [14:17:50]wFMCommunicate request_size=4 [14:17:50]MH_SAM_APDU [14:17:50]CAPDU: 80 17 00 00 [14:17:50]Write to MH i2c: E2 08 00 C9 0A 80 17 00 00 00 00 00 00 53 [14:17:50]Write i2c OK [14:17:50]MH_I2C_Read... [14:17:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [14:17:50]Read from MH i2c: E2 [14:17:50]MH_I2C_Read... [14:17:50]Read from MH i2c: E2 D8 00 [14:17:50]MH_I2C_Read... [14:17:50]Read from MH i2c: E2 D8 00 C9 0A 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 3A [14:17:51]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:17:51]wFMCommunicate OK [14:17:51]SAM_PROTO_GetShiftData done [14:17:51]requested_item shift.sale.total_cash is exist - process it [14:17:51]requested_item shift.sale_refund.total is exist - process it [14:17:51]requested_item shift.sale_refund.total_cash is exist - process it [14:17:51]produce_requested_data done [14:17:51]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57059,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":27026.00,"shift.sale.total_cash":22186.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [14:17:51]process_action_free close_receipt [14:17:51]json_value_free [14:17:51]json_value_free done [14:17:51]process_json_proto returns [14:17:51]Send response to host [14:17:51]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57059,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":27026.00,"shift.sale.total_cash":22186.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [14:17:51]free response buf [14:17:51]execute_script done [14:17:51]execute_script returns [14:17:51]free content buf [14:17:51]Sock 7.Close socket [14:17:51]Sock 7.Thread stoped [14:17:52]OFD Sender: No OFD packet to send [14:17:57]OFD Sender: No OFD packet to send [14:18:02]OFD Sender: No OFD packet to send [14:18:07]OFD Sender: No OFD packet to send [14:18:12]OFD Sender: No OFD packet to send [14:18:17]OFD Sender: No OFD packet to send [14:18:22]OFD Sender: No OFD packet to send [14:18:27]OFD Sender: No OFD packet to send [14:18:32]OFD Sender: No OFD packet to send [14:18:37]OFD Sender: No OFD packet to send [14:18:42]OFD Sender: No OFD packet to send [14:18:47]OFD Sender: No OFD packet to send [14:18:52]OFD Sender: No OFD packet to send [14:18:57]OFD Sender: No OFD packet to send [14:19:02]OFD Sender: No OFD packet to send [14:19:07]OFD Sender: No OFD packet to send [14:19:12]OFD Sender: No OFD packet to send [14:19:17]OFD Sender: No OFD packet to send [14:19:22]OFD Sender: No OFD packet to send [14:19:27]OFD Sender: No OFD packet to send [14:19:32]OFD Sender: No OFD packet to send [14:19:37]OFD Sender: No OFD packet to send [14:19:42]OFD Sender: No OFD packet to send [14:19:47]OFD Sender: No OFD packet to send [14:19:52]OFD Sender: No OFD packet to send [14:19:57]OFD Sender: No OFD packet to send [14:20:02]OFD Sender: No OFD packet to send [14:20:07]OFD Sender: No OFD packet to send [14:20:12]OFD Sender: No OFD packet to send [14:20:17]OFD Sender: No OFD packet to send [14:20:22]OFD Sender: No OFD packet to send [14:20:27]OFD Sender: No OFD packet to send [14:20:32]OFD Sender: No OFD packet to send [14:20:37]OFD Sender: No OFD packet to send [14:20:42]OFD Sender: No OFD packet to send [14:20:47]OFD Sender: No OFD packet to send [14:20:52]OFD Sender: No OFD packet to send [14:20:57]OFD Sender: No OFD packet to send [14:21:02]OFD Sender: No OFD packet to send [14:21:07]OFD Sender: No OFD packet to send [14:21:12]OFD Sender: No OFD packet to send [14:21:17]OFD Sender: No OFD packet to send [14:21:22]OFD Sender: No OFD packet to send [14:21:27]OFD Sender: No OFD packet to send [14:21:32]OFD Sender: No OFD packet to send [14:21:37]OFD Sender: No OFD packet to send [14:21:42]OFD Sender: No OFD packet to send [14:21:47]OFD Sender: No OFD packet to send [14:21:52]OFD Sender: No OFD packet to send [14:21:57]OFD Sender: No OFD packet to send [14:22:02]OFD Sender: No OFD packet to send [14:22:07]OFD Sender: No OFD packet to send [14:22:12]OFD Sender: No OFD packet to send [14:22:17]OFD Sender: No OFD packet to send [14:22:22]OFD Sender: No OFD packet to send [14:22:27]OFD Sender: No OFD packet to send [14:22:32]OFD Sender: No OFD packet to send [14:22:37]OFD Sender: No OFD packet to send [14:22:42]OFD Sender: No OFD packet to send [14:22:47]OFD Sender: No OFD packet to send [14:22:52]OFD Sender: No OFD packet to send [14:22:57]OFD Sender: No OFD packet to send [14:23:02]OFD Sender: No OFD packet to send [14:23:07]OFD Sender: No OFD packet to send [14:23:12]OFD Sender: No OFD packet to send [14:23:17]OFD Sender: No OFD packet to send [14:23:22]OFD Sender: No OFD packet to send [14:23:27]OFD Sender: No OFD packet to send [14:23:32]OFD Sender: No OFD packet to send [14:23:37]OFD Sender: No OFD packet to send [14:23:42]OFD Sender: No OFD packet to send [14:23:47]OFD Sender: No OFD packet to send [14:23:52]OFD Sender: No OFD packet to send [14:23:57]OFD Sender: No OFD packet to send [14:24:02]OFD Sender: No OFD packet to send [14:24:07]OFD Sender: No OFD packet to send [14:24:12]OFD Sender: No OFD packet to send [14:24:17]OFD Sender: No OFD packet to send [14:24:22]OFD Sender: No OFD packet to send [14:24:27]OFD Sender: No OFD packet to send [14:24:32]OFD Sender: No OFD packet to send [14:24:37]OFD Sender: No OFD packet to send [14:24:42]OFD Sender: No OFD packet to send [14:24:47]OFD Sender: No OFD packet to send [14:24:52]OFD Sender: No OFD packet to send [14:24:57]OFD Sender: No OFD packet to send [14:25:02]OFD Sender: No OFD packet to send [14:25:07]OFD Sender: No OFD packet to send [14:25:13]OFD Sender: No OFD packet to send [14:25:18]OFD Sender: No OFD packet to send [14:25:23]OFD Sender: No OFD packet to send [14:25:28]OFD Sender: No OFD packet to send [14:25:33]OFD Sender: No OFD packet to send [14:25:38]OFD Sender: No OFD packet to send [14:25:43]OFD Sender: No OFD packet to send [14:25:48]OFD Sender: No OFD packet to send [14:25:53]OFD Sender: No OFD packet to send [14:25:58]OFD Sender: No OFD packet to send [14:26:03]OFD Sender: No OFD packet to send [14:26:08]OFD Sender: No OFD packet to send [14:26:13]OFD Sender: No OFD packet to send [14:26:18]OFD Sender: No OFD packet to send [14:26:23]OFD Sender: No OFD packet to send [14:26:28]OFD Sender: No OFD packet to send [14:26:33]OFD Sender: No OFD packet to send [14:26:38]OFD Sender: No OFD packet to send [14:26:43]OFD Sender: No OFD packet to send [14:26:48]OFD Sender: No OFD packet to send [14:26:53]OFD Sender: No OFD packet to send [14:26:58]OFD Sender: No OFD packet to send [14:27:03]OFD Sender: No OFD packet to send [14:27:08]OFD Sender: No OFD packet to send [14:27:13]OFD Sender: No OFD packet to send [14:27:18]OFD Sender: No OFD packet to send [14:27:23]OFD Sender: No OFD packet to send [14:27:28]OFD Sender: No OFD packet to send [14:27:33]OFD Sender: No OFD packet to send [14:27:38]OFD Sender: No OFD packet to send [14:27:43]OFD Sender: No OFD packet to send [14:27:48]OFD Sender: No OFD packet to send [14:27:53]OFD Sender: No OFD packet to send [14:27:58]OFD Sender: No OFD packet to send [14:28:03]OFD Sender: No OFD packet to send [14:28:08]OFD Sender: No OFD packet to send [14:28:13]OFD Sender: No OFD packet to send [14:28:18]OFD Sender: No OFD packet to send [14:28:23]OFD Sender: No OFD packet to send [14:28:28]OFD Sender: No OFD packet to send [14:28:33]OFD Sender: No OFD packet to send [14:28:38]OFD Sender: No OFD packet to send [14:28:43]OFD Sender: No OFD packet to send [14:28:48]OFD Sender: No OFD packet to send [14:28:53]OFD Sender: No OFD packet to send [14:28:58]OFD Sender: No OFD packet to send [14:29:03]OFD Sender: No OFD packet to send [14:29:08]OFD Sender: No OFD packet to send [14:29:13]OFD Sender: No OFD packet to send [14:29:18]OFD Sender: No OFD packet to send [14:29:23]OFD Sender: No OFD packet to send [14:29:28]OFD Sender: No OFD packet to send [14:29:33]OFD Sender: No OFD packet to send [14:29:38]OFD Sender: No OFD packet to send [14:29:43]OFD Sender: No OFD packet to send [14:29:48]OFD Sender: No OFD packet to send [14:29:53]OFD Sender: No OFD packet to send [14:29:58]OFD Sender: No OFD packet to send [14:30:03]OFD Sender: No OFD packet to send [14:30:08]OFD Sender: No OFD packet to send [14:30:13]OFD Sender: No OFD packet to send [14:30:18]OFD Sender: No OFD packet to send [14:30:23]OFD Sender: No OFD packet to send [14:30:28]OFD Sender: No OFD packet to send [14:30:33]OFD Sender: No OFD packet to send [14:30:38]OFD Sender: No OFD packet to send [14:30:43]OFD Sender: No OFD packet to send [14:30:48]OFD Sender: No OFD packet to send [14:30:53]OFD Sender: No OFD packet to send [14:30:58]OFD Sender: No OFD packet to send [14:31:03]OFD Sender: No OFD packet to send [14:31:08]OFD Sender: No OFD packet to send [14:31:13]OFD Sender: No OFD packet to send [14:31:18]OFD Sender: No OFD packet to send [14:31:23]OFD Sender: No OFD packet to send [14:31:28]OFD Sender: No OFD packet to send [14:31:33]OFD Sender: No OFD packet to send [14:31:38]OFD Sender: No OFD packet to send [14:31:43]OFD Sender: No OFD packet to send [14:31:48]OFD Sender: No OFD packet to send [14:31:53]OFD Sender: No OFD packet to send [14:31:58]OFD Sender: No OFD packet to send [14:32:03]OFD Sender: No OFD packet to send [14:32:08]OFD Sender: No OFD packet to send [14:32:13]OFD Sender: No OFD packet to send [14:32:18]OFD Sender: No OFD packet to send [14:32:23]OFD Sender: No OFD packet to send [14:32:28]OFD Sender: No OFD packet to send [14:32:33]OFD Sender: No OFD packet to send [14:32:38]OFD Sender: No OFD packet to send [14:32:43]OFD Sender: No OFD packet to send [14:32:48]OFD Sender: No OFD packet to send [14:32:53]OFD Sender: No OFD packet to send [14:32:58]OFD Sender: No OFD packet to send [14:33:03]OFD Sender: No OFD packet to send [14:33:08]OFD Sender: No OFD packet to send [14:33:13]OFD Sender: No OFD packet to send [14:33:18]OFD Sender: No OFD packet to send [14:33:23]OFD Sender: No OFD packet to send [14:33:28]OFD Sender: No OFD packet to send [14:33:33]OFD Sender: No OFD packet to send [14:33:38]OFD Sender: No OFD packet to send [14:33:43]OFD Sender: No OFD packet to send [14:33:48]OFD Sender: No OFD packet to send [14:33:53]OFD Sender: No OFD packet to send [14:33:58]OFD Sender: No OFD packet to send [14:34:03]OFD Sender: No OFD packet to send [14:34:08]OFD Sender: No OFD packet to send [14:34:13]OFD Sender: No OFD packet to send [14:34:18]OFD Sender: No OFD packet to send [14:34:23]OFD Sender: No OFD packet to send [14:34:28]OFD Sender: No OFD packet to send [14:34:33]OFD Sender: No OFD packet to send [14:34:38]OFD Sender: No OFD packet to send [14:34:43]OFD Sender: No OFD packet to send [14:34:48]OFD Sender: No OFD packet to send [14:34:53]OFD Sender: No OFD packet to send [14:34:58]OFD Sender: No OFD packet to send [14:35:03]OFD Sender: No OFD packet to send [14:35:08]OFD Sender: No OFD packet to send [14:35:13]OFD Sender: No OFD packet to send [14:35:18]OFD Sender: No OFD packet to send [14:35:23]OFD Sender: No OFD packet to send [14:35:28]OFD Sender: No OFD packet to send [14:35:33]OFD Sender: No OFD packet to send [14:35:38]OFD Sender: No OFD packet to send [14:35:43]OFD Sender: No OFD packet to send [14:35:48]OFD Sender: No OFD packet to send [14:35:53]OFD Sender: No OFD packet to send [14:35:58]OFD Sender: No OFD packet to send [14:36:03]OFD Sender: No OFD packet to send [14:36:08]OFD Sender: No OFD packet to send [14:36:13]OFD Sender: No OFD packet to send [14:36:18]OFD Sender: No OFD packet to send [14:36:23]OFD Sender: No OFD packet to send [14:36:28]OFD Sender: No OFD packet to send [14:36:33]OFD Sender: No OFD packet to send [14:36:38]OFD Sender: No OFD packet to send [14:36:43]OFD Sender: No OFD packet to send [14:36:48]OFD Sender: No OFD packet to send [14:36:53]OFD Sender: No OFD packet to send [14:36:58]OFD Sender: No OFD packet to send [14:37:03]OFD Sender: No OFD packet to send [14:37:08]OFD Sender: No OFD packet to send [14:37:13]OFD Sender: No OFD packet to send [14:37:18]OFD Sender: No OFD packet to send [14:37:23]OFD Sender: No OFD packet to send [14:37:28]OFD Sender: No OFD packet to send [14:37:33]OFD Sender: No OFD packet to send [14:37:38]OFD Sender: No OFD packet to send [14:37:43]OFD Sender: No OFD packet to send [14:37:48]OFD Sender: No OFD packet to send [14:37:53]OFD Sender: No OFD packet to send [14:37:58]OFD Sender: No OFD packet to send [14:38:03]OFD Sender: No OFD packet to send [14:38:08]OFD Sender: No OFD packet to send [14:38:13]OFD Sender: No OFD packet to send [14:38:18]OFD Sender: No OFD packet to send [14:38:23]OFD Sender: No OFD packet to send [14:38:28]OFD Sender: No OFD packet to send [14:38:33]OFD Sender: No OFD packet to send [14:38:38]OFD Sender: No OFD packet to send [14:38:43]OFD Sender: No OFD packet to send [14:38:48]OFD Sender: No OFD packet to send [14:38:53]OFD Sender: No OFD packet to send [14:38:58]OFD Sender: No OFD packet to send [14:39:03]OFD Sender: No OFD packet to send [14:39:08]OFD Sender: No OFD packet to send [14:39:13]OFD Sender: No OFD packet to send [14:39:18]OFD Sender: No OFD packet to send [14:39:23]OFD Sender: No OFD packet to send [14:39:28]OFD Sender: No OFD packet to send [14:39:33]OFD Sender: No OFD packet to send [14:39:38]OFD Sender: No OFD packet to send [14:39:43]OFD Sender: No OFD packet to send [14:39:48]OFD Sender: No OFD packet to send [14:39:53]OFD Sender: No OFD packet to send [14:39:58]OFD Sender: No OFD packet to send [14:40:03]OFD Sender: No OFD packet to send [14:40:08]OFD Sender: No OFD packet to send [14:40:13]OFD Sender: No OFD packet to send [14:40:18]OFD Sender: No OFD packet to send [14:40:23]OFD Sender: No OFD packet to send [14:40:28]OFD Sender: No OFD packet to send [14:40:33]OFD Sender: No OFD packet to send [14:40:38]OFD Sender: No OFD packet to send [14:40:43]OFD Sender: No OFD packet to send [14:40:48]OFD Sender: No OFD packet to send [14:40:53]OFD Sender: No OFD packet to send [14:40:58]OFD Sender: No OFD packet to send [14:41:03]OFD Sender: No OFD packet to send [14:41:08]OFD Sender: No OFD packet to send [14:41:13]OFD Sender: No OFD packet to send [14:41:18]OFD Sender: No OFD packet to send [14:41:23]OFD Sender: No OFD packet to send [14:41:28]OFD Sender: No OFD packet to send [14:41:33]OFD Sender: No OFD packet to send [14:41:38]OFD Sender: No OFD packet to send [14:41:43]OFD Sender: No OFD packet to send [14:41:48]OFD Sender: No OFD packet to send [14:41:53]OFD Sender: No OFD packet to send [14:41:58]OFD Sender: No OFD packet to send [14:42:03]OFD Sender: No OFD packet to send [14:42:08]OFD Sender: No OFD packet to send [14:42:13]OFD Sender: No OFD packet to send [14:42:18]OFD Sender: No OFD packet to send [14:42:23]OFD Sender: No OFD packet to send [14:42:28]OFD Sender: No OFD packet to send [14:42:33]OFD Sender: No OFD packet to send [14:42:38]OFD Sender: No OFD packet to send [14:42:43]OFD Sender: No OFD packet to send [14:42:48]OFD Sender: No OFD packet to send [14:42:53]OFD Sender: No OFD packet to send [14:42:58]OFD Sender: No OFD packet to send [14:43:03]OFD Sender: No OFD packet to send [14:43:08]OFD Sender: No OFD packet to send [14:43:13]OFD Sender: No OFD packet to send [14:43:18]OFD Sender: No OFD packet to send [14:43:23]OFD Sender: No OFD packet to send [14:43:28]accept exits with 9 [14:43:28]New connection [14:43:28]New thread 3067592036 created [14:43:28]Thread 3067448676 joined [14:43:28]Waiting for new connection... [14:43:28] Sock 9.Parse request [14:43:28]Sock 9.Check first char [14:43:28]Sock 9.First char is OK [14:43:28]request: POST /json_proto HTTP/1.0 [14:43:28]Method: POST [14:43:28]URL: /json_proto [14:43:28]Method is POST - this is cgi request [14:43:28]url: /json_proto [14:43:28]query_string will be loaded in cgi processing [14:43:28]execute_cgi json_proto POST (null) [14:43:28]execute_cgi path=json_proto method=POST [14:43:28]POST find Content-Length [14:43:28]Host: 172.17.39.4:8080 [14:43:28]Content-Length: 873 [14:43:28]Content-Type: application/json [14:43:28] [14:43:28]POST finish read [14:43:28]Found Content-Length = 873 [14:43:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129523", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:43:28]execute_script... [14:43:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129523", "tax_sys" : 0, "items" : [ { "code": "48744539", "name": "LD Compact Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:43:28]POST & json_proto [14:43:28]process_json_proto [14:43:28]json parsed OK: [14:43:28]protocol is kg_v1.0 [14:43:28]action value=close_receipt [14:43:28]process_action close_receipt [14:43:28]cmd_close_receipt [14:43:28]MH_GetDate [14:43:28]Write to MH i2c: F0 00 00 CA 0A C3 [14:43:28]Write i2c OK [14:43:28]MH_I2C_Read... [14:43:28]Read from MH i2c: F0 [14:43:28]MH_I2C_Read... [14:43:28]Read from MH i2c: F0 09 00 [14:43:28]MH_I2C_Read... [14:43:28]Read from MH i2c: F0 09 00 CA 0A 00 12 E4 93 66 2D 25 5D 64 CE [14:43:28]GetLastDocTimeStamp 1720966666 [14:43:28]current date 1720968210 [14:43:28]FM_GetShiftState [14:43:28]SAM_PROTO_GetShiftState [14:43:28]wFMCommunicate request_size=4 [14:43:28]MH_SAM_APDU [14:43:28]CAPDU: 80 13 01 00 [14:43:28]Write to MH i2c: E2 08 00 CB 0A 80 13 01 00 00 00 00 00 52 [14:43:28]Write i2c OK [14:43:28]MH_I2C_Read... [14:43:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:43:28]Read from MH i2c: E2 [14:43:28]MH_I2C_Read... [14:43:28]Read from MH i2c: E2 0E 00 [14:43:28]MH_I2C_Read... [14:43:28]Read from MH i2c: E2 0E 00 CB 0A 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 F9 [14:43:28]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [14:43:28]wFMCommunicate OK [14:43:28]SAM_PROTO_GetShiftState done [14:43:28]FM_GetShiftState done [14:43:28]opened in 1720917126 [14:43:28]opened+sec_in_day 1721003526 [14:43:28]quantity*price = 13000 [14:43:28]sum+1 = 13001 [14:43:28]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 77 14.07.2024 14:43 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57060 ФПД: 86844890001583 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T144330&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57060&fm=86844890001583&tin=02508201610067®Number=0000000000091208&sum=13000 0 [14:43:30]StoreToDocumentArchive [14:43:30]shift 496 fd 57060 [14:43:30]save to /storage/0496/doc_00057060 [14:43:30]save last doc name /storage/0496/doc_00057060 to /storage/kkm_last_doc_name [14:43:30]save OK [14:43:30]Clear old archive folders... [14:43:30]ProcessDocumentItem done err = 0, tmpTLVsize=252 [14:43:30]tlvbuf is 00FC3B20 [14:43:30]SAM_PROTO_ClearQueue [14:43:30]wFMCommunicate request_size=4 [14:43:30]MH_SAM_APDU [14:43:30]CAPDU: 80 09 00 00 [14:43:30]Write to MH i2c: E2 08 00 D8 0A 80 09 00 00 00 00 00 00 54 [14:43:30]Write i2c OK [14:43:30]MH_I2C_Read... [14:43:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:43:30]Read from MH i2c: E2 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 03 00 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 03 00 D8 0A 00 90 00 56 [14:43:30]RAPDU: 90 00 [14:43:30]wFMCommunicate OK [14:43:30]SAM_PROTO_ClearQueue done [14:43:30]KKMCreateOFDPacket [14:43:30]OFDProtocolAddRootSTLVToBuf [14:43:30]FM_MakeSignedData [14:43:30]FM_MakeSignedData [14:43:30]SAM_PROTO_SignData [14:43:30]wFMCommunicate request_size=4 [14:43:30]MH_SAM_APDU [14:43:30]CAPDU: 80 0D 01 02 [14:43:30]Write to MH i2c: E2 08 00 D9 0A 80 0D 01 02 00 00 00 00 5C [14:43:30]Write i2c OK [14:43:30]MH_I2C_Read... [14:43:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:43:30]Read from MH i2c: E2 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 03 00 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 03 00 D9 0A 00 90 00 57 [14:43:30]RAPDU: 90 00 [14:43:30]wFMCommunicate OK [14:43:30]wFMCommunicate request_size=255 [14:43:30]MH_SAM_APDU [14:43:30]CAPDU: 80 0D 02 02 FA 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 12 E4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E4 DE 00 00 35 04 06 00 [14:43:30]Write to MH i2c: E2 02 01 DA 0A 80 0D 02 02 FA 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 12 E4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E4 DE 00 00 35 04 06 00 00 00 66 [14:43:30]Write i2c OK [14:43:30]MH_I2C_Read... [14:43:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:43:30]Read from MH i2c: E2 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 03 00 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 03 00 DA 0A 00 90 00 58 [14:43:30]RAPDU: 90 00 [14:43:30]wFMCommunicate OK [14:43:30]wFMCommunicate request_size=11 [14:43:30]MH_SAM_APDU [14:43:30]CAPDU: 80 0D 02 02 06 4E FC 26 D1 B0 AF [14:43:30]Write to MH i2c: E2 0E 00 DB 0A 80 0D 02 02 06 00 4E FC 26 D1 B0 AF 00 00 0B [14:43:30]Write i2c OK [14:43:30]MH_I2C_Read... [14:43:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:43:30]Read from MH i2c: E2 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 03 00 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 03 00 DB 0A 00 90 00 59 [14:43:30]RAPDU: 90 00 [14:43:30]wFMCommunicate OK [14:43:30]wFMCommunicate request_size=4 [14:43:30]MH_SAM_APDU [14:43:30]CAPDU: 80 0D 03 02 [14:43:30]Write to MH i2c: E2 08 00 DC 0A 80 0D 03 02 00 00 00 00 61 [14:43:30]Write i2c OK [14:43:30]MH_I2C_Read... [14:43:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:43:30]Read from MH i2c: E2 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 0B 00 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 0B 00 DC 0A 00 C3 89 B4 B3 E7 51 4F D1 90 00 6D [14:43:30]RAPDU: C3 89 B4 B3 E7 51 4F D1 90 00 [14:43:30]wFMCommunicate OK [14:43:30]SAM_PROTO_SignData done [14:43:30]FM_MakeSignedData done [14:43:30]CreateOFDProtocolMessage [14:43:30]wFMCommunicate request_size=4 [14:43:30]MH_SAM_APDU [14:43:30]CAPDU: 80 11 00 00 [14:43:30]Write to MH i2c: E2 08 00 DD 0A 80 11 00 00 00 00 00 00 61 [14:43:30]Write i2c OK [14:43:30]MH_I2C_Read... [14:43:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:43:30]Read from MH i2c: E2 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 17 00 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: E2 17 00 DD 0A 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BB [14:43:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:43:30]wFMCommunicate OK [14:43:30]CreateOFDProtocolMessage done [14:43:30]OFDSenderStorePacket 57060 [14:43:30]StoreOFDPacket docnum=57060 [14:43:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 01 00 00 E1 06 08 01 2F 22 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 12 E4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E4 DE 00 00 35 04 06 00 4E FC 26 D1 B0 AF C3 89 B4 B3 E7 51 4F D1 [14:43:30]CheckFolder [14:43:30]dirname=/storage/ofd_packets [14:43:30]CheckFolder done [14:43:30]ProducePacketName [14:43:30]name=ofd_packets/00057060 [14:43:30]NVStorageSaveData ofd_packets/00057060 [14:43:30]File name is /storage/ofd_packets/00057060 [14:43:30]Write 302 bytes [14:43:30]NVStorageSaveData done [14:43:30]OFDSenderStorePacket done [14:43:30]KKMCreateOFDPacket done [14:43:30]NVStorageSaveData kkm_last_timestamp [14:43:30]File name is /storage/kkm_last_timestamp [14:43:30]Write 4 bytes [14:43:30]NVStorageSaveData done [14:43:30]ExternCall_PrintAddStr [14:43:30]wPrintStart [14:43:30]Write to MH i2c: 01 00 00 DE 0A E8 [14:43:30]Write i2c OK [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: 01 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: 01 07 00 [14:43:30]MH_I2C_Read... [14:43:30]Read from MH i2c: 01 07 00 DE 0A 00 00 00 00 00 FF 0F FD [14:43:30]RasterBufferAndPrint [14:43:30]line Счет N : (3)129523 [14:43:30]line ИНН: 02508201610067 [14:43:30]line Контрольно-Кассовый Чек [14:43:30]line ПРОДАЖА [14:43:30]line Товар: 48744539 [14:43:30]line LD Compact Blue [14:43:30]line 1.000 * 130.00 [14:43:30]line = 130.00 [14:43:30]line НДС 12% НСП 1% [14:43:30]line > о реализуемом товаре [14:43:30]line ИТОГО: 130.00 [14:43:30]line НСП 1% : 1.15 [14:43:30]line НДС 12% : 13.80 [14:43:30]line Наличными: 0.00 [14:43:30]line Безнал.: 130.00 [14:43:30]line Место: АЗС № 132 "Партнер Нефть" [14:43:30]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:43:30]line СНО: Общий режим [14:43:30]line Чек 77 14.07.2024 14:43 [14:43:30]line Смена: 496 ФФД: 1.0 [14:43:30]line ЗНМ: 0300000132 [14:43:30]line РНМ: 0000000000091208 [14:43:30]line Версия ККМ: 001 [14:43:30]line Платежная система: АКБ Кыргызстан [14:43:30]line ФМ: 0000000000874857 [14:43:30]line ФД: 57060 [14:43:30]line ФПД: 86844890001583 [14:43:30]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T144330&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57060&fm=86844890001583&tin=02508201610067®Number=0000000000091208&sum=13000 [14:43:30]line 0 [14:43:30]OFD Sender: Processing packet 57060 [packets to send 38, broken 37] [14:43:30]written 0, free lines is 4095 [14:43:30]ProducePacketName [14:43:30]name=ofd_packets/00057060 [14:43:30]OFD Sender: To server: pG, [14:43:30]CommunicateWithHost lk.salyk.kg:30040 [14:43:30]ConnectInit lk.salyk.kg [14:43:31]Connected sock=11 [14:43:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 01 00 00 E1 06 08 01 2F 22 5A 03 01 00 03 00 FC 00 1E 04 01 00 01 23 04 4E 00 8A 04 08 00 34 38 37 34 34 35 33 39 06 04 0F 00 4C 44 20 43 6F 6D 70 61 63 74 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4D 00 00 00 F4 03 04 00 12 E4 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E4 DE 00 00 35 04 06 00 4E FC 26 D1 B0 AF C3 89 B4 B3 E7 51 4F D1 [14:43:31]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 67 7D 47 00 EE 25 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E4 DE 00 00 F4 03 04 00 63 8A 93 66 B6 04 01 00 00 9C 79 EA AE CD 69 10 42 [14:43:31]CommunicateWithHost err = 0 [14:43:31]CheckOFDResponse [14:43:31]1017 (14) - 77093643461234 [14:43:31]1041 (16) - 0000000000874857 [14:43:31]1040 (4) - 57060 [14:43:31]1012 (4) - 14.07.2024 08:20 [14:43:31]1206 (1) - 0 [14:43:31]OFD Sender: Remove packet 57060 [14:43:31]ProducePacketName [14:43:31]name=ofd_packets/00057060 [14:43:31]NVStorageDeleteData [14:43:31]Write to MH i2c: 01 00 00 08 0B 13 [14:43:31]Write i2c OK [14:43:31]MH_I2C_Read... [14:43:31]Read from MH i2c: 01 [14:43:31]MH_I2C_Read... [14:43:31]Read from MH i2c: 01 07 00 [14:43:31]MH_I2C_Read... [14:43:31]Read from MH i2c: 01 07 00 08 0B 00 00 00 00 00 E7 0C 0D [14:43:31]RasterBufferAndPrint [14:43:31]line [14:43:31]line [14:43:31]line [14:43:31]line [14:43:31]line [14:43:31]written 0, free lines is 3309 [14:43:31]MH_Cut [14:43:31]Write to MH i2c: D1 01 00 0F 0B 01 EC [14:43:31]Write i2c OK [14:43:31]MH_I2C_Read... [14:43:31]Read from MH i2c: D1 [14:43:31]MH_I2C_Read... [14:43:31]Read from MH i2c: D1 01 00 [14:43:31]MH_I2C_Read... [14:43:31]Read from MH i2c: D1 01 00 0F 0B 00 EB [14:43:31]Write to MH i2c: 01 00 00 10 0B 1B [14:43:31]Write i2c OK [14:43:31]MH_I2C_Read... [14:43:31]OFD Sender: No OFD packet to send [14:43:32]*** Cut start [14:43:32]*** Partial cut [14:43:32]*** CUTSNS_PIN = 1 [14:43:32]*** CUTSNS_PIN = 0 [14:43:32]*** Brake cut motor [14:43:32]Read from MH i2c: 01 [14:43:32]MH_I2C_Read... [14:43:32]*** Stop cut motor [14:43:32]*** Cut end [14:43:32]Read from MH i2c: 01 07 00 [14:43:32]MH_I2C_Read... [14:43:32]Read from MH i2c: 01 07 00 10 0B 00 00 00 00 00 FF 0F 30 [14:43:32]process_action close_receipt done [14:43:32]requested_data is exist [14:43:32]produce_requested_data [14:43:32]requested_item fm.sn is exist - process it [14:43:32]wFMCommunicate request_size=4 [14:43:32]MH_SAM_APDU [14:43:32]CAPDU: 80 11 00 00 [14:43:32]Write to MH i2c: E2 08 00 11 0B 80 11 00 00 00 00 00 00 96 [14:43:32]Write i2c OK [14:43:32]MH_I2C_Read... [14:43:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:43:32]Read from MH i2c: E2 [14:43:32]MH_I2C_Read... [14:43:32]Read from MH i2c: E2 17 00 [14:43:32]MH_I2C_Read... [14:43:32]Read from MH i2c: E2 17 00 11 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F0 [14:43:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:43:32]wFMCommunicate OK [14:43:32]requested_item fd.num is exist - process it [14:43:32]SAM_PROTO_GetFieldsCounters [14:43:32]wFMCommunicate request_size=4 [14:43:32]MH_SAM_APDU [14:43:32]CAPDU: 80 13 00 00 [14:43:32]Write to MH i2c: E2 08 00 12 0B 80 13 00 00 00 00 00 00 99 [14:43:32]Write i2c OK [14:43:32]MH_I2C_Read... [14:43:32]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:43:32]Read from MH i2c: E2 [14:43:32]MH_I2C_Read... [14:43:32]Read from MH i2c: E2 62 00 [14:43:32]MH_I2C_Read... [14:43:32]Read from MH i2c: E2 62 00 12 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E4 DE 00 00 0E 04 04 00 F0 01 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 56 [14:43:32]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E4 DE 00 00 0E 04 04 00 F0 01 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 [14:43:32]wFMCommunicate OK [14:43:32]SAM_PROTO_GetFieldsCounters done [14:43:32]requested_item shift.num is exist - process it [14:43:32]requested_item shift.opened is exist - process it [14:43:32]req_shift_opened [14:43:32]FM_GetShiftState [14:43:32]SAM_PROTO_GetShiftState [14:43:32]wFMCommunicate request_size=4 [14:43:32]MH_SAM_APDU [14:43:32]CAPDU: 80 13 01 00 [14:43:32]Write to MH i2c: E2 08 00 13 0B 80 13 01 00 00 00 00 00 9B [14:43:32]Write i2c OK [14:43:32]MH_I2C_Read... [14:43:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:43:32]Read from MH i2c: E2 [14:43:32]MH_I2C_Read... [14:43:32]Read from MH i2c: E2 0E 00 [14:43:32]MH_I2C_Read... [14:43:32]Read from MH i2c: E2 0E 00 13 0B 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 42 [14:43:32]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [14:43:32]wFMCommunicate OK [14:43:32]SAM_PROTO_GetShiftState done [14:43:32]FM_GetShiftState done [14:43:32]req_shift_opened done [14:43:32]requested_item shift.open_date is exist - process it [14:43:32]req_shift_open_date [14:43:32]req_shift_open_date done [14:43:32]requested_item shift.sale.total is exist - process it [14:43:32]SAM_PROTO_GetShiftData [14:43:32]wFMCommunicate request_size=4 [14:43:32]MH_SAM_APDU [14:43:32]CAPDU: 80 13 02 00 [14:43:32]Write to MH i2c: E2 08 00 14 0B 80 13 02 00 00 00 00 00 9D [14:43:32]Write i2c OK [14:43:32]MH_I2C_Read... [14:43:33]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:43:33]Read from MH i2c: E2 [14:43:33]MH_I2C_Read... [14:43:33]Read from MH i2c: E2 FD 00 [14:43:33]MH_I2C_Read... [14:43:33]Read from MH i2c: E2 FD 00 14 0B 00 BB 04 AA 04 B7 04 6E 04 04 00 4D 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 D0 6F 29 70 04 03 00 68 DA 21 72 04 03 00 68 95 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 66 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D8 5D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 A2 [14:43:33]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 4D 00 00 00 69 04 9B 00 6F 04 04 00 4B 00 00 00 B1 04 03 00 D0 6F 29 70 04 03 00 68 DA 21 72 04 03 00 68 95 07 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 86 66 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 D8 5D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [14:43:33]wFMCommunicate OK [14:43:33]wFMCommunicate request_size=4 [14:43:33]MH_SAM_APDU [14:43:33]CAPDU: 80 17 00 00 [14:43:33]Write to MH i2c: E2 08 00 15 0B 80 17 00 00 00 00 00 00 A0 [14:43:33]Write i2c OK [14:43:33]MH_I2C_Read... [14:43:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:43:33]Read from MH i2c: E2 [14:43:33]MH_I2C_Read... [14:43:33]Read from MH i2c: E2 FD 00 [14:43:33]MH_I2C_Read... [14:43:33]Read from MH i2c: E2 FD 00 15 0B 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 33 [14:43:33]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:43:33]wFMCommunicate OK [14:43:33]wFMCommunicate request_size=4 [14:43:33]MH_SAM_APDU [14:43:33]CAPDU: 80 17 00 00 [14:43:33]Write to MH i2c: E2 08 00 16 0B 80 17 00 00 00 00 00 00 A1 [14:43:33]Write i2c OK [14:43:33]MH_I2C_Read... [14:43:33]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:43:33]Read from MH i2c: E2 [14:43:33]MH_I2C_Read... [14:43:33]Read from MH i2c: E2 FD 00 [14:43:33]MH_I2C_Read... [14:43:33]Read from MH i2c: E2 FD 00 16 0B 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CD [14:43:33]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:43:33]wFMCommunicate OK [14:43:33]wFMCommunicate request_size=4 [14:43:33]MH_SAM_APDU [14:43:33]CAPDU: 80 17 00 00 [14:43:33]Write to MH i2c: E2 08 00 17 0B 80 17 00 00 00 00 00 00 A2 [14:43:33]Write i2c OK [14:43:33]MH_I2C_Read... [14:43:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:43:34]Read from MH i2c: E2 [14:43:34]MH_I2C_Read... [14:43:34]Read from MH i2c: E2 FD 00 [14:43:34]MH_I2C_Read... [14:43:34]Read from MH i2c: E2 FD 00 17 0B 00 00 00 EF 03 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 90 00 17 [14:43:34]RAPDU: 00 00 EF 03 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 90 00 [14:43:34]wFMCommunicate OK [14:43:34]wFMCommunicate request_size=4 [14:43:34]MH_SAM_APDU [14:43:34]CAPDU: 80 17 00 00 [14:43:34]Write to MH i2c: E2 08 00 18 0B 80 17 00 00 00 00 00 00 A3 [14:43:34]Write i2c OK [14:43:34]MH_I2C_Read... [14:43:34]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [14:43:34]Read from MH i2c: E2 [14:43:34]MH_I2C_Read... [14:43:34]Read from MH i2c: E2 D8 00 [14:43:34]MH_I2C_Read... [14:43:34]Read from MH i2c: E2 D8 00 18 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8A [14:43:34]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:43:34]wFMCommunicate OK [14:43:34]SAM_PROTO_GetShiftData done [14:43:34]requested_item shift.sale.total_cash is exist - process it [14:43:34]requested_item shift.sale_refund.total is exist - process it [14:43:34]requested_item shift.sale_refund.total_cash is exist - process it [14:43:34]produce_requested_data done [14:43:34]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57060,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":27156.00,"shift.sale.total_cash":22186.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [14:43:34]process_action_free close_receipt [14:43:34]json_value_free [14:43:34]json_value_free done [14:43:34]process_json_proto returns [14:43:34]Send response to host [14:43:34]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57060,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":27156.00,"shift.sale.total_cash":22186.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [14:43:34]free response buf [14:43:34]execute_script done [14:43:34]execute_script returns [14:43:34]free content buf [14:43:34]Sock 9.Close socket [14:43:34]Sock 9.Thread stoped [14:43:36]OFD Sender: No OFD packet to send [14:43:41]OFD Sender: No OFD packet to send [14:43:46]OFD Sender: No OFD packet to send [14:43:51]OFD Sender: No OFD packet to send [14:43:56]OFD Sender: No OFD packet to send [14:44:01]OFD Sender: No OFD packet to send [14:44:06]OFD Sender: No OFD packet to send [14:44:11]OFD Sender: No OFD packet to send [14:44:16]OFD Sender: No OFD packet to send [14:44:21]OFD Sender: No OFD packet to send [14:44:26]OFD Sender: No OFD packet to send [14:44:31]OFD Sender: No OFD packet to send [14:44:36]OFD Sender: No OFD packet to send [14:44:41]OFD Sender: No OFD packet to send [14:44:46]OFD Sender: No OFD packet to send [14:44:51]OFD Sender: No OFD packet to send [14:44:56]OFD Sender: No OFD packet to send [14:45:01]OFD Sender: No OFD packet to send [14:45:06]OFD Sender: No OFD packet to send [14:45:11]OFD Sender: No OFD packet to send [14:45:16]OFD Sender: No OFD packet to send [14:45:21]OFD Sender: No OFD packet to send [14:45:26]OFD Sender: No OFD packet to send [14:45:31]OFD Sender: No OFD packet to send [14:45:36]OFD Sender: No OFD packet to send [14:45:41]OFD Sender: No OFD packet to send [14:45:46]OFD Sender: No OFD packet to send [14:45:51]OFD Sender: No OFD packet to send [14:45:56]OFD Sender: No OFD packet to send [14:46:01]OFD Sender: No OFD packet to send [14:46:06]OFD Sender: No OFD packet to send [14:46:11]OFD Sender: No OFD packet to send [14:46:16]OFD Sender: No OFD packet to send [14:46:21]OFD Sender: No OFD packet to send [14:46:26]OFD Sender: No OFD packet to send [14:46:31]OFD Sender: No OFD packet to send [14:46:36]OFD Sender: No OFD packet to send [14:46:41]OFD Sender: No OFD packet to send [14:46:46]OFD Sender: No OFD packet to send [14:46:51]OFD Sender: No OFD packet to send [14:46:56]OFD Sender: No OFD packet to send [14:47:01]OFD Sender: No OFD packet to send [14:47:06]OFD Sender: No OFD packet to send [14:47:11]OFD Sender: No OFD packet to send [14:47:16]OFD Sender: No OFD packet to send [14:47:21]OFD Sender: No OFD packet to send [14:47:26]OFD Sender: No OFD packet to send [14:47:31]OFD Sender: No OFD packet to send [14:47:36]OFD Sender: No OFD packet to send [14:47:37]accept exits with 7 [14:47:37]New connection [14:47:37]New thread 3067448676 created [14:47:37]Thread 3067592036 joined [14:47:37]Waiting for new connection... [14:47:37] Sock 7.Parse request [14:47:37]Sock 7.Check first char [14:47:37]Sock 7.First char is OK [14:47:37]request: POST /json_proto HTTP/1.0 [14:47:37]Method: POST [14:47:37]URL: /json_proto [14:47:37]Method is POST - this is cgi request [14:47:37]url: /json_proto [14:47:37]query_string will be loaded in cgi processing [14:47:37]execute_cgi json_proto POST (null) [14:47:37]execute_cgi path=json_proto method=POST [14:47:37]POST find Content-Length [14:47:37]Host: 172.17.39.4:8080 [14:47:37]Content-Length: 1043 [14:47:37]Content-Type: application/json [14:47:37] [14:47:37]POST finish read [14:47:37]Found Content-Length = 1043 [14:47:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129524", "tax_sys" : 0, "items" : [ { "code": "4870145004982", "name": "\u041F\u0438\u0432\u043E \u0416\u0430\u0442\u0435\u0446\u043A\u0438\u0439 \u0413\u0443\u0441\u044C 7 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u043D\u043E\u0435 0,43\u043B \u0436/", "price" : 105.00, "quantity" : 1.000, "sum" : 105.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:47:37]execute_script... [14:47: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)129524", "tax_sys" : 0, "items" : [ { "code": "4870145004982", "name": "\u041F\u0438\u0432\u043E \u0416\u0430\u0442\u0435\u0446\u043A\u0438\u0439 \u0413\u0443\u0441\u044C 7 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u043D\u043E\u0435 0,43\u043B \u0436/", "price" : 105.00, "quantity" : 1.000, "sum" : 105.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [14:47:37]POST & json_proto [14:47:37]process_json_proto [14:47:37]json parsed OK: [14:47:37]protocol is kg_v1.0 [14:47:37]action value=close_receipt [14:47:37]process_action close_receipt [14:47:37]cmd_close_receipt [14:47:37]MH_GetDate [14:47:37]Write to MH i2c: F0 00 00 19 0B 13 [14:47:37]Write i2c OK [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: F0 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: F0 09 00 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: F0 09 00 19 0B 00 0B E5 93 66 2D 25 5D 64 18 [14:47:37]GetLastDocTimeStamp 1720968210 [14:47:37]current date 1720968459 [14:47:37]FM_GetShiftState [14:47:37]SAM_PROTO_GetShiftState [14:47:37]wFMCommunicate request_size=4 [14:47:37]MH_SAM_APDU [14:47:37]CAPDU: 80 13 01 00 [14:47:37]Write to MH i2c: E2 08 00 1A 0B 80 13 01 00 00 00 00 00 A2 [14:47:37]Write i2c OK [14:47:37]MH_I2C_Read... [14:47:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:47:37]Read from MH i2c: E2 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: E2 0E 00 [14:47:37]MH_I2C_Read... [14:47:37]Read from MH i2c: E2 0E 00 1A 0B 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 49 [14:47:37]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [14:47:37]wFMCommunicate OK [14:47:37]SAM_PROTO_GetShiftState done [14:47:37]FM_GetShiftState done [14:47:37]opened in 1720917126 [14:47:37]opened+sec_in_day 1721003526 [14:47:37]quantity*price = 10500 [14:47:37]sum+1 = 10501 [14:47:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 0.00 Безнал.: 105.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 78 14.07.2024 14:47 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57061 ФПД: 246655708954029 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T144739&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57061&fm=246655708954029&tin=02508201610067®Number=0000000000091208&sum=10500 0 [14:47:39]StoreToDocumentArchive [14:47:39]shift 496 fd 57061 [14:47:39]save to /storage/0496/doc_00057061 [14:47:39]save last doc name /storage/0496/doc_00057061 to /storage/kkm_last_doc_name [14:47:39]save OK [14:47:39]Clear old archive folders... [14:47:39]ProcessDocumentItem done err = 0, tmpTLVsize=310 [14:47:39]tlvbuf is 00FD10F0 [14:47:39]SAM_PROTO_ClearQueue [14:47:39]wFMCommunicate request_size=4 [14:47:39]MH_SAM_APDU [14:47:39]CAPDU: 80 09 00 00 [14:47:39]Write to MH i2c: E2 08 00 27 0B 80 09 00 00 00 00 00 00 A4 [14:47:39]Write i2c OK [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 [14:47:39]MH_I2C_Read... [14:47:39]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [14:47:39]Read from MH i2c: E2 03 00 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 03 00 27 0B 00 90 00 A6 [14:47:39]RAPDU: 90 00 [14:47:39]wFMCommunicate OK [14:47:39]SAM_PROTO_ClearQueue done [14:47:39]KKMCreateOFDPacket [14:47:39]OFDProtocolAddRootSTLVToBuf [14:47:39]FM_MakeSignedData [14:47:39]FM_MakeSignedData [14:47:39]SAM_PROTO_SignData [14:47:39]wFMCommunicate request_size=4 [14:47:39]MH_SAM_APDU [14:47:39]CAPDU: 80 0D 01 02 [14:47:39]Write to MH i2c: E2 08 00 28 0B 80 0D 01 02 00 00 00 00 AC [14:47:39]Write i2c OK [14:47:39]MH_I2C_Read... [14:47:39]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [14:47:39]Read from MH i2c: E2 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 03 00 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 03 00 28 0B 00 90 00 A7 [14:47:39]RAPDU: 90 00 [14:47:39]wFMCommunicate OK [14:47:39]wFMCommunicate request_size=255 [14:47:39]MH_SAM_APDU [14:47:39]CAPDU: 80 0D 02 02 FA 03 00 36 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 38 32 06 04 44 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 37 20 D1 8D D0 BA D1 81 D0 BF D0 BE D1 80 D1 82 D0 BD D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 0B E5 93 66 0E 04 04 00 F0 01 00 [14:47:39]Write to MH i2c: E2 02 01 29 0B 80 0D 02 02 FA 00 03 00 36 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 38 32 06 04 44 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 37 20 D1 8D D0 BA D1 81 D0 BF D0 BE D1 80 D1 82 D0 BD D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 0B E5 93 66 0E 04 04 00 F0 01 00 00 00 3E [14:47:39]Write i2c OK [14:47:39]MH_I2C_Read... [14:47:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:47:39]Read from MH i2c: E2 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 03 00 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 03 00 29 0B 00 90 00 A8 [14:47:39]RAPDU: 90 00 [14:47:39]wFMCommunicate OK [14:47:39]wFMCommunicate request_size=69 [14:47:39]MH_SAM_APDU [14:47:39]CAPDU: 80 0D 02 02 40 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DE 00 00 35 04 06 00 E0 55 01 E9 FD AD [14:47:39]Write to MH i2c: E2 48 00 2A 0B 80 0D 02 02 40 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DE 00 00 35 04 06 00 E0 55 01 E9 FD AD 00 00 52 [14:47:39]Write i2c OK [14:47:39]MH_I2C_Read... [14:47:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [14:47:39]Read from MH i2c: E2 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 03 00 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 03 00 2A 0B 00 90 00 A9 [14:47:39]RAPDU: 90 00 [14:47:39]wFMCommunicate OK [14:47:39]wFMCommunicate request_size=4 [14:47:39]MH_SAM_APDU [14:47:39]CAPDU: 80 0D 03 02 [14:47:39]Write to MH i2c: E2 08 00 2B 0B 80 0D 03 02 00 00 00 00 B1 [14:47:39]Write i2c OK [14:47:39]MH_I2C_Read... [14:47:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [14:47:39]Read from MH i2c: E2 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 0B 00 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 0B 00 2B 0B 00 5B 3B 5A 77 11 51 66 F1 90 00 D2 [14:47:39]RAPDU: 5B 3B 5A 77 11 51 66 F1 90 00 [14:47:39]wFMCommunicate OK [14:47:39]SAM_PROTO_SignData done [14:47:39]FM_MakeSignedData done [14:47:39]CreateOFDProtocolMessage [14:47:39]wFMCommunicate request_size=4 [14:47:39]MH_SAM_APDU [14:47:39]CAPDU: 80 11 00 00 [14:47:39]Write to MH i2c: E2 08 00 2C 0B 80 11 00 00 00 00 00 00 B1 [14:47:39]Write i2c OK [14:47:39]MH_I2C_Read... [14:47:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:47:39]Read from MH i2c: E2 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 17 00 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: E2 17 00 2C 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0B [14:47:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:47:39]wFMCommunicate OK [14:47:39]CreateOFDProtocolMessage done [14:47:39]OFDSenderStorePacket 57061 [14:47:39]StoreOFDPacket docnum=57061 [14:47:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4A 01 00 00 13 A7 42 01 96 AA 5A 03 01 00 03 00 36 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 38 32 06 04 44 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 37 20 D1 8D D0 BA D1 81 D0 BF D0 BE D1 80 D1 82 D0 BD D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 0B E5 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DE 00 00 35 04 06 00 E0 55 01 E9 FD AD 5B 3B 5A 77 11 51 66 F1 [14:47:39]CheckFolder [14:47:39]dirname=/storage/ofd_packets [14:47:39]CheckFolder done [14:47:39]ProducePacketName [14:47:39]name=ofd_packets/00057061 [14:47:39]NVStorageSaveData ofd_packets/00057061 [14:47:39]File name is /storage/ofd_packets/00057061 [14:47:39]Write 360 bytes [14:47:39]NVStorageSaveData done [14:47:39]OFDSenderStorePacket done [14:47:39]KKMCreateOFDPacket done [14:47:39]NVStorageSaveData kkm_last_timestamp [14:47:39]File name is /storage/kkm_last_timestamp [14:47:39]Write 4 bytes [14:47:39]NVStorageSaveData done [14:47:39]ExternCall_PrintAddStr [14:47:39]wPrintStart [14:47:39]Write to MH i2c: 01 00 00 2D 0B 38 [14:47:39]Write i2c OK [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: 01 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: 01 07 00 [14:47:39]MH_I2C_Read... [14:47:39]Read from MH i2c: 01 07 00 2D 0B 00 00 00 00 00 FF 0F 4D [14:47:39]RasterBufferAndPrint [14:47:39]line Счет N : (3)129524 [14:47:39]line ИНН: 02508201610067 [14:47:39]line Контрольно-Кассовый Чек [14:47:39]line ПРОДАЖА [14:47:39]line Товар: 4870145004982 [14:47:39]line Пиво Жатецкий Гусь 7 экспортное 0,43л ж/ [14:47:39]line 1.000 * 105.00 [14:47:39]line = 105.00 [14:47:39]line НДС 12% НСП 1% [14:47:39]line > о реализуемом товаре [14:47:39]line ИТОГО: 105.00 [14:47:39]line НСП 1% : 0.93 [14:47:39]line НДС 12% : 11.15 [14:47:39]line Наличными: 0.00 [14:47:39]line Безнал.: 105.00 [14:47:39]line Место: АЗС № 132 "Партнер Нефть" [14:47:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [14:47:39]line СНО: Общий режим [14:47:39]line Чек 78 14.07.2024 14:47 [14:47:39]line Смена: 496 ФФД: 1.0 [14:47:39]line ЗНМ: 0300000132 [14:47:39]line РНМ: 0000000000091208 [14:47:39]line Версия ККМ: 001 [14:47:39]line Платежная система: АКБ Кыргызстан [14:47:39]line ФМ: 0000000000874857 [14:47:39]line ФД: 57061 [14:47:39]line ФПД: 246655708954029 [14:47:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T144739&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57061&fm=246655708954029&tin=02508201610067®Number=0000000000091208&sum=10500 [14:47:39]line 0 [14:47:39]OFD Sender: Processing packet 57061 [packets to send 38, broken 37] [14:47:39]ProducePacketName [14:47:39]name=ofd_packets/00057061 [14:47:39]OFD Sender: To server: pG, [14:47:39]CommunicateWithHost lk.salyk.kg:30040 [14:47:39]ConnectInit lk.salyk.kg [14:47:39]written 0, free lines is 4095 [14:47:40]Connected sock=10 [14:47:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4A 01 00 00 13 A7 42 01 96 AA 5A 03 01 00 03 00 36 01 1E 04 01 00 01 23 04 88 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 38 32 06 04 44 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 37 20 D1 8D D0 BA D1 81 D0 BF D0 BE D1 80 D1 82 D0 BD D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 4E 00 00 00 F4 03 04 00 0B E5 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DE 00 00 35 04 06 00 E0 55 01 E9 FD AD 5B 3B 5A 77 11 51 66 F1 [14:47:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 76 D8 47 00 6B 09 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E5 DE 00 00 F4 03 04 00 5C 8B 93 66 B6 04 01 00 00 83 3E 13 5F E8 FE E6 E2 [14:47:40]CommunicateWithHost err = 0 [14:47:40]CheckOFDResponse [14:47:40]1017 (14) - 77093643461234 [14:47:40]1041 (16) - 0000000000874857 [14:47:40]1040 (4) - 57061 [14:47:40]1012 (4) - 14.07.2024 08:25 [14:47:40]1206 (1) - 0 [14:47:40]OFD Sender: Remove packet 57061 [14:47:40]ProducePacketName [14:47:40]name=ofd_packets/00057061 [14:47:40]NVStorageDeleteData [14:47:40]Write to MH i2c: 01 00 00 58 0B 63 [14:47:40]Write i2c OK [14:47:40]MH_I2C_Read... [14:47:40]Read from MH i2c: 01 [14:47:40]MH_I2C_Read... [14:47:40]Read from MH i2c: 01 07 00 [14:47:40]MH_I2C_Read... [14:47:40]Read from MH i2c: 01 07 00 58 0B 00 00 00 00 00 D6 0C 4C [14:47:40]RasterBufferAndPrint [14:47:40]line [14:47:40]line [14:47:40]line [14:47:40]line [14:47:40]line [14:47:40]written 0, free lines is 3293 [14:47:40]MH_Cut [14:47:40]Write to MH i2c: D1 01 00 5F 0B 01 3C [14:47:40]Write i2c OK [14:47:40]MH_I2C_Read... [14:47:40]Read from MH i2c: D1 [14:47:40]MH_I2C_Read... [14:47:40]Read from MH i2c: D1 01 00 [14:47:40]MH_I2C_Read... [14:47:40]Read from MH i2c: D1 01 00 5F 0B 00 3B [14:47:40]Write to MH i2c: 01 00 00 60 0B 6B [14:47:40]Write i2c OK [14:47:40]MH_I2C_Read... [14:47:40]OFD Sender: No OFD packet to send [14:47:41]*** Cut start [14:47:41]*** Partial cut [14:47:41]*** CUTSNS_PIN = 1 [14:47:41]*** CUTSNS_PIN = 0 [14:47:41]*** Brake cut motor [14:47:41]Read from MH i2c: 01 [14:47:41]MH_I2C_Read... [14:47:41]*** Stop cut motor [14:47:41]*** Cut end [14:47:41]Read from MH i2c: 01 07 00 [14:47:41]MH_I2C_Read... [14:47:41]Read from MH i2c: 01 07 00 60 0B 00 00 00 00 00 FF 0F 80 [14:47:41]process_action close_receipt done [14:47:41]requested_data is exist [14:47:41]produce_requested_data [14:47:41]requested_item fm.sn is exist - process it [14:47:41]wFMCommunicate request_size=4 [14:47:41]MH_SAM_APDU [14:47:41]CAPDU: 80 11 00 00 [14:47:41]Write to MH i2c: E2 08 00 61 0B 80 11 00 00 00 00 00 00 E6 [14:47:41]Write i2c OK [14:47:41]MH_I2C_Read... [14:47:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [14:47:41]Read from MH i2c: E2 [14:47:41]MH_I2C_Read... [14:47:41]Read from MH i2c: E2 17 00 [14:47:41]MH_I2C_Read... [14:47:41]Read from MH i2c: E2 17 00 61 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 40 [14:47:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [14:47:41]wFMCommunicate OK [14:47:41]requested_item fd.num is exist - process it [14:47:41]SAM_PROTO_GetFieldsCounters [14:47:41]wFMCommunicate request_size=4 [14:47:41]MH_SAM_APDU [14:47:41]CAPDU: 80 13 00 00 [14:47:41]Write to MH i2c: E2 08 00 62 0B 80 13 00 00 00 00 00 00 E9 [14:47:41]Write i2c OK [14:47:41]MH_I2C_Read... [14:47:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [14:47:41]Read from MH i2c: E2 [14:47:41]MH_I2C_Read... [14:47:41]Read from MH i2c: E2 62 00 [14:47:41]MH_I2C_Read... [14:47:41]Read from MH i2c: E2 62 00 62 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E5 DE 00 00 0E 04 04 00 F0 01 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 AA [14:47:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E5 DE 00 00 0E 04 04 00 F0 01 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 [14:47:41]wFMCommunicate OK [14:47:41]SAM_PROTO_GetFieldsCounters done [14:47:41]requested_item shift.num is exist - process it [14:47:41]requested_item shift.opened is exist - process it [14:47:41]req_shift_opened [14:47:41]FM_GetShiftState [14:47:41]SAM_PROTO_GetShiftState [14:47:41]wFMCommunicate request_size=4 [14:47:41]MH_SAM_APDU [14:47:41]CAPDU: 80 13 01 00 [14:47:41]Write to MH i2c: E2 08 00 63 0B 80 13 01 00 00 00 00 00 EB [14:47:41]Write i2c OK [14:47:41]MH_I2C_Read... [14:47:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [14:47:42]Read from MH i2c: E2 [14:47:42]MH_I2C_Read... [14:47:42]Read from MH i2c: E2 0E 00 [14:47:42]MH_I2C_Read... [14:47:42]Read from MH i2c: E2 0E 00 63 0B 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 92 [14:47:42]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [14:47:42]wFMCommunicate OK [14:47:42]SAM_PROTO_GetShiftState done [14:47:42]FM_GetShiftState done [14:47:42]req_shift_opened done [14:47:42]requested_item shift.open_date is exist - process it [14:47:42]req_shift_open_date [14:47:42]req_shift_open_date done [14:47:42]requested_item shift.sale.total is exist - process it [14:47:42]SAM_PROTO_GetShiftData [14:47:42]wFMCommunicate request_size=4 [14:47:42]MH_SAM_APDU [14:47:42]CAPDU: 80 13 02 00 [14:47:42]Write to MH i2c: E2 08 00 64 0B 80 13 02 00 00 00 00 00 ED [14:47:42]Write i2c OK [14:47:42]MH_I2C_Read... [14:47:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [14:47:42]Read from MH i2c: E2 [14:47:42]MH_I2C_Read... [14:47:42]Read from MH i2c: E2 FD 00 [14:47:42]MH_I2C_Read... [14:47:42]Read from MH i2c: E2 FD 00 64 0B 00 BB 04 AA 04 B7 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 D4 98 29 70 04 03 00 68 DA 21 72 04 03 00 6C BE 07 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 E1 6A 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 5E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 0B [14:47:42]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 4E 00 00 00 69 04 9B 00 6F 04 04 00 4C 00 00 00 B1 04 03 00 D4 98 29 70 04 03 00 68 DA 21 72 04 03 00 6C BE 07 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 E1 6A 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 5E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [14:47:42]wFMCommunicate OK [14:47:42]wFMCommunicate request_size=4 [14:47:42]MH_SAM_APDU [14:47:42]CAPDU: 80 17 00 00 [14:47:42]Write to MH i2c: E2 08 00 65 0B 80 17 00 00 00 00 00 00 F0 [14:47:42]Write i2c OK [14:47:42]MH_I2C_Read... [14:47:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:47:42]Read from MH i2c: E2 [14:47:42]MH_I2C_Read... [14:47:42]Read from MH i2c: E2 FD 00 [14:47:42]MH_I2C_Read... [14:47:42]Read from MH i2c: E2 FD 00 65 0B 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 83 [14:47:42]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:47:42]wFMCommunicate OK [14:47:42]wFMCommunicate request_size=4 [14:47:42]MH_SAM_APDU [14:47:42]CAPDU: 80 17 00 00 [14:47:42]Write to MH i2c: E2 08 00 66 0B 80 17 00 00 00 00 00 00 F1 [14:47:42]Write i2c OK [14:47:42]MH_I2C_Read... [14:47:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:47:43]Read from MH i2c: E2 [14:47:43]MH_I2C_Read... [14:47:43]Read from MH i2c: E2 FD 00 [14:47:43]MH_I2C_Read... [14:47:43]Read from MH i2c: E2 FD 00 66 0B 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1D [14:47:43]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [14:47:43]wFMCommunicate OK [14:47:43]wFMCommunicate request_size=4 [14:47:43]MH_SAM_APDU [14:47:43]CAPDU: 80 17 00 00 [14:47:43]Write to MH i2c: E2 08 00 67 0B 80 17 00 00 00 00 00 00 F2 [14:47:43]Write i2c OK [14:47:43]MH_I2C_Read... [14:47:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [14:47:43]Read from MH i2c: E2 [14:47:43]MH_I2C_Read... [14:47:43]Read from MH i2c: E2 FD 00 [14:47:43]MH_I2C_Read... [14:47:43]Read from MH i2c: E2 FD 00 67 0B 00 00 00 EF 03 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 90 00 67 [14:47:43]RAPDU: 00 00 EF 03 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 90 00 [14:47:43]wFMCommunicate OK [14:47:43]wFMCommunicate request_size=4 [14:47:43]MH_SAM_APDU [14:47:43]CAPDU: 80 17 00 00 [14:47:43]Write to MH i2c: E2 08 00 68 0B 80 17 00 00 00 00 00 00 F3 [14:47:43]Write i2c OK [14:47:43]MH_I2C_Read... [14:47:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [14:47:43]Read from MH i2c: E2 [14:47:43]MH_I2C_Read... [14:47:43]Read from MH i2c: E2 D8 00 [14:47:43]MH_I2C_Read... [14:47:43]Read from MH i2c: E2 D8 00 68 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 DA [14:47:43]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:47:43]wFMCommunicate OK [14:47:43]SAM_PROTO_GetShiftData done [14:47:43]requested_item shift.sale.total_cash is exist - process it [14:47:43]requested_item shift.sale_refund.total is exist - process it [14:47:43]requested_item shift.sale_refund.total_cash is exist - process it [14:47:43]produce_requested_data done [14:47:43]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57061,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":27261.00,"shift.sale.total_cash":22186.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [14:47:43]process_action_free close_receipt [14:47:43]json_value_free [14:47:43]json_value_free done [14:47:43]process_json_proto returns [14:47:43]Send response to host [14:47:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57061,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":27261.00,"shift.sale.total_cash":22186.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [14:47:43]free response buf [14:47:43]execute_script done [14:47:43]execute_script returns [14:47:43]free content buf [14:47:43]Sock 7.Close socket [14:47:43]Sock 7.Thread stoped [14:47:45]OFD Sender: No OFD packet to send [14:47:50]OFD Sender: No OFD packet to send [14:47:55]OFD Sender: No OFD packet to send [14:48:00]OFD Sender: No OFD packet to send [14:48:05]OFD Sender: No OFD packet to send [14:48:10]OFD Sender: No OFD packet to send [14:48:15]OFD Sender: No OFD packet to send [14:48:20]OFD Sender: No OFD packet to send [14:48:25]OFD Sender: No OFD packet to send [14:48:30]OFD Sender: No OFD packet to send [14:48:35]OFD Sender: No OFD packet to send [14:48:40]OFD Sender: No OFD packet to send [14:48:45]OFD Sender: No OFD packet to send [14:48:50]OFD Sender: No OFD packet to send [14:48:55]OFD Sender: No OFD packet to send [14:49:00]OFD Sender: No OFD packet to send [14:49:05]OFD Sender: No OFD packet to send [14:49:10]OFD Sender: No OFD packet to send [14:49:15]OFD Sender: No OFD packet to send [14:49:20]OFD Sender: No OFD packet to send [14:49:25]OFD Sender: No OFD packet to send [14:49:30]OFD Sender: No OFD packet to send [14:49:35]OFD Sender: No OFD packet to send [14:49:40]OFD Sender: No OFD packet to send [14:49:45]OFD Sender: No OFD packet to send [14:49:50]OFD Sender: No OFD packet to send [14:49:55]OFD Sender: No OFD packet to send [14:50:01]OFD Sender: No OFD packet to send [14:50:06]OFD Sender: No OFD packet to send [14:50:11]OFD Sender: No OFD packet to send [14:50:16]OFD Sender: No OFD packet to send [14:50:21]OFD Sender: No OFD packet to send [14:50:26]OFD Sender: No OFD packet to send [14:50:31]OFD Sender: No OFD packet to send [14:50:36]OFD Sender: No OFD packet to send [14:50:41]OFD Sender: No OFD packet to send [14:50:46]OFD Sender: No OFD packet to send [14:50:51]OFD Sender: No OFD packet to send [14:50:56]OFD Sender: No OFD packet to send [14:51:01]OFD Sender: No OFD packet to send [14:51:06]OFD Sender: No OFD packet to send [14:51:11]OFD Sender: No OFD packet to send [14:51:16]OFD Sender: No OFD packet to send [14:51:21]OFD Sender: No OFD packet to send [14:51:26]OFD Sender: No OFD packet to send [14:51:31]OFD Sender: No OFD packet to send [14:51:36]OFD Sender: No OFD packet to send [14:51:41]OFD Sender: No OFD packet to send [14:51:46]OFD Sender: No OFD packet to send [14:51:51]OFD Sender: No OFD packet to send [14:51:56]OFD Sender: No OFD packet to send [14:52:01]OFD Sender: No OFD packet to send [14:52:06]OFD Sender: No OFD packet to send [14:52:11]OFD Sender: No OFD packet to send [14:52:16]OFD Sender: No OFD packet to send [14:52:21]OFD Sender: No OFD packet to send [14:52:26]OFD Sender: No OFD packet to send [14:52:31]OFD Sender: No OFD packet to send [14:52:36]OFD Sender: No OFD packet to send [14:52:41]OFD Sender: No OFD packet to send [14:52:46]OFD Sender: No OFD packet to send [14:52:51]OFD Sender: No OFD packet to send [14:52:56]OFD Sender: No OFD packet to send [14:53:01]OFD Sender: No OFD packet to send [14:53:06]OFD Sender: No OFD packet to send [14:53:11]OFD Sender: No OFD packet to send [14:53:16]OFD Sender: No OFD packet to send [14:53:21]OFD Sender: No OFD packet to send [14:53:26]OFD Sender: No OFD packet to send [14:53:31]OFD Sender: No OFD packet to send [14:53:36]OFD Sender: No OFD packet to send [14:53:41]OFD Sender: No OFD packet to send [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:46]OFD Sender: No OFD packet to send [14:54:51]OFD Sender: No OFD packet to send [14:54:56]OFD Sender: No OFD packet to send [14:55:01]OFD Sender: No OFD packet to send [14:55:06]OFD Sender: No OFD packet to send [14:55:11]OFD Sender: No OFD packet to send [14:55:16]OFD Sender: No OFD packet to send [14:55:21]OFD Sender: No OFD packet to send [14:55:26]OFD Sender: No OFD packet to send [14:55:31]OFD Sender: No OFD packet to send [14:55:36]OFD Sender: No OFD packet to send [14:55:41]OFD Sender: No OFD packet to send [14:55:46]OFD Sender: No OFD packet to send [14:55:51]OFD Sender: No OFD packet to send [14:55:56]OFD Sender: No OFD packet to send [14:56:01]OFD Sender: No OFD packet to send [14:56:06]OFD Sender: No OFD packet to send [14:56:11]OFD Sender: No OFD packet to send [14:56:16]OFD Sender: No OFD packet to send [14:56:21]OFD Sender: No OFD packet to send [14:56:26]OFD Sender: No OFD packet to send [14:56:31]OFD Sender: No OFD packet to send [14:56:36]OFD Sender: No OFD packet to send [14:56:41]OFD Sender: No OFD packet to send [14:56:46]OFD Sender: No OFD packet to send [14:56:51]OFD Sender: No OFD packet to send [14:56:56]OFD Sender: No OFD packet to send [14:57:01]OFD Sender: No OFD packet to send [14:57:06]OFD Sender: No OFD packet to send [14:57:11]OFD Sender: No OFD packet to send [14:57:16]OFD Sender: No OFD packet to send [14:57:21]OFD Sender: No OFD packet to send [14:57:26]OFD Sender: No OFD packet to send [14:57:31]OFD Sender: No OFD packet to send [14:57:36]OFD Sender: No OFD packet to send [14:57:41]OFD Sender: No OFD packet to send [14:57:46]OFD Sender: No OFD packet to send [14:57:51]OFD Sender: No OFD packet to send [14:57:56]OFD Sender: No OFD packet to send [14:58:01]OFD Sender: No OFD packet to send [14:58:06]OFD Sender: No OFD packet to send [14:58:11]OFD Sender: No OFD packet to send [14:58:16]OFD Sender: No OFD packet to send [14:58:21]OFD Sender: No OFD packet to send [14:58:26]OFD Sender: No OFD packet to send [14:58:31]OFD Sender: No OFD packet to send [14:58:36]OFD Sender: No OFD packet to send [14:58:41]OFD Sender: No OFD packet to send [14:58:46]OFD Sender: No OFD packet to send [14:58:51]OFD Sender: No OFD packet to send [14:58:56]OFD Sender: No OFD packet to send [14:59:01]OFD Sender: No OFD packet to send [14:59:06]OFD Sender: No OFD packet to send [14:59:11]OFD Sender: No OFD packet to send [14:59:16]OFD Sender: No OFD packet to send [14:59:21]OFD Sender: No OFD packet to send [14:59:26]OFD Sender: No OFD packet to send [14:59:31]OFD Sender: No OFD packet to send [14:59:36]OFD Sender: No OFD packet to send [14:59:41]OFD Sender: No OFD packet to send [14:59:46]OFD Sender: No OFD packet to send [14:59:51]OFD Sender: No OFD packet to send [14:59:56]OFD Sender: No OFD packet to send [15:00:01]OFD Sender: No OFD packet to send [15:00:06]OFD Sender: No OFD packet to send [15:00:11]OFD Sender: No OFD packet to send [15:00:16]OFD Sender: No OFD packet to send [15:00:21]OFD Sender: No OFD packet to send [15:00:26]OFD Sender: No OFD packet to send [15:00:31]OFD Sender: No OFD packet to send [15:00:36]OFD Sender: No OFD packet to send [15:00:41]OFD Sender: No OFD packet to send [15:00:46]OFD Sender: No OFD packet to send [15:00:51]OFD Sender: No OFD packet to send [15:00:56]OFD Sender: No OFD packet to send [15:01:01]OFD Sender: No OFD packet to send [15:01:06]OFD Sender: No OFD packet to send [15:01:11]OFD Sender: No OFD packet to send [15:01:16]OFD Sender: No OFD packet to send [15:01:21]OFD Sender: No OFD packet to send [15:01:26]OFD Sender: No OFD packet to send [15:01:31]OFD Sender: No OFD packet to send [15:01:36]OFD Sender: No OFD packet to send [15:01:41]OFD Sender: No OFD packet to send [15:01:46]OFD Sender: No OFD packet to send [15:01:51]OFD Sender: No OFD packet to send [15:01:56]OFD Sender: No OFD packet to send [15:01:57]accept exits with 9 [15:01:57]New connection [15:01:57]New thread 3067592036 created [15:01:57]Thread 3067448676 joined [15:01:57]Waiting for new connection... [15:01:57] Sock 9.Parse request [15:01:57]Sock 9.Check first char [15:01:57]Sock 9.First char is OK [15:01:57]request: POST /json_proto HTTP/1.0 [15:01:57]Method: POST [15:01:57]URL: /json_proto [15:01:57]Method is POST - this is cgi request [15:01:57]url: /json_proto [15:01:57]query_string will be loaded in cgi processing [15:01:57]execute_cgi json_proto POST (null) [15:01:57]execute_cgi path=json_proto method=POST [15:01:57]POST find Content-Length [15:01:57]Host: 172.17.39.4:8080 [15:01:57]Content-Length: 2727 [15:01:57]Content-Type: application/json [15:01:57] [15:01:57]POST finish read [15:01:57]Found Content-Length = 2727 [15:01:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129525", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 693.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:01:57]execute_script... [15:01: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)129525", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036190018", "name": "\u041A\u043E\u0444\u0435 \u0410\u043C\u0435\u0440\u0438\u043A\u0430\u043D\u043E XL(GABB TRADE)", "price" : 125.00, "quantity" : 1.000, "sum" : 125.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000036230011", "name": "\u041A\u043E\u0444\u0435 \u041B\u0430\u0442\u0442\u0435 XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870202521261", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u043B\u0435\u0441\u043D\u044B\u0435 \u044F\u0433\u043E\u0434\u044B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189356", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 693.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:01:57]POST & json_proto [15:01:57]process_json_proto [15:01:57]json parsed OK: [15:01:57]protocol is kg_v1.0 [15:01:57]action value=close_receipt [15:01:57]process_action close_receipt [15:01:57]cmd_close_receipt [15:01:57]MH_GetDate [15:01:57]Write to MH i2c: F0 00 00 69 0B 63 [15:01:57]Write i2c OK [15:01:57]MH_I2C_Read... [15:01:57]Read from MH i2c: F0 [15:01:57]MH_I2C_Read... [15:01:57]Read from MH i2c: F0 09 00 [15:01:57]MH_I2C_Read... [15:01:57]Read from MH i2c: F0 09 00 69 0B 00 67 E8 93 66 2D 25 5D 64 C7 [15:01:57]GetLastDocTimeStamp 1720968459 [15:01:57]current date 1720969319 [15:01:57]FM_GetShiftState [15:01:57]SAM_PROTO_GetShiftState [15:01:57]wFMCommunicate request_size=4 [15:01:57]MH_SAM_APDU [15:01:57]CAPDU: 80 13 01 00 [15:01:57]Write to MH i2c: E2 08 00 6A 0B 80 13 01 00 00 00 00 00 F2 [15:01:57]Write i2c OK [15:01:57]MH_I2C_Read... [15:01:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:01:57]Read from MH i2c: E2 [15:01:57]MH_I2C_Read... [15:01:57]Read from MH i2c: E2 0E 00 [15:01:57]MH_I2C_Read... [15:01:57]Read from MH i2c: E2 0E 00 6A 0B 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 99 [15:01:57]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:01:57]wFMCommunicate OK [15:01:57]SAM_PROTO_GetShiftState done [15:01:57]FM_GetShiftState done [15:01:57]opened in 1720917126 [15:01:57]opened+sec_in_day 1721003526 [15:01:57]quantity*price = 11000 [15:01:57]sum+1 = 11001 [15:01:57]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000036190018 Кофе Американо XL(GABB TRADE) 1.000 * 125.00 = 125.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2000036230011 Кофе Латте XL(GABB TRADE) 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521261 Напиток MAXI чай 1,2 лесные ягоды 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189356 Холодный чай Fuse манго ананас 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2587136579566 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 693.00 НСП 1% : 6.13 НДС 12% : 73.57 Наличными: 0.00 Безнал.: 693.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 79 14.07.2024 15:01 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57062 ФПД: 33941648710360 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T150159&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57062&fm=33941648710360&tin=02508201610067®Number=0000000000091208&sum=69300 0 [15:01:58]StoreToDocumentArchive [15:01:58]shift 496 fd 57062 [15:01:58]save to /storage/0496/doc_00057062 [15:01:58]save last doc name /storage/0496/doc_00057062 to /storage/kkm_last_doc_name [15:01:58]save OK [15:01:58]Clear old archive folders... [15:01:58]ProcessDocumentItem done err = 0, tmpTLVsize=1002 [15:01:58]tlvbuf is 00FB08E0 [15:01:58]SAM_PROTO_ClearQueue [15:01:58]wFMCommunicate request_size=4 [15:01:58]MH_SAM_APDU [15:01:58]CAPDU: 80 09 00 00 [15:01:58]Write to MH i2c: E2 08 00 77 0B 80 09 00 00 00 00 00 00 F4 [15:01:58]Write i2c OK [15:01:58]MH_I2C_Read... [15:01:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:01:59]Read from MH i2c: E2 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 77 0B 00 90 00 F6 [15:01:59]RAPDU: 90 00 [15:01:59]wFMCommunicate OK [15:01:59]SAM_PROTO_ClearQueue done [15:01:59]KKMCreateOFDPacket [15:01:59]OFDProtocolAddRootSTLVToBuf [15:01:59]FM_MakeSignedData [15:01:59]FM_MakeSignedData [15:01:59]SAM_PROTO_SignData [15:01:59]wFMCommunicate request_size=4 [15:01:59]MH_SAM_APDU [15:01:59]CAPDU: 80 0D 01 02 [15:01:59]Write to MH i2c: E2 08 00 78 0B 80 0D 01 02 00 00 00 00 FC [15:01:59]Write i2c OK [15:01:59]MH_I2C_Read... [15:01:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:01:59]Read from MH i2c: E2 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 78 0B 00 90 00 F7 [15:01:59]RAPDU: 90 00 [15:01:59]wFMCommunicate OK [15:01:59]wFMCommunicate request_size=255 [15:01:59]MH_SAM_APDU [15:01:59]CAPDU: 80 0D 02 02 FA 03 00 EA 03 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 [15:01:59]Write to MH i2c: E2 02 01 79 0B 80 0D 02 02 FA 00 03 00 EA 03 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 00 4A [15:01:59]Write i2c OK [15:01:59]MH_I2C_Read... [15:01:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:59]Read from MH i2c: E2 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 79 0B 00 90 00 F8 [15:01:59]RAPDU: 90 00 [15:01:59]wFMCommunicate OK [15:01:59]wFMCommunicate request_size=255 [15:01:59]MH_SAM_APDU [15:01:59]CAPDU: 80 0D 02 02 FA 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 7C 00 8A 04 0D 00 35 34 34 39 [15:01:59]Write to MH i2c: E2 02 01 7A 0B 80 0D 02 02 FA 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 7C 00 8A 04 0D 00 35 34 34 39 00 00 09 [15:01:59]Write i2c OK [15:01:59]MH_I2C_Read... [15:01:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:59]Read from MH i2c: E2 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 7A 0B 00 90 00 F9 [15:01:59]RAPDU: 90 00 [15:01:59]wFMCommunicate OK [15:01:59]wFMCommunicate request_size=255 [15:01:59]MH_SAM_APDU [15:01:59]CAPDU: 80 0D 02 02 FA 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 [15:01:59]Write to MH i2c: E2 02 01 7B 0B 80 0D 02 02 FA 00 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 00 00 02 [15:01:59]Write i2c OK [15:01:59]MH_I2C_Read... [15:01:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:01:59]Read from MH i2c: E2 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 [15:01:59]MH_I2C_Read... [15:01:59]Read from MH i2c: E2 03 00 7B 0B 00 90 00 FA [15:01:59]RAPDU: 90 00 [15:01:59]wFMCommunicate OK [15:01:59]wFMCommunicate request_size=255 [15:01:59]MH_SAM_APDU [15:01:59]CAPDU: 80 0D 02 02 FA 39 35 36 36 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 B4 0E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 0E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 67 E8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E6 DE 00 00 35 04 06 00 [15:01:59]Write to MH i2c: E2 02 01 7C 0B 80 0D 02 02 FA 00 39 35 36 36 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 B4 0E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 0E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 67 E8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E6 DE 00 00 35 04 06 00 00 00 FE [15:01:59]Write i2c OK [15:01:59]MH_I2C_Read... [15:02:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:02:00]Read from MH i2c: E2 [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: E2 03 00 [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: E2 03 00 7C 0B 00 90 00 FB [15:02:00]RAPDU: 90 00 [15:02:00]wFMCommunicate OK [15:02:00]wFMCommunicate request_size=11 [15:02:00]MH_SAM_APDU [15:02:00]CAPDU: 80 0D 02 02 06 1E DE A7 EA 1A D8 [15:02:00]Write to MH i2c: E2 0E 00 7D 0B 80 0D 02 02 06 00 1E DE A7 EA 1A D8 00 00 8D [15:02:00]Write i2c OK [15:02:00]MH_I2C_Read... [15:02:00]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:02:00]Read from MH i2c: E2 [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: E2 03 00 [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: E2 03 00 7D 0B 00 90 00 FC [15:02:00]RAPDU: 90 00 [15:02:00]wFMCommunicate OK [15:02:00]wFMCommunicate request_size=4 [15:02:00]MH_SAM_APDU [15:02:00]CAPDU: 80 0D 03 02 [15:02:00]Write to MH i2c: E2 08 00 7E 0B 80 0D 03 02 00 00 00 00 04 [15:02:00]Write i2c OK [15:02:00]MH_I2C_Read... [15:02:00]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:02:00]Read from MH i2c: E2 [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: E2 0B 00 [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: E2 0B 00 7E 0B 00 1F 9E 14 26 37 8B 55 6F 90 00 82 [15:02:00]RAPDU: 1F 9E 14 26 37 8B 55 6F 90 00 [15:02:00]wFMCommunicate OK [15:02:00]SAM_PROTO_SignData done [15:02:00]FM_MakeSignedData done [15:02:00]CreateOFDProtocolMessage [15:02:00]wFMCommunicate request_size=4 [15:02:00]MH_SAM_APDU [15:02:00]CAPDU: 80 11 00 00 [15:02:00]Write to MH i2c: E2 08 00 7F 0B 80 11 00 00 00 00 00 00 04 [15:02:00]Write i2c OK [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: E2 [15:02:00]MH_I2C_Read... [15:02:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:02:00]Read from MH i2c: E2 17 00 [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: E2 17 00 7F 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5E [15:02:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:02:00]wFMCommunicate OK [15:02:00]CreateOFDProtocolMessage done [15:02:00]OFDSenderStorePacket 57062 [15:02:00]StoreOFDPacket docnum=57062 [15:02:00]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 FE 03 00 00 99 10 F6 03 97 3F 5A 03 01 00 03 00 EA 03 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 B4 0E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 0E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 67 E8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E6 DE 00 00 35 04 06 00 1E DE A7 EA 1A D8 1F 9E 14 26 37 8B 55 6F [15:02:00]CheckFolder [15:02:00]dirname=/storage/ofd_packets [15:02:00]CheckFolder done [15:02:00]ProducePacketName [15:02:00]name=ofd_packets/00057062 [15:02:00]NVStorageSaveData ofd_packets/00057062 [15:02:00]File name is /storage/ofd_packets/00057062 [15:02:00]Write 1052 bytes [15:02:00]NVStorageSaveData done [15:02:00]OFDSenderStorePacket done [15:02:00]KKMCreateOFDPacket done [15:02:00]NVStorageSaveData kkm_last_timestamp [15:02:00]File name is /storage/kkm_last_timestamp [15:02:00]Write 4 bytes [15:02:00]NVStorageSaveData done [15:02:00]ExternCall_PrintAddStr [15:02:00]wPrintStart [15:02:00]Write to MH i2c: 01 00 00 80 0B 8B [15:02:00]Write i2c OK [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: 01 [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: 01 07 00 [15:02:00]MH_I2C_Read... [15:02:00]Read from MH i2c: 01 07 00 80 0B 00 00 00 00 00 FF 0F A0 [15:02:00]RasterBufferAndPrint [15:02:00]line Счет N : (3)129525 [15:02:00]line ИНН: 02508201610067 [15:02:00]line Контрольно-Кассовый Чек [15:02:00]line ПРОДАЖА [15:02:00]line Товар: 4870202521216 [15:02:00]line Напиток MAXI чай 1,2 зел.лимон (новый) [15:02:00]line 1.000 * 110.00 [15:02:00]line = 110.00 [15:02:00]line НДС 12% НСП 1% [15:02:00]line > о реализуемом товаре [15:02:00]line Товар: 2000036190018 [15:02:00]line Кофе Американо XL(GABB TRADE) [15:02:00]line 1.000 * 125.00 [15:02:00]line = 125.00 [15:02:00]line НДС 12% НСП 1% [15:02:00]line > о реализуемом товаре [15:02:00]line Товар: 2000036230011 [15:02:00]line Кофе Латте XL(GABB TRADE) [15:02:00]line 1.000 * 130.00 [15:02:00]line = 130.00 [15:02:00]line НДС 12% НСП 1% [15:02:00]line > о реализуемом товаре [15:02:00]line Товар: 4870202521261 [15:02:00]line Напиток MAXI чай 1,2 лесные ягоды [15:02:00]line 1.000 * 110.00 [15:02:00]line = 110.00 [15:02:00]line НДС 12% НСП 1% [15:02:00]line > о реализуемом товаре [15:02:00]line Товар: 5449000189356 [15:02:00]line Холодный чай Fuse манго ананас 1л [15:02:00]line 1.000 * 107.00 [15:02:00]line = 107.00 [15:02:00]line НДС 12% НСП 1% [15:02:00]line > о реализуемом товаре [15:02:00]line Товар: 5449000189332 [15:02:00]line Холодный чай Fuse персик 1л [15:02:00]line 1.000 * 107.00 [15:02:00]line = 107.00 [15:02:00]line НДС 12% НСП 1% [15:02:00]line > о реализуемом товаре [15:02:00]line Товар: 2587136579566 [15:02:00]line Пакет Партнер Нефть [15:02:00]line 1.000 * 4.00 [15:02:00]line = 4.00 [15:02:00]line НДС 12% НСП 1% [15:02:00]line > о реализуемом товаре [15:02:00]line ИТОГО: 693.00 [15:02:00]line НСП 1% : 6.13 [15:02:00]line НДС 12% : 73.57 [15:02:00]line Наличными: 0.00 [15:02:00]line Безнал.: 693.00 [15:02:00]line Место: АЗС № 132 "Партнер Нефть" [15:02:00]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:02:00]line СНО: Общий режим [15:02:00]line Чек 79 14.07.2024 15:01 [15:02:00]line Смена: 496 ФФД: 1.0 [15:02:00]line ЗНМ: 0300000132 [15:02:00]line РНМ: 0000000000091208 [15:02:00]line Версия ККМ: 001 [15:02:00]line Платежная система: АКБ Кыргызстан [15:02:00]line ФМ: 0000000000874857 [15:02:00]line ФД: 57062 [15:02:00]line ФПД: 33941648710360 [15:02:00]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T150159&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57062&fm=33941648710360&tin=02508201610067®Number=0000000000091208&sum=69300 [15:02:00]line 0 [15:02:00]written 0, free lines is 4095 [15:02:00]OFD Sender: Processing packet 57062 [packets to send 38, broken 37] [15:02:00]ProducePacketName [15:02:00]name=ofd_packets/00057062 [15:02:00]OFD Sender: To server: pG, [15:02:00]CommunicateWithHost lk.salyk.kg:30040 [15:02:00]ConnectInit lk.salyk.kg [15:02:00]Connected sock=10 [15:02:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 FE 03 00 00 99 10 F6 03 97 3F 5A 03 01 00 03 00 EA 03 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 6E 00 8A 04 0D 00 32 30 30 30 30 33 36 31 39 30 30 31 38 06 04 2A 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D4 30 00 00 00 00 13 04 06 00 D4 30 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 66 00 8A 04 0D 00 32 30 30 30 30 33 36 32 33 30 30 31 31 06 04 22 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9B D0 B0 D1 82 D1 82 D0 B5 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7A 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 36 31 06 04 36 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 D0 BB D0 B5 D1 81 D0 BD D1 8B D0 B5 20 D1 8F D0 B3 D0 BE D0 B4 D1 8B 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 7C 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 35 36 06 04 38 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 B4 0E 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 65 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 BD 1C 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 0E 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 4F 00 00 00 F4 03 04 00 67 E8 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E6 DE 00 00 35 04 06 00 1E DE A7 EA 1A D8 1F 9E 14 26 37 8B 55 6F [15:02:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 EF EB 47 00 50 C4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E6 DE 00 00 F4 03 04 00 B9 8E 93 66 B6 04 01 00 00 19 AD A5 E9 E3 85 AD BD [15:02:01]CommunicateWithHost err = 0 [15:02:01]CheckOFDResponse [15:02:01]1017 (14) - 77093643461234 [15:02:01]1041 (16) - 0000000000874857 [15:02:01]1040 (4) - 57062 [15:02:01]1012 (4) - 14.07.2024 08:39 [15:02:01]1206 (1) - 0 [15:02:01]OFD Sender: Remove packet 57062 [15:02:01]ProducePacketName [15:02:01]name=ofd_packets/00057062 [15:02:01]NVStorageDeleteData [15:02:01]Write to MH i2c: 01 00 00 D2 0B DD [15:02:01]Write i2c OK [15:02:01]MH_I2C_Read... [15:02:01]Read from MH i2c: 01 [15:02:01]MH_I2C_Read... [15:02:01]Read from MH i2c: 01 07 00 [15:02:01]MH_I2C_Read... [15:02:01]Read from MH i2c: 01 07 00 D2 0B 00 00 00 00 00 9A 0A 88 [15:02:01]RasterBufferAndPrint [15:02:01]line [15:02:01]line [15:02:01]line [15:02:01]line [15:02:01]line [15:02:01]written 0, free lines is 2728 [15:02:01]MH_Cut [15:02:01]Write to MH i2c: D1 01 00 D9 0B 01 B6 [15:02:01]Write i2c OK [15:02:01]MH_I2C_Read... [15:02:01]Read from MH i2c: D1 [15:02:01]MH_I2C_Read... [15:02:01]Read from MH i2c: D1 01 00 [15:02:01]MH_I2C_Read... [15:02:01]Read from MH i2c: D1 01 00 D9 0B 00 B5 [15:02:01]Write to MH i2c: 01 00 00 DA 0B E5 [15:02:01]Write i2c OK [15:02:01]MH_I2C_Read... [15:02:01]OFD Sender: No OFD packet to send [15:02:02]*** Cut start [15:02:02]*** Partial cut [15:02:02]*** CUTSNS_PIN = 1 [15:02:02]*** CUTSNS_PIN = 0 [15:02:03]*** Brake cut motor [15:02:03]Read from MH i2c: 01 [15:02:03]MH_I2C_Read... [15:02:03]*** Stop cut motor [15:02:03]*** Cut end [15:02:03]Read from MH i2c: 01 07 00 [15:02:03]MH_I2C_Read... [15:02:03]Read from MH i2c: 01 07 00 DA 0B 00 00 00 00 00 FF 0F FA [15:02:03]process_action close_receipt done [15:02:03]requested_data is exist [15:02:03]produce_requested_data [15:02:03]requested_item fm.sn is exist - process it [15:02:03]wFMCommunicate request_size=4 [15:02:03]MH_SAM_APDU [15:02:03]CAPDU: 80 11 00 00 [15:02:03]Write to MH i2c: E2 08 00 DB 0B 80 11 00 00 00 00 00 00 60 [15:02:03]Write i2c OK [15:02:03]MH_I2C_Read... [15:02:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:02:03]Read from MH i2c: E2 [15:02:03]MH_I2C_Read... [15:02:03]Read from MH i2c: E2 17 00 [15:02:03]MH_I2C_Read... [15:02:03]Read from MH i2c: E2 17 00 DB 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BA [15:02:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:02:03]wFMCommunicate OK [15:02:03]requested_item fd.num is exist - process it [15:02:03]SAM_PROTO_GetFieldsCounters [15:02:03]wFMCommunicate request_size=4 [15:02:03]MH_SAM_APDU [15:02:03]CAPDU: 80 13 00 00 [15:02:03]Write to MH i2c: E2 08 00 DC 0B 80 13 00 00 00 00 00 00 63 [15:02:03]Write i2c OK [15:02:03]MH_I2C_Read... [15:02:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:02:03]Read from MH i2c: E2 [15:02:03]MH_I2C_Read... [15:02:03]Read from MH i2c: E2 62 00 [15:02:03]MH_I2C_Read... [15:02:03]Read from MH i2c: E2 62 00 DC 0B 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E6 DE 00 00 0E 04 04 00 F0 01 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 28 [15:02:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E6 DE 00 00 0E 04 04 00 F0 01 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 [15:02:03]wFMCommunicate OK [15:02:03]SAM_PROTO_GetFieldsCounters done [15:02:03]requested_item shift.num is exist - process it [15:02:03]requested_item shift.opened is exist - process it [15:02:03]req_shift_opened [15:02:03]FM_GetShiftState [15:02:03]SAM_PROTO_GetShiftState [15:02:03]wFMCommunicate request_size=4 [15:02:03]MH_SAM_APDU [15:02:03]CAPDU: 80 13 01 00 [15:02:03]Write to MH i2c: E2 08 00 DD 0B 80 13 01 00 00 00 00 00 65 [15:02:03]Write i2c OK [15:02:03]MH_I2C_Read... [15:02:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:02:03]Read from MH i2c: E2 [15:02:03]MH_I2C_Read... [15:02:03]Read from MH i2c: E2 0E 00 [15:02:03]MH_I2C_Read... [15:02:03]Read from MH i2c: E2 0E 00 DD 0B 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 0C [15:02:03]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:02:03]wFMCommunicate OK [15:02:03]SAM_PROTO_GetShiftState done [15:02:03]FM_GetShiftState done [15:02:03]req_shift_opened done [15:02:03]requested_item shift.open_date is exist - process it [15:02:03]req_shift_open_date [15:02:03]req_shift_open_date done [15:02:03]requested_item shift.sale.total is exist - process it [15:02:03]SAM_PROTO_GetShiftData [15:02:03]wFMCommunicate request_size=4 [15:02:03]MH_SAM_APDU [15:02:03]CAPDU: 80 13 02 00 [15:02:03]Write to MH i2c: E2 08 00 DE 0B 80 13 02 00 00 00 00 00 67 [15:02:03]Write i2c OK [15:02:03]MH_I2C_Read... [15:02:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:02:04]Read from MH i2c: E2 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 FD 00 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 FD 00 DE 0B 00 BB 04 AA 04 B7 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 88 A7 2A 70 04 03 00 68 DA 21 72 04 03 00 20 CD 08 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 9E 87 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9A 60 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 50 [15:02:04]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 4F 00 00 00 69 04 9B 00 6F 04 04 00 4D 00 00 00 B1 04 03 00 88 A7 2A 70 04 03 00 68 DA 21 72 04 03 00 20 CD 08 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 9E 87 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9A 60 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [15:02:04]wFMCommunicate OK [15:02:04]wFMCommunicate request_size=4 [15:02:04]MH_SAM_APDU [15:02:04]CAPDU: 80 17 00 00 [15:02:04]Write to MH i2c: E2 08 00 DF 0B 80 17 00 00 00 00 00 00 6A [15:02:04]Write i2c OK [15:02:04]MH_I2C_Read... [15:02:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:02:04]Read from MH i2c: E2 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 FD 00 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 FD 00 DF 0B 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FD [15:02:04]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:02:04]wFMCommunicate OK [15:02:04]wFMCommunicate request_size=4 [15:02:04]MH_SAM_APDU [15:02:04]CAPDU: 80 17 00 00 [15:02:04]Write to MH i2c: E2 08 00 E0 0B 80 17 00 00 00 00 00 00 6B [15:02:04]Write i2c OK [15:02:04]MH_I2C_Read... [15:02:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:02:04]Read from MH i2c: E2 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 FD 00 [15:02:04]MH_I2C_Read... [15:02:04]Read from MH i2c: E2 FD 00 E0 0B 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 97 [15:02:04]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:02:05]wFMCommunicate OK [15:02:05]wFMCommunicate request_size=4 [15:02:05]MH_SAM_APDU [15:02:05]CAPDU: 80 17 00 00 [15:02:05]Write to MH i2c: E2 08 00 E1 0B 80 17 00 00 00 00 00 00 6C [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:02:05]Read from MH i2c: E2 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 FD 00 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 FD 00 E1 0B 00 00 00 EF 03 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 90 00 E1 [15:02:05]RAPDU: 00 00 EF 03 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 90 00 [15:02:05]wFMCommunicate OK [15:02:05]wFMCommunicate request_size=4 [15:02:05]MH_SAM_APDU [15:02:05]CAPDU: 80 17 00 00 [15:02:05]Write to MH i2c: E2 08 00 E2 0B 80 17 00 00 00 00 00 00 6D [15:02:05]Write i2c OK [15:02:05]MH_I2C_Read... [15:02:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [15:02:05]Read from MH i2c: E2 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 D8 00 [15:02:05]MH_I2C_Read... [15:02:05]Read from MH i2c: E2 D8 00 E2 0B 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 54 [15:02:05]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [15:02:05]wFMCommunicate OK [15:02:05]SAM_PROTO_GetShiftData done [15:02:05]requested_item shift.sale.total_cash is exist - process it [15:02:05]requested_item shift.sale_refund.total is exist - process it [15:02:05]requested_item shift.sale_refund.total_cash is exist - process it [15:02:05]produce_requested_data done [15:02:05]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57062,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":27954.00,"shift.sale.total_cash":22186.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [15:02:05]process_action_free close_receipt [15:02:05]json_value_free [15:02:05]json_value_free done [15:02:05]process_json_proto returns [15:02:05]Send response to host [15:02:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57062,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":27954.00,"shift.sale.total_cash":22186.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [15:02:05]free response buf [15:02:05]execute_script done [15:02:05]execute_script returns [15:02:05]free content buf [15:02:05]Sock 9.Close socket [15:02:05]Sock 9.Thread stoped [15:02:06]OFD Sender: No OFD packet to send [15:02:11]OFD Sender: No OFD packet to send [15:02:16]OFD Sender: No OFD packet to send [15:02:21]OFD Sender: No OFD packet to send [15:02:26]OFD Sender: No OFD packet to send [15:02:31]OFD Sender: No OFD packet to send [15:02:36]OFD Sender: No OFD packet to send [15:02:41]OFD Sender: No OFD packet to send [15:02:46]OFD Sender: No OFD packet to send [15:02:51]OFD Sender: No OFD packet to send [15:02:56]OFD Sender: No OFD packet to send [15:03:01]OFD Sender: No OFD packet to send [15:03:06]OFD Sender: No OFD packet to send [15:03:11]OFD Sender: No OFD packet to send [15:03:16]OFD Sender: No OFD packet to send [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:06]OFD Sender: No OFD packet to send [15:04:11]OFD Sender: No OFD packet to send [15:04:16]OFD Sender: No OFD packet to send [15:04:21]OFD Sender: No OFD packet to send [15:04:26]OFD Sender: No OFD packet to send [15:04:31]OFD Sender: No OFD packet to send [15:04:36]OFD Sender: No OFD packet to send [15:04:41]OFD Sender: No OFD packet to send [15:04:46]OFD Sender: No OFD packet to send [15:04:51]OFD Sender: No OFD packet to send [15:04:56]OFD Sender: No OFD packet to send [15:05:01]OFD Sender: No OFD packet to send [15:05:06]OFD Sender: No OFD packet to send [15:05:11]OFD Sender: No OFD packet to send [15:05:16]OFD Sender: No OFD packet to send [15:05:21]OFD Sender: No OFD packet to send [15:05:26]OFD Sender: No OFD packet to send [15:05:31]OFD Sender: No OFD packet to send [15:05:36]OFD Sender: No OFD packet to send [15:05:41]OFD Sender: No OFD packet to send [15:05:46]OFD Sender: No OFD packet to send [15:05:51]OFD Sender: No OFD packet to send [15:05:56]OFD Sender: No OFD packet to send [15:06:01]OFD Sender: No OFD packet to send [15:06:06]OFD Sender: No OFD packet to send [15:06:11]OFD Sender: No OFD packet to send [15:06:16]OFD Sender: No OFD packet to send [15:06:21]OFD Sender: No OFD packet to send [15:06:26]OFD Sender: No OFD packet to send [15:06:31]OFD Sender: No OFD packet to send [15:06:36]OFD Sender: No OFD packet to send [15:06:41]OFD Sender: No OFD packet to send [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:32]OFD Sender: No OFD packet to send [15:07:37]OFD Sender: No OFD packet to send [15:07:42]OFD Sender: No OFD packet to send [15:07:47]OFD Sender: No OFD packet to send [15:07:52]OFD Sender: No OFD packet to send [15:07:57]OFD Sender: No OFD packet to send [15:08:02]OFD Sender: No OFD packet to send [15:08:07]OFD Sender: No OFD packet to send [15:08:12]OFD Sender: No OFD packet to send [15:08:17]OFD Sender: No OFD packet to send [15:08:22]OFD Sender: No OFD packet to send [15:08:27]OFD Sender: No OFD packet to send [15:08:32]OFD Sender: No OFD packet to send [15:08:37]OFD Sender: No OFD packet to send [15:08:42]OFD Sender: No OFD packet to send [15:08:47]OFD Sender: No OFD packet to send [15:08:52]OFD Sender: No OFD packet to send [15:08:57]OFD Sender: No OFD packet to send [15:09:02]OFD Sender: No OFD packet to send [15:09:07]OFD Sender: No OFD packet to send [15:09:12]OFD Sender: No OFD packet to send [15:09:17]OFD Sender: No OFD packet to send [15:09:22]OFD Sender: No OFD packet to send [15:09:27]OFD Sender: No OFD packet to send [15:09:32]OFD Sender: No OFD packet to send [15:09:37]OFD Sender: No OFD packet to send [15:09:42]OFD Sender: No OFD packet to send [15:09:47]OFD Sender: No OFD packet to send [15:09:52]OFD Sender: No OFD packet to send [15:09:57]OFD Sender: No OFD packet to send [15:10:02]OFD Sender: No OFD packet to send [15:10:07]OFD Sender: No OFD packet to send [15:10:12]OFD Sender: No OFD packet to send [15:10:17]OFD Sender: No OFD packet to send [15:10:22]OFD Sender: No OFD packet to send [15:10:27]OFD Sender: No OFD packet to send [15:10:32]OFD Sender: No OFD packet to send [15:10:37]OFD Sender: No OFD packet to send [15:10:42]OFD Sender: No OFD packet to send [15:10:47]OFD Sender: No OFD packet to send [15:10:52]OFD Sender: No OFD packet to send [15:10:57]OFD Sender: No OFD packet to send [15:11:02]OFD Sender: No OFD packet to send [15:11:07]OFD Sender: No OFD packet to send [15:11:12]OFD Sender: No OFD packet to send [15:11:17]OFD Sender: No OFD packet to send [15:11:22]OFD Sender: No OFD packet to send [15:11:27]OFD Sender: No OFD packet to send [15:11:32]OFD Sender: No OFD packet to send [15:11:37]OFD Sender: No OFD packet to send [15:11:42]OFD Sender: No OFD packet to send [15:11:47]OFD Sender: No OFD packet to send [15:11:52]OFD Sender: No OFD packet to send [15:11:57]OFD Sender: No OFD packet to send [15:12:02]OFD Sender: No OFD packet to send [15:12:07]OFD Sender: No OFD packet to send [15:12:12]OFD Sender: No OFD packet to send [15:12:17]OFD Sender: No OFD packet to send [15:12:22]OFD Sender: No OFD packet to send [15:12:27]OFD Sender: No OFD packet to send [15:12:32]OFD Sender: No OFD packet to send [15:12:37]OFD Sender: No OFD packet to send [15:12:42]OFD Sender: No OFD packet to send [15:12:47]OFD Sender: No OFD packet to send [15:12:52]OFD Sender: No OFD packet to send [15:12:57]OFD Sender: No OFD packet to send [15:13:02]OFD Sender: No OFD packet to send [15:13:07]OFD Sender: No OFD packet to send [15:13:12]OFD Sender: No OFD packet to send [15:13:17]OFD Sender: No OFD packet to send [15:13:22]OFD Sender: No OFD packet to send [15:13:27]OFD Sender: No OFD packet to send [15:13:32]OFD Sender: No OFD packet to send [15:13:37]OFD Sender: No OFD packet to send [15:13:42]OFD Sender: No OFD packet to send [15:13:47]OFD Sender: No OFD packet to send [15:13:52]OFD Sender: No OFD packet to send [15:13:57]OFD Sender: No OFD packet to send [15:14:02]OFD Sender: No OFD packet to send [15:14:07]OFD Sender: No OFD packet to send [15:14:12]OFD Sender: No OFD packet to send [15:14:17]OFD Sender: No OFD packet to send [15:14:22]OFD Sender: No OFD packet to send [15:14:27]OFD Sender: No OFD packet to send [15:14:32]OFD Sender: No OFD packet to send [15:14:37]OFD Sender: No OFD packet to send [15:14:42]OFD Sender: No OFD packet to send [15:14:47]OFD Sender: No OFD packet to send [15:14:52]OFD Sender: No OFD packet to send [15:14:57]OFD Sender: No OFD packet to send [15:15:02]OFD Sender: No OFD packet to send [15:15:07]OFD Sender: No OFD packet to send [15:15:12]OFD Sender: No OFD packet to send [15:15:17]OFD Sender: No OFD packet to send [15:15:22]OFD Sender: No OFD packet to send [15:15:27]OFD Sender: No OFD packet to send [15:15:32]OFD Sender: No OFD packet to send [15:15:37]accept exits with 7 [15:15:37]New connection [15:15:37]New thread 3067448676 created [15:15:37]Thread 3067592036 joined [15:15:37]Waiting for new connection... [15:15:37] Sock 7.Parse request [15:15:37]Sock 7.Check first char [15:15:37]Sock 7.First char is OK [15:15:37]request: POST /json_proto HTTP/1.0 [15:15:37]Method: POST [15:15:37]URL: /json_proto [15:15:37]Method is POST - this is cgi request [15:15:37]url: /json_proto [15:15:37]query_string will be loaded in cgi processing [15:15:37]execute_cgi json_proto POST (null) [15:15:37]execute_cgi path=json_proto method=POST [15:15:37]POST find Content-Length [15:15:37]Host: 172.17.39.4:8080 [15:15:37]Content-Length: 1726 [15:15:37]Content-Type: application/json [15:15:37] [15:15:37]POST finish read [15:15:37]Found Content-Length = 1726 [15:15:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129526", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745536", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston SS Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 403.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:15:37]execute_script... [15:15:37]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129526", "tax_sys" : 0, "items" : [ { "code": "4700000480364", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u044D\u043A\u0437\u043E\u0442\u0438\u043A 0.45 \u0436/\u0431", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700000481972", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u044D\u043D\u0435\u0440\u0433 Nitro \u0433\u0440\u0435\u0439\u043F\u0444\u0440\u0443\u0442-\u043C\u0430\u0440\u0430\u043A\u0443\u0439\u044F 0", "price" : 95.00, "quantity" : 1.000, "sum" : 95.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4700007110073", "name": "\u0421\u044D\u043D\u0434\u0432\u0438\u0447 \u0441 \u043A\u0435\u0442\u0447\u0443\u043F\u043E\u043C \u0422\u0430\u043B\u0430\u0441 \u0414\u0430\u0430\u043C\u044B", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48745536", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston SS Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 403.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:15:37]POST & json_proto [15:15:37]process_json_proto [15:15:37]json parsed OK: [15:15:37]protocol is kg_v1.0 [15:15:37]action value=close_receipt [15:15:37]process_action close_receipt [15:15:37]cmd_close_receipt [15:15:37]MH_GetDate [15:15:37]Write to MH i2c: F0 00 00 E3 0B DD [15:15:37]OFD Sender: No OFD packet to send [15:15:37]Write i2c OK [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: F0 [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: F0 09 00 [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: F0 09 00 E3 0B 00 9B EB 93 66 2D 25 5D 64 78 [15:15:37]GetLastDocTimeStamp 1720969319 [15:15:37]current date 1720970139 [15:15:37]FM_GetShiftState [15:15:37]SAM_PROTO_GetShiftState [15:15:37]wFMCommunicate request_size=4 [15:15:37]MH_SAM_APDU [15:15:37]CAPDU: 80 13 01 00 [15:15:37]Write to MH i2c: E2 08 00 E4 0B 80 13 01 00 00 00 00 00 6C [15:15:37]Write i2c OK [15:15:37]MH_I2C_Read... [15:15:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:37]Read from MH i2c: E2 [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: E2 0E 00 [15:15:37]MH_I2C_Read... [15:15:37]Read from MH i2c: E2 0E 00 E4 0B 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 13 [15:15:37]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:15:37]wFMCommunicate OK [15:15:37]SAM_PROTO_GetShiftState done [15:15:37]FM_GetShiftState done [15:15:37]opened in 1720917126 [15:15:37]opened+sec_in_day 1721003526 [15:15:37]quantity*price = 9500 [15:15:37]sum+1 = 9501 [15:15:37]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000481972 Напиток энерг Nitro грейпфрут-маракуйя 0 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700007110073 Сэндвич с кетчупом Талас Даамы 1.000 * 70.00 = 70.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48745536 Сигареты Winston SS Caster+ 1.000 * 143.00 = 143.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 403.00 НСП 1% : 3.56 НДС 12% : 42.80 Наличными: 403.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 80 14.07.2024 15:15 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57063 ФПД: 31763244088402 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T151539&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57063&fm=31763244088402&tin=02508201610067®Number=0000000000091208&sum=40300 0 [15:15:38]StoreToDocumentArchive [15:15:38]shift 496 fd 57063 [15:15:38]save to /storage/0496/doc_00057063 [15:15:38]save last doc name /storage/0496/doc_00057063 to /storage/kkm_last_doc_name [15:15:38]save OK [15:15:38]Clear old archive folders... [15:15:38]ProcessDocumentItem done err = 0, tmpTLVsize=670 [15:15:38]tlvbuf is 01045110 [15:15:38]SAM_PROTO_ClearQueue [15:15:38]wFMCommunicate request_size=4 [15:15:38]MH_SAM_APDU [15:15:38]CAPDU: 80 09 00 00 [15:15:38]Write to MH i2c: E2 08 00 F1 0B 80 09 00 00 00 00 00 00 6E [15:15:38]Write i2c OK [15:15:38]MH_I2C_Read... [15:15:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:15:38]Read from MH i2c: E2 [15:15:38]MH_I2C_Read... [15:15:38]Read from MH i2c: E2 03 00 [15:15:38]MH_I2C_Read... [15:15:38]Read from MH i2c: E2 03 00 F1 0B 00 90 00 70 [15:15:38]RAPDU: 90 00 [15:15:38]wFMCommunicate OK [15:15:38]SAM_PROTO_ClearQueue done [15:15:38]KKMCreateOFDPacket [15:15:38]OFDProtocolAddRootSTLVToBuf [15:15:38]FM_MakeSignedData [15:15:38]FM_MakeSignedData [15:15:38]SAM_PROTO_SignData [15:15:38]wFMCommunicate request_size=4 [15:15:38]MH_SAM_APDU [15:15:38]CAPDU: 80 0D 01 02 [15:15:38]Write to MH i2c: E2 08 00 F2 0B 80 0D 01 02 00 00 00 00 76 [15:15:38]Write i2c OK [15:15:38]MH_I2C_Read... [15:15:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:15:38]Read from MH i2c: E2 [15:15:38]MH_I2C_Read... [15:15:38]Read from MH i2c: E2 03 00 [15:15:38]MH_I2C_Read... [15:15:38]Read from MH i2c: E2 03 00 F2 0B 00 90 00 71 [15:15:38]RAPDU: 90 00 [15:15:38]wFMCommunicate OK [15:15:38]wFMCommunicate request_size=255 [15:15:38]MH_SAM_APDU [15:15:38]CAPDU: 80 0D 02 02 FA 03 00 9E 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 [15:15:38]Write to MH i2c: E2 02 01 F3 0B 80 0D 02 02 FA 00 03 00 9E 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 40 [15:15:38]Write i2c OK [15:15:38]MH_I2C_Read... [15:15:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:39]Read from MH i2c: E2 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 03 00 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 03 00 F3 0B 00 90 00 72 [15:15:39]RAPDU: 90 00 [15:15:39]wFMCommunicate OK [15:15:39]wFMCommunicate request_size=255 [15:15:39]MH_SAM_APDU [15:15:39]CAPDU: 80 0D 02 02 FA 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 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B 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 62 00 8A 04 08 00 34 38 37 34 35 35 33 36 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 53 53 20 43 61 73 74 65 72 2B 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 [15:15:39]Write to MH i2c: E2 02 01 F4 0B 80 0D 02 02 FA 00 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 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B 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 62 00 8A 04 08 00 34 38 37 34 35 35 33 36 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 53 53 20 43 61 73 74 65 72 2B 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 00 00 49 [15:15:39]Write i2c OK [15:15:39]MH_I2C_Read... [15:15:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:39]Read from MH i2c: E2 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 03 00 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 03 00 F4 0B 00 90 00 73 [15:15:39]RAPDU: 90 00 [15:15:39]wFMCommunicate OK [15:15:39]wFMCommunicate request_size=179 [15:15:39]MH_SAM_APDU [15:15:39]CAPDU: 80 0D 02 02 AE 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 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 50 00 00 00 F4 03 04 00 9B EB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E7 DE 00 00 35 04 06 00 1C E3 74 E1 7C 52 [15:15:39]Write to MH i2c: E2 B6 00 F5 0B 80 0D 02 02 AE 00 03 01 00 01 BC 04 01 00 01 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 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 50 00 00 00 F4 03 04 00 9B EB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E7 DE 00 00 35 04 06 00 1C E3 74 E1 7C 52 00 00 C7 [15:15:39]Write i2c OK [15:15:39]MH_I2C_Read... [15:15:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:15:39]Read from MH i2c: E2 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 03 00 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 03 00 F5 0B 00 90 00 74 [15:15:39]RAPDU: 90 00 [15:15:39]wFMCommunicate OK [15:15:39]wFMCommunicate request_size=4 [15:15:39]MH_SAM_APDU [15:15:39]CAPDU: 80 0D 03 02 [15:15:39]Write to MH i2c: E2 08 00 F6 0B 80 0D 03 02 00 00 00 00 7C [15:15:39]Write i2c OK [15:15:39]MH_I2C_Read... [15:15:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:15:39]Read from MH i2c: E2 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 0B 00 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 0B 00 F6 0B 00 18 03 36 40 94 C4 2D 2A 90 00 BD [15:15:39]RAPDU: 18 03 36 40 94 C4 2D 2A 90 00 [15:15:39]wFMCommunicate OK [15:15:39]SAM_PROTO_SignData done [15:15:39]FM_MakeSignedData done [15:15:39]CreateOFDProtocolMessage [15:15:39]wFMCommunicate request_size=4 [15:15:39]MH_SAM_APDU [15:15:39]CAPDU: 80 11 00 00 [15:15:39]Write to MH i2c: E2 08 00 F7 0B 80 11 00 00 00 00 00 00 7C [15:15:39]Write i2c OK [15:15:39]MH_I2C_Read... [15:15:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:39]Read from MH i2c: E2 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 17 00 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: E2 17 00 F7 0B 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D6 [15:15:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:15:39]wFMCommunicate OK [15:15:39]CreateOFDProtocolMessage done [15:15:39]OFDSenderStorePacket 57063 [15:15:39]StoreOFDPacket docnum=57063 [15:15:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B2 02 00 00 3B E7 AA 02 F0 5B 5A 03 01 00 03 00 9E 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B 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 62 00 8A 04 08 00 34 38 37 34 35 35 33 36 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 53 53 20 43 61 73 74 65 72 2B 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 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 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 50 00 00 00 F4 03 04 00 9B EB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E7 DE 00 00 35 04 06 00 1C E3 74 E1 7C 52 18 03 36 40 94 C4 2D 2A [15:15:39]CheckFolder [15:15:39]dirname=/storage/ofd_packets [15:15:39]CheckFolder done [15:15:39]ProducePacketName [15:15:39]name=ofd_packets/00057063 [15:15:39]NVStorageSaveData ofd_packets/00057063 [15:15:39]File name is /storage/ofd_packets/00057063 [15:15:39]Write 720 bytes [15:15:39]NVStorageSaveData done [15:15:39]OFDSenderStorePacket done [15:15:39]KKMCreateOFDPacket done [15:15:39]NVStorageSaveData kkm_last_timestamp [15:15:39]File name is /storage/kkm_last_timestamp [15:15:39]Write 4 bytes [15:15:39]NVStorageSaveData done [15:15:39]ExternCall_PrintAddStr [15:15:39]wPrintStart [15:15:39]Write to MH i2c: 01 00 00 F8 0B 03 [15:15:39]Write i2c OK [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: 01 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: 01 07 00 [15:15:39]MH_I2C_Read... [15:15:39]Read from MH i2c: 01 07 00 F8 0B 00 00 00 00 00 FF 0F 18 [15:15:40]RasterBufferAndPrint [15:15:40]line Счет N : (3)129526 [15:15:40]line ИНН: 02508201610067 [15:15:40]line Контрольно-Кассовый Чек [15:15:40]line ПРОДАЖА [15:15:40]line Товар: 4700000480364 [15:15:40]line Напиток энерг Nitro экзотик 0.45 ж/б [15:15:40]line 1.000 * 95.00 [15:15:40]line = 95.00 [15:15:40]line НДС 12% НСП 1% [15:15:40]line > о реализуемом товаре [15:15:40]line Товар: 4700000481972 [15:15:40]line Напиток энерг Nitro грейпфрут-маракуйя 0 [15:15:40]line 1.000 * 95.00 [15:15:40]line = 95.00 [15:15:40]line НДС 12% НСП 1% [15:15:40]line > о реализуемом товаре [15:15:40]line Товар: 4700007110073 [15:15:40]line Сэндвич с кетчупом Талас Даамы [15:15:40]line 1.000 * 70.00 [15:15:40]line = 70.00 [15:15:40]line НДС 12% НСП 1% [15:15:40]line > о реализуемом товаре [15:15:40]line Товар: 48745536 [15:15:40]line Сигареты Winston SS Caster+ [15:15:40]line 1.000 * 143.00 [15:15:40]line = 143.00 [15:15:40]line НДС 12% НСП 1% [15:15:40]line > о реализуемом товаре [15:15:40]line ИТОГО: 403.00 [15:15:40]line НСП 1% : 3.56 [15:15:40]line НДС 12% : 42.80 [15:15:40]line Наличными: 403.00 [15:15:40]line Безнал.: 0.00 [15:15:40]line Место: АЗС № 132 "Партнер Нефть" [15:15:40]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:15:40]line СНО: Общий режим [15:15:40]line Чек 80 14.07.2024 15:15 [15:15:40]line Смена: 496 ФФД: 1.0 [15:15:40]line ЗНМ: 0300000132 [15:15:40]line РНМ: 0000000000091208 [15:15:40]line Версия ККМ: 001 [15:15:40]line ФМ: 0000000000874857 [15:15:40]line ФД: 57063 [15:15:40]line ФПД: 31763244088402 [15:15:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T151539&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57063&fm=31763244088402&tin=02508201610067®Number=0000000000091208&sum=40300 [15:15:40]OFD Sender: Processing packet 57063 [packets to send 38, broken 37] [15:15:40]ProducePacketName [15:15:40]name=ofd_packets/00057063 [15:15:40]OFD Sender: To server: pG, [15:15:40]CommunicateWithHost lk.salyk.kg:30040 [15:15:40]ConnectInit lk.salyk.kg [15:15:40]line 0 [15:15:40]written 0, free lines is 4095 [15:15:40]Connected sock=10 [15:15:40]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B2 02 00 00 3B E7 AA 02 F0 5B 5A 03 01 00 03 00 9E 02 1E 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 33 36 34 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D1 8D D0 BA D0 B7 D0 BE D1 82 D0 B8 D0 BA 20 30 2E 34 35 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 89 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 31 39 37 32 06 04 45 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D1 8D D0 BD D0 B5 D1 80 D0 B3 20 4E 69 74 72 6F 20 D0 B3 D1 80 D0 B5 D0 B9 D0 BF D1 84 D1 80 D1 83 D1 82 2D D0 BC D0 B0 D1 80 D0 B0 D0 BA D1 83 D0 B9 D1 8F 20 30 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 1C 25 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7C 00 8A 04 0D 00 34 37 30 30 30 30 37 31 31 30 30 37 33 06 04 38 00 D0 A1 D1 8D D0 BD D0 B4 D0 B2 D0 B8 D1 87 20 D1 81 20 D0 BA D0 B5 D1 82 D1 87 D1 83 D0 BF D0 BE D0 BC 20 D0 A2 D0 B0 D0 BB D0 B0 D1 81 20 D0 94 D0 B0 D0 B0 D0 BC D1 8B 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 62 00 8A 04 08 00 34 38 37 34 35 35 33 36 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 53 53 20 43 61 73 74 65 72 2B 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 FC 03 06 00 6C 9D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 64 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B8 10 00 00 00 00 07 04 06 00 6C 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 50 00 00 00 F4 03 04 00 9B EB 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E7 DE 00 00 35 04 06 00 1C E3 74 E1 7C 52 18 03 36 40 94 C4 2D 2A [15:15:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 52 35 47 00 98 EE A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E7 DE 00 00 F4 03 04 00 EC 91 93 66 B6 04 01 00 00 A2 23 7D 36 D4 0D 27 9E [15:15:40]CommunicateWithHost err = 0 [15:15:40]CheckOFDResponse [15:15:40]1017 (14) - 77093643461234 [15:15:40]1041 (16) - 0000000000874857 [15:15:40]1040 (4) - 57063 [15:15:40]1012 (4) - 14.07.2024 08:53 [15:15:40]1206 (1) - 0 [15:15:40]OFD Sender: Remove packet 57063 [15:15:40]ProducePacketName [15:15:40]name=ofd_packets/00057063 [15:15:40]NVStorageDeleteData [15:15:40]Write to MH i2c: 01 00 00 35 0C 41 [15:15:40]Write i2c OK [15:15:40]MH_I2C_Read... [15:15:40]Read from MH i2c: 01 [15:15:40]MH_I2C_Read... [15:15:40]Read from MH i2c: 01 07 00 [15:15:40]MH_I2C_Read... [15:15:40]Read from MH i2c: 01 07 00 35 0C 00 00 00 00 00 AB 0B FE [15:15:40]RasterBufferAndPrint [15:15:40]line [15:15:40]line [15:15:40]line [15:15:40]line [15:15:40]line [15:15:40]written 0, free lines is 2996 [15:15:40]MH_Cut [15:15:40]Write to MH i2c: D1 01 00 3C 0C 01 1A [15:15:40]Write i2c OK [15:15:40]MH_I2C_Read... [15:15:40]Read from MH i2c: D1 [15:15:40]MH_I2C_Read... [15:15:40]Read from MH i2c: D1 01 00 [15:15:40]MH_I2C_Read... [15:15:40]Read from MH i2c: D1 01 00 3C 0C 00 19 [15:15:40]Write to MH i2c: 01 00 00 3D 0C 49 [15:15:40]Write i2c OK [15:15:40]MH_I2C_Read... [15:15:40]OFD Sender: No OFD packet to send [15:15:41]*** Cut start [15:15:41]*** Partial cut [15:15:41]*** CUTSNS_PIN = 1 [15:15:41]*** CUTSNS_PIN = 0 [15:15:42]*** Brake cut motor [15:15:42]Read from MH i2c: 01 [15:15:42]MH_I2C_Read... [15:15:42]*** Stop cut motor [15:15:42]*** Cut end [15:15:42]Read from MH i2c: 01 07 00 [15:15:42]MH_I2C_Read... [15:15:42]Read from MH i2c: 01 07 00 3D 0C 00 00 00 00 00 FF 0F 5E [15:15:42]process_action close_receipt done [15:15:42]requested_data is exist [15:15:42]produce_requested_data [15:15:42]requested_item fm.sn is exist - process it [15:15:42]wFMCommunicate request_size=4 [15:15:42]MH_SAM_APDU [15:15:42]CAPDU: 80 11 00 00 [15:15:42]Write to MH i2c: E2 08 00 3E 0C 80 11 00 00 00 00 00 00 C4 [15:15:42]Write i2c OK [15:15:42]MH_I2C_Read... [15:15:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:15:42]Read from MH i2c: E2 [15:15:42]MH_I2C_Read... [15:15:42]Read from MH i2c: E2 17 00 [15:15:42]MH_I2C_Read... [15:15:42]Read from MH i2c: E2 17 00 3E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1E [15:15:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:15:42]wFMCommunicate OK [15:15:42]requested_item fd.num is exist - process it [15:15:42]SAM_PROTO_GetFieldsCounters [15:15:42]wFMCommunicate request_size=4 [15:15:42]MH_SAM_APDU [15:15:42]CAPDU: 80 13 00 00 [15:15:42]Write to MH i2c: E2 08 00 3F 0C 80 13 00 00 00 00 00 00 C7 [15:15:42]Write i2c OK [15:15:42]MH_I2C_Read... [15:15:42]Read from MH i2c: E2 [15:15:42]MH_I2C_Read... [15:15:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:15:42]Read from MH i2c: E2 62 00 [15:15:42]MH_I2C_Read... [15:15:42]Read from MH i2c: E2 62 00 3F 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E7 DE 00 00 0E 04 04 00 F0 01 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 90 [15:15:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E7 DE 00 00 0E 04 04 00 F0 01 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 [15:15:42]wFMCommunicate OK [15:15:42]SAM_PROTO_GetFieldsCounters done [15:15:42]requested_item shift.num is exist - process it [15:15:42]requested_item shift.opened is exist - process it [15:15:42]req_shift_opened [15:15:42]FM_GetShiftState [15:15:42]SAM_PROTO_GetShiftState [15:15:42]wFMCommunicate request_size=4 [15:15:42]MH_SAM_APDU [15:15:42]CAPDU: 80 13 01 00 [15:15:42]Write to MH i2c: E2 08 00 40 0C 80 13 01 00 00 00 00 00 C9 [15:15:42]Write i2c OK [15:15:42]MH_I2C_Read... [15:15:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:15:42]Read from MH i2c: E2 [15:15:42]MH_I2C_Read... [15:15:42]Read from MH i2c: E2 0E 00 [15:15:42]MH_I2C_Read... [15:15:42]Read from MH i2c: E2 0E 00 40 0C 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 70 [15:15:42]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:15:42]wFMCommunicate OK [15:15:42]SAM_PROTO_GetShiftState done [15:15:42]FM_GetShiftState done [15:15:42]req_shift_opened done [15:15:42]requested_item shift.open_date is exist - process it [15:15:42]req_shift_open_date [15:15:42]req_shift_open_date done [15:15:42]requested_item shift.sale.total is exist - process it [15:15:42]SAM_PROTO_GetShiftData [15:15:42]wFMCommunicate request_size=4 [15:15:42]MH_SAM_APDU [15:15:42]CAPDU: 80 13 02 00 [15:15:42]Write to MH i2c: E2 08 00 41 0C 80 13 02 00 00 00 00 00 CB [15:15:42]Write i2c OK [15:15:42]MH_I2C_Read... [15:15:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:15:43]Read from MH i2c: E2 [15:15:43]MH_I2C_Read... [15:15:43]Read from MH i2c: E2 FD 00 [15:15:43]MH_I2C_Read... [15:15:43]Read from MH i2c: E2 FD 00 41 0C 00 BB 04 AA 04 B7 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 F4 44 2B 70 04 03 00 D4 77 22 72 04 03 00 20 CD 08 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 56 98 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FE 61 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 F8 [15:15:43]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 50 00 00 00 69 04 9B 00 6F 04 04 00 4E 00 00 00 B1 04 03 00 F4 44 2B 70 04 03 00 D4 77 22 72 04 03 00 20 CD 08 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 56 98 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 FE 61 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [15:15:43]wFMCommunicate OK [15:15:43]wFMCommunicate request_size=4 [15:15:43]MH_SAM_APDU [15:15:43]CAPDU: 80 17 00 00 [15:15:43]Write to MH i2c: E2 08 00 42 0C 80 17 00 00 00 00 00 00 CE [15:15:43]Write i2c OK [15:15:43]MH_I2C_Read... [15:15:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:15:43]Read from MH i2c: E2 [15:15:43]MH_I2C_Read... [15:15:43]Read from MH i2c: E2 FD 00 [15:15:43]MH_I2C_Read... [15:15:43]Read from MH i2c: E2 FD 00 42 0C 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 61 [15:15:43]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:15:43]wFMCommunicate OK [15:15:43]wFMCommunicate request_size=4 [15:15:43]MH_SAM_APDU [15:15:43]CAPDU: 80 17 00 00 [15:15:43]Write to MH i2c: E2 08 00 43 0C 80 17 00 00 00 00 00 00 CF [15:15:43]Write i2c OK [15:15:43]MH_I2C_Read... [15:15:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:15:43]Read from MH i2c: E2 [15:15:43]MH_I2C_Read... [15:15:43]Read from MH i2c: E2 FD 00 [15:15:43]MH_I2C_Read... [15:15:43]Read from MH i2c: E2 FD 00 43 0C 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FB [15:15:43]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:15:43]wFMCommunicate OK [15:15:43]wFMCommunicate request_size=4 [15:15:43]MH_SAM_APDU [15:15:43]CAPDU: 80 17 00 00 [15:15:43]Write to MH i2c: E2 08 00 44 0C 80 17 00 00 00 00 00 00 D0 [15:15:43]Write i2c OK [15:15:43]MH_I2C_Read... [15:15:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:15:44]Read from MH i2c: E2 [15:15:44]MH_I2C_Read... [15:15:44]Read from MH i2c: E2 FD 00 [15:15:44]MH_I2C_Read... [15:15:44]Read from MH i2c: E2 FD 00 44 0C 00 00 00 EF 03 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 90 00 45 [15:15:44]RAPDU: 00 00 EF 03 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 90 00 [15:15:44]wFMCommunicate OK [15:15:44]wFMCommunicate request_size=4 [15:15:44]MH_SAM_APDU [15:15:44]CAPDU: 80 17 00 00 [15:15:44]Write to MH i2c: E2 08 00 45 0C 80 17 00 00 00 00 00 00 D1 [15:15:44]Write i2c OK [15:15:44]MH_I2C_Read... [15:15:44]Read from MH i2c: E2 [15:15:44]MH_I2C_Read... [15:15:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [15:15:44]Read from MH i2c: E2 D8 00 [15:15:44]MH_I2C_Read... [15:15:44]Read from MH i2c: E2 D8 00 45 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 B8 [15:15:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [15:15:44]wFMCommunicate OK [15:15:44]SAM_PROTO_GetShiftData done [15:15:44]requested_item shift.sale.total_cash is exist - process it [15:15:44]requested_item shift.sale_refund.total is exist - process it [15:15:44]requested_item shift.sale_refund.total_cash is exist - process it [15:15:44]produce_requested_data done [15:15:44]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57063,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":28357.00,"shift.sale.total_cash":22589.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [15:15:44]process_action_free close_receipt [15:15:44]json_value_free [15:15:44]json_value_free done [15:15:44]process_json_proto returns [15:15:44]Send response to host [15:15:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57063,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":28357.00,"shift.sale.total_cash":22589.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [15:15:44]free response buf [15:15:44]execute_script done [15:15:44]execute_script returns [15:15:44]free content buf [15:15:44]Sock 7.Close socket [15:15:44]Sock 7.Thread stoped [15:15:46]OFD Sender: No OFD packet to send [15:15:51]OFD Sender: No OFD packet to send [15:15:56]OFD Sender: No OFD packet to send [15:16:01]OFD Sender: No OFD packet to send [15:16:06]OFD Sender: No OFD packet to send [15:16:11]OFD Sender: No OFD packet to send [15:16:16]OFD Sender: No OFD packet to send [15:16:21]OFD Sender: No OFD packet to send [15:16:26]OFD Sender: No OFD packet to send [15:16:31]OFD Sender: No OFD packet to send [15:16:36]OFD Sender: No OFD packet to send [15:16:41]OFD Sender: No OFD packet to send [15:16:46]OFD Sender: No OFD packet to send [15:16:51]OFD Sender: No OFD packet to send [15:16:56]OFD Sender: No OFD packet to send [15:17:01]OFD Sender: No OFD packet to send [15:17:06]OFD Sender: No OFD packet to send [15:17:11]OFD Sender: No OFD packet to send [15:17:16]OFD Sender: No OFD packet to send [15:17:21]OFD Sender: No OFD packet to send [15:17:26]OFD Sender: No OFD packet to send [15:17:31]OFD Sender: No OFD packet to send [15:17:36]OFD Sender: No OFD packet to send [15:17:41]OFD Sender: No OFD packet to send [15:17:46]OFD Sender: No OFD packet to send [15:17:51]OFD Sender: No OFD packet to send [15:17:56]OFD Sender: No OFD packet to send [15:18:01]OFD Sender: No OFD packet to send [15:18:06]OFD Sender: No OFD packet to send [15:18:11]OFD Sender: No OFD packet to send [15:18:16]OFD Sender: No OFD packet to send [15:18:21]OFD Sender: No OFD packet to send [15:18:26]OFD Sender: No OFD packet to send [15:18:31]OFD Sender: No OFD packet to send [15:18:36]OFD Sender: No OFD packet to send [15:18:41]OFD Sender: No OFD packet to send [15:18:46]OFD Sender: No OFD packet to send [15:18:51]OFD Sender: No OFD packet to send [15:18:55]accept exits with 9 [15:18:55]New connection [15:18:55]New thread 3067592036 created [15:18:55]Thread 3067448676 joined [15:18:55]Waiting for new connection... [15:18:55] Sock 9.Parse request [15:18:55]Sock 9.Check first char [15:18:55]Sock 9.First char is OK [15:18:55]request: POST /json_proto HTTP/1.0 [15:18:55]Method: POST [15:18:55]URL: /json_proto [15:18:55]Method is POST - this is cgi request [15:18:55]url: /json_proto [15:18:55]query_string will be loaded in cgi processing [15:18:55]execute_cgi json_proto POST (null) [15:18:55]execute_cgi path=json_proto method=POST [15:18:55]POST find Content-Length [15:18:55]Host: 172.17.39.4:8080 [15:18:55]Content-Length: 775 [15:18:55]Content-Type: application/json [15:18:55] [15:18:55]POST finish read [15:18:55]Found Content-Length = 775 [15:18:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855406", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 10.410, "sum" : 700.59, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:18:55]execute_script... [15:18: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 : (1)855406", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 32", "code": "2710124130", "name": "SUPER 92-\u041A-5", "price" : 67.30, "quantity" : 10.410, "sum" : 700.59, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:18:55]POST & json_proto [15:18:55]process_json_proto [15:18:55]json parsed OK: [15:18:55]protocol is kg_v1.0 [15:18:55]action value=close_receipt [15:18:55]process_action close_receipt [15:18:55]cmd_close_receipt [15:18:55]MH_GetDate [15:18:55]Write to MH i2c: F0 00 00 46 0C 41 [15:18:55]Write i2c OK [15:18:55]MH_I2C_Read... [15:18:55]Read from MH i2c: F0 [15:18:55]MH_I2C_Read... [15:18:55]Read from MH i2c: F0 09 00 [15:18:55]MH_I2C_Read... [15:18:55]Read from MH i2c: F0 09 00 46 0C 00 61 EC 93 66 2D 25 5D 64 A3 [15:18:55]GetLastDocTimeStamp 1720970139 [15:18:55]current date 1720970337 [15:18:55]FM_GetShiftState [15:18:55]SAM_PROTO_GetShiftState [15:18:55]wFMCommunicate request_size=4 [15:18:55]MH_SAM_APDU [15:18:55]CAPDU: 80 13 01 00 [15:18:55]Write to MH i2c: E2 08 00 47 0C 80 13 01 00 00 00 00 00 D0 [15:18:55]Write i2c OK [15:18:55]MH_I2C_Read... [15:18:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:18:56]Read from MH i2c: E2 [15:18:56]MH_I2C_Read... [15:18:56]Read from MH i2c: E2 0E 00 [15:18:56]MH_I2C_Read... [15:18:56]Read from MH i2c: E2 0E 00 47 0C 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 77 [15:18:56]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:18:56]wFMCommunicate OK [15:18:56]SAM_PROTO_GetShiftState done [15:18:56]FM_GetShiftState done [15:18:56]opened in 1720917126 [15:18:56]opened+sec_in_day 1721003526 [15:18:56]quantity*price = 70059 [15:18:56]sum+1 = 70060 [15:18:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.59 ИТОГО: 700.00 Внесено: 700.00 СДАЧА: 0.00 НСП 1% : 6.20 НДС 12% : 74.40 Наличными: 700.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 81 14.07.2024 15:18 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57064 ФПД: 17725121544161 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T151857&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57064&fm=17725121544161&tin=02508201610067®Number=0000000000091208&sum=70000 [15:18:57]StoreToDocumentArchive [15:18:57]shift 496 fd 57064 [15:18:57]save to /storage/0496/doc_00057064 [15:18:57]save last doc name /storage/0496/doc_00057064 to /storage/kkm_last_doc_name [15:18:57]save OK [15:18:57]Clear old archive folders... [15:18:57]ProcessDocumentItem done err = 0, tmpTLVsize=252 [15:18:57]tlvbuf is 00FF8A70 [15:18:57]SAM_PROTO_ClearQueue [15:18:57]wFMCommunicate request_size=4 [15:18:57]MH_SAM_APDU [15:18:57]CAPDU: 80 09 00 00 [15:18:57]Write to MH i2c: E2 08 00 54 0C 80 09 00 00 00 00 00 00 D2 [15:18:57]Write i2c OK [15:18:57]MH_I2C_Read... [15:18:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:18:57]Read from MH i2c: E2 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 03 00 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 03 00 54 0C 00 90 00 D4 [15:18:57]RAPDU: 90 00 [15:18:57]wFMCommunicate OK [15:18:57]SAM_PROTO_ClearQueue done [15:18:57]KKMCreateOFDPacket [15:18:57]OFDProtocolAddRootSTLVToBuf [15:18:57]FM_MakeSignedData [15:18:57]FM_MakeSignedData [15:18:57]SAM_PROTO_SignData [15:18:57]wFMCommunicate request_size=4 [15:18:57]MH_SAM_APDU [15:18:57]CAPDU: 80 0D 01 02 [15:18:57]Write to MH i2c: E2 08 00 55 0C 80 0D 01 02 00 00 00 00 DA [15:18:57]Write i2c OK [15:18:57]MH_I2C_Read... [15:18:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:18:57]Read from MH i2c: E2 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 03 00 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 03 00 55 0C 00 90 00 D5 [15:18:57]RAPDU: 90 00 [15:18:57]wFMCommunicate OK [15:18:57]wFMCommunicate request_size=255 [15:18:57]MH_SAM_APDU [15:18:57]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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 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 10 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 51 00 00 00 F4 03 04 00 61 EC 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E8 DE 00 00 35 04 06 00 [15:18:57]Write to MH i2c: E2 02 01 56 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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 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 10 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 51 00 00 00 F4 03 04 00 61 EC 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E8 DE 00 00 35 04 06 00 00 00 63 [15:18:57]Write i2c OK [15:18:57]MH_I2C_Read... [15:18:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:57]Read from MH i2c: E2 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 03 00 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 03 00 56 0C 00 90 00 D6 [15:18:57]RAPDU: 90 00 [15:18:57]wFMCommunicate OK [15:18:57]wFMCommunicate request_size=11 [15:18:57]MH_SAM_APDU [15:18:57]CAPDU: 80 0D 02 02 06 10 1E F3 92 BF E1 [15:18:57]Write to MH i2c: E2 0E 00 57 0C 80 0D 02 02 06 00 10 1E F3 92 BF E1 00 00 3C [15:18:57]Write i2c OK [15:18:57]MH_I2C_Read... [15:18:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:18:57]Read from MH i2c: E2 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 03 00 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 03 00 57 0C 00 90 00 D7 [15:18:57]RAPDU: 90 00 [15:18:57]wFMCommunicate OK [15:18:57]wFMCommunicate request_size=4 [15:18:57]MH_SAM_APDU [15:18:57]CAPDU: 80 0D 03 02 [15:18:57]Write to MH i2c: E2 08 00 58 0C 80 0D 03 02 00 00 00 00 DF [15:18:57]Write i2c OK [15:18:57]MH_I2C_Read... [15:18:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:18:57]Read from MH i2c: E2 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 0B 00 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 0B 00 58 0C 00 88 E7 E9 C5 B8 62 CA 6C 90 00 4D [15:18:57]RAPDU: 88 E7 E9 C5 B8 62 CA 6C 90 00 [15:18:57]wFMCommunicate OK [15:18:57]SAM_PROTO_SignData done [15:18:57]FM_MakeSignedData done [15:18:57]CreateOFDProtocolMessage [15:18:57]wFMCommunicate request_size=4 [15:18:57]MH_SAM_APDU [15:18:57]CAPDU: 80 11 00 00 [15:18:57]Write to MH i2c: E2 08 00 59 0C 80 11 00 00 00 00 00 00 DF [15:18:57]Write i2c OK [15:18:57]MH_I2C_Read... [15:18:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:57]Read from MH i2c: E2 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 17 00 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: E2 17 00 59 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 39 [15:18:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:18:57]wFMCommunicate OK [15:18:57]CreateOFDProtocolMessage done [15:18:57]OFDSenderStorePacket 57064 [15:18:57]StoreOFDPacket docnum=57064 [15:18:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 01 00 00 CF BE 08 01 50 0F 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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 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 10 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 51 00 00 00 F4 03 04 00 61 EC 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E8 DE 00 00 35 04 06 00 10 1E F3 92 BF E1 88 E7 E9 C5 B8 62 CA 6C [15:18:57]CheckFolder [15:18:57]dirname=/storage/ofd_packets [15:18:57]CheckFolder done [15:18:57]ProducePacketName [15:18:57]name=ofd_packets/00057064 [15:18:57]NVStorageSaveData ofd_packets/00057064 [15:18:57]File name is /storage/ofd_packets/00057064 [15:18:57]Write 302 bytes [15:18:57]NVStorageSaveData done [15:18:57]OFDSenderStorePacket done [15:18:57]KKMCreateOFDPacket done [15:18:57]NVStorageSaveData kkm_last_timestamp [15:18:57]File name is /storage/kkm_last_timestamp [15:18:57]Write 4 bytes [15:18:57]NVStorageSaveData done [15:18:57]ExternCall_PrintAddStr [15:18:57]wPrintStart [15:18:57]Write to MH i2c: 01 00 00 5A 0C 66 [15:18:57]Write i2c OK [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: 01 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: 01 07 00 [15:18:57]MH_I2C_Read... [15:18:57]Read from MH i2c: 01 07 00 5A 0C 00 00 00 00 00 FF 0F 7B [15:18:57]RasterBufferAndPrint [15:18:57]line Счет N : (1)855406 [15:18:57]line ИНН: 02508201610067 [15:18:57]line Контрольно-Кассовый Чек [15:18:57]line ПРОДАЖА [15:18:57]line ТРК (МРК, ГНК) : 32 [15:18:57]line Товар: 2710124130 [15:18:57]line SUPER 92-К-5 [15:18:57]line 10.410 * 67.30 [15:18:57]line = 700.59 [15:18:57]line НДС 12% НСП 1% [15:18:57]line > о реализуемом товаре [15:18:57]line ОКРУГЛЕНИЕ: -0.59 [15:18:57]line ИТОГО: 700.00 [15:18:57]line Внесено: 700.00 [15:18:57]line СДАЧА: 0.00 [15:18:57]line НСП 1% : 6.20 [15:18:57]line НДС 12% : 74.40 [15:18:57]line Наличными: 700.00 [15:18:57]line Безнал.: 0.00 [15:18:57]line Место: АЗС № 132 "Партнер Нефть" [15:18:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:18:57]line СНО: Общий режим [15:18:57]line Чек 81 14.07.2024 15:18 [15:18:57]line Смена: 496 ФФД: 1.0 [15:18:57]line ЗНМ: 0300000132 [15:18:57]line РНМ: 0000000000091208 [15:18:57]line Версия ККМ: 001 [15:18:57]line ФМ: 0000000000874857 [15:18:57]line ФД: 57064 [15:18:57]line ФПД: 17725121544161 [15:18:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T151857&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57064&fm=17725121544161&tin=02508201610067®Number=0000000000091208&sum=70000 [15:18:57]OFD Sender: Processing packet 57064 [packets to send 38, broken 37] [15:18:57]ProducePacketName [15:18:57]name=ofd_packets/00057064 [15:18:57]OFD Sender: To server: pG, [15:18:57]CommunicateWithHost lk.salyk.kg:30040 [15:18:57]ConnectInit lk.salyk.kg [15:18:57]written 0, free lines is 4095 [15:18:58]Connected sock=10 [15:18:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 01 00 00 CF BE 08 01 50 0F 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 55 50 45 52 20 39 32 2D D0 9A 2D 35 FF 03 08 00 03 AA 28 00 00 00 00 00 37 04 06 00 4A 1A 00 00 00 00 13 04 06 00 AB 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 10 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 51 00 00 00 F4 03 04 00 61 EC 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E8 DE 00 00 35 04 06 00 10 1E F3 92 BF E1 88 E7 E9 C5 B8 62 CA 6C [15:18:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 46 1B 47 00 52 C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E8 DE 00 00 F4 03 04 00 B2 92 93 66 B6 04 01 00 00 C0 5F B7 8A 18 C5 65 5E [15:18:58]CommunicateWithHost err = 0 [15:18:58]CheckOFDResponse [15:18:58]1017 (14) - 77093643461234 [15:18:58]1041 (16) - 0000000000874857 [15:18:58]1040 (4) - 57064 [15:18:58]1012 (4) - 14.07.2024 08:56 [15:18:58]1206 (1) - 0 [15:18:58]OFD Sender: Remove packet 57064 [15:18:58]ProducePacketName [15:18:58]name=ofd_packets/00057064 [15:18:58]NVStorageDeleteData [15:18:58]Write to MH i2c: 01 00 00 85 0C 91 [15:18:58]Write i2c OK [15:18:58]MH_I2C_Read... [15:18:58]Read from MH i2c: 01 [15:18:58]MH_I2C_Read... [15:18:58]Read from MH i2c: 01 07 00 [15:18:58]MH_I2C_Read... [15:18:58]Read from MH i2c: 01 07 00 85 0C 00 00 00 00 00 D4 0C 78 [15:18:58]RasterBufferAndPrint [15:18:58]line [15:18:58]line [15:18:58]line [15:18:58]line [15:18:58]line [15:18:58]written 0, free lines is 3292 [15:18:58]MH_Cut [15:18:58]Write to MH i2c: D1 01 00 8C 0C 01 6A [15:18:58]Write i2c OK [15:18:58]MH_I2C_Read... [15:18:58]Read from MH i2c: D1 [15:18:58]MH_I2C_Read... [15:18:58]Read from MH i2c: D1 01 00 [15:18:58]MH_I2C_Read... [15:18:58]Read from MH i2c: D1 01 00 8C 0C 00 69 [15:18:58]Write to MH i2c: 01 00 00 8D 0C 99 [15:18:58]Write i2c OK [15:18:58]MH_I2C_Read... [15:18:58]OFD Sender: No OFD packet to send [15:18:59]*** Cut start [15:18:59]*** Partial cut [15:18:59]*** CUTSNS_PIN = 1 [15:18:59]*** CUTSNS_PIN = 0 [15:18:59]*** Brake cut motor [15:18:59]Read from MH i2c: 01 [15:18:59]MH_I2C_Read... [15:18:59]*** Stop cut motor [15:18:59]*** Cut end [15:18:59]Read from MH i2c: 01 07 00 [15:18:59]MH_I2C_Read... [15:18:59]Read from MH i2c: 01 07 00 8D 0C 00 00 00 00 00 FF 0F AE [15:18:59]process_action close_receipt done [15:18:59]requested_data is exist [15:18:59]produce_requested_data [15:18:59]requested_item fm.sn is exist - process it [15:18:59]wFMCommunicate request_size=4 [15:18:59]MH_SAM_APDU [15:18:59]CAPDU: 80 11 00 00 [15:18:59]Write to MH i2c: E2 08 00 8E 0C 80 11 00 00 00 00 00 00 14 [15:18:59]Write i2c OK [15:18:59]MH_I2C_Read... [15:18:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:18:59]Read from MH i2c: E2 [15:18:59]MH_I2C_Read... [15:18:59]Read from MH i2c: E2 17 00 [15:18:59]MH_I2C_Read... [15:18:59]Read from MH i2c: E2 17 00 8E 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6E [15:18:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:18:59]wFMCommunicate OK [15:18:59]requested_item fd.num is exist - process it [15:18:59]SAM_PROTO_GetFieldsCounters [15:18:59]wFMCommunicate request_size=4 [15:18:59]MH_SAM_APDU [15:18:59]CAPDU: 80 13 00 00 [15:18:59]Write to MH i2c: E2 08 00 8F 0C 80 13 00 00 00 00 00 00 17 [15:18:59]Write i2c OK [15:18:59]MH_I2C_Read... [15:18:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:19:00]Read from MH i2c: E2 [15:19:00]MH_I2C_Read... [15:19:00]Read from MH i2c: E2 62 00 [15:19:00]MH_I2C_Read... [15:19:00]Read from MH i2c: E2 62 00 8F 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E8 DE 00 00 0E 04 04 00 F0 01 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 E4 [15:19:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E8 DE 00 00 0E 04 04 00 F0 01 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 [15:19:00]wFMCommunicate OK [15:19:00]SAM_PROTO_GetFieldsCounters done [15:19:00]requested_item shift.num is exist - process it [15:19:00]requested_item shift.opened is exist - process it [15:19:00]req_shift_opened [15:19:00]FM_GetShiftState [15:19:00]SAM_PROTO_GetShiftState [15:19:00]wFMCommunicate request_size=4 [15:19:00]MH_SAM_APDU [15:19:00]CAPDU: 80 13 01 00 [15:19:00]Write to MH i2c: E2 08 00 90 0C 80 13 01 00 00 00 00 00 19 [15:19:00]Write i2c OK [15:19:00]MH_I2C_Read... [15:19:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:19:00]Read from MH i2c: E2 [15:19:00]MH_I2C_Read... [15:19:00]Read from MH i2c: E2 0E 00 [15:19:00]MH_I2C_Read... [15:19:00]Read from MH i2c: E2 0E 00 90 0C 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C0 [15:19:00]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:19:00]wFMCommunicate OK [15:19:00]SAM_PROTO_GetShiftState done [15:19:00]FM_GetShiftState done [15:19:00]req_shift_opened done [15:19:00]requested_item shift.open_date is exist - process it [15:19:00]req_shift_open_date [15:19:00]req_shift_open_date done [15:19:00]requested_item shift.sale.total is exist - process it [15:19:00]SAM_PROTO_GetShiftData [15:19:00]wFMCommunicate request_size=4 [15:19:00]MH_SAM_APDU [15:19:00]CAPDU: 80 13 02 00 [15:19:00]Write to MH i2c: E2 08 00 91 0C 80 13 02 00 00 00 00 00 1B [15:19:00]Write i2c OK [15:19:00]MH_I2C_Read... [15:19:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:19:00]Read from MH i2c: E2 [15:19:00]MH_I2C_Read... [15:19:00]Read from MH i2c: E2 FD 00 [15:19:00]MH_I2C_Read... [15:19:00]Read from MH i2c: E2 FD 00 91 0C 00 BB 04 AA 04 B7 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 64 56 2C 70 04 03 00 44 89 23 72 04 03 00 20 CD 08 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 66 B5 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6A 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 EC [15:19:00]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 51 00 00 00 69 04 9B 00 6F 04 04 00 4F 00 00 00 B1 04 03 00 64 56 2C 70 04 03 00 44 89 23 72 04 03 00 20 CD 08 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 66 B5 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 6A 64 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [15:19:00]wFMCommunicate OK [15:19:00]wFMCommunicate request_size=4 [15:19:00]MH_SAM_APDU [15:19:00]CAPDU: 80 17 00 00 [15:19:00]Write to MH i2c: E2 08 00 92 0C 80 17 00 00 00 00 00 00 1E [15:19:00]Write i2c OK [15:19:00]MH_I2C_Read... [15:19:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:00]Read from MH i2c: E2 [15:19:00]MH_I2C_Read... [15:19:00]Read from MH i2c: E2 FD 00 [15:19:00]MH_I2C_Read... [15:19:00]Read from MH i2c: E2 FD 00 92 0C 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B1 [15:19:00]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:19:00]wFMCommunicate OK [15:19:00]wFMCommunicate request_size=4 [15:19:00]MH_SAM_APDU [15:19:00]CAPDU: 80 17 00 00 [15:19:00]Write to MH i2c: E2 08 00 93 0C 80 17 00 00 00 00 00 00 1F [15:19:00]Write i2c OK [15:19:00]MH_I2C_Read... [15:19:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:01]Read from MH i2c: E2 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 FD 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 FD 00 93 0C 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4B [15:19:01]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:19:01]wFMCommunicate OK [15:19:01]wFMCommunicate request_size=4 [15:19:01]MH_SAM_APDU [15:19:01]CAPDU: 80 17 00 00 [15:19:01]Write to MH i2c: E2 08 00 94 0C 80 17 00 00 00 00 00 00 20 [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:19:01]Read from MH i2c: E2 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 FD 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 FD 00 94 0C 00 00 00 EF 03 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 90 00 95 [15:19:01]RAPDU: 00 00 EF 03 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 90 00 [15:19:01]wFMCommunicate OK [15:19:01]wFMCommunicate request_size=4 [15:19:01]MH_SAM_APDU [15:19:01]CAPDU: 80 17 00 00 [15:19:01]Write to MH i2c: E2 08 00 95 0C 80 17 00 00 00 00 00 00 21 [15:19:01]Write i2c OK [15:19:01]MH_I2C_Read... [15:19:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [15:19:01]Read from MH i2c: E2 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 D8 00 [15:19:01]MH_I2C_Read... [15:19:01]Read from MH i2c: E2 D8 00 95 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 08 [15:19:01]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [15:19:01]wFMCommunicate OK [15:19:01]SAM_PROTO_GetShiftData done [15:19:01]requested_item shift.sale.total_cash is exist - process it [15:19:01]requested_item shift.sale_refund.total is exist - process it [15:19:01]requested_item shift.sale_refund.total_cash is exist - process it [15:19:01]produce_requested_data done [15:19:01]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57064,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":29057.00,"shift.sale.total_cash":23289.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [15:19:01]process_action_free close_receipt [15:19:01]json_value_free [15:19:01]json_value_free done [15:19:01]process_json_proto returns [15:19:01]Send response to host [15:19:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57064,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":29057.00,"shift.sale.total_cash":23289.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [15:19:01]free response buf [15:19:01]execute_script done [15:19:01]execute_script returns [15:19:01]free content buf [15:19:01]Sock 9.Close socket [15:19:01]Sock 9.Thread stoped [15:19:03]OFD Sender: No OFD packet to send [15:19:08]OFD Sender: No OFD packet to send [15:19:13]OFD Sender: No OFD packet to send [15:19:18]OFD Sender: No OFD packet to send [15:19:23]OFD Sender: No OFD packet to send [15:19:28]OFD Sender: No OFD packet to send [15:19:33]OFD Sender: No OFD packet to send [15:19:38]OFD Sender: No OFD packet to send [15:19:43]OFD Sender: No OFD packet to send [15:19:48]OFD Sender: No OFD packet to send [15:19:53]OFD Sender: No OFD packet to send [15:19:58]OFD Sender: No OFD packet to send [15:20:03]OFD Sender: No OFD packet to send [15:20:08]OFD Sender: No OFD packet to send [15:20:13]OFD Sender: No OFD packet to send [15:20:18]OFD Sender: No OFD packet to send [15:20:23]OFD Sender: No OFD packet to send [15:20:28]OFD Sender: No OFD packet to send [15:20:33]OFD Sender: No OFD packet to send [15:20:38]OFD Sender: No OFD packet to send [15:20:43]OFD Sender: No OFD packet to send [15:20:48]OFD Sender: No OFD packet to send [15:20:53]OFD Sender: No OFD packet to send [15:20:58]OFD Sender: No OFD packet to send [15:21:03]OFD Sender: No OFD packet to send [15:21:08]OFD Sender: No OFD packet to send [15:21:13]OFD Sender: No OFD packet to send [15:21:18]OFD Sender: No OFD packet to send [15:21:23]OFD Sender: No OFD packet to send [15:21:28]OFD Sender: No OFD packet to send [15:21:33]OFD Sender: No OFD packet to send [15:21:38]OFD Sender: No OFD packet to send [15:21:43]OFD Sender: No OFD packet to send [15:21:48]OFD Sender: No OFD packet to send [15:21:53]OFD Sender: No OFD packet to send [15:21:58]OFD Sender: No OFD packet to send [15:22:03]OFD Sender: No OFD packet to send [15:22:08]OFD Sender: No OFD packet to send [15:22:13]OFD Sender: No OFD packet to send [15:22:18]OFD Sender: No OFD packet to send [15:22:23]OFD Sender: No OFD packet to send [15:22:29]OFD Sender: No OFD packet to send [15:22:34]OFD Sender: No OFD packet to send [15:22:39]OFD Sender: No OFD packet to send [15:22:44]OFD Sender: No OFD packet to send [15:22:49]OFD Sender: No OFD packet to send [15:22:54]OFD Sender: No OFD packet to send [15:22:59]OFD Sender: No OFD packet to send [15:23:04]OFD Sender: No OFD packet to send [15:23:09]OFD Sender: No OFD packet to send [15:23:14]OFD Sender: No OFD packet to send [15:23:19]OFD Sender: No OFD packet to send [15:23:24]OFD Sender: No OFD packet to send [15:23:29]OFD Sender: No OFD packet to send [15:23:34]OFD Sender: No OFD packet to send [15:23:39]OFD Sender: No OFD packet to send [15:23:44]OFD Sender: No OFD packet to send [15:23:49]OFD Sender: No OFD packet to send [15:23:54]OFD Sender: No OFD packet to send [15:23:59]OFD Sender: No OFD packet to send [15:24:04]OFD Sender: No OFD packet to send [15:24:09]OFD Sender: No OFD packet to send [15:24:14]OFD Sender: No OFD packet to send [15:24:19]OFD Sender: No OFD packet to send [15:24:24]OFD Sender: No OFD packet to send [15:24:29]OFD Sender: No OFD packet to send [15:24:34]OFD Sender: No OFD packet to send [15:24:39]OFD Sender: No OFD packet to send [15:24:44]OFD Sender: No OFD packet to send [15:24:49]OFD Sender: No OFD packet to send [15:24:54]OFD Sender: No OFD packet to send [15:24:59]OFD Sender: No OFD packet to send [15:25:04]OFD Sender: No OFD packet to send [15:25:09]OFD Sender: No OFD packet to send [15:25:14]OFD Sender: No OFD packet to send [15:25:19]OFD Sender: No OFD packet to send [15:25:24]OFD Sender: No OFD packet to send [15:25:29]OFD Sender: No OFD packet to send [15:25:34]OFD Sender: No OFD packet to send [15:25:39]OFD Sender: No OFD packet to send [15:25:44]OFD Sender: No OFD packet to send [15:25:49]OFD Sender: No OFD packet to send [15:25:54]OFD Sender: No OFD packet to send [15:25:59]OFD Sender: No OFD packet to send [15:26:04]OFD Sender: No OFD packet to send [15:26:09]OFD Sender: No OFD packet to send [15:26:14]OFD Sender: No OFD packet to send [15:26:19]OFD Sender: No OFD packet to send [15:26:24]OFD Sender: No OFD packet to send [15:26:29]OFD Sender: No OFD packet to send [15:26:34]OFD Sender: No OFD packet to send [15:26:39]OFD Sender: No OFD packet to send [15:26:44]OFD Sender: No OFD packet to send [15:26:49]OFD Sender: No OFD packet to send [15:26:54]OFD Sender: No OFD packet to send [15:26:59]OFD Sender: No OFD packet to send [15:27:04]OFD Sender: No OFD packet to send [15:27:09]OFD Sender: No OFD packet to send [15:27:14]OFD Sender: No OFD packet to send [15:27:19]OFD Sender: No OFD packet to send [15:27:24]OFD Sender: No OFD packet to send [15:27:29]OFD Sender: No OFD packet to send [15:27:34]OFD Sender: No OFD packet to send [15:27:39]OFD Sender: No OFD packet to send [15:27:44]OFD Sender: No OFD packet to send [15:27:49]OFD Sender: No OFD packet to send [15:27:54]OFD Sender: No OFD packet to send [15:27:59]OFD Sender: No OFD packet to send [15:28:04]OFD Sender: No OFD packet to send [15:28:09]OFD Sender: No OFD packet to send [15:28:14]OFD Sender: No OFD packet to send [15:28:19]OFD Sender: No OFD packet to send [15:28:24]OFD Sender: No OFD packet to send [15:28:29]OFD Sender: No OFD packet to send [15:28:34]OFD Sender: No OFD packet to send [15:28:39]OFD Sender: No OFD packet to send [15:28:44]OFD Sender: No OFD packet to send [15:28:49]OFD Sender: No OFD packet to send [15:28:49]accept exits with 7 [15:28:49]New connection [15:28:49]New thread 3067448676 created [15:28:49]Thread 3067592036 joined [15:28:49]Waiting for new connection... [15:28:49] Sock 7.Parse request [15:28:49]Sock 7.Check first char [15:28:49]Sock 7.First char is OK [15:28:49]request: POST /json_proto HTTP/1.0 [15:28:49]Method: POST [15:28:49]URL: /json_proto [15:28:49]Method is POST - this is cgi request [15:28:49]url: /json_proto [15:28:49]query_string will be loaded in cgi processing [15:28:49]execute_cgi json_proto POST (null) [15:28:49]execute_cgi path=json_proto method=POST [15:28:49]POST find Content-Length [15:28:49]Host: 172.17.39.4:8080 [15:28:49]Content-Length: 783 [15:28:49]Content-Type: application/json [15:28:49] [15:28:49]POST finish read [15:28:49]Found Content-Length = 783 [15:28:49]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855415", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:28:49]execute_script... [15:28: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)855415", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 61", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 13.780, "sum" : 1000.43, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:28:49]POST & json_proto [15:28:49]process_json_proto [15:28:49]json parsed OK: [15:28:49]protocol is kg_v1.0 [15:28:49]action value=close_receipt [15:28:49]process_action close_receipt [15:28:49]cmd_close_receipt [15:28:49]MH_GetDate [15:28:49]Write to MH i2c: F0 00 00 96 0C 91 [15:28:49]Write i2c OK [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: F0 [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: F0 09 00 [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: F0 09 00 96 0C 00 B3 EE 93 66 2D 25 5D 64 47 [15:28:49]GetLastDocTimeStamp 1720970337 [15:28:49]current date 1720970931 [15:28:49]FM_GetShiftState [15:28:49]SAM_PROTO_GetShiftState [15:28:49]wFMCommunicate request_size=4 [15:28:49]MH_SAM_APDU [15:28:49]CAPDU: 80 13 01 00 [15:28:49]Write to MH i2c: E2 08 00 97 0C 80 13 01 00 00 00 00 00 20 [15:28:49]Write i2c OK [15:28:49]MH_I2C_Read... [15:28:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:49]Read from MH i2c: E2 [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: E2 0E 00 [15:28:49]MH_I2C_Read... [15:28:49]Read from MH i2c: E2 0E 00 97 0C 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C7 [15:28:49]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:28:49]wFMCommunicate OK [15:28:49]SAM_PROTO_GetShiftState done [15:28:49]FM_GetShiftState done [15:28:49]opened in 1720917126 [15:28:49]opened+sec_in_day 1721003526 [15:28:49]quantity*price = 100042 [15:28:49]sum+1 = 100044 [15:28:49]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.43 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 82 14.07.2024 15:28 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57065 ФПД: 1039751005310 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T152851&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57065&fm=1039751005310&tin=02508201610067®Number=0000000000091208&sum=100000 [15:28:51]StoreToDocumentArchive [15:28:51]shift 496 fd 57065 [15:28:51]save to /storage/0496/doc_00057065 [15:28:51]save last doc name /storage/0496/doc_00057065 to /storage/kkm_last_doc_name [15:28:51]save OK [15:28:51]Clear old archive folders... [15:28:51]ProcessDocumentItem done err = 0, tmpTLVsize=248 [15:28:51]tlvbuf is 00FD5C70 [15:28:51]SAM_PROTO_ClearQueue [15:28:51]wFMCommunicate request_size=4 [15:28:51]MH_SAM_APDU [15:28:51]CAPDU: 80 09 00 00 [15:28:51]Write to MH i2c: E2 08 00 A4 0C 80 09 00 00 00 00 00 00 22 [15:28:51]Write i2c OK [15:28:51]MH_I2C_Read... [15:28:51]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:28:51]Read from MH i2c: E2 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 03 00 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 03 00 A4 0C 00 90 00 24 [15:28:51]RAPDU: 90 00 [15:28:51]wFMCommunicate OK [15:28:51]SAM_PROTO_ClearQueue done [15:28:51]KKMCreateOFDPacket [15:28:51]OFDProtocolAddRootSTLVToBuf [15:28:51]FM_MakeSignedData [15:28:51]FM_MakeSignedData [15:28:51]SAM_PROTO_SignData [15:28:51]wFMCommunicate request_size=4 [15:28:51]MH_SAM_APDU [15:28:51]CAPDU: 80 0D 01 02 [15:28:51]Write to MH i2c: E2 08 00 A5 0C 80 0D 01 02 00 00 00 00 2A [15:28:51]Write i2c OK [15:28:51]MH_I2C_Read... [15:28:51]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:28:51]Read from MH i2c: E2 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 03 00 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 03 00 A5 0C 00 90 00 25 [15:28:51]RAPDU: 90 00 [15:28:51]wFMCommunicate OK [15:28:51]wFMCommunicate request_size=255 [15:28:51]MH_SAM_APDU [15:28:51]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 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 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 80 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 52 00 00 00 F4 03 04 00 B3 EE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E9 DE 00 00 35 04 06 00 00 F2 15 FD [15:28:51]Write to MH i2c: E2 02 01 A6 0C 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 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 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 80 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 52 00 00 00 F4 03 04 00 B3 EE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E9 DE 00 00 35 04 06 00 00 F2 15 FD 00 00 73 [15:28:51]Write i2c OK [15:28:51]MH_I2C_Read... [15:28:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:51]Read from MH i2c: E2 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 03 00 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 03 00 A6 0C 00 90 00 26 [15:28:51]RAPDU: 90 00 [15:28:51]wFMCommunicate OK [15:28:51]wFMCommunicate request_size=7 [15:28:51]MH_SAM_APDU [15:28:51]CAPDU: 80 0D 02 02 02 44 7E [15:28:51]Write to MH i2c: E2 0A 00 A7 0C 80 0D 02 02 02 00 44 7E 00 00 F3 [15:28:51]Write i2c OK [15:28:51]MH_I2C_Read... [15:28:51]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:28:51]Read from MH i2c: E2 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 03 00 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 03 00 A7 0C 00 90 00 27 [15:28:51]RAPDU: 90 00 [15:28:51]wFMCommunicate OK [15:28:51]wFMCommunicate request_size=4 [15:28:51]MH_SAM_APDU [15:28:51]CAPDU: 80 0D 03 02 [15:28:51]Write to MH i2c: E2 08 00 A8 0C 80 0D 03 02 00 00 00 00 2F [15:28:51]Write i2c OK [15:28:51]MH_I2C_Read... [15:28:51]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:28:51]Read from MH i2c: E2 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 0B 00 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 0B 00 A8 0C 00 A7 C8 F3 21 0C 03 27 43 90 00 2C [15:28:51]RAPDU: A7 C8 F3 21 0C 03 27 43 90 00 [15:28:51]wFMCommunicate OK [15:28:51]SAM_PROTO_SignData done [15:28:51]FM_MakeSignedData done [15:28:51]CreateOFDProtocolMessage [15:28:51]wFMCommunicate request_size=4 [15:28:51]MH_SAM_APDU [15:28:51]CAPDU: 80 11 00 00 [15:28:51]Write to MH i2c: E2 08 00 A9 0C 80 11 00 00 00 00 00 00 2F [15:28:51]Write i2c OK [15:28:51]MH_I2C_Read... [15:28:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:51]Read from MH i2c: E2 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 17 00 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: E2 17 00 A9 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 89 [15:28:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:28:51]wFMCommunicate OK [15:28:51]CreateOFDProtocolMessage done [15:28:51]OFDSenderStorePacket 57065 [15:28:51]StoreOFDPacket docnum=57065 [15:28:51]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 EE 98 04 01 0E 27 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 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 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 80 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 52 00 00 00 F4 03 04 00 B3 EE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E9 DE 00 00 35 04 06 00 00 F2 15 FD 44 7E A7 C8 F3 21 0C 03 27 43 [15:28:51]CheckFolder [15:28:51]dirname=/storage/ofd_packets [15:28:51]CheckFolder done [15:28:51]ProducePacketName [15:28:51]name=ofd_packets/00057065 [15:28:51]NVStorageSaveData ofd_packets/00057065 [15:28:51]File name is /storage/ofd_packets/00057065 [15:28:51]Write 298 bytes [15:28:51]NVStorageSaveData done [15:28:51]OFDSenderStorePacket done [15:28:51]KKMCreateOFDPacket done [15:28:51]NVStorageSaveData kkm_last_timestamp [15:28:51]File name is /storage/kkm_last_timestamp [15:28:51]Write 4 bytes [15:28:51]NVStorageSaveData done [15:28:51]ExternCall_PrintAddStr [15:28:51]wPrintStart [15:28:51]Write to MH i2c: 01 00 00 AA 0C B6 [15:28:51]Write i2c OK [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: 01 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: 01 07 00 [15:28:51]MH_I2C_Read... [15:28:51]Read from MH i2c: 01 07 00 AA 0C 00 00 00 00 00 FF 0F CB [15:28:51]RasterBufferAndPrint [15:28:51]line Счет N : (1)855415 [15:28:51]line ИНН: 02508201610067 [15:28:51]line Контрольно-Кассовый Чек [15:28:51]line ПРОДАЖА [15:28:51]line ТРК (МРК, ГНК) : 61 [15:28:51]line Товар: 2710194210 [15:28:51]line ДТ-К-5 [15:28:51]line 13.780 * 72.60 [15:28:51]line = 1000.43 [15:28:51]line НДС 12% НСП 1% [15:28:51]line > о реализуемом товаре [15:28:51]line ОКРУГЛЕНИЕ: -0.43 [15:28:51]line ИТОГО: 1000.00 [15:28:51]line Внесено: 1000.00 [15:28:51]line СДАЧА: 0.00 [15:28:51]line НСП 1% : 8.85 [15:28:51]line НДС 12% : 106.24 [15:28:51]line Наличными: 1000.00 [15:28:51]line Безнал.: 0.00 [15:28:51]line Место: АЗС № 132 "Партнер Нефть" [15:28:51]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:28:51]line СНО: Общий режим [15:28:51]line Чек 82 14.07.2024 15:28 [15:28:51]line Смена: 496 ФФД: 1.0 [15:28:51]line ЗНМ: 0300000132 [15:28:51]line РНМ: 0000000000091208 [15:28:51]line Версия ККМ: 001 [15:28:51]line ФМ: 0000000000874857 [15:28:51]line ФД: 57065 [15:28:51]line ФПД: 1039751005310 [15:28:51]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T152851&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57065&fm=1039751005310&tin=02508201610067®Number=0000000000091208&sum=100000 [15:28:51]OFD Sender: Processing packet 57065 [packets to send 38, broken 37] [15:28:51]ProducePacketName [15:28:51]name=ofd_packets/00057065 [15:28:51]OFD Sender: To server: pG, [15:28:51]CommunicateWithHost lk.salyk.kg:30040 [15:28:51]ConnectInit lk.salyk.kg [15:28:51]written 0, free lines is 4095 [15:28:51]Connected sock=10 [15:28:51]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 EE 98 04 01 0E 27 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 D4 35 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 CB 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 80 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 52 00 00 00 F4 03 04 00 B3 EE 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 E9 DE 00 00 35 04 06 00 00 F2 15 FD 44 7E A7 C8 F3 21 0C 03 27 43 [15:28:52]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 DC 33 47 00 2C 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 38 37 34 38 35 37 10 04 04 00 E9 DE 00 00 F4 03 04 00 04 95 93 66 B6 04 01 00 00 E3 BF 7E 4F EA D0 A8 D9 [15:28:52]CommunicateWithHost err = 0 [15:28:52]CheckOFDResponse [15:28:52]1017 (14) - 77093643461234 [15:28:52]1041 (16) - 0000000000874857 [15:28:52]1040 (4) - 57065 [15:28:52]1012 (4) - 14.07.2024 09:06 [15:28:52]1206 (1) - 0 [15:28:52]OFD Sender: Remove packet 57065 [15:28:52]ProducePacketName [15:28:52]name=ofd_packets/00057065 [15:28:52]NVStorageDeleteData [15:28:52]Write to MH i2c: 01 00 00 D5 0C E1 [15:28:52]Write i2c OK [15:28:52]MH_I2C_Read... [15:28:52]Read from MH i2c: 01 [15:28:52]MH_I2C_Read... [15:28:52]Read from MH i2c: 01 07 00 [15:28:52]MH_I2C_Read... [15:28:52]Read from MH i2c: 01 07 00 D5 0C 00 00 00 00 00 FC 0C F0 [15:28:52]RasterBufferAndPrint [15:28:52]line [15:28:52]line [15:28:52]line [15:28:52]line [15:28:52]line [15:28:52]written 0, free lines is 3330 [15:28:52]MH_Cut [15:28:52]Write to MH i2c: D1 01 00 DC 0C 01 BA [15:28:52]Write i2c OK [15:28:52]MH_I2C_Read... [15:28:52]Read from MH i2c: D1 [15:28:52]MH_I2C_Read... [15:28:52]Read from MH i2c: D1 01 00 [15:28:52]MH_I2C_Read... [15:28:52]Read from MH i2c: D1 01 00 DC 0C 00 B9 [15:28:52]Write to MH i2c: 01 00 00 DD 0C E9 [15:28:52]Write i2c OK [15:28:52]MH_I2C_Read... [15:28:52]OFD Sender: No OFD packet to send [15:28:53]*** Cut start [15:28:53]*** Partial cut [15:28:53]*** CUTSNS_PIN = 1 [15:28:53]*** CUTSNS_PIN = 0 [15:28:53]*** Brake cut motor [15:28:53]Read from MH i2c: 01 [15:28:53]MH_I2C_Read... [15:28:53]*** Stop cut motor [15:28:53]*** Cut end [15:28:53]Read from MH i2c: 01 07 00 [15:28:53]MH_I2C_Read... [15:28:53]Read from MH i2c: 01 07 00 DD 0C 00 00 00 00 00 FF 0F FE [15:28:53]process_action close_receipt done [15:28:53]requested_data is exist [15:28:53]produce_requested_data [15:28:53]requested_item fm.sn is exist - process it [15:28:53]wFMCommunicate request_size=4 [15:28:53]MH_SAM_APDU [15:28:53]CAPDU: 80 11 00 00 [15:28:53]Write to MH i2c: E2 08 00 DE 0C 80 11 00 00 00 00 00 00 64 [15:28:53]Write i2c OK [15:28:53]MH_I2C_Read... [15:28:53]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:28:53]Read from MH i2c: E2 [15:28:53]MH_I2C_Read... [15:28:53]Read from MH i2c: E2 17 00 [15:28:53]MH_I2C_Read... [15:28:53]Read from MH i2c: E2 17 00 DE 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BE [15:28:53]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:28:53]wFMCommunicate OK [15:28:53]requested_item fd.num is exist - process it [15:28:53]SAM_PROTO_GetFieldsCounters [15:28:53]wFMCommunicate request_size=4 [15:28:53]MH_SAM_APDU [15:28:53]CAPDU: 80 13 00 00 [15:28:53]Write to MH i2c: E2 08 00 DF 0C 80 13 00 00 00 00 00 00 67 [15:28:53]Write i2c OK [15:28:53]MH_I2C_Read... [15:28:53]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:28:53]Read from MH i2c: E2 [15:28:53]MH_I2C_Read... [15:28:53]Read from MH i2c: E2 62 00 [15:28:53]MH_I2C_Read... [15:28:53]Read from MH i2c: E2 62 00 DF 0C 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E9 DE 00 00 0E 04 04 00 F0 01 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 38 [15:28:53]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 E9 DE 00 00 0E 04 04 00 F0 01 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 [15:28:53]wFMCommunicate OK [15:28:53]SAM_PROTO_GetFieldsCounters done [15:28:53]requested_item shift.num is exist - process it [15:28:53]requested_item shift.opened is exist - process it [15:28:53]req_shift_opened [15:28:53]FM_GetShiftState [15:28:53]SAM_PROTO_GetShiftState [15:28:53]wFMCommunicate request_size=4 [15:28:53]MH_SAM_APDU [15:28:53]CAPDU: 80 13 01 00 [15:28:53]Write to MH i2c: E2 08 00 E0 0C 80 13 01 00 00 00 00 00 69 [15:28:53]Write i2c OK [15:28:53]MH_I2C_Read... [15:28:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:28:53]Read from MH i2c: E2 [15:28:53]MH_I2C_Read... [15:28:53]Read from MH i2c: E2 0E 00 [15:28:53]MH_I2C_Read... [15:28:53]Read from MH i2c: E2 0E 00 E0 0C 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 10 [15:28:53]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:28:53]wFMCommunicate OK [15:28:53]SAM_PROTO_GetShiftState done [15:28:53]FM_GetShiftState done [15:28:53]req_shift_opened done [15:28:53]requested_item shift.open_date is exist - process it [15:28:53]req_shift_open_date [15:28:53]req_shift_open_date done [15:28:53]requested_item shift.sale.total is exist - process it [15:28:53]SAM_PROTO_GetShiftData [15:28:53]wFMCommunicate request_size=4 [15:28:53]MH_SAM_APDU [15:28:53]CAPDU: 80 13 02 00 [15:28:53]Write to MH i2c: E2 08 00 E1 0C 80 13 02 00 00 00 00 00 6B [15:28:53]Write i2c OK [15:28:53]MH_I2C_Read... [15:28:54]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:28:54]Read from MH i2c: E2 [15:28:54]MH_I2C_Read... [15:28:54]Read from MH i2c: E2 FD 00 [15:28:54]MH_I2C_Read... [15:28:54]Read from MH i2c: E2 FD 00 E1 0C 00 BB 04 AA 04 B7 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 04 DD 2D 70 04 03 00 E4 0F 25 72 04 03 00 20 CD 08 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 E6 DE 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DF 67 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 AF [15:28:54]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 52 00 00 00 69 04 9B 00 6F 04 04 00 50 00 00 00 B1 04 03 00 04 DD 2D 70 04 03 00 E4 0F 25 72 04 03 00 20 CD 08 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 E6 DE 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 DF 67 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [15:28:54]wFMCommunicate OK [15:28:54]wFMCommunicate request_size=4 [15:28:54]MH_SAM_APDU [15:28:54]CAPDU: 80 17 00 00 [15:28:54]Write to MH i2c: E2 08 00 E2 0C 80 17 00 00 00 00 00 00 6E [15:28:54]Write i2c OK [15:28:54]MH_I2C_Read... [15:28:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:54]Read from MH i2c: E2 [15:28:54]MH_I2C_Read... [15:28:54]Read from MH i2c: E2 FD 00 [15:28:54]MH_I2C_Read... [15:28:54]Read from MH i2c: E2 FD 00 E2 0C 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 01 [15:28:54]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:28:54]wFMCommunicate OK [15:28:54]wFMCommunicate request_size=4 [15:28:54]MH_SAM_APDU [15:28:54]CAPDU: 80 17 00 00 [15:28:54]Write to MH i2c: E2 08 00 E3 0C 80 17 00 00 00 00 00 00 6F [15:28:54]Write i2c OK [15:28:54]MH_I2C_Read... [15:28:54]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:54]Read from MH i2c: E2 [15:28:54]MH_I2C_Read... [15:28:54]Read from MH i2c: E2 FD 00 [15:28:54]MH_I2C_Read... [15:28:54]Read from MH i2c: E2 FD 00 E3 0C 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9B [15:28:54]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:28:54]wFMCommunicate OK [15:28:54]wFMCommunicate request_size=4 [15:28:54]MH_SAM_APDU [15:28:54]CAPDU: 80 17 00 00 [15:28:54]Write to MH i2c: E2 08 00 E4 0C 80 17 00 00 00 00 00 00 70 [15:28:54]Write i2c OK [15:28:54]MH_I2C_Read... [15:28:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:28:55]Read from MH i2c: E2 [15:28:55]MH_I2C_Read... [15:28:55]Read from MH i2c: E2 FD 00 [15:28:55]MH_I2C_Read... [15:28:55]Read from MH i2c: E2 FD 00 E4 0C 00 00 00 EF 03 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 90 00 E5 [15:28:55]RAPDU: 00 00 EF 03 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 90 00 [15:28:55]wFMCommunicate OK [15:28:55]wFMCommunicate request_size=4 [15:28:55]MH_SAM_APDU [15:28:55]CAPDU: 80 17 00 00 [15:28:55]Write to MH i2c: E2 08 00 E5 0C 80 17 00 00 00 00 00 00 71 [15:28:55]Write i2c OK [15:28:55]MH_I2C_Read... [15:28:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [15:28:55]Read from MH i2c: E2 [15:28:55]MH_I2C_Read... [15:28:55]Read from MH i2c: E2 D8 00 [15:28:55]MH_I2C_Read... [15:28:55]Read from MH i2c: E2 D8 00 E5 0C 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 58 [15:28:55]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [15:28:55]wFMCommunicate OK [15:28:55]SAM_PROTO_GetShiftData done [15:28:55]requested_item shift.sale.total_cash is exist - process it [15:28:55]requested_item shift.sale_refund.total is exist - process it [15:28:55]requested_item shift.sale_refund.total_cash is exist - process it [15:28:55]produce_requested_data done [15:28:55]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57065,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30057.00,"shift.sale.total_cash":24289.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [15:28:55]process_action_free close_receipt [15:28:55]json_value_free [15:28:55]json_value_free done [15:28:55]process_json_proto returns [15:28:55]Send response to host [15:28:55]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57065,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30057.00,"shift.sale.total_cash":24289.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [15:28:55]free response buf [15:28:55]execute_script done [15:28:55]execute_script returns [15:28:55]free content buf [15:28:55]Sock 7.Close socket [15:28:55]Sock 7.Thread stoped [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:02]OFD Sender: No OFD packet to send [15:31:07]OFD Sender: No OFD packet to send [15:31:12]OFD Sender: No OFD packet to send [15:31:17]OFD Sender: No OFD packet to send [15:31:22]OFD Sender: No OFD packet to send [15:31:27]OFD Sender: No OFD packet to send [15:31:32]OFD Sender: No OFD packet to send [15:31:37]OFD Sender: No OFD packet to send [15:31:42]OFD Sender: No OFD packet to send [15:31:47]OFD Sender: No OFD packet to send [15:31:52]OFD Sender: No OFD packet to send [15:31:57]OFD Sender: No OFD packet to send [15:32:02]OFD Sender: No OFD packet to send [15:32:07]OFD Sender: No OFD packet to send [15:32:12]OFD Sender: No OFD packet to send [15:32:17]OFD Sender: No OFD packet to send [15:32:22]OFD Sender: No OFD packet to send [15:32:27]OFD Sender: No OFD packet to send [15:32:32]OFD Sender: No OFD packet to send [15:32:37]OFD Sender: No OFD packet to send [15:32:42]OFD Sender: No OFD packet to send [15:32:47]OFD Sender: No OFD packet to send [15:32:52]OFD Sender: No OFD packet to send [15:32:57]OFD Sender: No OFD packet to send [15:33:02]OFD Sender: No OFD packet to send [15:33:07]OFD Sender: No OFD packet to send [15:33:12]OFD Sender: No OFD packet to send [15:33:17]OFD Sender: No OFD packet to send [15:33:22]OFD Sender: No OFD packet to send [15:33:27]OFD Sender: No OFD packet to send [15:33:32]OFD Sender: No OFD packet to send [15:33:37]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:05]accept exits with 9 [15:44:05]New connection [15:44:05]New thread 3067592036 created [15:44:05]Thread 3067448676 joined [15:44:05]Waiting for new connection... [15:44:05] Sock 9.Parse request [15:44:05]Sock 9.Check first char [15:44:05]Sock 9.First char is OK [15:44:05]request: POST /json_proto HTTP/1.0 [15:44:05]Method: POST [15:44:05]URL: /json_proto [15:44:05]Method is POST - this is cgi request [15:44:05]url: /json_proto [15:44:05]query_string will be loaded in cgi processing [15:44:05]execute_cgi json_proto POST (null) [15:44:05]execute_cgi path=json_proto method=POST [15:44:05]POST find Content-Length [15:44:05]Host: 172.17.39.4:8080 [15:44:05]Content-Length: 991 [15:44:05]Content-Type: application/json [15:44:05] [15:44:05]POST finish read [15:44:05]Found Content-Length = 991 [15:44:05]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129527", "tax_sys" : 0, "items" : [ { "code": "4870227273831", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u041C\u043E\u0445\u0438\u0442\u043E 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:44:05]execute_script... [15:44: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)129527", "tax_sys" : 0, "items" : [ { "code": "4870227273831", "name": "\u041B\u0438\u043C\u043E\u043D\u0430\u0434 Sunbel \u041C\u043E\u0445\u0438\u0442\u043E 1\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 225.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [15:44:05]POST & json_proto [15:44:05]process_json_proto [15:44:05]json parsed OK: [15:44:05]protocol is kg_v1.0 [15:44:05]action value=close_receipt [15:44:05]process_action close_receipt [15:44:05]cmd_close_receipt [15:44:05]MH_GetDate [15:44:05]Write to MH i2c: F0 00 00 E6 0C E1 [15:44:05]Write i2c OK [15:44:05]MH_I2C_Read... [15:44:05]Read from MH i2c: F0 [15:44:05]MH_I2C_Read... [15:44:05]Read from MH i2c: F0 09 00 [15:44:05]MH_I2C_Read... [15:44:05]Read from MH i2c: F0 09 00 E6 0C 00 46 F2 93 66 2D 25 5D 64 2E [15:44:05]GetLastDocTimeStamp 1720970931 [15:44:05]current date 1720971846 [15:44:05]FM_GetShiftState [15:44:05]SAM_PROTO_GetShiftState [15:44:05]wFMCommunicate request_size=4 [15:44:05]MH_SAM_APDU [15:44:05]CAPDU: 80 13 01 00 [15:44:05]Write to MH i2c: E2 08 00 E7 0C 80 13 01 00 00 00 00 00 70 [15:44:05]Write i2c OK [15:44:05]MH_I2C_Read... [15:44:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:05]Read from MH i2c: E2 [15:44:05]MH_I2C_Read... [15:44:05]Read from MH i2c: E2 0E 00 [15:44:05]MH_I2C_Read... [15:44:05]Read from MH i2c: E2 0E 00 E7 0C 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 17 [15:44:05]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:44:05]wFMCommunicate OK [15:44:05]SAM_PROTO_GetShiftState done [15:44:05]FM_GetShiftState done [15:44:05]opened in 1720917126 [15:44:05]opened+sec_in_day 1721003526 [15:44:05]quantity*price = 8500 [15:44:05]sum+1 = 8501 [15:44:05]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48743570 Сигареты Winston XStyle Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 225.00 НСП 1% : 1.99 НДС 12% : 23.90 Наличными: 225.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 83 14.07.2024 15:44 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57066 ФПД: 72730153462921 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T154407&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57066&fm=72730153462921&tin=02508201610067®Number=0000000000091208&sum=22500 0 [15:44:06]StoreToDocumentArchive [15:44:06]shift 496 fd 57066 [15:44:06]save to /storage/0496/doc_00057066 [15:44:06]save last doc name /storage/0496/doc_00057066 to /storage/kkm_last_doc_name [15:44:06]save OK [15:44:06]Clear old archive folders... [15:44:06]ProcessDocumentItem done err = 0, tmpTLVsize=383 [15:44:06]tlvbuf is 00F9FBD0 [15:44:06]SAM_PROTO_ClearQueue [15:44:06]wFMCommunicate request_size=4 [15:44:06]MH_SAM_APDU [15:44:06]CAPDU: 80 09 00 00 [15:44:06]Write to MH i2c: E2 08 00 F4 0C 80 09 00 00 00 00 00 00 72 [15:44:06]Write i2c OK [15:44:06]MH_I2C_Read... [15:44:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [15:44:06]Read from MH i2c: E2 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 03 00 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 03 00 F4 0C 00 90 00 74 [15:44:06]RAPDU: 90 00 [15:44:06]wFMCommunicate OK [15:44:06]SAM_PROTO_ClearQueue done [15:44:06]KKMCreateOFDPacket [15:44:06]OFDProtocolAddRootSTLVToBuf [15:44:06]FM_MakeSignedData [15:44:06]FM_MakeSignedData [15:44:06]SAM_PROTO_SignData [15:44:06]wFMCommunicate request_size=4 [15:44:06]MH_SAM_APDU [15:44:06]CAPDU: 80 0D 01 02 [15:44:06]Write to MH i2c: E2 08 00 F5 0C 80 0D 01 02 00 00 00 00 7A [15:44:06]Write i2c OK [15:44:06]MH_I2C_Read... [15:44:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [15:44:06]Read from MH i2c: E2 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 03 00 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 03 00 F5 0C 00 90 00 75 [15:44:06]RAPDU: 90 00 [15:44:06]wFMCommunicate OK [15:44:06]wFMCommunicate request_size=255 [15:44:06]MH_SAM_APDU [15:44:06]CAPDU: 80 0D 02 02 FA 03 00 7F 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 33 38 33 31 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 20 31 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 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 [15:44:06]Write to MH i2c: E2 02 01 F6 0C 80 0D 02 02 FA 00 03 00 7F 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 33 38 33 31 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 20 31 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 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 4F [15:44:06]Write i2c OK [15:44:06]MH_I2C_Read... [15:44:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:44:06]Read from MH i2c: E2 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 03 00 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 03 00 F6 0C 00 90 00 76 [15:44:06]RAPDU: 90 00 [15:44:06]wFMCommunicate OK [15:44:06]wFMCommunicate request_size=142 [15:44:06]MH_SAM_APDU [15:44:06]CAPDU: 80 0D 02 02 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 47 F2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DE 00 00 35 04 06 00 42 25 CE F6 2C 89 [15:44:06]Write to MH i2c: E2 91 00 F7 0C 80 0D 02 02 89 00 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 47 F2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DE 00 00 35 04 06 00 42 25 CE F6 2C 89 00 00 76 [15:44:06]Write i2c OK [15:44:06]MH_I2C_Read... [15:44:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [15:44:06]Read from MH i2c: E2 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 03 00 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 03 00 F7 0C 00 90 00 77 [15:44:06]RAPDU: 90 00 [15:44:06]wFMCommunicate OK [15:44:06]wFMCommunicate request_size=4 [15:44:06]MH_SAM_APDU [15:44:06]CAPDU: 80 0D 03 02 [15:44:06]Write to MH i2c: E2 08 00 F8 0C 80 0D 03 02 00 00 00 00 7F [15:44:06]Write i2c OK [15:44:06]MH_I2C_Read... [15:44:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [15:44:06]Read from MH i2c: E2 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 0B 00 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 0B 00 F8 0C 00 B6 36 D9 FB D4 71 48 62 90 00 2F [15:44:06]RAPDU: B6 36 D9 FB D4 71 48 62 90 00 [15:44:06]wFMCommunicate OK [15:44:06]SAM_PROTO_SignData done [15:44:06]FM_MakeSignedData done [15:44:06]CreateOFDProtocolMessage [15:44:06]wFMCommunicate request_size=4 [15:44:06]MH_SAM_APDU [15:44:06]CAPDU: 80 11 00 00 [15:44:06]Write to MH i2c: E2 08 00 F9 0C 80 11 00 00 00 00 00 00 7F [15:44:06]Write i2c OK [15:44:06]MH_I2C_Read... [15:44:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:06]Read from MH i2c: E2 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 17 00 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: E2 17 00 F9 0C 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D9 [15:44:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:44:06]wFMCommunicate OK [15:44:06]CreateOFDProtocolMessage done [15:44:06]OFDSenderStorePacket 57066 [15:44:06]StoreOFDPacket docnum=57066 [15:44:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 93 01 00 00 54 82 8B 01 D3 0C 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 33 38 33 31 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 20 31 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 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 47 F2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DE 00 00 35 04 06 00 42 25 CE F6 2C 89 B6 36 D9 FB D4 71 48 62 [15:44:06]CheckFolder [15:44:06]dirname=/storage/ofd_packets [15:44:06]CheckFolder done [15:44:06]ProducePacketName [15:44:06]name=ofd_packets/00057066 [15:44:06]NVStorageSaveData ofd_packets/00057066 [15:44:06]File name is /storage/ofd_packets/00057066 [15:44:06]Write 433 bytes [15:44:06]NVStorageSaveData done [15:44:06]OFDSenderStorePacket done [15:44:06]KKMCreateOFDPacket done [15:44:06]NVStorageSaveData kkm_last_timestamp [15:44:06]File name is /storage/kkm_last_timestamp [15:44:06]Write 4 bytes [15:44:06]NVStorageSaveData done [15:44:06]ExternCall_PrintAddStr [15:44:06]wPrintStart [15:44:06]Write to MH i2c: 01 00 00 FA 0C 06 [15:44:06]Write i2c OK [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: 01 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: 01 07 00 [15:44:06]MH_I2C_Read... [15:44:06]Read from MH i2c: 01 07 00 FA 0C 00 00 00 00 00 FF 0F 1B [15:44:07]RasterBufferAndPrint [15:44:07]line Счет N : (3)129527 [15:44:07]line ИНН: 02508201610067 [15:44:07]line Контрольно-Кассовый Чек [15:44:07]line ПРОДАЖА [15:44:07]line Товар: 4870227273831 [15:44:07]line Лимонад Sunbel Мохито 1л [15:44:07]line 1.000 * 85.00 [15:44:07]line = 85.00 [15:44:07]line НДС 12% НСП 1% [15:44:07]line > о реализуемом товаре [15:44:07]line Товар: 48743570 [15:44:07]line Сигареты Winston XStyle Blue [15:44:07]line 1.000 * 140.00 [15:44:07]line = 140.00 [15:44:07]line НДС 12% НСП 1% [15:44:07]line > о реализуемом товаре [15:44:07]line ИТОГО: 225.00 [15:44:07]line НСП 1% : 1.99 [15:44:07]line НДС 12% : 23.90 [15:44:07]line Наличными: 225.00 [15:44:07]line Безнал.: 0.00 [15:44:07]line Место: АЗС № 132 "Партнер Нефть" [15:44:07]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [15:44:07]line СНО: Общий режим [15:44:07]line Чек 83 14.07.2024 15:44 [15:44:07]line Смена: 496 ФФД: 1.0 [15:44:07]line ЗНМ: 0300000132 [15:44:07]line РНМ: 0000000000091208 [15:44:07]line Версия ККМ: 001 [15:44:07]line ФМ: 0000000000874857 [15:44:07]line ФД: 57066 [15:44:07]line ФПД: 72730153462921 [15:44:07]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T154407&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57066&fm=72730153462921&tin=02508201610067®Number=0000000000091208&sum=22500 [15:44:07]OFD Sender: Processing packet 57066 [packets to send 38, broken 37] [15:44:07]ProducePacketName [15:44:07]name=ofd_packets/00057066 [15:44:07]OFD Sender: To server: pG, [15:44:07]CommunicateWithHost lk.salyk.kg:30040 [15:44:07]ConnectInit lk.salyk.kg [15:44:07]line 0 [15:44:07]written 0, free lines is 4095 [15:44:07]Connected sock=10 [15:44:07]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 93 01 00 00 54 82 8B 01 D3 0C 5A 03 01 00 03 00 7F 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 38 37 30 32 32 37 32 37 33 38 33 31 06 04 26 00 D0 9B D0 B8 D0 BC D0 BE D0 BD D0 B0 D0 B4 20 53 75 6E 62 65 6C 20 D0 9C D0 BE D1 85 D0 B8 D1 82 D0 BE 20 31 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 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E4 57 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 C7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 56 09 00 00 00 00 07 04 06 00 E4 57 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 53 00 00 00 F4 03 04 00 47 F2 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DE 00 00 35 04 06 00 42 25 CE F6 2C 89 B6 36 D9 FB D4 71 48 62 [15:44:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 73 00 47 00 01 E4 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EA DE 00 00 F4 03 04 00 97 98 93 66 B6 04 01 00 00 A0 59 C4 FF 22 E8 22 7D [15:44:07]CommunicateWithHost err = 0 [15:44:07]CheckOFDResponse [15:44:07]1017 (14) - 77093643461234 [15:44:07]1041 (16) - 0000000000874857 [15:44:07]1040 (4) - 57066 [15:44:07]1012 (4) - 14.07.2024 09:21 [15:44:07]1206 (1) - 0 [15:44:07]OFD Sender: Remove packet 57066 [15:44:07]ProducePacketName [15:44:07]name=ofd_packets/00057066 [15:44:07]NVStorageDeleteData [15:44:07]Write to MH i2c: 01 00 00 28 0D 35 [15:44:07]Write i2c OK [15:44:07]MH_I2C_Read... [15:44:07]Read from MH i2c: 01 [15:44:07]MH_I2C_Read... [15:44:07]Read from MH i2c: 01 07 00 [15:44:07]MH_I2C_Read... [15:44:07]Read from MH i2c: 01 07 00 28 0D 00 00 00 00 00 91 0C D9 [15:44:07]RasterBufferAndPrint [15:44:07]line [15:44:07]line [15:44:07]line [15:44:07]line [15:44:07]line [15:44:07]written 0, free lines is 3224 [15:44:07]MH_Cut [15:44:07]Write to MH i2c: D1 01 00 2F 0D 01 0E [15:44:07]Write i2c OK [15:44:07]MH_I2C_Read... [15:44:07]Read from MH i2c: D1 [15:44:07]MH_I2C_Read... [15:44:07]Read from MH i2c: D1 01 00 [15:44:07]MH_I2C_Read... [15:44:07]Read from MH i2c: D1 01 00 2F 0D 00 0D [15:44:07]Write to MH i2c: 01 00 00 30 0D 3D [15:44:07]Write i2c OK [15:44:07]MH_I2C_Read... [15:44:08]OFD Sender: No OFD packet to send [15:44:08]*** Cut start [15:44:08]*** Partial cut [15:44:08]*** CUTSNS_PIN = 1 [15:44:08]*** CUTSNS_PIN = 0 [15:44:08]*** Brake cut motor [15:44:09]Read from MH i2c: 01 [15:44:09]MH_I2C_Read... [15:44:09]*** Stop cut motor [15:44:09]*** Cut end [15:44:09]Read from MH i2c: 01 07 00 [15:44:09]MH_I2C_Read... [15:44:09]Read from MH i2c: 01 07 00 30 0D 00 00 00 00 00 FF 0F 52 [15:44:09]process_action close_receipt done [15:44:09]requested_data is exist [15:44:09]produce_requested_data [15:44:09]requested_item fm.sn is exist - process it [15:44:09]wFMCommunicate request_size=4 [15:44:09]MH_SAM_APDU [15:44:09]CAPDU: 80 11 00 00 [15:44:09]Write to MH i2c: E2 08 00 31 0D 80 11 00 00 00 00 00 00 B8 [15:44:09]Write i2c OK [15:44:09]MH_I2C_Read... [15:44:09]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [15:44:09]Read from MH i2c: E2 [15:44:09]MH_I2C_Read... [15:44:09]Read from MH i2c: E2 17 00 [15:44:09]MH_I2C_Read... [15:44:09]Read from MH i2c: E2 17 00 31 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 12 [15:44:09]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [15:44:09]wFMCommunicate OK [15:44:09]requested_item fd.num is exist - process it [15:44:09]SAM_PROTO_GetFieldsCounters [15:44:09]wFMCommunicate request_size=4 [15:44:09]MH_SAM_APDU [15:44:09]CAPDU: 80 13 00 00 [15:44:09]Write to MH i2c: E2 08 00 32 0D 80 13 00 00 00 00 00 00 BB [15:44:09]Write i2c OK [15:44:09]MH_I2C_Read... [15:44:09]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [15:44:09]Read from MH i2c: E2 [15:44:09]MH_I2C_Read... [15:44:09]Read from MH i2c: E2 62 00 [15:44:09]MH_I2C_Read... [15:44:09]Read from MH i2c: E2 62 00 32 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EA DE 00 00 0E 04 04 00 F0 01 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 90 [15:44:09]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EA DE 00 00 0E 04 04 00 F0 01 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 [15:44:09]wFMCommunicate OK [15:44:09]SAM_PROTO_GetFieldsCounters done [15:44:09]requested_item shift.num is exist - process it [15:44:09]requested_item shift.opened is exist - process it [15:44:09]req_shift_opened [15:44:09]FM_GetShiftState [15:44:09]SAM_PROTO_GetShiftState [15:44:09]wFMCommunicate request_size=4 [15:44:09]MH_SAM_APDU [15:44:09]CAPDU: 80 13 01 00 [15:44:09]Write to MH i2c: E2 08 00 33 0D 80 13 01 00 00 00 00 00 BD [15:44:09]Write i2c OK [15:44:09]MH_I2C_Read... [15:44:09]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [15:44:09]Read from MH i2c: E2 [15:44:09]MH_I2C_Read... [15:44:09]Read from MH i2c: E2 0E 00 [15:44:09]MH_I2C_Read... [15:44:09]Read from MH i2c: E2 0E 00 33 0D 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 64 [15:44:09]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [15:44:09]wFMCommunicate OK [15:44:09]SAM_PROTO_GetShiftState done [15:44:09]FM_GetShiftState done [15:44:09]req_shift_opened done [15:44:09]requested_item shift.open_date is exist - process it [15:44:09]req_shift_open_date [15:44:09]req_shift_open_date done [15:44:09]requested_item shift.sale.total is exist - process it [15:44:09]SAM_PROTO_GetShiftData [15:44:09]wFMCommunicate request_size=4 [15:44:09]MH_SAM_APDU [15:44:09]CAPDU: 80 13 02 00 [15:44:09]Write to MH i2c: E2 08 00 34 0D 80 13 02 00 00 00 00 00 BF [15:44:09]Write i2c OK [15:44:09]MH_I2C_Read... [15:44:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [15:44:09]Read from MH i2c: E2 [15:44:09]MH_I2C_Read... [15:44:09]Read from MH i2c: E2 FD 00 [15:44:09]MH_I2C_Read... [15:44:09]Read from MH i2c: E2 FD 00 34 0D 00 BB 04 AA 04 B7 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 E8 34 2E 70 04 03 00 C8 67 25 72 04 03 00 20 CD 08 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 3C E8 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A6 68 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 A5 [15:44:09]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 53 00 00 00 69 04 9B 00 6F 04 04 00 51 00 00 00 B1 04 03 00 E8 34 2E 70 04 03 00 C8 67 25 72 04 03 00 20 CD 08 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 3C E8 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 A6 68 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [15:44:09]wFMCommunicate OK [15:44:09]wFMCommunicate request_size=4 [15:44:09]MH_SAM_APDU [15:44:09]CAPDU: 80 17 00 00 [15:44:09]Write to MH i2c: E2 08 00 35 0D 80 17 00 00 00 00 00 00 C2 [15:44:09]Write i2c OK [15:44:09]MH_I2C_Read... [15:44:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:10]Read from MH i2c: E2 [15:44:10]MH_I2C_Read... [15:44:10]Read from MH i2c: E2 FD 00 [15:44:10]MH_I2C_Read... [15:44:10]Read from MH i2c: E2 FD 00 35 0D 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 55 [15:44:10]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:44:10]wFMCommunicate OK [15:44:10]wFMCommunicate request_size=4 [15:44:10]MH_SAM_APDU [15:44:10]CAPDU: 80 17 00 00 [15:44:10]Write to MH i2c: E2 08 00 36 0D 80 17 00 00 00 00 00 00 C3 [15:44:10]Write i2c OK [15:44:10]MH_I2C_Read... [15:44:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:10]Read from MH i2c: E2 [15:44:10]MH_I2C_Read... [15:44:10]Read from MH i2c: E2 FD 00 [15:44:10]MH_I2C_Read... [15:44:10]Read from MH i2c: E2 FD 00 36 0D 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EF [15:44:10]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [15:44:10]wFMCommunicate OK [15:44:10]wFMCommunicate request_size=4 [15:44:10]MH_SAM_APDU [15:44:10]CAPDU: 80 17 00 00 [15:44:10]Write to MH i2c: E2 08 00 37 0D 80 17 00 00 00 00 00 00 C4 [15:44:10]Write i2c OK [15:44:10]MH_I2C_Read... [15:44:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [15:44:10]Read from MH i2c: E2 [15:44:10]MH_I2C_Read... [15:44:10]Read from MH i2c: E2 FD 00 [15:44:10]MH_I2C_Read... [15:44:10]Read from MH i2c: E2 FD 00 37 0D 00 00 00 EF 03 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 90 00 39 [15:44:10]RAPDU: 00 00 EF 03 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 90 00 [15:44:10]wFMCommunicate OK [15:44:10]wFMCommunicate request_size=4 [15:44:10]MH_SAM_APDU [15:44:10]CAPDU: 80 17 00 00 [15:44:10]Write to MH i2c: E2 08 00 38 0D 80 17 00 00 00 00 00 00 C5 [15:44:10]Write i2c OK [15:44:10]MH_I2C_Read... [15:44:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [15:44:11]Read from MH i2c: E2 [15:44:11]MH_I2C_Read... [15:44:11]Read from MH i2c: E2 D8 00 [15:44:11]MH_I2C_Read... [15:44:11]Read from MH i2c: E2 D8 00 38 0D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 AC [15:44:11]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [15:44:11]wFMCommunicate OK [15:44:11]SAM_PROTO_GetShiftData done [15:44:11]requested_item shift.sale.total_cash is exist - process it [15:44:11]requested_item shift.sale_refund.total is exist - process it [15:44:11]requested_item shift.sale_refund.total_cash is exist - process it [15:44:11]produce_requested_data done [15:44:11]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57066,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30282.00,"shift.sale.total_cash":24514.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [15:44:11]process_action_free close_receipt [15:44:11]json_value_free [15:44:11]json_value_free done [15:44:11]process_json_proto returns [15:44:11]Send response to host [15:44:11]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57066,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30282.00,"shift.sale.total_cash":24514.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [15:44:11]free response buf [15:44:11]execute_script done [15:44:11]execute_script returns [15:44:11]free content buf [15:44:11]Sock 9.Close socket [15:44:11]Sock 9.Thread stoped [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]OFD Sender: No OFD packet to send [15:48:58]OFD Sender: No OFD packet to send [15:49:03]OFD Sender: No OFD packet to send [15:49:08]OFD Sender: No OFD packet to send [15:49:13]OFD Sender: No OFD packet to send [15:49:18]OFD Sender: No OFD packet to send [15:49:23]OFD Sender: No OFD packet to send [15:49:28]OFD Sender: No OFD packet to send [15:49:33]OFD Sender: No OFD packet to send [15:49:38]OFD Sender: No OFD packet to send [15:49:43]OFD Sender: No OFD packet to send [15:49:48]OFD Sender: No OFD packet to send [15:49:53]OFD Sender: No OFD packet to send [15:49:58]OFD Sender: No OFD packet to send [15:50:03]OFD Sender: No OFD packet to send [15:50:08]OFD Sender: No OFD packet to send [15:50:13]OFD Sender: No OFD packet to send [15:50:18]OFD Sender: No OFD packet to send [15:50:23]OFD Sender: No OFD packet to send [15:50:28]OFD Sender: No OFD packet to send [15:50:33]OFD Sender: No OFD packet to send [15:50:38]OFD Sender: No OFD packet to send [15:50:43]OFD Sender: No OFD packet to send [15:50:48]OFD Sender: No OFD packet to send [15:50:53]OFD Sender: No OFD packet to send [15:50:58]OFD Sender: No OFD packet to send [15:51:03]OFD Sender: No OFD packet to send [15:51:08]OFD Sender: No OFD packet to send [15:51:13]OFD Sender: No OFD packet to send [15:51:18]OFD Sender: No OFD packet to send [15:51:23]OFD Sender: No OFD packet to send [15:51:28]OFD Sender: No OFD packet to send [15:51:33]OFD Sender: No OFD packet to send [15:51:38]OFD Sender: No OFD packet to send [15:51:43]OFD Sender: No OFD packet to send [15:51:48]OFD Sender: No OFD packet to send [15:51:53]OFD Sender: No OFD packet to send [15:51:58]OFD Sender: No OFD packet to send [15:52:03]OFD Sender: No OFD packet to send [15:52:08]OFD Sender: No OFD packet to send [15:52:13]OFD Sender: No OFD packet to send [15:52:18]OFD Sender: No OFD packet to send [15:52:23]OFD Sender: No OFD packet to send [15:52:28]OFD Sender: No OFD packet to send [15:52:33]OFD Sender: No OFD packet to send [15:52:38]OFD Sender: No OFD packet to send [15:52:43]OFD Sender: No OFD packet to send [15:52:48]OFD Sender: No OFD packet to send [15:52:53]OFD Sender: No OFD packet to send [15:52:58]OFD Sender: No OFD packet to send [15:53:03]OFD Sender: No OFD packet to send [15:53:08]OFD Sender: No OFD packet to send [15:53:13]OFD Sender: No OFD packet to send [15:53:18]OFD Sender: No OFD packet to send [15:53:23]OFD Sender: No OFD packet to send [15:53:28]OFD Sender: No OFD packet to send [15:53:33]OFD Sender: No OFD packet to send [15:53:38]OFD Sender: No OFD packet to send [15:53:43]OFD Sender: No OFD packet to send [15:53:48]OFD Sender: No OFD packet to send [15:53:53]OFD Sender: No OFD packet to send [15:53:58]OFD Sender: No OFD packet to send [15:54:03]OFD Sender: No OFD packet to send [15:54:08]OFD Sender: No OFD packet to send [15:54:13]OFD Sender: No OFD packet to send [15:54:18]OFD Sender: No OFD packet to send [15:54:23]OFD Sender: No OFD packet to send [15:54:28]OFD Sender: No OFD packet to send [15:54:33]OFD Sender: No OFD packet to send [15:54:38]OFD Sender: No OFD packet to send [15:54:43]OFD Sender: No OFD packet to send [15:54:48]OFD Sender: No OFD packet to send [15:54:53]OFD Sender: No OFD packet to send [15:54:58]OFD Sender: No OFD packet to send [15:55:03]OFD Sender: No OFD packet to send [15:55:08]OFD Sender: No OFD packet to send [15:55:13]OFD Sender: No OFD packet to send [15:55:18]OFD Sender: No OFD packet to send [15:55:23]OFD Sender: No OFD packet to send [15:55:28]OFD Sender: No OFD packet to send [15:55:33]OFD Sender: No OFD packet to send [15:55:38]OFD Sender: No OFD packet to send [15:55:43]OFD Sender: No OFD packet to send [15:55:48]OFD Sender: No OFD packet to send [15:55:53]OFD Sender: No OFD packet to send [15:55:58]OFD Sender: No OFD packet to send [15:56:03]OFD Sender: No OFD packet to send [15:56:08]OFD Sender: No OFD packet to send [15:56:13]OFD Sender: No OFD packet to send [15:56:18]OFD Sender: No OFD packet to send [15:56:23]OFD Sender: No OFD packet to send [15:56:28]OFD Sender: No OFD packet to send [15:56:33]OFD Sender: No OFD packet to send [15:56:38]OFD Sender: No OFD packet to send [15:56:43]OFD Sender: No OFD packet to send [15:56:48]OFD Sender: No OFD packet to send [15:56:53]OFD Sender: No OFD packet to send [15:56:58]OFD Sender: No OFD packet to send [15:57:03]OFD Sender: No OFD packet to send [15:57:08]OFD Sender: No OFD packet to send [15:57:13]OFD Sender: No OFD packet to send [15:57:18]OFD Sender: No OFD packet to send [15:57:23]OFD Sender: No OFD packet to send [15:57:28]OFD Sender: No OFD packet to send [15:57:33]OFD Sender: No OFD packet to send [15:57:38]OFD Sender: No OFD packet to send [15:57:43]OFD Sender: No OFD packet to send [15:57:48]OFD Sender: No OFD packet to send [15:57:53]OFD Sender: No OFD packet to send [15:57:58]OFD Sender: No OFD packet to send [15:58:03]OFD Sender: No OFD packet to send [15:58:08]OFD Sender: No OFD packet to send [15:58:13]OFD Sender: No OFD packet to send [15:58:18]OFD Sender: No OFD packet to send [15:58:23]OFD Sender: No OFD packet to send [15:58:28]OFD Sender: No OFD packet to send [15:58:33]OFD Sender: No OFD packet to send [15:58:38]OFD Sender: No OFD packet to send [15:58:43]OFD Sender: No OFD packet to send [15:58:48]OFD Sender: No OFD packet to send [15:58:53]OFD Sender: No OFD packet to send [15:58:58]OFD Sender: No OFD packet to send [15:59:03]OFD Sender: No OFD packet to send [15:59:08]OFD Sender: No OFD packet to send [15:59:13]OFD Sender: No OFD packet to send [15:59:18]OFD Sender: No OFD packet to send [15:59:23]OFD Sender: No OFD packet to send [15:59:28]OFD Sender: No OFD packet to send [15:59:33]OFD Sender: No OFD packet to send [15:59:38]OFD Sender: No OFD packet to send [15:59:43]OFD Sender: No OFD packet to send [15:59:48]OFD Sender: No OFD packet to send [15:59:53]OFD Sender: No OFD packet to send [15:59:58]OFD Sender: No OFD packet to send [16:00:03]OFD Sender: No OFD packet to send [16:00:08]OFD Sender: No OFD packet to send [16:00:13]OFD Sender: No OFD packet to send [16:00:18]OFD Sender: No OFD packet to send [16:00:23]OFD Sender: No OFD packet to send [16:00:28]OFD Sender: No OFD packet to send [16:00:33]OFD Sender: No OFD packet to send [16:00:38]OFD Sender: No OFD packet to send [16:00:43]OFD Sender: No OFD packet to send [16:00:48]OFD Sender: No OFD packet to send [16:00:54]OFD Sender: No OFD packet to send [16:00:59]OFD Sender: No OFD packet to send [16:01:04]OFD Sender: No OFD packet to send [16:01:09]OFD Sender: No OFD packet to send [16:01:14]OFD Sender: No OFD packet to send [16:01:19]OFD Sender: No OFD packet to send [16:01:24]OFD Sender: No OFD packet to send [16:01:29]OFD Sender: No OFD packet to send [16:01:34]OFD Sender: No OFD packet to send [16:01:39]OFD Sender: No OFD packet to send [16:01:44]OFD Sender: No OFD packet to send [16:01:49]OFD Sender: No OFD packet to send [16:01:54]OFD Sender: No OFD packet to send [16:01:59]OFD Sender: No OFD packet to send [16:02:04]OFD Sender: No OFD packet to send [16:02:09]OFD Sender: No OFD packet to send [16:02:14]OFD Sender: No OFD packet to send [16:02:19]OFD Sender: No OFD packet to send [16:02:24]OFD Sender: No OFD packet to send [16:02:29]OFD Sender: No OFD packet to send [16:02:34]OFD Sender: No OFD packet to send [16:02:39]OFD Sender: No OFD packet to send [16:02:44]OFD Sender: No OFD packet to send [16:02:49]OFD Sender: No OFD packet to send [16:02:54]OFD Sender: No OFD packet to send [16:02:59]OFD Sender: No OFD packet to send [16:03:04]OFD Sender: No OFD packet to send [16:03:09]OFD Sender: No OFD packet to send [16:03:14]OFD Sender: No OFD packet to send [16:03:19]OFD Sender: No OFD packet to send [16:03:24]OFD Sender: No OFD packet to send [16:03:29]OFD Sender: No OFD packet to send [16:03:34]OFD Sender: No OFD packet to send [16:03:39]OFD Sender: No OFD packet to send [16:03:44]OFD Sender: No OFD packet to send [16:03:49]OFD Sender: No OFD packet to send [16:03:54]OFD Sender: No OFD packet to send [16:03:59]OFD Sender: No OFD packet to send [16:04:04]OFD Sender: No OFD packet to send [16:04:09]OFD Sender: No OFD packet to send [16:04:14]OFD Sender: No OFD packet to send [16:04:19]OFD Sender: No OFD packet to send [16:04:24]OFD Sender: No OFD packet to send [16:04:29]OFD Sender: No OFD packet to send [16:04:34]OFD Sender: No OFD packet to send [16:04:39]OFD Sender: No OFD packet to send [16:04:44]OFD Sender: No OFD packet to send [16:04:49]OFD Sender: No OFD packet to send [16:04:54]OFD Sender: No OFD packet to send [16:04:59]OFD Sender: No OFD packet to send [16:05:04]OFD Sender: No OFD packet to send [16:05:09]OFD Sender: No OFD packet to send [16:05:14]OFD Sender: No OFD packet to send [16:05:19]OFD Sender: No OFD packet to send [16:05:24]OFD Sender: No OFD packet to send [16:05:29]OFD Sender: No OFD packet to send [16:05:34]OFD Sender: No OFD packet to send [16:05:39]OFD Sender: No OFD packet to send [16:05:44]OFD Sender: No OFD packet to send [16:05:49]OFD Sender: No OFD packet to send [16:05:54]OFD Sender: No OFD packet to send [16:05:59]OFD Sender: No OFD packet to send [16:06:04]OFD Sender: No OFD packet to send [16:06:09]OFD Sender: No OFD packet to send [16:06:14]OFD Sender: No OFD packet to send [16:06:19]OFD Sender: No OFD packet to send [16:06:24]OFD Sender: No OFD packet to send [16:06:29]OFD Sender: No OFD packet to send [16:06:34]OFD Sender: No OFD packet to send [16:06:39]OFD Sender: No OFD packet to send [16:06:44]OFD Sender: No OFD packet to send [16:06:49]OFD Sender: No OFD packet to send [16:06:54]OFD Sender: No OFD packet to send [16:06:59]OFD Sender: No OFD packet to send [16:07:04]OFD Sender: No OFD packet to send [16:07:09]OFD Sender: No OFD packet to send [16:07:14]OFD Sender: No OFD packet to send [16:07:19]OFD Sender: No OFD packet to send [16:07:24]OFD Sender: No OFD packet to send [16:07:29]OFD Sender: No OFD packet to send [16:07:34]OFD Sender: No OFD packet to send [16:07:39]OFD Sender: No OFD packet to send [16:07:44]OFD Sender: No OFD packet to send [16:07:49]OFD Sender: No OFD packet to send [16:07:54]OFD Sender: No OFD packet to send [16:07:59]OFD Sender: No OFD packet to send [16:07:59]accept exits with 7 [16:07:59]New connection [16:07:59]New thread 3067448676 created [16:07:59]Thread 3067592036 joined [16:07:59]Waiting for new connection... [16:07:59] Sock 7.Parse request [16:07:59]Sock 7.Check first char [16:07:59]Sock 7.First char is OK [16:07:59]request: POST /json_proto HTTP/1.0 [16:07:59]Method: POST [16:07:59]URL: /json_proto [16:07:59]Method is POST - this is cgi request [16:07:59]url: /json_proto [16:07:59]query_string will be loaded in cgi processing [16:07:59]execute_cgi json_proto POST (null) [16:07:59]execute_cgi path=json_proto method=POST [16:07:59]POST find Content-Length [16:07:59]Host: 172.17.39.4:8080 [16:07:59]Content-Length: 921 [16:07:59]Content-Type: application/json [16:07:59] [16:07:59]POST finish read [16:07:59]Found Content-Length = 921 [16:07:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129528", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:07:59]execute_script... [16:07: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)129528", "tax_sys" : 0, "items" : [ { "code": "4640030091584", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Esse Gold", "price" : 143.00, "quantity" : 1.000, "sum" : 143.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:07:59]POST & json_proto [16:07:59]process_json_proto [16:07:59]json parsed OK: [16:07:59]protocol is kg_v1.0 [16:07:59]action value=close_receipt [16:07:59]process_action close_receipt [16:07:59]cmd_close_receipt [16:07:59]MH_GetDate [16:07:59]Write to MH i2c: F0 00 00 39 0D 35 [16:07:59]Write i2c OK [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: F0 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: F0 09 00 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: F0 09 00 39 0D 00 E1 F7 93 66 2D 25 5D 64 22 [16:07:59]GetLastDocTimeStamp 1720971847 [16:07:59]current date 1720973281 [16:07:59]FM_GetShiftState [16:07:59]SAM_PROTO_GetShiftState [16:07:59]wFMCommunicate request_size=4 [16:07:59]MH_SAM_APDU [16:07:59]CAPDU: 80 13 01 00 [16:07:59]Write to MH i2c: E2 08 00 3A 0D 80 13 01 00 00 00 00 00 C4 [16:07:59]Write i2c OK [16:07:59]MH_I2C_Read... [16:07:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:07:59]Read from MH i2c: E2 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 0E 00 [16:07:59]MH_I2C_Read... [16:07:59]Read from MH i2c: E2 0E 00 3A 0D 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 6B [16:07:59]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [16:07:59]wFMCommunicate OK [16:07:59]SAM_PROTO_GetShiftState done [16:07:59]FM_GetShiftState done [16:07:59]opened in 1720917126 [16:07:59]opened+sec_in_day 1721003526 [16:07:59]quantity*price = 14300 [16:07:59]sum+1 = 14301 [16:07:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 0.00 Безнал.: 143.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 84 14.07.2024 16:08 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57067 ФПД: 162701182946047 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T160801&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57067&fm=162701182946047&tin=02508201610067®Number=0000000000091208&sum=14300 0 [16:08:00]StoreToDocumentArchive [16:08:00]shift 496 fd 57067 [16:08:00]save to /storage/0496/doc_00057067 [16:08:00]save last doc name /storage/0496/doc_00057067 to /storage/kkm_last_doc_name [16:08:00]save OK [16:08:00]Clear old archive folders... [16:08:00]ProcessDocumentItem done err = 0, tmpTLVsize=268 [16:08:00]tlvbuf is 00FEDBF0 [16:08:00]SAM_PROTO_ClearQueue [16:08:00]wFMCommunicate request_size=4 [16:08:00]MH_SAM_APDU [16:08:00]CAPDU: 80 09 00 00 [16:08:00]Write to MH i2c: E2 08 00 47 0D 80 09 00 00 00 00 00 00 C6 [16:08:00]Write i2c OK [16:08:00]MH_I2C_Read... [16:08:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:08:00]Read from MH i2c: E2 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 [16:08:00]MH_I2C_Read... [16:08:00]Read from MH i2c: E2 03 00 47 0D 00 90 00 C8 [16:08:00]RAPDU: 90 00 [16:08:00]wFMCommunicate OK [16:08:00]SAM_PROTO_ClearQueue done [16:08:00]KKMCreateOFDPacket [16:08:00]OFDProtocolAddRootSTLVToBuf [16:08:00]FM_MakeSignedData [16:08:00]FM_MakeSignedData [16:08:00]SAM_PROTO_SignData [16:08:00]wFMCommunicate request_size=4 [16:08:00]MH_SAM_APDU [16:08:00]CAPDU: 80 0D 01 02 [16:08:00]Write to MH i2c: E2 08 00 48 0D 80 0D 01 02 00 00 00 00 CE [16:08:00]Write i2c OK [16:08:00]MH_I2C_Read... [16:08:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:08:01]Read from MH i2c: E2 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 03 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 03 00 48 0D 00 90 00 C9 [16:08:01]RAPDU: 90 00 [16:08:01]wFMCommunicate OK [16:08:01]wFMCommunicate request_size=255 [16:08:01]MH_SAM_APDU [16:08:01]CAPDU: 80 0D 02 02 FA 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 E1 F7 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 [16:08:01]Write to MH i2c: E2 02 01 49 0D 80 0D 02 02 FA 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 E1 F7 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 00 00 A3 [16:08:01]Write i2c OK [16:08:01]MH_I2C_Read... [16:08:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:08:01]Read from MH i2c: E2 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 03 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 03 00 49 0D 00 90 00 CA [16:08:01]RAPDU: 90 00 [16:08:01]wFMCommunicate OK [16:08:01]wFMCommunicate request_size=27 [16:08:01]MH_SAM_APDU [16:08:01]CAPDU: 80 0D 02 02 16 34 38 35 37 10 04 04 00 EB DE 00 00 35 04 06 00 93 F9 D2 36 CA FF [16:08:01]Write to MH i2c: E2 1E 00 4A 0D 80 0D 02 02 16 00 34 38 35 37 10 04 04 00 EB DE 00 00 35 04 06 00 93 F9 D2 36 CA FF 00 00 52 [16:08:01]Write i2c OK [16:08:01]MH_I2C_Read... [16:08:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:08:01]Read from MH i2c: E2 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 03 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 03 00 4A 0D 00 90 00 CB [16:08:01]RAPDU: 90 00 [16:08:01]wFMCommunicate OK [16:08:01]wFMCommunicate request_size=4 [16:08:01]MH_SAM_APDU [16:08:01]CAPDU: 80 0D 03 02 [16:08:01]Write to MH i2c: E2 08 00 4B 0D 80 0D 03 02 00 00 00 00 D3 [16:08:01]Write i2c OK [16:08:01]MH_I2C_Read... [16:08:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:08:01]Read from MH i2c: E2 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 0B 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 0B 00 4B 0D 00 FD 9F 80 ED 5E A6 E5 60 90 00 26 [16:08:01]RAPDU: FD 9F 80 ED 5E A6 E5 60 90 00 [16:08:01]wFMCommunicate OK [16:08:01]SAM_PROTO_SignData done [16:08:01]FM_MakeSignedData done [16:08:01]CreateOFDProtocolMessage [16:08:01]wFMCommunicate request_size=4 [16:08:01]MH_SAM_APDU [16:08:01]CAPDU: 80 11 00 00 [16:08:01]Write to MH i2c: E2 08 00 4C 0D 80 11 00 00 00 00 00 00 D3 [16:08:01]Write i2c OK [16:08:01]MH_I2C_Read... [16:08:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:08:01]Read from MH i2c: E2 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 17 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: E2 17 00 4C 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2D [16:08:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:08:01]wFMCommunicate OK [16:08:01]CreateOFDProtocolMessage done [16:08:01]OFDSenderStorePacket 57067 [16:08:01]StoreOFDPacket docnum=57067 [16:08:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 20 01 00 00 34 25 18 01 7B 88 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 E1 F7 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EB DE 00 00 35 04 06 00 93 F9 D2 36 CA FF FD 9F 80 ED 5E A6 E5 60 [16:08:01]CheckFolder [16:08:01]dirname=/storage/ofd_packets [16:08:01]CheckFolder done [16:08:01]ProducePacketName [16:08:01]name=ofd_packets/00057067 [16:08:01]NVStorageSaveData ofd_packets/00057067 [16:08:01]File name is /storage/ofd_packets/00057067 [16:08:01]Write 318 bytes [16:08:01]NVStorageSaveData done [16:08:01]OFDSenderStorePacket done [16:08:01]KKMCreateOFDPacket done [16:08:01]NVStorageSaveData kkm_last_timestamp [16:08:01]File name is /storage/kkm_last_timestamp [16:08:01]Write 4 bytes [16:08:01]NVStorageSaveData done [16:08:01]ExternCall_PrintAddStr [16:08:01]wPrintStart [16:08:01]Write to MH i2c: 01 00 00 4D 0D 5A [16:08:01]Write i2c OK [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: 01 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: 01 07 00 [16:08:01]MH_I2C_Read... [16:08:01]Read from MH i2c: 01 07 00 4D 0D 00 00 00 00 00 FF 0F 6F [16:08:01]RasterBufferAndPrint [16:08:01]line Счет N : (3)129528 [16:08:01]line ИНН: 02508201610067 [16:08:01]line Контрольно-Кассовый Чек [16:08:01]line ПРОДАЖА [16:08:01]line Товар: 4640030091584 [16:08:01]line Сигареты Esse Gold [16:08:01]line 1.000 * 143.00 [16:08:01]line = 143.00 [16:08:01]line НДС 12% НСП 1% [16:08:01]line > о реализуемом товаре [16:08:01]line ИТОГО: 143.00 [16:08:01]line НСП 1% : 1.26 [16:08:01]line НДС 12% : 15.19 [16:08:01]line Наличными: 0.00 [16:08:01]line Безнал.: 143.00 [16:08:01]line Место: АЗС № 132 "Партнер Нефть" [16:08:01]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:08:01]line СНО: Общий режим [16:08:01]line Чек 84 14.07.2024 16:08 [16:08:01]line Смена: 496 ФФД: 1.0 [16:08:01]line ЗНМ: 0300000132 [16:08:01]line РНМ: 0000000000091208 [16:08:01]line Версия ККМ: 001 [16:08:01]line Платежная система: АКБ Кыргызстан [16:08:01]line ФМ: 0000000000874857 [16:08:01]line ФД: 57067 [16:08:01]line ФПД: 162701182946047 [16:08:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T160801&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57067&fm=162701182946047&tin=02508201610067®Number=0000000000091208&sum=14300 [16:08:01]line 0 [16:08:01]OFD Sender: Processing packet 57067 [packets to send 38, broken 37] [16:08:01]ProducePacketName [16:08:01]name=ofd_packets/00057067 [16:08:01]OFD Sender: To server: pG, [16:08:01]CommunicateWithHost lk.salyk.kg:30040 [16:08:01]ConnectInit lk.salyk.kg [16:08:01]written 0, free lines is 4095 [16:08:01]Connected sock=11 [16:08:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 20 01 00 00 34 25 18 01 7B 88 5A 03 01 00 03 00 0C 01 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 34 30 30 33 30 30 39 31 35 38 34 06 04 1A 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 45 73 73 65 20 47 6F 6C 64 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 54 00 00 00 F4 03 04 00 E1 F7 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EB DE 00 00 35 04 06 00 93 F9 D2 36 CA FF FD 9F 80 ED 5E A6 E5 60 [16:08:02]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 66 6B 47 00 62 3B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EB DE 00 00 F4 03 04 00 32 9E 93 66 B6 04 01 00 00 FD 49 3F 90 04 16 11 BF [16:08:02]CommunicateWithHost err = 0 [16:08:02]CheckOFDResponse [16:08:02]1017 (14) - 77093643461234 [16:08:02]1041 (16) - 0000000000874857 [16:08:02]1040 (4) - 57067 [16:08:02]1012 (4) - 14.07.2024 09:45 [16:08:02]1206 (1) - 0 [16:08:02]OFD Sender: Remove packet 57067 [16:08:02]ProducePacketName [16:08:02]name=ofd_packets/00057067 [16:08:02]NVStorageDeleteData [16:08:02]Write to MH i2c: 01 00 00 77 0D 84 [16:08:02]Write i2c OK [16:08:02]MH_I2C_Read... [16:08:02]Read from MH i2c: 01 [16:08:02]MH_I2C_Read... [16:08:02]Read from MH i2c: 01 07 00 [16:08:02]MH_I2C_Read... [16:08:02]Read from MH i2c: 01 07 00 77 0D 00 00 00 00 00 E8 0C 7F [16:08:02]RasterBufferAndPrint [16:08:02]line [16:08:02]line [16:08:02]line [16:08:02]line [16:08:02]line [16:08:02]written 0, free lines is 3311 [16:08:02]MH_Cut [16:08:02]Write to MH i2c: D1 01 00 7E 0D 01 5D [16:08:02]Write i2c OK [16:08:02]MH_I2C_Read... [16:08:02]Read from MH i2c: D1 [16:08:02]MH_I2C_Read... [16:08:02]Read from MH i2c: D1 01 00 [16:08:02]MH_I2C_Read... [16:08:02]Read from MH i2c: D1 01 00 7E 0D 00 5C [16:08:02]Write to MH i2c: 01 00 00 7F 0D 8C [16:08:02]Write i2c OK [16:08:02]MH_I2C_Read... [16:08:02]OFD Sender: No OFD packet to send [16:08:02]*** Cut start [16:08:02]*** Partial cut [16:08:02]*** CUTSNS_PIN = 1 [16:08:03]*** CUTSNS_PIN = 0 [16:08:03]*** Brake cut motor [16:08:03]Read from MH i2c: 01 [16:08:03]MH_I2C_Read... [16:08:03]*** Stop cut motor [16:08:03]*** Cut end [16:08:03]Read from MH i2c: 01 07 00 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: 01 07 00 7F 0D 00 00 00 00 00 FF 0F A1 [16:08:03]process_action close_receipt done [16:08:03]requested_data is exist [16:08:03]produce_requested_data [16:08:03]requested_item fm.sn is exist - process it [16:08:03]wFMCommunicate request_size=4 [16:08:03]MH_SAM_APDU [16:08:03]CAPDU: 80 11 00 00 [16:08:03]Write to MH i2c: E2 08 00 80 0D 80 11 00 00 00 00 00 00 07 [16:08:03]Write i2c OK [16:08:03]MH_I2C_Read... [16:08:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:08:03]Read from MH i2c: E2 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 17 00 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 17 00 80 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 61 [16:08:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:08:03]wFMCommunicate OK [16:08:03]requested_item fd.num is exist - process it [16:08:03]SAM_PROTO_GetFieldsCounters [16:08:03]wFMCommunicate request_size=4 [16:08:03]MH_SAM_APDU [16:08:03]CAPDU: 80 13 00 00 [16:08:03]Write to MH i2c: E2 08 00 81 0D 80 13 00 00 00 00 00 00 0A [16:08:03]Write i2c OK [16:08:03]MH_I2C_Read... [16:08:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:08:03]Read from MH i2c: E2 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 62 00 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 62 00 81 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EB DE 00 00 0E 04 04 00 F0 01 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 E3 [16:08:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EB DE 00 00 0E 04 04 00 F0 01 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 [16:08:03]wFMCommunicate OK [16:08:03]SAM_PROTO_GetFieldsCounters done [16:08:03]requested_item shift.num is exist - process it [16:08:03]requested_item shift.opened is exist - process it [16:08:03]req_shift_opened [16:08:03]FM_GetShiftState [16:08:03]SAM_PROTO_GetShiftState [16:08:03]wFMCommunicate request_size=4 [16:08:03]MH_SAM_APDU [16:08:03]CAPDU: 80 13 01 00 [16:08:03]Write to MH i2c: E2 08 00 82 0D 80 13 01 00 00 00 00 00 0C [16:08:03]Write i2c OK [16:08:03]MH_I2C_Read... [16:08:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:08:03]Read from MH i2c: E2 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 0E 00 [16:08:03]MH_I2C_Read... [16:08:03]Read from MH i2c: E2 0E 00 82 0D 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 B3 [16:08:03]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [16:08:03]wFMCommunicate OK [16:08:03]SAM_PROTO_GetShiftState done [16:08:03]FM_GetShiftState done [16:08:03]req_shift_opened done [16:08:03]requested_item shift.open_date is exist - process it [16:08:03]req_shift_open_date [16:08:03]req_shift_open_date done [16:08:03]requested_item shift.sale.total is exist - process it [16:08:03]SAM_PROTO_GetShiftData [16:08:03]wFMCommunicate request_size=4 [16:08:03]MH_SAM_APDU [16:08:03]CAPDU: 80 13 02 00 [16:08:03]Write to MH i2c: E2 08 00 83 0D 80 13 02 00 00 00 00 00 0E [16:08:03]Write i2c OK [16:08:03]MH_I2C_Read... [16:08:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:08:04]Read from MH i2c: E2 [16:08:04]MH_I2C_Read... [16:08:04]Read from MH i2c: E2 FD 00 [16:08:04]MH_I2C_Read... [16:08:04]Read from MH i2c: E2 FD 00 83 0D 00 BB 04 AA 04 B7 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 C4 6C 2E 70 04 03 00 C8 67 25 72 04 03 00 FC 04 09 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 EE 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 24 69 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 92 [16:08:04]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 54 00 00 00 69 04 9B 00 6F 04 04 00 52 00 00 00 B1 04 03 00 C4 6C 2E 70 04 03 00 C8 67 25 72 04 03 00 FC 04 09 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 EE 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 24 69 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [16:08:04]wFMCommunicate OK [16:08:04]wFMCommunicate request_size=4 [16:08:04]MH_SAM_APDU [16:08:04]CAPDU: 80 17 00 00 [16:08:04]Write to MH i2c: E2 08 00 84 0D 80 17 00 00 00 00 00 00 11 [16:08:04]Write i2c OK [16:08:04]MH_I2C_Read... [16:08:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:08:04]Read from MH i2c: E2 [16:08:04]MH_I2C_Read... [16:08:04]Read from MH i2c: E2 FD 00 [16:08:04]MH_I2C_Read... [16:08:04]Read from MH i2c: E2 FD 00 84 0D 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A4 [16:08:04]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:08:04]wFMCommunicate OK [16:08:04]wFMCommunicate request_size=4 [16:08:04]MH_SAM_APDU [16:08:04]CAPDU: 80 17 00 00 [16:08:04]Write to MH i2c: E2 08 00 85 0D 80 17 00 00 00 00 00 00 12 [16:08:04]Write i2c OK [16:08:04]MH_I2C_Read... [16:08:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:08:04]Read from MH i2c: E2 [16:08:04]MH_I2C_Read... [16:08:04]Read from MH i2c: E2 FD 00 [16:08:04]MH_I2C_Read... [16:08:04]Read from MH i2c: E2 FD 00 85 0D 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3E [16:08:04]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:08:04]wFMCommunicate OK [16:08:04]wFMCommunicate request_size=4 [16:08:04]MH_SAM_APDU [16:08:04]CAPDU: 80 17 00 00 [16:08:04]Write to MH i2c: E2 08 00 86 0D 80 17 00 00 00 00 00 00 13 [16:08:04]Write i2c OK [16:08:04]MH_I2C_Read... [16:08:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:08:05]Read from MH i2c: E2 [16:08:05]MH_I2C_Read... [16:08:05]Read from MH i2c: E2 FD 00 [16:08:05]MH_I2C_Read... [16:08:05]Read from MH i2c: E2 FD 00 86 0D 00 00 00 EF 03 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 90 00 88 [16:08:05]RAPDU: 00 00 EF 03 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 90 00 [16:08:05]wFMCommunicate OK [16:08:05]wFMCommunicate request_size=4 [16:08:05]MH_SAM_APDU [16:08:05]CAPDU: 80 17 00 00 [16:08:05]Write to MH i2c: E2 08 00 87 0D 80 17 00 00 00 00 00 00 14 [16:08:05]Write i2c OK [16:08:05]MH_I2C_Read... [16:08:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [16:08:05]Read from MH i2c: E2 [16:08:05]MH_I2C_Read... [16:08:05]Read from MH i2c: E2 D8 00 [16:08:05]MH_I2C_Read... [16:08:05]Read from MH i2c: E2 D8 00 87 0D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 FB [16:08:05]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [16:08:05]wFMCommunicate OK [16:08:05]SAM_PROTO_GetShiftData done [16:08:05]requested_item shift.sale.total_cash is exist - process it [16:08:05]requested_item shift.sale_refund.total is exist - process it [16:08:05]requested_item shift.sale_refund.total_cash is exist - process it [16:08:05]produce_requested_data done [16:08:05]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57067,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30425.00,"shift.sale.total_cash":24514.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [16:08:05]process_action_free close_receipt [16:08:05]json_value_free [16:08:05]json_value_free done [16:08:05]process_json_proto returns [16:08:05]Send response to host [16:08:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57067,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30425.00,"shift.sale.total_cash":24514.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [16:08:05]free response buf [16:08:05]execute_script done [16:08:05]execute_script returns [16:08:05]free content buf [16:08:05]Sock 7.Close socket [16:08:05]Sock 7.Thread stoped [16:08:07]OFD Sender: No OFD packet to send [16:08:12]OFD Sender: No OFD packet to send [16:08:17]OFD Sender: No OFD packet to send [16:08:22]OFD Sender: No OFD packet to send [16:08:27]OFD Sender: No OFD packet to send [16:08:32]OFD Sender: No OFD packet to send [16:08:37]OFD Sender: No OFD packet to send [16:08:42]OFD Sender: No OFD packet to send [16:08:47]OFD Sender: No OFD packet to send [16:08:52]OFD Sender: No OFD packet to send [16:08:57]OFD Sender: No OFD packet to send [16:09:02]OFD Sender: No OFD packet to send [16:09:07]OFD Sender: No OFD packet to send [16:09:12]OFD Sender: No OFD packet to send [16:09:17]OFD Sender: No OFD packet to send [16:09:22]OFD Sender: No OFD packet to send [16:09:27]OFD Sender: No OFD packet to send [16:09:32]OFD Sender: No OFD packet to send [16:09:37]OFD Sender: No OFD packet to send [16:09:42]OFD Sender: No OFD packet to send [16:09:47]OFD Sender: No OFD packet to send [16:09:52]OFD Sender: No OFD packet to send [16:09:57]OFD Sender: No OFD packet to send [16:10:02]OFD Sender: No OFD packet to send [16:10:07]OFD Sender: No OFD packet to send [16:10:12]OFD Sender: No OFD packet to send [16:10:17]OFD Sender: No OFD packet to send [16:10:22]OFD Sender: No OFD packet to send [16:10:27]OFD Sender: No OFD packet to send [16:10:32]OFD Sender: No OFD packet to send [16:10:37]OFD Sender: No OFD packet to send [16:10:42]OFD Sender: No OFD packet to send [16:10:47]OFD Sender: No OFD packet to send [16:10:52]OFD Sender: No OFD packet to send [16:10:57]OFD Sender: No OFD packet to send [16:11:02]OFD Sender: No OFD packet to send [16:11:07]OFD Sender: No OFD packet to send [16:11:12]OFD Sender: No OFD packet to send [16:11:17]OFD Sender: No OFD packet to send [16:11:22]OFD Sender: No OFD packet to send [16:11:27]OFD Sender: No OFD packet to send [16:11:32]OFD Sender: No OFD packet to send [16:11:37]OFD Sender: No OFD packet to send [16:11:42]OFD Sender: No OFD packet to send [16:11:47]OFD Sender: No OFD packet to send [16:11:52]OFD Sender: No OFD packet to send [16:11:57]OFD Sender: No OFD packet to send [16:12:02]OFD Sender: No OFD packet to send [16:12:07]OFD Sender: No OFD packet to send [16:12:12]OFD Sender: No OFD packet to send [16:12:17]OFD Sender: No OFD packet to send [16:12:22]OFD Sender: No OFD packet to send [16:12:27]OFD Sender: No OFD packet to send [16:12:32]OFD Sender: No OFD packet to send [16:12:37]OFD Sender: No OFD packet to send [16:12:42]OFD Sender: No OFD packet to send [16:12:47]OFD Sender: No OFD packet to send [16:12:52]OFD Sender: No OFD packet to send [16:12:57]OFD Sender: No OFD packet to send [16:13:02]OFD Sender: No OFD packet to send [16:13:07]OFD Sender: No OFD packet to send [16:13:12]OFD Sender: No OFD packet to send [16:13:17]OFD Sender: No OFD packet to send [16:13:22]OFD Sender: No OFD packet to send [16:13:27]OFD Sender: No OFD packet to send [16:13:32]OFD Sender: No OFD packet to send [16:13:37]OFD Sender: No OFD packet to send [16:13:42]OFD Sender: No OFD packet to send [16:13:47]OFD Sender: No OFD packet to send [16:13:52]OFD Sender: No OFD packet to send [16:13:57]OFD Sender: No OFD packet to send [16:14:02]OFD Sender: No OFD packet to send [16:14:07]OFD Sender: No OFD packet to send [16:14:12]OFD Sender: No OFD packet to send [16:14:17]OFD Sender: No OFD packet to send [16:14:22]OFD Sender: No OFD packet to send [16:14:27]OFD Sender: No OFD packet to send [16:14:32]OFD Sender: No OFD packet to send [16:14:37]OFD Sender: No OFD packet to send [16:14:42]OFD Sender: No OFD packet to send [16:14:47]OFD Sender: No OFD packet to send [16:14:52]OFD Sender: No OFD packet to send [16:14:57]OFD Sender: No OFD packet to send [16:15:02]OFD Sender: No OFD packet to send [16:15:07]OFD Sender: No OFD packet to send [16:15:12]OFD Sender: No OFD packet to send [16:15:17]OFD Sender: No OFD packet to send [16:15:22]OFD Sender: No OFD packet to send [16:15:27]OFD Sender: No OFD packet to send [16:15:32]OFD Sender: No OFD packet to send [16:15:37]OFD Sender: No OFD packet to send [16:15:42]OFD Sender: No OFD packet to send [16:15:48]OFD Sender: No OFD packet to send [16:15:53]OFD Sender: No OFD packet to send [16:15:58]OFD Sender: No OFD packet to send [16:16:03]OFD Sender: No OFD packet to send [16:16:08]OFD Sender: No OFD packet to send [16:16:13]OFD Sender: No OFD packet to send [16:16:18]OFD Sender: No OFD packet to send [16:16:23]OFD Sender: No OFD packet to send [16:16:28]OFD Sender: No OFD packet to send [16:16:33]OFD Sender: No OFD packet to send [16:16:38]OFD Sender: No OFD packet to send [16:16:43]OFD Sender: No OFD packet to send [16:16:48]OFD Sender: No OFD packet to send [16:16:53]OFD Sender: No OFD packet to send [16:16:58]OFD Sender: No OFD packet to send [16:17:03]OFD Sender: No OFD packet to send [16:17:08]OFD Sender: No OFD packet to send [16:17:13]OFD Sender: No OFD packet to send [16:17:18]OFD Sender: No OFD packet to send [16:17:23]OFD Sender: No OFD packet to send [16:17:28]OFD Sender: No OFD packet to send [16:17:33]OFD Sender: No OFD packet to send [16:17:38]OFD Sender: No OFD packet to send [16:17:43]OFD Sender: No OFD packet to send [16:17:48]OFD Sender: No OFD packet to send [16:17:53]OFD Sender: No OFD packet to send [16:17:58]OFD Sender: No OFD packet to send [16:18:03]OFD Sender: No OFD packet to send [16:18:08]OFD Sender: No OFD packet to send [16:18:13]OFD Sender: No OFD packet to send [16:18:18]OFD Sender: No OFD packet to send [16:18:23]OFD Sender: No OFD packet to send [16:18:28]OFD Sender: No OFD packet to send [16:18:33]OFD Sender: No OFD packet to send [16:18:38]OFD Sender: No OFD packet to send [16:18:43]OFD Sender: No OFD packet to send [16:18:48]OFD Sender: No OFD packet to send [16:18:53]OFD Sender: No OFD packet to send [16:18:58]OFD Sender: No OFD packet to send [16:19:03]OFD Sender: No OFD packet to send [16:19:08]OFD Sender: No OFD packet to send [16:19:13]OFD Sender: No OFD packet to send [16:19:18]OFD Sender: No OFD packet to send [16:19:23]OFD Sender: No OFD packet to send [16:19:28]OFD Sender: No OFD packet to send [16:19:33]OFD Sender: No OFD packet to send [16:19:38]OFD Sender: No OFD packet to send [16:19:43]OFD Sender: No OFD packet to send [16:19:48]OFD Sender: No OFD packet to send [16:19:53]OFD Sender: No OFD packet to send [16:19:58]OFD Sender: No OFD packet to send [16:20:03]OFD Sender: No OFD packet to send [16:20:08]OFD Sender: No OFD packet to send [16:20:13]OFD Sender: No OFD packet to send [16:20:18]OFD Sender: No OFD packet to send [16:20:23]OFD Sender: No OFD packet to send [16:20:28]OFD Sender: No OFD packet to send [16:20:33]OFD Sender: No OFD packet to send [16:20:38]OFD Sender: No OFD packet to send [16:20:43]OFD Sender: No OFD packet to send [16:20:48]OFD Sender: No OFD packet to send [16:20:53]OFD Sender: No OFD packet to send [16:20:58]OFD Sender: No OFD packet to send [16:20:59]accept exits with 9 [16:20:59]New connection [16:20:59]New thread 3067592036 created [16:20:59]Thread 3067448676 joined [16:20:59]Waiting for new connection... [16:20:59] Sock 9.Parse request [16:20:59]Sock 9.Check first char [16:20:59]Sock 9.First char is OK [16:20:59]request: POST /json_proto HTTP/1.0 [16:20:59]Method: POST [16:20:59]URL: /json_proto [16:20:59]Method is POST - this is cgi request [16:20:59]url: /json_proto [16:20:59]query_string will be loaded in cgi processing [16:20:59]execute_cgi json_proto POST (null) [16:20:59]execute_cgi path=json_proto method=POST [16:20:59]POST find Content-Length [16:20:59]Host: 172.17.39.4:8080 [16:20:59]Content-Length: 880 [16:20:59]Content-Type: application/json [16:20:59] [16:20:59]POST finish read [16:20:59]Found Content-Length = 880 [16:20:59]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129529", "tax_sys" : 0, "items" : [ { "code": "48744713", "name": "LD Compact Purple Beat", "price" : 133.00, "quantity" : 1.000, "sum" : 133.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 133.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:20:59]execute_script... [16:20: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)129529", "tax_sys" : 0, "items" : [ { "code": "48744713", "name": "LD Compact Purple Beat", "price" : 133.00, "quantity" : 1.000, "sum" : 133.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 133.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:20:59]POST & json_proto [16:20:59]process_json_proto [16:20:59]json parsed OK: [16:20:59]protocol is kg_v1.0 [16:20:59]action value=close_receipt [16:20:59]process_action close_receipt [16:20:59]cmd_close_receipt [16:20:59]MH_GetDate [16:20:59]Write to MH i2c: F0 00 00 88 0D 84 [16:20:59]Write i2c OK [16:20:59]MH_I2C_Read... [16:20:59]Read from MH i2c: F0 [16:20:59]MH_I2C_Read... [16:20:59]Read from MH i2c: F0 09 00 [16:20:59]MH_I2C_Read... [16:20:59]Read from MH i2c: F0 09 00 88 0D 00 ED FA 93 66 2D 25 5D 64 80 [16:20:59]GetLastDocTimeStamp 1720973281 [16:20:59]current date 1720974061 [16:20:59]FM_GetShiftState [16:20:59]SAM_PROTO_GetShiftState [16:20:59]wFMCommunicate request_size=4 [16:20:59]MH_SAM_APDU [16:20:59]CAPDU: 80 13 01 00 [16:20:59]Write to MH i2c: E2 08 00 89 0D 80 13 01 00 00 00 00 00 13 [16:20:59]Write i2c OK [16:20:59]MH_I2C_Read... [16:20:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:20:59]Read from MH i2c: E2 [16:20:59]MH_I2C_Read... [16:20:59]Read from MH i2c: E2 0E 00 [16:20:59]MH_I2C_Read... [16:20:59]Read from MH i2c: E2 0E 00 89 0D 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 BA [16:20:59]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [16:20:59]wFMCommunicate OK [16:20:59]SAM_PROTO_GetShiftState done [16:20:59]FM_GetShiftState done [16:20:59]opened in 1720917126 [16:20:59]opened+sec_in_day 1721003526 [16:20:59]quantity*price = 13300 [16:20:59]sum+1 = 13301 [16:20:59]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 133.00 НСП 1% : 1.18 НДС 12% : 14.12 Наличными: 0.00 Безнал.: 133.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 85 14.07.2024 16:21 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57068 ФПД: 25560129991005 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T162101&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57068&fm=25560129991005&tin=02508201610067®Number=0000000000091208&sum=13300 0 [16:21:00]StoreToDocumentArchive [16:21:00]shift 496 fd 57068 [16:21:00]save to /storage/0496/doc_00057068 [16:21:00]save last doc name /storage/0496/doc_00057068 to /storage/kkm_last_doc_name [16:21:00]save OK [16:21:00]Clear old archive folders... [16:21:00]ProcessDocumentItem done err = 0, tmpTLVsize=259 [16:21:00]tlvbuf is 00FC6380 [16:21:00]SAM_PROTO_ClearQueue [16:21:00]wFMCommunicate request_size=4 [16:21:00]MH_SAM_APDU [16:21:00]CAPDU: 80 09 00 00 [16:21:00]Write to MH i2c: E2 08 00 96 0D 80 09 00 00 00 00 00 00 15 [16:21:00]Write i2c OK [16:21:00]MH_I2C_Read... [16:21:00]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:21:00]Read from MH i2c: E2 [16:21:00]MH_I2C_Read... [16:21:00]Read from MH i2c: E2 03 00 [16:21:00]MH_I2C_Read... [16:21:00]Read from MH i2c: E2 03 00 96 0D 00 90 00 17 [16:21:00]RAPDU: 90 00 [16:21:00]wFMCommunicate OK [16:21:00]SAM_PROTO_ClearQueue done [16:21:00]KKMCreateOFDPacket [16:21:00]OFDProtocolAddRootSTLVToBuf [16:21:00]FM_MakeSignedData [16:21:00]FM_MakeSignedData [16:21:00]SAM_PROTO_SignData [16:21:00]wFMCommunicate request_size=4 [16:21:00]MH_SAM_APDU [16:21:00]CAPDU: 80 0D 01 02 [16:21:00]Write to MH i2c: E2 08 00 97 0D 80 0D 01 02 00 00 00 00 1D [16:21:00]Write i2c OK [16:21:00]MH_I2C_Read... [16:21:00]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:21:00]Read from MH i2c: E2 [16:21:00]MH_I2C_Read... [16:21:00]Read from MH i2c: E2 03 00 [16:21:00]MH_I2C_Read... [16:21:00]Read from MH i2c: E2 03 00 97 0D 00 90 00 18 [16:21:00]RAPDU: 90 00 [16:21:00]wFMCommunicate OK [16:21:00]wFMCommunicate request_size=255 [16:21:00]MH_SAM_APDU [16:21:00]CAPDU: 80 0D 02 02 FA 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F4 33 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 ED FA 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EC [16:21:00]Write to MH i2c: E2 02 01 98 0D 80 0D 02 02 FA 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F4 33 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 ED FA 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EC 00 00 7E [16:21:00]Write i2c OK [16:21:00]MH_I2C_Read... [16:21:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:21:01]Read from MH i2c: E2 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: E2 03 00 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: E2 03 00 98 0D 00 90 00 19 [16:21:01]RAPDU: 90 00 [16:21:01]wFMCommunicate OK [16:21:01]wFMCommunicate request_size=18 [16:21:01]MH_SAM_APDU [16:21:01]CAPDU: 80 0D 02 02 0D DE 00 00 35 04 06 00 17 3F 2E 77 F1 5D [16:21:01]Write to MH i2c: E2 15 00 99 0D 80 0D 02 02 0D 00 DE 00 00 35 04 06 00 17 3F 2E 77 F1 5D 00 00 A0 [16:21:01]Write i2c OK [16:21:01]MH_I2C_Read... [16:21:01]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:21:01]Read from MH i2c: E2 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: E2 03 00 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: E2 03 00 99 0D 00 90 00 1A [16:21:01]RAPDU: 90 00 [16:21:01]wFMCommunicate OK [16:21:01]wFMCommunicate request_size=4 [16:21:01]MH_SAM_APDU [16:21:01]CAPDU: 80 0D 03 02 [16:21:01]Write to MH i2c: E2 08 00 9A 0D 80 0D 03 02 00 00 00 00 22 [16:21:01]Write i2c OK [16:21:01]MH_I2C_Read... [16:21:01]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:21:01]Read from MH i2c: E2 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: E2 0B 00 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: E2 0B 00 9A 0D 00 BF 68 5F 48 39 01 E8 D6 90 00 E9 [16:21:01]RAPDU: BF 68 5F 48 39 01 E8 D6 90 00 [16:21:01]wFMCommunicate OK [16:21:01]SAM_PROTO_SignData done [16:21:01]FM_MakeSignedData done [16:21:01]CreateOFDProtocolMessage [16:21:01]wFMCommunicate request_size=4 [16:21:01]MH_SAM_APDU [16:21:01]CAPDU: 80 11 00 00 [16:21:01]Write to MH i2c: E2 08 00 9B 0D 80 11 00 00 00 00 00 00 22 [16:21:01]Write i2c OK [16:21:01]MH_I2C_Read... [16:21:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:21:01]Read from MH i2c: E2 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: E2 17 00 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: E2 17 00 9B 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7C [16:21:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:21:01]wFMCommunicate OK [16:21:01]CreateOFDProtocolMessage done [16:21:01]OFDSenderStorePacket 57068 [16:21:01]StoreOFDPacket docnum=57068 [16:21:01]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 17 01 00 00 0F 67 0F 01 FC 25 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F4 33 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 ED FA 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EC DE 00 00 35 04 06 00 17 3F 2E 77 F1 5D BF 68 5F 48 39 01 E8 D6 [16:21:01]CheckFolder [16:21:01]dirname=/storage/ofd_packets [16:21:01]CheckFolder done [16:21:01]ProducePacketName [16:21:01]name=ofd_packets/00057068 [16:21:01]NVStorageSaveData ofd_packets/00057068 [16:21:01]File name is /storage/ofd_packets/00057068 [16:21:01]Write 309 bytes [16:21:01]NVStorageSaveData done [16:21:01]OFDSenderStorePacket done [16:21:01]KKMCreateOFDPacket done [16:21:01]NVStorageSaveData kkm_last_timestamp [16:21:01]File name is /storage/kkm_last_timestamp [16:21:01]Write 4 bytes [16:21:01]NVStorageSaveData done [16:21:01]ExternCall_PrintAddStr [16:21:01]wPrintStart [16:21:01]Write to MH i2c: 01 00 00 9C 0D A9 [16:21:01]Write i2c OK [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: 01 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: 01 07 00 [16:21:01]MH_I2C_Read... [16:21:01]Read from MH i2c: 01 07 00 9C 0D 00 00 00 00 00 FF 0F BE [16:21:01]RasterBufferAndPrint [16:21:01]line Счет N : (3)129529 [16:21:01]line ИНН: 02508201610067 [16:21:01]line Контрольно-Кассовый Чек [16:21:01]line ПРОДАЖА [16:21:01]line Товар: 48744713 [16:21:01]line LD Compact Purple Beat [16:21:01]line 1.000 * 133.00 [16:21:01]line = 133.00 [16:21:01]line НДС 12% НСП 1% [16:21:01]line > о реализуемом товаре [16:21:01]line ИТОГО: 133.00 [16:21:01]line НСП 1% : 1.18 [16:21:01]line НДС 12% : 14.12 [16:21:01]line Наличными: 0.00 [16:21:01]line Безнал.: 133.00 [16:21:01]line Место: АЗС № 132 "Партнер Нефть" [16:21:01]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:21:01]line СНО: Общий режим [16:21:01]line Чек 85 14.07.2024 16:21 [16:21:01]line Смена: 496 ФФД: 1.0 [16:21:01]line ЗНМ: 0300000132 [16:21:01]line РНМ: 0000000000091208 [16:21:01]line Версия ККМ: 001 [16:21:01]line Платежная система: АКБ Кыргызстан [16:21:01]line ФМ: 0000000000874857 [16:21:01]line ФД: 57068 [16:21:01]line ФПД: 25560129991005 [16:21:01]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T162101&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57068&fm=25560129991005&tin=02508201610067®Number=0000000000091208&sum=13300 [16:21:01]OFD Sender: Processing packet 57068 [packets to send 38, broken 37] [16:21:01]ProducePacketName [16:21:01]name=ofd_packets/00057068 [16:21:01]OFD Sender: To server: pG, [16:21:01]CommunicateWithHost lk.salyk.kg:30040 [16:21:01]ConnectInit lk.salyk.kg [16:21:01]line 0 [16:21:01]written 0, free lines is 4095 [16:21:01]Connected sock=10 [16:21:01]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 17 01 00 00 0F 67 0F 01 FC 25 5A 03 01 00 03 00 03 01 1E 04 01 00 01 23 04 55 00 8A 04 08 00 34 38 37 34 34 37 31 33 06 04 16 00 4C 44 20 43 6F 6D 70 61 63 74 20 50 75 72 70 6C 65 20 42 65 61 74 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 33 00 00 00 00 13 04 06 00 F4 33 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 F4 33 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 76 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 84 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F4 33 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 55 00 00 00 F4 03 04 00 ED FA 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EC DE 00 00 35 04 06 00 17 3F 2E 77 F1 5D BF 68 5F 48 39 01 E8 D6 [16:21:01]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 00 2F 47 00 2D 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EC DE 00 00 F4 03 04 00 3E A1 93 66 B6 04 01 00 00 7F 72 5B 8F 5F 94 D5 B0 [16:21:01]CommunicateWithHost err = 0 [16:21:01]CheckOFDResponse [16:21:01]1017 (14) - 77093643461234 [16:21:02]1041 (16) - 0000000000874857 [16:21:02]1040 (4) - 57068 [16:21:02]1012 (4) - 14.07.2024 09:58 [16:21:02]1206 (1) - 0 [16:21:02]OFD Sender: Remove packet 57068 [16:21:02]ProducePacketName [16:21:02]name=ofd_packets/00057068 [16:21:02]NVStorageDeleteData [16:21:02]Write to MH i2c: 01 00 00 C6 0D D3 [16:21:02]Write i2c OK [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 07 00 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: 01 07 00 C6 0D 00 00 00 00 00 F7 0C DD [16:21:02]RasterBufferAndPrint [16:21:02]line [16:21:02]line [16:21:02]line [16:21:02]line [16:21:02]line [16:21:02]written 0, free lines is 3327 [16:21:02]MH_Cut [16:21:02]Write to MH i2c: D1 01 00 CD 0D 01 AC [16:21:02]Write i2c OK [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: D1 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: D1 01 00 [16:21:02]MH_I2C_Read... [16:21:02]Read from MH i2c: D1 01 00 CD 0D 00 AB [16:21:02]Write to MH i2c: 01 00 00 CE 0D DB [16:21:02]Write i2c OK [16:21:02]MH_I2C_Read... [16:21:02]OFD Sender: No OFD packet to send [16:21:02]*** Cut start [16:21:02]*** Partial cut [16:21:02]*** CUTSNS_PIN = 1 [16:21:02]*** CUTSNS_PIN = 0 [16:21:03]*** Brake cut motor [16:21:03]Read from MH i2c: 01 [16:21:03]MH_I2C_Read... [16:21:03]*** Stop cut motor [16:21:03]*** Cut end [16:21:03]Read from MH i2c: 01 07 00 [16:21:03]MH_I2C_Read... [16:21:03]Read from MH i2c: 01 07 00 CE 0D 00 00 00 00 00 FF 0F F0 [16:21:03]process_action close_receipt done [16:21:03]requested_data is exist [16:21:03]produce_requested_data [16:21:03]requested_item fm.sn is exist - process it [16:21:03]wFMCommunicate request_size=4 [16:21:03]MH_SAM_APDU [16:21:03]CAPDU: 80 11 00 00 [16:21:03]Write to MH i2c: E2 08 00 CF 0D 80 11 00 00 00 00 00 00 56 [16:21:03]Write i2c OK [16:21:03]MH_I2C_Read... [16:21:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:21:03]Read from MH i2c: E2 [16:21:03]MH_I2C_Read... [16:21:03]Read from MH i2c: E2 17 00 [16:21:03]MH_I2C_Read... [16:21:03]Read from MH i2c: E2 17 00 CF 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B0 [16:21:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:21:03]wFMCommunicate OK [16:21:03]requested_item fd.num is exist - process it [16:21:03]SAM_PROTO_GetFieldsCounters [16:21:03]wFMCommunicate request_size=4 [16:21:03]MH_SAM_APDU [16:21:03]CAPDU: 80 13 00 00 [16:21:03]Write to MH i2c: E2 08 00 D0 0D 80 13 00 00 00 00 00 00 59 [16:21:03]Write i2c OK [16:21:03]MH_I2C_Read... [16:21:03]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:21:03]Read from MH i2c: E2 [16:21:03]MH_I2C_Read... [16:21:03]Read from MH i2c: E2 62 00 [16:21:03]MH_I2C_Read... [16:21:03]Read from MH i2c: E2 62 00 D0 0D 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EC DE 00 00 0E 04 04 00 F0 01 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 36 [16:21:03]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EC DE 00 00 0E 04 04 00 F0 01 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 [16:21:03]wFMCommunicate OK [16:21:03]SAM_PROTO_GetFieldsCounters done [16:21:03]requested_item shift.num is exist - process it [16:21:03]requested_item shift.opened is exist - process it [16:21:03]req_shift_opened [16:21:03]FM_GetShiftState [16:21:03]SAM_PROTO_GetShiftState [16:21:03]wFMCommunicate request_size=4 [16:21:03]MH_SAM_APDU [16:21:03]CAPDU: 80 13 01 00 [16:21:03]Write to MH i2c: E2 08 00 D1 0D 80 13 01 00 00 00 00 00 5B [16:21:03]Write i2c OK [16:21:03]MH_I2C_Read... [16:21:03]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:21:03]Read from MH i2c: E2 [16:21:03]MH_I2C_Read... [16:21:03]Read from MH i2c: E2 0E 00 [16:21:03]MH_I2C_Read... [16:21:03]Read from MH i2c: E2 0E 00 D1 0D 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 02 [16:21:03]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [16:21:03]wFMCommunicate OK [16:21:03]SAM_PROTO_GetShiftState done [16:21:03]FM_GetShiftState done [16:21:03]req_shift_opened done [16:21:03]requested_item shift.open_date is exist - process it [16:21:03]req_shift_open_date [16:21:03]req_shift_open_date done [16:21:03]requested_item shift.sale.total is exist - process it [16:21:03]SAM_PROTO_GetShiftData [16:21:03]wFMCommunicate request_size=4 [16:21:03]MH_SAM_APDU [16:21:03]CAPDU: 80 13 02 00 [16:21:03]Write to MH i2c: E2 08 00 D2 0D 80 13 02 00 00 00 00 00 5D [16:21:03]Write i2c OK [16:21:03]MH_I2C_Read... [16:21:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:21:04]Read from MH i2c: E2 [16:21:04]MH_I2C_Read... [16:21:04]Read from MH i2c: E2 FD 00 [16:21:04]MH_I2C_Read... [16:21:04]Read from MH i2c: E2 FD 00 D2 0D 00 BB 04 AA 04 B7 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 53 00 00 00 B1 04 03 00 B8 A0 2E 70 04 03 00 C8 67 25 72 04 03 00 F0 38 09 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 AF F3 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9A 69 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 32 [16:21:04]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 55 00 00 00 69 04 9B 00 6F 04 04 00 53 00 00 00 B1 04 03 00 B8 A0 2E 70 04 03 00 C8 67 25 72 04 03 00 F0 38 09 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 AF F3 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9A 69 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [16:21:04]wFMCommunicate OK [16:21:04]wFMCommunicate request_size=4 [16:21:04]MH_SAM_APDU [16:21:04]CAPDU: 80 17 00 00 [16:21:04]Write to MH i2c: E2 08 00 D3 0D 80 17 00 00 00 00 00 00 60 [16:21:04]Write i2c OK [16:21:04]MH_I2C_Read... [16:21:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:21:04]Read from MH i2c: E2 [16:21:04]MH_I2C_Read... [16:21:04]Read from MH i2c: E2 FD 00 [16:21:04]MH_I2C_Read... [16:21:04]Read from MH i2c: E2 FD 00 D3 0D 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F3 [16:21:04]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:21:04]wFMCommunicate OK [16:21:04]wFMCommunicate request_size=4 [16:21:04]MH_SAM_APDU [16:21:04]CAPDU: 80 17 00 00 [16:21:04]Write to MH i2c: E2 08 00 D4 0D 80 17 00 00 00 00 00 00 61 [16:21:04]Write i2c OK [16:21:04]MH_I2C_Read... [16:21:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:21:04]Read from MH i2c: E2 [16:21:04]MH_I2C_Read... [16:21:04]Read from MH i2c: E2 FD 00 [16:21:04]MH_I2C_Read... [16:21:04]Read from MH i2c: E2 FD 00 D4 0D 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8D [16:21:04]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:21:04]wFMCommunicate OK [16:21:04]wFMCommunicate request_size=4 [16:21:04]MH_SAM_APDU [16:21:04]CAPDU: 80 17 00 00 [16:21:04]Write to MH i2c: E2 08 00 D5 0D 80 17 00 00 00 00 00 00 62 [16:21:04]Write i2c OK [16:21:04]MH_I2C_Read... [16:21:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:21:05]Read from MH i2c: E2 [16:21:05]MH_I2C_Read... [16:21:05]Read from MH i2c: E2 FD 00 [16:21:05]MH_I2C_Read... [16:21:05]Read from MH i2c: E2 FD 00 D5 0D 00 00 00 EF 03 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 90 00 D7 [16:21:05]RAPDU: 00 00 EF 03 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 90 00 [16:21:05]wFMCommunicate OK [16:21:05]wFMCommunicate request_size=4 [16:21:05]MH_SAM_APDU [16:21:05]CAPDU: 80 17 00 00 [16:21:05]Write to MH i2c: E2 08 00 D6 0D 80 17 00 00 00 00 00 00 63 [16:21:05]Write i2c OK [16:21:05]MH_I2C_Read... [16:21:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [16:21:05]Read from MH i2c: E2 [16:21:05]MH_I2C_Read... [16:21:05]Read from MH i2c: E2 D8 00 [16:21:05]MH_I2C_Read... [16:21:05]Read from MH i2c: E2 D8 00 D6 0D 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 4A [16:21:05]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [16:21:05]wFMCommunicate OK [16:21:05]SAM_PROTO_GetShiftData done [16:21:05]requested_item shift.sale.total_cash is exist - process it [16:21:05]requested_item shift.sale_refund.total is exist - process it [16:21:05]requested_item shift.sale_refund.total_cash is exist - process it [16:21:05]produce_requested_data done [16:21:05]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57068,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30558.00,"shift.sale.total_cash":24514.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [16:21:05]process_action_free close_receipt [16:21:05]json_value_free [16:21:05]json_value_free done [16:21:05]process_json_proto returns [16:21:05]Send response to host [16:21:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57068,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30558.00,"shift.sale.total_cash":24514.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [16:21:05]free response buf [16:21:05]execute_script done [16:21:05]execute_script returns [16:21:05]free content buf [16:21:05]Sock 9.Close socket [16:21:05]Sock 9.Thread stoped [16:21:07]OFD Sender: No OFD packet to send [16:21:12]OFD Sender: No OFD packet to send [16:21:17]OFD Sender: No OFD packet to send [16:21:22]OFD Sender: No OFD packet to send [16:21:27]OFD Sender: No OFD packet to send [16:21:32]OFD Sender: No OFD packet to send [16:21:37]OFD Sender: No OFD packet to send [16:21:42]OFD Sender: No OFD packet to send [16:21:47]OFD Sender: No OFD packet to send [16:21:52]OFD Sender: No OFD packet to send [16:21:57]OFD Sender: No OFD packet to send [16:22:02]OFD Sender: No OFD packet to send [16:22:07]OFD Sender: No OFD packet to send [16:22:12]OFD Sender: No OFD packet to send [16:22:17]OFD Sender: No OFD packet to send [16:22:22]OFD Sender: No OFD packet to send [16:22:27]OFD Sender: No OFD packet to send [16:22:32]OFD Sender: No OFD packet to send [16:22:37]OFD Sender: No OFD packet to send [16:22:42]OFD Sender: No OFD packet to send [16:22:47]OFD Sender: No OFD packet to send [16:22:52]OFD Sender: No OFD packet to send [16:22:57]OFD Sender: No OFD packet to send [16:23:02]OFD Sender: No OFD packet to send [16:23:07]OFD Sender: No OFD packet to send [16:23:12]OFD Sender: No OFD packet to send [16:23:17]OFD Sender: No OFD packet to send [16:23:22]OFD Sender: No OFD packet to send [16:23:27]OFD Sender: No OFD packet to send [16:23:32]OFD Sender: No OFD packet to send [16:23:37]OFD Sender: No OFD packet to send [16:23:42]OFD Sender: No OFD packet to send [16:23:47]OFD Sender: No OFD packet to send [16:23:52]OFD Sender: No OFD packet to send [16:23:57]OFD Sender: No OFD packet to send [16:24:02]OFD Sender: No OFD packet to send [16:24:07]OFD Sender: No OFD packet to send [16:24:12]OFD Sender: No OFD packet to send [16:24:17]OFD Sender: No OFD packet to send [16:24:22]OFD Sender: No OFD packet to send [16:24:27]OFD Sender: No OFD packet to send [16:24:32]OFD Sender: No OFD packet to send [16:24:37]OFD Sender: No OFD packet to send [16:24:42]OFD Sender: No OFD packet to send [16:24:47]OFD Sender: No OFD packet to send [16:24:52]OFD Sender: No OFD packet to send [16:24:57]OFD Sender: No OFD packet to send [16:25:02]OFD Sender: No OFD packet to send [16:25:07]OFD Sender: No OFD packet to send [16:25:12]OFD Sender: No OFD packet to send [16:25:17]OFD Sender: No OFD packet to send [16:25:22]OFD Sender: No OFD packet to send [16:25:27]OFD Sender: No OFD packet to send [16:25:32]OFD Sender: No OFD packet to send [16:25:37]OFD Sender: No OFD packet to send [16:25:42]OFD Sender: No OFD packet to send [16:25:47]OFD Sender: No OFD packet to send [16:25:52]OFD Sender: No OFD packet to send [16:25:57]OFD Sender: No OFD packet to send [16:26:02]OFD Sender: No OFD packet to send [16:26:07]OFD Sender: No OFD packet to send [16:26:12]OFD Sender: No OFD packet to send [16:26:17]OFD Sender: No OFD packet to send [16:26:22]OFD Sender: No OFD packet to send [16:26:27]OFD Sender: No OFD packet to send [16:26:32]OFD Sender: No OFD packet to send [16:26:37]OFD Sender: No OFD packet to send [16:26:42]OFD Sender: No OFD packet to send [16:26:47]OFD Sender: No OFD packet to send [16:26:52]OFD Sender: No OFD packet to send [16:26:57]OFD Sender: No OFD packet to send [16:27:02]OFD Sender: No OFD packet to send [16:27:07]OFD Sender: No OFD packet to send [16:27:12]OFD Sender: No OFD packet to send [16:27:17]OFD Sender: No OFD packet to send [16:27:22]OFD Sender: No OFD packet to send [16:27:27]OFD Sender: No OFD packet to send [16:27:32]OFD Sender: No OFD packet to send [16:27:37]OFD Sender: No OFD packet to send [16:27:42]OFD Sender: No OFD packet to send [16:27:47]OFD Sender: No OFD packet to send [16:27:52]OFD Sender: No OFD packet to send [16:27:57]OFD Sender: No OFD packet to send [16:28:02]OFD Sender: No OFD packet to send [16:28:07]OFD Sender: No OFD packet to send [16:28:12]OFD Sender: No OFD packet to send [16:28:17]OFD Sender: No OFD packet to send [16:28:22]OFD Sender: No OFD packet to send [16:28:27]OFD Sender: No OFD packet to send [16:28:32]OFD Sender: No OFD packet to send [16:28:37]OFD Sender: No OFD packet to send [16:28:42]OFD Sender: No OFD packet to send [16:28:47]OFD Sender: No OFD packet to send [16:28:52]OFD Sender: No OFD packet to send [16:28:57]OFD Sender: No OFD packet to send [16:29:02]OFD Sender: No OFD packet to send [16:29:08]OFD Sender: No OFD packet to send [16:29:13]OFD Sender: No OFD packet to send [16:29:18]OFD Sender: No OFD packet to send [16:29:23]OFD Sender: No OFD packet to send [16:29:28]OFD Sender: No OFD packet to send [16:29:33]OFD Sender: No OFD packet to send [16:29:38]OFD Sender: No OFD packet to send [16:29:43]OFD Sender: No OFD packet to send [16:29:48]OFD Sender: No OFD packet to send [16:29:53]OFD Sender: No OFD packet to send [16:29:58]OFD Sender: No OFD packet to send [16:30:03]OFD Sender: No OFD packet to send [16:30:08]OFD Sender: No OFD packet to send [16:30:13]OFD Sender: No OFD packet to send [16:30:18]OFD Sender: No OFD packet to send [16:30:23]OFD Sender: No OFD packet to send [16:30:28]OFD Sender: No OFD packet to send [16:30:33]OFD Sender: No OFD packet to send [16:30:38]OFD Sender: No OFD packet to send [16:30:43]OFD Sender: No OFD packet to send [16:30:48]OFD Sender: No OFD packet to send [16:30:53]OFD Sender: No OFD packet to send [16:30:58]OFD Sender: No OFD packet to send [16:31:03]OFD Sender: No OFD packet to send [16:31:08]OFD Sender: No OFD packet to send [16:31:13]OFD Sender: No OFD packet to send [16:31:18]OFD Sender: No OFD packet to send [16:31:23]OFD Sender: No OFD packet to send [16:31:28]OFD Sender: No OFD packet to send [16:31:33]OFD Sender: No OFD packet to send [16:31:38]OFD Sender: No OFD packet to send [16:31:43]OFD Sender: No OFD packet to send [16:31:48]OFD Sender: No OFD packet to send [16:31:53]OFD Sender: No OFD packet to send [16:31:58]OFD Sender: No OFD packet to send [16:32:03]OFD Sender: No OFD packet to send [16:32:08]OFD Sender: No OFD packet to send [16:32:13]OFD Sender: No OFD packet to send [16:32:18]OFD Sender: No OFD packet to send [16:32:23]OFD Sender: No OFD packet to send [16:32:28]OFD Sender: No OFD packet to send [16:32:33]OFD Sender: No OFD packet to send [16:32:38]OFD Sender: No OFD packet to send [16:32:43]OFD Sender: No OFD packet to send [16:32:48]OFD Sender: No OFD packet to send [16:32:53]OFD Sender: No OFD packet to send [16:32:58]OFD Sender: No OFD packet to send [16:33:03]OFD Sender: No OFD packet to send [16:33:08]OFD Sender: No OFD packet to send [16:33:13]OFD Sender: No OFD packet to send [16:33:18]OFD Sender: No OFD packet to send [16:33:23]OFD Sender: No OFD packet to send [16:33:28]OFD Sender: No OFD packet to send [16:33:33]OFD Sender: No OFD packet to send [16:33:38]OFD Sender: No OFD packet to send [16:33:43]OFD Sender: No OFD packet to send [16:33:48]OFD Sender: No OFD packet to send [16:33:53]OFD Sender: No OFD packet to send [16:33:58]OFD Sender: No OFD packet to send [16:34:03]OFD Sender: No OFD packet to send [16:34:08]OFD Sender: No OFD packet to send [16:34:13]OFD Sender: No OFD packet to send [16:34:18]OFD Sender: No OFD packet to send [16:34:23]OFD Sender: No OFD packet to send [16:34:28]OFD Sender: No OFD packet to send [16:34:33]OFD Sender: No OFD packet to send [16:34:38]OFD Sender: No OFD packet to send [16:34:43]OFD Sender: No OFD packet to send [16:34:48]OFD Sender: No OFD packet to send [16:34:53]OFD Sender: No OFD packet to send [16:34:58]OFD Sender: No OFD packet to send [16:35:03]OFD Sender: No OFD packet to send [16:35:08]OFD Sender: No OFD packet to send [16:35:13]OFD Sender: No OFD packet to send [16:35:18]OFD Sender: No OFD packet to send [16:35:23]OFD Sender: No OFD packet to send [16:35:28]OFD Sender: No OFD packet to send [16:35:33]OFD Sender: No OFD packet to send [16:35:38]OFD Sender: No OFD packet to send [16:35:43]OFD Sender: No OFD packet to send [16:35:48]OFD Sender: No OFD packet to send [16:35:53]OFD Sender: No OFD packet to send [16:35:58]OFD Sender: No OFD packet to send [16:36:03]OFD Sender: No OFD packet to send [16:36:08]OFD Sender: No OFD packet to send [16:36:13]OFD Sender: No OFD packet to send [16:36:18]OFD Sender: No OFD packet to send [16:36:23]OFD Sender: No OFD packet to send [16:36:28]OFD Sender: No OFD packet to send [16:36:33]OFD Sender: No OFD packet to send [16:36:38]OFD Sender: No OFD packet to send [16:36:43]OFD Sender: No OFD packet to send [16:36:48]OFD Sender: No OFD packet to send [16:36:53]OFD Sender: No OFD packet to send [16:36:58]OFD Sender: No OFD packet to send [16:37:03]OFD Sender: No OFD packet to send [16:37:08]OFD Sender: No OFD packet to send [16:37:13]OFD Sender: No OFD packet to send [16:37:18]OFD Sender: No OFD packet to send [16:37:23]OFD Sender: No OFD packet to send [16:37:28]OFD Sender: No OFD packet to send [16:37:33]OFD Sender: No OFD packet to send [16:37:38]OFD Sender: No OFD packet to send [16:37:43]OFD Sender: No OFD packet to send [16:37:48]OFD Sender: No OFD packet to send [16:37:53]OFD Sender: No OFD packet to send [16:37:58]OFD Sender: No OFD packet to send [16:38:03]OFD Sender: No OFD packet to send [16:38:08]OFD Sender: No OFD packet to send [16:38:13]OFD Sender: No OFD packet to send [16:38:18]OFD Sender: No OFD packet to send [16:38:23]OFD Sender: No OFD packet to send [16:38:28]OFD Sender: No OFD packet to send [16:38:33]OFD Sender: No OFD packet to send [16:38:38]OFD Sender: No OFD packet to send [16:38:43]OFD Sender: No OFD packet to send [16:38:48]OFD Sender: No OFD packet to send [16:38:53]OFD Sender: No OFD packet to send [16:38:58]OFD Sender: No OFD packet to send [16:39:03]OFD Sender: No OFD packet to send [16:39:08]OFD Sender: No OFD packet to send [16:39:13]OFD Sender: No OFD packet to send [16:39:18]OFD Sender: No OFD packet to send [16:39:23]OFD Sender: No OFD packet to send [16:39:28]OFD Sender: No OFD packet to send [16:39:33]OFD Sender: No OFD packet to send [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:40]accept exits with 7 [16:40:40]New connection [16:40:40]New thread 3067448676 created [16:40:40]Thread 3067592036 joined [16:40:40]Waiting for new connection... [16:40:40] Sock 7.Parse request [16:40:40]Sock 7.Check first char [16:40:40]Sock 7.First char is OK [16:40:40]request: POST /json_proto HTTP/1.0 [16:40:40]Method: POST [16:40:40]URL: /json_proto [16:40:40]Method is POST - this is cgi request [16:40:40]url: /json_proto [16:40:40]query_string will be loaded in cgi processing [16:40:40]execute_cgi json_proto POST (null) [16:40:40]execute_cgi path=json_proto method=POST [16:40:40]POST find Content-Length [16:40:40]Host: 172.17.39.4:8080 [16:40:40]Content-Length: 859 [16:40:40]Content-Type: application/json [16:40:40] [16:40:40]POST finish read [16:40:40]Found Content-Length = 859 [16:40:40]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129530", "tax_sys" : 0, "items" : [ { "code": "4630007400969", "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 40 ", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:40:40]execute_script... [16:40: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)129530", "tax_sys" : 0, "items" : [ { "code": "4630007400969", "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 40 ", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [16:40:40]POST & json_proto [16:40:40]process_json_proto [16:40:40]json parsed OK: [16:40:40]protocol is kg_v1.0 [16:40:40]action value=close_receipt [16:40:40]process_action close_receipt [16:40:40]cmd_close_receipt [16:40:40]MH_GetDate [16:40:40]Write to MH i2c: F0 00 00 D7 0D D3 [16:40:40]Write i2c OK [16:40:40]MH_I2C_Read... [16:40:40]Read from MH i2c: F0 [16:40:40]MH_I2C_Read... [16:40:40]Read from MH i2c: F0 09 00 [16:40:40]MH_I2C_Read... [16:40:40]Read from MH i2c: F0 09 00 D7 0D 00 8A FF 93 66 2D 25 5D 64 71 [16:40:40]GetLastDocTimeStamp 1720974061 [16:40:40]current date 1720975242 [16:40:40]FM_GetShiftState [16:40:40]SAM_PROTO_GetShiftState [16:40:40]wFMCommunicate request_size=4 [16:40:40]MH_SAM_APDU [16:40:40]CAPDU: 80 13 01 00 [16:40:40]Write to MH i2c: E2 08 00 D8 0D 80 13 01 00 00 00 00 00 62 [16:40:40]Write i2c OK [16:40:40]MH_I2C_Read... [16:40:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:40:40]Read from MH i2c: E2 [16:40:40]MH_I2C_Read... [16:40:40]Read from MH i2c: E2 0E 00 [16:40:40]MH_I2C_Read... [16:40:40]Read from MH i2c: E2 0E 00 D8 0D 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 09 [16:40:40]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [16:40:40]wFMCommunicate OK [16:40:40]SAM_PROTO_GetShiftState done [16:40:40]FM_GetShiftState done [16:40:40]opened in 1720917126 [16:40:40]opened+sec_in_day 1721003526 [16:40:40]quantity*price = 4000 [16:40:40]sum+1 = 4001 [16:40:40]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 86 14.07.2024 16:40 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57069 ФПД: 175569262720830 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T164042&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57069&fm=175569262720830&tin=02508201610067®Number=0000000000091208&sum=4000 0 [16:40:41]StoreToDocumentArchive [16:40:41]shift 496 fd 57069 [16:40:41]save to /storage/0496/doc_00057069 [16:40:41]save last doc name /storage/0496/doc_00057069 to /storage/kkm_last_doc_name [16:40:41]save OK [16:40:41]Clear old archive folders... [16:40:41]ProcessDocumentItem done err = 0, tmpTLVsize=314 [16:40:41]tlvbuf is 00FD5AB0 [16:40:41]SAM_PROTO_ClearQueue [16:40:41]wFMCommunicate request_size=4 [16:40:41]MH_SAM_APDU [16:40:41]CAPDU: 80 09 00 00 [16:40:41]Write to MH i2c: E2 08 00 E5 0D 80 09 00 00 00 00 00 00 64 [16:40:41]Write i2c OK [16:40:41]MH_I2C_Read... [16:40:41]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [16:40:41]Read from MH i2c: E2 [16:40:41]MH_I2C_Read... [16:40:41]Read from MH i2c: E2 03 00 [16:40:41]MH_I2C_Read... [16:40:41]Read from MH i2c: E2 03 00 E5 0D 00 90 00 66 [16:40:41]RAPDU: 90 00 [16:40:41]wFMCommunicate OK [16:40:41]SAM_PROTO_ClearQueue done [16:40:41]KKMCreateOFDPacket [16:40:41]OFDProtocolAddRootSTLVToBuf [16:40:41]FM_MakeSignedData [16:40:41]FM_MakeSignedData [16:40:41]SAM_PROTO_SignData [16:40:41]wFMCommunicate request_size=4 [16:40:41]MH_SAM_APDU [16:40:41]CAPDU: 80 0D 01 02 [16:40:41]Write to MH i2c: E2 08 00 E6 0D 80 0D 01 02 00 00 00 00 6C [16:40:41]Write i2c OK [16:40:41]MH_I2C_Read... [16:40:41]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [16:40:41]Read from MH i2c: E2 [16:40:41]MH_I2C_Read... [16:40:41]Read from MH i2c: E2 03 00 [16:40:41]MH_I2C_Read... [16:40:41]Read from MH i2c: E2 03 00 E6 0D 00 90 00 67 [16:40:41]RAPDU: 90 00 [16:40:41]wFMCommunicate OK [16:40:41]wFMCommunicate request_size=255 [16:40:41]MH_SAM_APDU [16:40:41]CAPDU: 80 0D 02 02 FA 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 36 39 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 34 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 8A FF 93 66 0E 04 04 [16:40:41]Write to MH i2c: E2 02 01 E7 0D 80 0D 02 02 FA 00 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 36 39 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 34 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 8A FF 93 66 0E 04 04 00 00 98 [16:40:41]Write i2c OK [16:40:41]MH_I2C_Read... [16:40:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:40:42]Read from MH i2c: E2 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: E2 03 00 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: E2 03 00 E7 0D 00 90 00 68 [16:40:42]RAPDU: 90 00 [16:40:42]wFMCommunicate OK [16:40:42]wFMCommunicate request_size=73 [16:40:42]MH_SAM_APDU [16:40:42]CAPDU: 80 0D 02 02 44 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 ED DE 00 00 35 04 06 00 9F AD E7 89 B7 3E [16:40:42]Write to MH i2c: E2 4C 00 E8 0D 80 0D 02 02 44 00 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 ED DE 00 00 35 04 06 00 9F AD E7 89 B7 3E 00 00 FB [16:40:42]Write i2c OK [16:40:42]MH_I2C_Read... [16:40:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [16:40:42]Read from MH i2c: E2 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: E2 03 00 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: E2 03 00 E8 0D 00 90 00 69 [16:40:42]RAPDU: 90 00 [16:40:42]wFMCommunicate OK [16:40:42]wFMCommunicate request_size=4 [16:40:42]MH_SAM_APDU [16:40:42]CAPDU: 80 0D 03 02 [16:40:42]Write to MH i2c: E2 08 00 E9 0D 80 0D 03 02 00 00 00 00 71 [16:40:42]Write i2c OK [16:40:42]MH_I2C_Read... [16:40:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [16:40:42]Read from MH i2c: E2 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: E2 0B 00 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: E2 0B 00 E9 0D 00 D4 D4 CC A2 4A E1 5F 46 90 00 58 [16:40:42]RAPDU: D4 D4 CC A2 4A E1 5F 46 90 00 [16:40:42]wFMCommunicate OK [16:40:42]SAM_PROTO_SignData done [16:40:42]FM_MakeSignedData done [16:40:42]CreateOFDProtocolMessage [16:40:42]wFMCommunicate request_size=4 [16:40:42]MH_SAM_APDU [16:40:42]CAPDU: 80 11 00 00 [16:40:42]Write to MH i2c: E2 08 00 EA 0D 80 11 00 00 00 00 00 00 71 [16:40:42]Write i2c OK [16:40:42]MH_I2C_Read... [16:40:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:40:42]Read from MH i2c: E2 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: E2 17 00 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: E2 17 00 EA 0D 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CB [16:40:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:40:42]wFMCommunicate OK [16:40:42]CreateOFDProtocolMessage done [16:40:42]OFDSenderStorePacket 57069 [16:40:42]StoreOFDPacket docnum=57069 [16:40:42]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4E 01 00 00 2F 39 46 01 8D F2 5A 03 01 00 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 36 39 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 34 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 8A FF 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 ED DE 00 00 35 04 06 00 9F AD E7 89 B7 3E D4 D4 CC A2 4A E1 5F 46 [16:40:42]CheckFolder [16:40:42]dirname=/storage/ofd_packets [16:40:42]CheckFolder done [16:40:42]ProducePacketName [16:40:42]name=ofd_packets/00057069 [16:40:42]NVStorageSaveData ofd_packets/00057069 [16:40:42]File name is /storage/ofd_packets/00057069 [16:40:42]Write 364 bytes [16:40:42]NVStorageSaveData done [16:40:42]OFDSenderStorePacket done [16:40:42]KKMCreateOFDPacket done [16:40:42]NVStorageSaveData kkm_last_timestamp [16:40:42]File name is /storage/kkm_last_timestamp [16:40:42]Write 4 bytes [16:40:42]NVStorageSaveData done [16:40:42]ExternCall_PrintAddStr [16:40:42]wPrintStart [16:40:42]Write to MH i2c: 01 00 00 EB 0D F8 [16:40:42]Write i2c OK [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: 01 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: 01 07 00 [16:40:42]MH_I2C_Read... [16:40:42]Read from MH i2c: 01 07 00 EB 0D 00 00 00 00 00 FF 0F 0D [16:40:42]RasterBufferAndPrint [16:40:42]line Счет N : (3)129530 [16:40:42]line ИНН: 02508201610067 [16:40:42]line Контрольно-Кассовый Чек [16:40:42]line ПРОДАЖА [16:40:42]line Товар: 4630007400969 [16:40:42]line Арахис жарен Караван орехов Стандарт 40 [16:40:42]line 1.000 * 40.00 [16:40:42]line = 40.00 [16:40:42]line НДС 12% НСП 1% [16:40:42]line > о реализуемом товаре [16:40:42]line ИТОГО: 40.00 [16:40:42]line НСП 1% : 0.35 [16:40:42]line НДС 12% : 4.25 [16:40:42]line Наличными: 40.00 [16:40:42]line Безнал.: 0.00 [16:40:42]line Место: АЗС № 132 "Партнер Нефть" [16:40:42]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [16:40:42]line СНО: Общий режим [16:40:42]line Чек 86 14.07.2024 16:40 [16:40:42]line Смена: 496 ФФД: 1.0 [16:40:42]line ЗНМ: 0300000132 [16:40:42]line РНМ: 0000000000091208 [16:40:42]line Версия ККМ: 001 [16:40:42]line ФМ: 0000000000874857 [16:40:42]line ФД: 57069 [16:40:42]line ФПД: 175569262720830 [16:40:42]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T164042&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57069&fm=175569262720830&tin=02508201610067®Number=0000000000091208&sum=4000 [16:40:42]line 0 [16:40:42]OFD Sender: Processing packet 57069 [packets to send 38, broken 37] [16:40:42]ProducePacketName [16:40:42]name=ofd_packets/00057069 [16:40:42]OFD Sender: To server: pG, [16:40:42]CommunicateWithHost lk.salyk.kg:30040 [16:40:42]ConnectInit lk.salyk.kg [16:40:42]written 0, free lines is 4095 [16:40:42]Connected sock=10 [16:40:42]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4E 01 00 00 2F 39 46 01 8D F2 5A 03 01 00 03 00 3A 01 1E 04 01 00 01 23 04 8C 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 39 36 39 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 34 30 20 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 56 00 00 00 F4 03 04 00 8A FF 93 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 ED DE 00 00 35 04 06 00 9F AD E7 89 B7 3E D4 D4 CC A2 4A E1 5F 46 [16:40:42]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 09 3B 47 00 18 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 38 37 34 38 35 37 10 04 04 00 ED DE 00 00 F4 03 04 00 DB A5 93 66 B6 04 01 00 00 82 5F CF 89 38 57 A2 0F [16:40:42]CommunicateWithHost err = 0 [16:40:42]CheckOFDResponse [16:40:42]1017 (14) - 77093643461234 [16:40:42]1041 (16) - 0000000000874857 [16:40:42]1040 (4) - 57069 [16:40:42]1012 (4) - 14.07.2024 10:18 [16:40:42]1206 (1) - 0 [16:40:42]OFD Sender: Remove packet 57069 [16:40:42]ProducePacketName [16:40:42]name=ofd_packets/00057069 [16:40:42]NVStorageDeleteData [16:40:43]Write to MH i2c: 01 00 00 14 0E 22 [16:40:43]Write i2c OK [16:40:43]MH_I2C_Read... [16:40:43]Read from MH i2c: 01 [16:40:43]MH_I2C_Read... [16:40:43]Read from MH i2c: 01 07 00 [16:40:43]MH_I2C_Read... [16:40:43]Read from MH i2c: 01 07 00 14 0E 00 00 00 00 00 E1 0C 16 [16:40:43]RasterBufferAndPrint [16:40:43]line [16:40:43]line [16:40:43]line [16:40:43]line [16:40:43]line [16:40:43]written 0, free lines is 3303 [16:40:43]MH_Cut [16:40:43]Write to MH i2c: D1 01 00 1B 0E 01 FB [16:40:43]Write i2c OK [16:40:43]MH_I2C_Read... [16:40:43]Read from MH i2c: D1 [16:40:43]MH_I2C_Read... [16:40:43]Read from MH i2c: D1 01 00 [16:40:43]MH_I2C_Read... [16:40:43]Read from MH i2c: D1 01 00 1B 0E 00 FA [16:40:43]Write to MH i2c: 01 00 00 1C 0E 2A [16:40:43]Write i2c OK [16:40:43]MH_I2C_Read... [16:40:43]OFD Sender: No OFD packet to send [16:40:43]*** Cut start [16:40:43]*** Partial cut [16:40:43]*** CUTSNS_PIN = 1 [16:40:43]*** CUTSNS_PIN = 0 [16:40:44]*** Brake cut motor [16:40:44]Read from MH i2c: 01 [16:40:44]MH_I2C_Read... [16:40:44]*** Stop cut motor [16:40:44]*** Cut end [16:40:44]Read from MH i2c: 01 07 00 [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: 01 07 00 1C 0E 00 00 00 00 00 FF 0F 3F [16:40:44]process_action close_receipt done [16:40:44]requested_data is exist [16:40:44]produce_requested_data [16:40:44]requested_item fm.sn is exist - process it [16:40:44]wFMCommunicate request_size=4 [16:40:44]MH_SAM_APDU [16:40:44]CAPDU: 80 11 00 00 [16:40:44]Write to MH i2c: E2 08 00 1D 0E 80 11 00 00 00 00 00 00 A5 [16:40:44]Write i2c OK [16:40:44]MH_I2C_Read... [16:40:44]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [16:40:44]Read from MH i2c: E2 [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: E2 17 00 [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: E2 17 00 1D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FF [16:40:44]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [16:40:44]wFMCommunicate OK [16:40:44]requested_item fd.num is exist - process it [16:40:44]SAM_PROTO_GetFieldsCounters [16:40:44]wFMCommunicate request_size=4 [16:40:44]MH_SAM_APDU [16:40:44]CAPDU: 80 13 00 00 [16:40:44]Write to MH i2c: E2 08 00 1E 0E 80 13 00 00 00 00 00 00 A8 [16:40:44]Write i2c OK [16:40:44]MH_I2C_Read... [16:40:44]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [16:40:44]Read from MH i2c: E2 [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: E2 62 00 [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: E2 62 00 1E 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 ED DE 00 00 0E 04 04 00 F0 01 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 89 [16:40:44]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 ED DE 00 00 0E 04 04 00 F0 01 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 [16:40:44]wFMCommunicate OK [16:40:44]SAM_PROTO_GetFieldsCounters done [16:40:44]requested_item shift.num is exist - process it [16:40:44]requested_item shift.opened is exist - process it [16:40:44]req_shift_opened [16:40:44]FM_GetShiftState [16:40:44]SAM_PROTO_GetShiftState [16:40:44]wFMCommunicate request_size=4 [16:40:44]MH_SAM_APDU [16:40:44]CAPDU: 80 13 01 00 [16:40:44]Write to MH i2c: E2 08 00 1F 0E 80 13 01 00 00 00 00 00 AA [16:40:44]Write i2c OK [16:40:44]MH_I2C_Read... [16:40:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [16:40:44]Read from MH i2c: E2 [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: E2 0E 00 [16:40:44]MH_I2C_Read... [16:40:44]Read from MH i2c: E2 0E 00 1F 0E 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 51 [16:40:44]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [16:40:44]wFMCommunicate OK [16:40:44]SAM_PROTO_GetShiftState done [16:40:44]FM_GetShiftState done [16:40:44]req_shift_opened done [16:40:44]requested_item shift.open_date is exist - process it [16:40:44]req_shift_open_date [16:40:44]req_shift_open_date done [16:40:44]requested_item shift.sale.total is exist - process it [16:40:44]SAM_PROTO_GetShiftData [16:40:44]wFMCommunicate request_size=4 [16:40:44]MH_SAM_APDU [16:40:44]CAPDU: 80 13 02 00 [16:40:44]Write to MH i2c: E2 08 00 20 0E 80 13 02 00 00 00 00 00 AC [16:40:44]Write i2c OK [16:40:44]MH_I2C_Read... [16:40:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [16:40:45]Read from MH i2c: E2 [16:40:45]MH_I2C_Read... [16:40:45]Read from MH i2c: E2 FD 00 [16:40:45]MH_I2C_Read... [16:40:45]Read from MH i2c: E2 FD 00 20 0E 00 BB 04 AA 04 B7 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 58 B0 2E 70 04 03 00 68 77 25 72 04 03 00 F0 38 09 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 58 F5 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BD 69 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 B1 [16:40:45]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 56 00 00 00 69 04 9B 00 6F 04 04 00 54 00 00 00 B1 04 03 00 58 B0 2E 70 04 03 00 68 77 25 72 04 03 00 F0 38 09 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 58 F5 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 BD 69 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [16:40:45]wFMCommunicate OK [16:40:45]wFMCommunicate request_size=4 [16:40:45]MH_SAM_APDU [16:40:45]CAPDU: 80 17 00 00 [16:40:45]Write to MH i2c: E2 08 00 21 0E 80 17 00 00 00 00 00 00 AF [16:40:45]Write i2c OK [16:40:45]MH_I2C_Read... [16:40:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:40:45]Read from MH i2c: E2 [16:40:45]MH_I2C_Read... [16:40:45]Read from MH i2c: E2 FD 00 [16:40:45]MH_I2C_Read... [16:40:45]Read from MH i2c: E2 FD 00 21 0E 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 42 [16:40:45]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:40:45]wFMCommunicate OK [16:40:45]wFMCommunicate request_size=4 [16:40:45]MH_SAM_APDU [16:40:45]CAPDU: 80 17 00 00 [16:40:45]Write to MH i2c: E2 08 00 22 0E 80 17 00 00 00 00 00 00 B0 [16:40:45]Write i2c OK [16:40:45]MH_I2C_Read... [16:40:45]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:40:45]Read from MH i2c: E2 [16:40:45]MH_I2C_Read... [16:40:45]Read from MH i2c: E2 FD 00 [16:40:45]MH_I2C_Read... [16:40:45]Read from MH i2c: E2 FD 00 22 0E 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DC [16:40:45]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [16:40:45]wFMCommunicate OK [16:40:45]wFMCommunicate request_size=4 [16:40:45]MH_SAM_APDU [16:40:45]CAPDU: 80 17 00 00 [16:40:45]Write to MH i2c: E2 08 00 23 0E 80 17 00 00 00 00 00 00 B1 [16:40:45]Write i2c OK [16:40:45]MH_I2C_Read... [16:40:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [16:40:46]Read from MH i2c: E2 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 FD 00 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 FD 00 23 0E 00 00 00 EF 03 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 90 00 26 [16:40:46]RAPDU: 00 00 EF 03 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 90 00 [16:40:46]wFMCommunicate OK [16:40:46]wFMCommunicate request_size=4 [16:40:46]MH_SAM_APDU [16:40:46]CAPDU: 80 17 00 00 [16:40:46]Write to MH i2c: E2 08 00 24 0E 80 17 00 00 00 00 00 00 B2 [16:40:46]Write i2c OK [16:40:46]MH_I2C_Read... [16:40:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [16:40:46]Read from MH i2c: E2 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 D8 00 [16:40:46]MH_I2C_Read... [16:40:46]Read from MH i2c: E2 D8 00 24 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 99 [16:40:46]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [16:40:46]wFMCommunicate OK [16:40:46]SAM_PROTO_GetShiftData done [16:40:46]requested_item shift.sale.total_cash is exist - process it [16:40:46]requested_item shift.sale_refund.total is exist - process it [16:40:46]requested_item shift.sale_refund.total_cash is exist - process it [16:40:46]produce_requested_data done [16:40:46]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57069,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30598.00,"shift.sale.total_cash":24554.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [16:40:46]process_action_free close_receipt [16:40:46]json_value_free [16:40:46]json_value_free done [16:40:46]process_json_proto returns [16:40:46]Send response to host [16:40:46]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57069,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30598.00,"shift.sale.total_cash":24554.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [16:40:46]free response buf [16:40:46]execute_script done [16:40:46]execute_script returns [16:40:46]free content buf [16:40:46]Sock 7.Close socket [16:40:46]Sock 7.Thread stoped [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:59]OFD Sender: No OFD packet to send [16:50:04]OFD Sender: No OFD packet to send [16:50:09]OFD Sender: No OFD packet to send [16:50:14]OFD Sender: No OFD packet to send [16:50:19]OFD Sender: No OFD packet to send [16:50:24]OFD Sender: No OFD packet to send [16:50:29]OFD Sender: No OFD packet to send [16:50:34]OFD Sender: No OFD packet to send [16:50:39]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:05]OFD Sender: No OFD packet to send [17:09:10]OFD Sender: No OFD packet to send [17:09:15]OFD Sender: No OFD packet to send [17:09:20]OFD Sender: No OFD packet to send [17:09:25]OFD Sender: No OFD packet to send [17:09:30]OFD Sender: No OFD packet to send [17:09:35]OFD Sender: No OFD packet to send [17:09:40]OFD Sender: No OFD packet to send [17:09:45]OFD Sender: No OFD packet to send [17:09:50]OFD Sender: No OFD packet to send [17:09:55]OFD Sender: No OFD packet to send [17:10:00]OFD Sender: No OFD packet to send [17:10:05]OFD Sender: No OFD packet to send [17:10:10]OFD Sender: No OFD packet to send [17:10:15]OFD Sender: No OFD packet to send [17:10:20]OFD Sender: No OFD packet to send [17:10:25]OFD Sender: No OFD packet to send [17:10:30]OFD Sender: No OFD packet to send [17:10:35]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:15]OFD Sender: No OFD packet to send [17:12:20]OFD Sender: No OFD packet to send [17:12:25]OFD Sender: No OFD packet to send [17:12:30]OFD Sender: No OFD packet to send [17:12:35]OFD Sender: No OFD packet to send [17:12:40]OFD Sender: No OFD packet to send [17:12:45]OFD Sender: No OFD packet to send [17:12:50]OFD Sender: No OFD packet to send [17:12:55]OFD Sender: No OFD packet to send [17:13:00]OFD Sender: No OFD packet to send [17:13:05]OFD Sender: No OFD packet to send [17:13:10]OFD Sender: No OFD packet to send [17:13:15]OFD Sender: No OFD packet to send [17:13:20]OFD Sender: No OFD packet to send [17:13:25]OFD Sender: No OFD packet to send [17:13:30]OFD Sender: No OFD packet to send [17:13:35]OFD Sender: No OFD packet to send [17:13:40]OFD Sender: No OFD packet to send [17:13:45]OFD Sender: No OFD packet to send [17:13:50]OFD Sender: No OFD packet to send [17:13:55]OFD Sender: No OFD packet to send [17:14:00]OFD Sender: No OFD packet to send [17:14:05]OFD Sender: No OFD packet to send [17:14:10]OFD Sender: No OFD packet to send [17:14:15]OFD Sender: No OFD packet to send [17:14:20]OFD Sender: No OFD packet to send [17:14:25]OFD Sender: No OFD packet to send [17:14:30]OFD Sender: No OFD packet to send [17:14:35]OFD Sender: No OFD packet to send [17:14:40]OFD Sender: No OFD packet to send [17:14:45]OFD Sender: No OFD packet to send [17:14:50]OFD Sender: No OFD packet to send [17:14:55]OFD Sender: No OFD packet to send [17:15:00]OFD Sender: No OFD packet to send [17:15:05]OFD Sender: No OFD packet to send [17:15:10]OFD Sender: No OFD packet to send [17:15:15]OFD Sender: No OFD packet to send [17:15:20]OFD Sender: No OFD packet to send [17:15:25]OFD Sender: No OFD packet to send [17:15:30]OFD Sender: No OFD packet to send [17:15:35]OFD Sender: No OFD packet to send [17:15:40]OFD Sender: No OFD packet to send [17:15:45]OFD Sender: No OFD packet to send [17:15:50]OFD Sender: No OFD packet to send [17:15:55]OFD Sender: No OFD packet to send [17:16:00]OFD Sender: No OFD packet to send [17:16:05]OFD Sender: No OFD packet to send [17:16:10]OFD Sender: No OFD packet to send [17:16:15]OFD Sender: No OFD packet to send [17:16:20]OFD Sender: No OFD packet to send [17:16:25]OFD Sender: No OFD packet to send [17:16:30]OFD Sender: No OFD packet to send [17:16:35]OFD Sender: No OFD packet to send [17:16:40]OFD Sender: No OFD packet to send [17:16:45]OFD Sender: No OFD packet to send [17:16:50]OFD Sender: No OFD packet to send [17:16:55]OFD Sender: No OFD packet to send [17:17:00]OFD Sender: No OFD packet to send [17:17:05]OFD Sender: No OFD packet to send [17:17:10]OFD Sender: No OFD packet to send [17:17:15]OFD Sender: No OFD packet to send [17:17:20]OFD Sender: No OFD packet to send [17:17:25]OFD Sender: No OFD packet to send [17:17:30]OFD Sender: No OFD packet to send [17:17:35]OFD Sender: No OFD packet to send [17:17:40]OFD Sender: No OFD packet to send [17:17:45]OFD Sender: No OFD packet to send [17:17:50]OFD Sender: No OFD packet to send [17:17:55]OFD Sender: No OFD packet to send [17:18:00]OFD Sender: No OFD packet to send [17:18:05]OFD Sender: No OFD packet to send [17:18:10]OFD Sender: No OFD packet to send [17:18:15]OFD Sender: No OFD packet to send [17:18:20]OFD Sender: No OFD packet to send [17:18:25]OFD Sender: No OFD packet to send [17:18:30]OFD Sender: No OFD packet to send [17:18:35]OFD Sender: No OFD packet to send [17:18:40]OFD Sender: No OFD packet to send [17:18:45]OFD Sender: No OFD packet to send [17:18:50]OFD Sender: No OFD packet to send [17:18:55]OFD Sender: No OFD packet to send [17:19:00]OFD Sender: No OFD packet to send [17:19:05]OFD Sender: No OFD packet to send [17:19:10]OFD Sender: No OFD packet to send [17:19:15]OFD Sender: No OFD packet to send [17:19:20]OFD Sender: No OFD packet to send [17:19:25]OFD Sender: No OFD packet to send [17:19:30]OFD Sender: No OFD packet to send [17:19:35]OFD Sender: No OFD packet to send [17:19:40]OFD Sender: No OFD packet to send [17:19:45]OFD Sender: No OFD packet to send [17:19:50]OFD Sender: No OFD packet to send [17:19:55]OFD Sender: No OFD packet to send [17:20:00]OFD Sender: No OFD packet to send [17:20:05]OFD Sender: No OFD packet to send [17:20:10]OFD Sender: No OFD packet to send [17:20:15]OFD Sender: No OFD packet to send [17:20:20]OFD Sender: No OFD packet to send [17:20:25]OFD Sender: No OFD packet to send [17:20:30]OFD Sender: No OFD packet to send [17:20:35]OFD Sender: No OFD packet to send [17:20:40]OFD Sender: No OFD packet to send [17:20:45]OFD Sender: No OFD packet to send [17:20:50]OFD Sender: No OFD packet to send [17:20:55]OFD Sender: No OFD packet to send [17:21:00]OFD Sender: No OFD packet to send [17:21:05]OFD Sender: No OFD packet to send [17:21:10]OFD Sender: No OFD packet to send [17:21:15]OFD Sender: No OFD packet to send [17:21:20]OFD Sender: No OFD packet to send [17:21:25]OFD Sender: No OFD packet to send [17:21:30]OFD Sender: No OFD packet to send [17:21:35]OFD Sender: No OFD packet to send [17:21:40]OFD Sender: No OFD packet to send [17:21:45]OFD Sender: No OFD packet to send [17:21:50]OFD Sender: No OFD packet to send [17:21:55]OFD Sender: No OFD packet to send [17:22:00]OFD Sender: No OFD packet to send [17:22:05]OFD Sender: No OFD packet to send [17:22:10]OFD Sender: No OFD packet to send [17:22:15]OFD Sender: No OFD packet to send [17:22:20]OFD Sender: No OFD packet to send [17:22:25]OFD Sender: No OFD packet to send [17:22:30]OFD Sender: No OFD packet to send [17:22:35]OFD Sender: No OFD packet to send [17:22:40]OFD Sender: No OFD packet to send [17:22:45]OFD Sender: No OFD packet to send [17:22:50]OFD Sender: No OFD packet to send [17:22:55]OFD Sender: No OFD packet to send [17:23:00]OFD Sender: No OFD packet to send [17:23:05]OFD Sender: No OFD packet to send [17:23:10]OFD Sender: No OFD packet to send [17:23:15]OFD Sender: No OFD packet to send [17:23:20]OFD Sender: No OFD packet to send [17:23:25]OFD Sender: No OFD packet to send [17:23:30]OFD Sender: No OFD packet to send [17:23:35]OFD Sender: No OFD packet to send [17:23:40]OFD Sender: No OFD packet to send [17:23:45]OFD Sender: No OFD packet to send [17:23:50]OFD Sender: No OFD packet to send [17:23:55]OFD Sender: No OFD packet to send [17:24:00]OFD Sender: No OFD packet to send [17:24:05]OFD Sender: No OFD packet to send [17:24:10]OFD Sender: No OFD packet to send [17:24:15]OFD Sender: No OFD packet to send [17:24:20]OFD Sender: No OFD packet to send [17:24:25]OFD Sender: No OFD packet to send [17:24:30]OFD Sender: No OFD packet to send [17:24:35]OFD Sender: No OFD packet to send [17:24:40]OFD Sender: No OFD packet to send [17:24:45]OFD Sender: No OFD packet to send [17:24:50]OFD Sender: No OFD packet to send [17:24:55]OFD Sender: No OFD packet to send [17:25:00]OFD Sender: No OFD packet to send [17:25:05]OFD Sender: No OFD packet to send [17:25:10]OFD Sender: No OFD packet to send [17:25:15]OFD Sender: No OFD packet to send [17:25:20]OFD Sender: No OFD packet to send [17:25:25]OFD Sender: No OFD packet to send [17:25:30]OFD Sender: No OFD packet to send [17:25:35]OFD Sender: No OFD packet to send [17:25:40]OFD Sender: No OFD packet to send [17:25:45]OFD Sender: No OFD packet to send [17:25:50]OFD Sender: No OFD packet to send [17:25:55]OFD Sender: No OFD packet to send [17:26:00]OFD Sender: No OFD packet to send [17:26:05]OFD Sender: No OFD packet to send [17:26:10]OFD Sender: No OFD packet to send [17:26:15]OFD Sender: No OFD packet to send [17:26:20]OFD Sender: No OFD packet to send [17:26:25]OFD Sender: No OFD packet to send [17:26:30]OFD Sender: No OFD packet to send [17:26:35]OFD Sender: No OFD packet to send [17:26:40]OFD Sender: No OFD packet to send [17:26:45]OFD Sender: No OFD packet to send [17:26:50]OFD Sender: No OFD packet to send [17:26:55]OFD Sender: No OFD packet to send [17:27:00]OFD Sender: No OFD packet to send [17:27:05]OFD Sender: No OFD packet to send [17:27:10]OFD Sender: No OFD packet to send [17:27:15]OFD Sender: No OFD packet to send [17:27:20]OFD Sender: No OFD packet to send [17:27:25]OFD Sender: No OFD packet to send [17:27:30]OFD Sender: No OFD packet to send [17:27:35]OFD Sender: No OFD packet to send [17:27:40]OFD Sender: No OFD packet to send [17:27:45]OFD Sender: No OFD packet to send [17:27:50]OFD Sender: No OFD packet to send [17:27:55]OFD Sender: No OFD packet to send [17:28:00]OFD Sender: No OFD packet to send [17:28:06]OFD Sender: No OFD packet to send [17:28:11]OFD Sender: No OFD packet to send [17:28:16]OFD Sender: No OFD packet to send [17:28:21]OFD Sender: No OFD packet to send [17:28:26]OFD Sender: No OFD packet to send [17:28:31]OFD Sender: No OFD packet to send [17:28:36]OFD Sender: No OFD packet to send [17:28:41]OFD Sender: No OFD packet to send [17:28:46]OFD Sender: No OFD packet to send [17:28:51]OFD Sender: No OFD packet to send [17:28:56]OFD Sender: No OFD packet to send [17:29:01]OFD Sender: No OFD packet to send [17:29:06]OFD Sender: No OFD packet to send [17:29:11]OFD Sender: No OFD packet to send [17:29:16]OFD Sender: No OFD packet to send [17:29:21]OFD Sender: No OFD packet to send [17:29:26]OFD Sender: No OFD packet to send [17:29:31]OFD Sender: No OFD packet to send [17:29:36]OFD Sender: No OFD packet to send [17:29:41]OFD Sender: No OFD packet to send [17:29:46]OFD Sender: No OFD packet to send [17:29:51]OFD Sender: No OFD packet to send [17:29:56]OFD Sender: No OFD packet to send [17:30:01]OFD Sender: No OFD packet to send [17:30:06]OFD Sender: No OFD packet to send [17:30:11]OFD Sender: No OFD packet to send [17:30:16]OFD Sender: No OFD packet to send [17:30:21]OFD Sender: No OFD packet to send [17:30:26]OFD Sender: No OFD packet to send [17:30:31]OFD Sender: No OFD packet to send [17:30:36]OFD Sender: No OFD packet to send [17:30:41]OFD Sender: No OFD packet to send [17:30:46]OFD Sender: No OFD packet to send [17:30:51]OFD Sender: No OFD packet to send [17:30:56]OFD Sender: No OFD packet to send [17:31:01]OFD Sender: No OFD packet to send [17:31:06]OFD Sender: No OFD packet to send [17:31:11]OFD Sender: No OFD packet to send [17:31:16]OFD Sender: No OFD packet to send [17:31:21]OFD Sender: No OFD packet to send [17:31:26]OFD Sender: No OFD packet to send [17:31:31]OFD Sender: No OFD packet to send [17:31:36]OFD Sender: No OFD packet to send [17:31:41]OFD Sender: No OFD packet to send [17:31:46]OFD Sender: No OFD packet to send [17:31:51]OFD Sender: No OFD packet to send [17:31:56]OFD Sender: No OFD packet to send [17:32:01]OFD Sender: No OFD packet to send [17:32:06]OFD Sender: No OFD packet to send [17:32:11]OFD Sender: No OFD packet to send [17:32:16]OFD Sender: No OFD packet to send [17:32:21]OFD Sender: No OFD packet to send [17:32:26]OFD Sender: No OFD packet to send [17:32:31]OFD Sender: No OFD packet to send [17:32:36]OFD Sender: No OFD packet to send [17:32:41]OFD Sender: No OFD packet to send [17:32:46]OFD Sender: No OFD packet to send [17:32:51]OFD Sender: No OFD packet to send [17:32:56]OFD Sender: No OFD packet to send [17:33:01]OFD Sender: No OFD packet to send [17:33:06]OFD Sender: No OFD packet to send [17:33:11]OFD Sender: No OFD packet to send [17:33:16]OFD Sender: No OFD packet to send [17:33:21]OFD Sender: No OFD packet to send [17:33:26]OFD Sender: No OFD packet to send [17:33:31]OFD Sender: No OFD packet to send [17:33:36]OFD Sender: No OFD packet to send [17:33:41]OFD Sender: No OFD packet to send [17:33:46]OFD Sender: No OFD packet to send [17:33:51]OFD Sender: No OFD packet to send [17:33:56]OFD Sender: No OFD packet to send [17:34:01]OFD Sender: No OFD packet to send [17:34:06]OFD Sender: No OFD packet to send [17:34:11]OFD Sender: No OFD packet to send [17:34:16]OFD Sender: No OFD packet to send [17:34:21]OFD Sender: No OFD packet to send [17:34:26]OFD Sender: No OFD packet to send [17:34:31]OFD Sender: No OFD packet to send [17:34:36]OFD Sender: No OFD packet to send [17:34:41]OFD Sender: No OFD packet to send [17:34:46]OFD Sender: No OFD packet to send [17:34:51]OFD Sender: No OFD packet to send [17:34:56]OFD Sender: No OFD packet to send [17:35:01]OFD Sender: No OFD packet to send [17:35:06]OFD Sender: No OFD packet to send [17:35:11]OFD Sender: No OFD packet to send [17:35:16]OFD Sender: No OFD packet to send [17:35:21]OFD Sender: No OFD packet to send [17:35:26]OFD Sender: No OFD packet to send [17:35:31]OFD Sender: No OFD packet to send [17:35:36]OFD Sender: No OFD packet to send [17:35:41]OFD Sender: No OFD packet to send [17:35:46]OFD Sender: No OFD packet to send [17:35:51]OFD Sender: No OFD packet to send [17:35:56]OFD Sender: No OFD packet to send [17:36:01]OFD Sender: No OFD packet to send [17:36:06]OFD Sender: No OFD packet to send [17:36:11]OFD Sender: No OFD packet to send [17:36:16]OFD Sender: No OFD packet to send [17:36:21]OFD Sender: No OFD packet to send [17:36:26]OFD Sender: No OFD packet to send [17:36:31]OFD Sender: No OFD packet to send [17:36:36]OFD Sender: No OFD packet to send [17:36:41]OFD Sender: No OFD packet to send [17:36:46]OFD Sender: No OFD packet to send [17:36:51]OFD Sender: No OFD packet to send [17:36:56]OFD Sender: No OFD packet to send [17:37:01]OFD Sender: No OFD packet to send [17:37:06]OFD Sender: No OFD packet to send [17:37:11]OFD Sender: No OFD packet to send [17:37:16]OFD Sender: No OFD packet to send [17:37:21]OFD Sender: No OFD packet to send [17:37:26]OFD Sender: No OFD packet to send [17:37:31]OFD Sender: No OFD packet to send [17:37:36]OFD Sender: No OFD packet to send [17:37:41]OFD Sender: No OFD packet to send [17:37:46]OFD Sender: No OFD packet to send [17:37:51]OFD Sender: No OFD packet to send [17:37:56]OFD Sender: No OFD packet to send [17:38:01]OFD Sender: No OFD packet to send [17:38:06]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]accept exits with 9 [17:39:31]New connection [17:39:31]New thread 3067592036 created [17:39:31]Thread 3067448676 joined [17:39:31]Waiting for new connection... [17:39:31] Sock 9.Parse request [17:39:31]Sock 9.Check first char [17:39:31]Sock 9.First char is OK [17:39:31]request: POST /json_proto HTTP/1.0 [17:39:31]Method: POST [17:39:31]URL: /json_proto [17:39:31]Method is POST - this is cgi request [17:39:31]url: /json_proto [17:39:31]query_string will be loaded in cgi processing [17:39:31]execute_cgi json_proto POST (null) [17:39:31]execute_cgi path=json_proto method=POST [17:39:31]POST find Content-Length [17:39:31]Host: 172.17.39.4:8080 [17:39:31]Content-Length: 929 [17:39:31]Content-Type: application/json [17:39:31] [17:39:31]POST finish read [17:39:31]Found Content-Length = 929 [17:39:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129531", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:39:31]execute_script... [17:39:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129531", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:39:31]POST & json_proto [17:39:31]process_json_proto [17:39:31]json parsed OK: [17:39:31]protocol is kg_v1.0 [17:39:31]action value=close_receipt [17:39:31]process_action close_receipt [17:39:31]cmd_close_receipt [17:39:31]MH_GetDate [17:39:31]Write to MH i2c: F0 00 00 25 0E 22 [17:39:31]Write i2c OK [17:39:31]MH_I2C_Read... [17:39:31]Read from MH i2c: F0 [17:39:31]MH_I2C_Read... [17:39:31]Read from MH i2c: F0 09 00 [17:39:31]MH_I2C_Read... [17:39:31]Read from MH i2c: F0 09 00 25 0E 00 55 0D 94 66 2D 25 5D 64 9A [17:39:31]GetLastDocTimeStamp 1720975242 [17:39:31]current date 1720978773 [17:39:31]FM_GetShiftState [17:39:31]SAM_PROTO_GetShiftState [17:39:31]wFMCommunicate request_size=4 [17:39:31]MH_SAM_APDU [17:39:31]CAPDU: 80 13 01 00 [17:39:31]Write to MH i2c: E2 08 00 26 0E 80 13 01 00 00 00 00 00 B1 [17:39:31]Write i2c OK [17:39:31]MH_I2C_Read... [17:39:31]OFD Sender: No OFD packet to send [17:39:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:39:31]Read from MH i2c: E2 [17:39:31]MH_I2C_Read... [17:39:31]Read from MH i2c: E2 0E 00 [17:39:31]MH_I2C_Read... [17:39:31]Read from MH i2c: E2 0E 00 26 0E 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 58 [17:39:31]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [17:39:31]wFMCommunicate OK [17:39:31]SAM_PROTO_GetShiftState done [17:39:31]FM_GetShiftState done [17:39:31]opened in 1720917126 [17:39:31]opened+sec_in_day 1721003526 [17:39:31]quantity*price = 14300 [17:39:31]sum+1 = 14301 [17:39:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 0.00 Безнал.: 143.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 87 14.07.2024 17:39 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57070 ФПД: 28094948562988 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T173933&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57070&fm=28094948562988&tin=02508201610067®Number=0000000000091208&sum=14300 0 [17:39:32]StoreToDocumentArchive [17:39:32]shift 496 fd 57070 [17:39:32]save to /storage/0496/doc_00057070 [17:39:32]save last doc name /storage/0496/doc_00057070 to /storage/kkm_last_doc_name [17:39:32]save OK [17:39:32]Clear old archive folders... [17:39:32]ProcessDocumentItem done err = 0, tmpTLVsize=276 [17:39:32]tlvbuf is 00FC3FA0 [17:39:32]SAM_PROTO_ClearQueue [17:39:32]wFMCommunicate request_size=4 [17:39:32]MH_SAM_APDU [17:39:32]CAPDU: 80 09 00 00 [17:39:32]Write to MH i2c: E2 08 00 33 0E 80 09 00 00 00 00 00 00 B3 [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:39:32]Read from MH i2c: E2 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 33 0E 00 90 00 B5 [17:39:32]RAPDU: 90 00 [17:39:32]wFMCommunicate OK [17:39:32]SAM_PROTO_ClearQueue done [17:39:32]KKMCreateOFDPacket [17:39:32]OFDProtocolAddRootSTLVToBuf [17:39:32]FM_MakeSignedData [17:39:32]FM_MakeSignedData [17:39:32]SAM_PROTO_SignData [17:39:32]wFMCommunicate request_size=4 [17:39:32]MH_SAM_APDU [17:39:32]CAPDU: 80 0D 01 02 [17:39:32]Write to MH i2c: E2 08 00 34 0E 80 0D 01 02 00 00 00 00 BB [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:39:32]Read from MH i2c: E2 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 [17:39:32]MH_I2C_Read... [17:39:32]Read from MH i2c: E2 03 00 34 0E 00 90 00 B6 [17:39:32]RAPDU: 90 00 [17:39:32]wFMCommunicate OK [17:39:32]wFMCommunicate request_size=255 [17:39:32]MH_SAM_APDU [17:39:32]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 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 55 0D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 [17:39:32]Write to MH i2c: E2 02 01 35 0E 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 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 55 0D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 00 00 A9 [17:39:32]Write i2c OK [17:39:32]MH_I2C_Read... [17:39:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:39:33]Read from MH i2c: E2 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: E2 03 00 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: E2 03 00 35 0E 00 90 00 B7 [17:39:33]RAPDU: 90 00 [17:39:33]wFMCommunicate OK [17:39:33]wFMCommunicate request_size=35 [17:39:33]MH_SAM_APDU [17:39:33]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EE DE 00 00 35 04 06 00 19 8D 5D 6D D8 2C [17:39:33]Write to MH i2c: E2 26 00 36 0E 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EE DE 00 00 35 04 06 00 19 8D 5D 6D D8 2C 00 00 F8 [17:39:33]Write i2c OK [17:39:33]MH_I2C_Read... [17:39:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:39:33]Read from MH i2c: E2 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: E2 03 00 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: E2 03 00 36 0E 00 90 00 B8 [17:39:33]RAPDU: 90 00 [17:39:33]wFMCommunicate OK [17:39:33]wFMCommunicate request_size=4 [17:39:33]MH_SAM_APDU [17:39:33]CAPDU: 80 0D 03 02 [17:39:33]Write to MH i2c: E2 08 00 37 0E 80 0D 03 02 00 00 00 00 C0 [17:39:33]Write i2c OK [17:39:33]MH_I2C_Read... [17:39:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:39:33]Read from MH i2c: E2 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: E2 0B 00 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: E2 0B 00 37 0E 00 F3 2A 79 DC 4C BC 25 0A 90 00 6A [17:39:33]RAPDU: F3 2A 79 DC 4C BC 25 0A 90 00 [17:39:33]wFMCommunicate OK [17:39:33]SAM_PROTO_SignData done [17:39:33]FM_MakeSignedData done [17:39:33]CreateOFDProtocolMessage [17:39:33]wFMCommunicate request_size=4 [17:39:33]MH_SAM_APDU [17:39:33]CAPDU: 80 11 00 00 [17:39:33]Write to MH i2c: E2 08 00 38 0E 80 11 00 00 00 00 00 00 C0 [17:39:33]Write i2c OK [17:39:33]MH_I2C_Read... [17:39:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:39:33]Read from MH i2c: E2 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: E2 17 00 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: E2 17 00 38 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1A [17:39:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [17:39:33]wFMCommunicate OK [17:39:33]CreateOFDProtocolMessage done [17:39:33]OFDSenderStorePacket 57070 [17:39:33]StoreOFDPacket docnum=57070 [17:39:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 28 01 00 00 9B EE 20 01 AA 8A 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 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 55 0D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EE DE 00 00 35 04 06 00 19 8D 5D 6D D8 2C F3 2A 79 DC 4C BC 25 0A [17:39:33]CheckFolder [17:39:33]dirname=/storage/ofd_packets [17:39:33]CheckFolder done [17:39:33]ProducePacketName [17:39:33]name=ofd_packets/00057070 [17:39:33]NVStorageSaveData ofd_packets/00057070 [17:39:33]File name is /storage/ofd_packets/00057070 [17:39:33]Write 326 bytes [17:39:33]NVStorageSaveData done [17:39:33]OFDSenderStorePacket done [17:39:33]KKMCreateOFDPacket done [17:39:33]NVStorageSaveData kkm_last_timestamp [17:39:33]File name is /storage/kkm_last_timestamp [17:39:33]Write 4 bytes [17:39:33]NVStorageSaveData done [17:39:33]ExternCall_PrintAddStr [17:39:33]wPrintStart [17:39:33]Write to MH i2c: 01 00 00 39 0E 47 [17:39:33]Write i2c OK [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: 01 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: 01 07 00 [17:39:33]MH_I2C_Read... [17:39:33]Read from MH i2c: 01 07 00 39 0E 00 00 00 00 00 FF 0F 5C [17:39:33]RasterBufferAndPrint [17:39:33]line Счет N : (3)129531 [17:39:33]line ИНН: 02508201610067 [17:39:33]line Контрольно-Кассовый Чек [17:39:33]line ПРОДАЖА [17:39:33]line Товар: 48744683 [17:39:33]line Сигареты Winston XStyle Caster+ [17:39:33]line 1.000 * 143.00 [17:39:33]line = 143.00 [17:39:33]line НДС 12% НСП 1% [17:39:33]line > о реализуемом товаре [17:39:33]line ИТОГО: 143.00 [17:39:33]line НСП 1% : 1.26 [17:39:33]line НДС 12% : 15.19 [17:39:33]line Наличными: 0.00 [17:39:33]line Безнал.: 143.00 [17:39:33]line Место: АЗС № 132 "Партнер Нефть" [17:39:33]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [17:39:33]line СНО: Общий режим [17:39:33]line Чек 87 14.07.2024 17:39 [17:39:33]line Смена: 496 ФФД: 1.0 [17:39:33]line ЗНМ: 0300000132 [17:39:33]line РНМ: 0000000000091208 [17:39:33]line Версия ККМ: 001 [17:39:33]line Платежная система: АКБ Кыргызстан [17:39:33]line ФМ: 0000000000874857 [17:39:33]line ФД: 57070 [17:39:33]line ФПД: 28094948562988 [17:39:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T173933&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57070&fm=28094948562988&tin=02508201610067®Number=0000000000091208&sum=14300 [17:39:33]OFD Sender: Processing packet 57070 [packets to send 38, broken 37] [17:39:33]ProducePacketName [17:39:33]name=ofd_packets/00057070 [17:39:33]OFD Sender: To server: pG, [17:39:33]CommunicateWithHost lk.salyk.kg:30040 [17:39:33]ConnectInit lk.salyk.kg [17:39:33]line 0 [17:39:33]written 0, free lines is 4095 [17:39:33]Connected sock=7 [17:39:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 28 01 00 00 9B EE 20 01 AA 8A 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 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 DC 37 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 57 00 00 00 F4 03 04 00 55 0D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EE DE 00 00 35 04 06 00 19 8D 5D 6D D8 2C F3 2A 79 DC 4C BC 25 0A [17:39:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 3B BE 47 00 9E B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EE DE 00 00 F4 03 04 00 A6 B3 93 66 B6 04 01 00 00 7B 47 78 4F FA F8 6C EF [17:39:33]CommunicateWithHost err = 0 [17:39:33]CheckOFDResponse [17:39:33]1017 (14) - 77093643461234 [17:39:33]1041 (16) - 0000000000874857 [17:39:33]1040 (4) - 57070 [17:39:33]1012 (4) - 14.07.2024 11:16 [17:39:33]1206 (1) - 0 [17:39:33]OFD Sender: Remove packet 57070 [17:39:33]ProducePacketName [17:39:33]name=ofd_packets/00057070 [17:39:33]NVStorageDeleteData [17:39:34]Write to MH i2c: 01 00 00 64 0E 72 [17:39:34]Write i2c OK [17:39:34]MH_I2C_Read... [17:39:34]Read from MH i2c: 01 [17:39:34]MH_I2C_Read... [17:39:34]Read from MH i2c: 01 07 00 [17:39:34]MH_I2C_Read... [17:39:34]Read from MH i2c: 01 07 00 64 0E 00 00 00 00 00 C2 0C 47 [17:39:34]RasterBufferAndPrint [17:39:34]line [17:39:34]line [17:39:34]line [17:39:34]line [17:39:34]line [17:39:34]written 0, free lines is 3272 [17:39:34]MH_Cut [17:39:34]Write to MH i2c: D1 01 00 6B 0E 01 4B [17:39:34]Write i2c OK [17:39:34]MH_I2C_Read... [17:39:34]Read from MH i2c: D1 [17:39:34]MH_I2C_Read... [17:39:34]Read from MH i2c: D1 01 00 [17:39:34]MH_I2C_Read... [17:39:34]Read from MH i2c: D1 01 00 6B 0E 00 4A [17:39:34]Write to MH i2c: 01 00 00 6C 0E 7A [17:39:34]Write i2c OK [17:39:34]MH_I2C_Read... [17:39:34]OFD Sender: No OFD packet to send [17:39:34]*** Cut start [17:39:34]*** Partial cut [17:39:34]*** CUTSNS_PIN = 1 [17:39:34]*** CUTSNS_PIN = 0 [17:39:35]*** Brake cut motor [17:39:35]Read from MH i2c: 01 [17:39:35]MH_I2C_Read... [17:39:35]*** Stop cut motor [17:39:35]*** Cut end [17:39:35]Read from MH i2c: 01 07 00 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: 01 07 00 6C 0E 00 00 00 00 00 FF 0F 8F [17:39:35]process_action close_receipt done [17:39:35]requested_data is exist [17:39:35]produce_requested_data [17:39:35]requested_item fm.sn is exist - process it [17:39:35]wFMCommunicate request_size=4 [17:39:35]MH_SAM_APDU [17:39:35]CAPDU: 80 11 00 00 [17:39:35]Write to MH i2c: E2 08 00 6D 0E 80 11 00 00 00 00 00 00 F5 [17:39:35]Write i2c OK [17:39:35]MH_I2C_Read... [17:39:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:39:35]Read from MH i2c: E2 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 17 00 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 17 00 6D 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4F [17:39:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [17:39:35]wFMCommunicate OK [17:39:35]requested_item fd.num is exist - process it [17:39:35]SAM_PROTO_GetFieldsCounters [17:39:35]wFMCommunicate request_size=4 [17:39:35]MH_SAM_APDU [17:39:35]CAPDU: 80 13 00 00 [17:39:35]Write to MH i2c: E2 08 00 6E 0E 80 13 00 00 00 00 00 00 F8 [17:39:35]Write i2c OK [17:39:35]MH_I2C_Read... [17:39:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:39:35]Read from MH i2c: E2 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 62 00 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 62 00 6E 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EE DE 00 00 0E 04 04 00 F0 01 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 DD [17:39:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EE DE 00 00 0E 04 04 00 F0 01 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 [17:39:35]wFMCommunicate OK [17:39:35]SAM_PROTO_GetFieldsCounters done [17:39:35]requested_item shift.num is exist - process it [17:39:35]requested_item shift.opened is exist - process it [17:39:35]req_shift_opened [17:39:35]FM_GetShiftState [17:39:35]SAM_PROTO_GetShiftState [17:39:35]wFMCommunicate request_size=4 [17:39:35]MH_SAM_APDU [17:39:35]CAPDU: 80 13 01 00 [17:39:35]Write to MH i2c: E2 08 00 6F 0E 80 13 01 00 00 00 00 00 FA [17:39:35]Write i2c OK [17:39:35]MH_I2C_Read... [17:39:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:39:35]Read from MH i2c: E2 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 0E 00 [17:39:35]MH_I2C_Read... [17:39:35]Read from MH i2c: E2 0E 00 6F 0E 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 A1 [17:39:35]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [17:39:35]wFMCommunicate OK [17:39:35]SAM_PROTO_GetShiftState done [17:39:35]FM_GetShiftState done [17:39:35]req_shift_opened done [17:39:35]requested_item shift.open_date is exist - process it [17:39:35]req_shift_open_date [17:39:35]req_shift_open_date done [17:39:35]requested_item shift.sale.total is exist - process it [17:39:35]SAM_PROTO_GetShiftData [17:39:35]wFMCommunicate request_size=4 [17:39:35]MH_SAM_APDU [17:39:35]CAPDU: 80 13 02 00 [17:39:35]Write to MH i2c: E2 08 00 70 0E 80 13 02 00 00 00 00 00 FC [17:39:35]Write i2c OK [17:39:35]MH_I2C_Read... [17:39:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:39:36]Read from MH i2c: E2 [17:39:36]MH_I2C_Read... [17:39:36]Read from MH i2c: E2 FD 00 [17:39:36]MH_I2C_Read... [17:39:36]Read from MH i2c: E2 FD 00 70 0E 00 BB 04 AA 04 B7 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 55 00 00 00 B1 04 03 00 34 E8 2E 70 04 03 00 68 77 25 72 04 03 00 CC 70 09 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 47 FB 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 6A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 9F [17:39:36]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 57 00 00 00 69 04 9B 00 6F 04 04 00 55 00 00 00 B1 04 03 00 34 E8 2E 70 04 03 00 68 77 25 72 04 03 00 CC 70 09 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 47 FB 04 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 3B 6A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [17:39:36]wFMCommunicate OK [17:39:36]wFMCommunicate request_size=4 [17:39:36]MH_SAM_APDU [17:39:36]CAPDU: 80 17 00 00 [17:39:36]Write to MH i2c: E2 08 00 71 0E 80 17 00 00 00 00 00 00 FF [17:39:36]Write i2c OK [17:39:36]MH_I2C_Read... [17:39:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:39:36]Read from MH i2c: E2 [17:39:36]MH_I2C_Read... [17:39:36]Read from MH i2c: E2 FD 00 [17:39:36]MH_I2C_Read... [17:39:36]Read from MH i2c: E2 FD 00 71 0E 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 92 [17:39:36]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:39:36]wFMCommunicate OK [17:39:36]wFMCommunicate request_size=4 [17:39:36]MH_SAM_APDU [17:39:36]CAPDU: 80 17 00 00 [17:39:36]Write to MH i2c: E2 08 00 72 0E 80 17 00 00 00 00 00 00 00 [17:39:36]Write i2c OK [17:39:36]MH_I2C_Read... [17:39:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:39:36]Read from MH i2c: E2 [17:39:36]MH_I2C_Read... [17:39:36]Read from MH i2c: E2 FD 00 [17:39:36]MH_I2C_Read... [17:39:36]Read from MH i2c: E2 FD 00 72 0E 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2C [17:39:36]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:39:36]wFMCommunicate OK [17:39:36]wFMCommunicate request_size=4 [17:39:36]MH_SAM_APDU [17:39:36]CAPDU: 80 17 00 00 [17:39:36]Write to MH i2c: E2 08 00 73 0E 80 17 00 00 00 00 00 00 01 [17:39:36]Write i2c OK [17:39:36]MH_I2C_Read... [17:39:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:39:37]Read from MH i2c: E2 [17:39:37]MH_I2C_Read... [17:39:37]Read from MH i2c: E2 FD 00 [17:39:37]MH_I2C_Read... [17:39:37]Read from MH i2c: E2 FD 00 73 0E 00 00 00 EF 03 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 90 00 76 [17:39:37]RAPDU: 00 00 EF 03 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 90 00 [17:39:37]wFMCommunicate OK [17:39:37]wFMCommunicate request_size=4 [17:39:37]MH_SAM_APDU [17:39:37]CAPDU: 80 17 00 00 [17:39:37]Write to MH i2c: E2 08 00 74 0E 80 17 00 00 00 00 00 00 02 [17:39:37]Write i2c OK [17:39:37]MH_I2C_Read... [17:39:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [17:39:37]Read from MH i2c: E2 [17:39:37]MH_I2C_Read... [17:39:37]Read from MH i2c: E2 D8 00 [17:39:37]MH_I2C_Read... [17:39:37]Read from MH i2c: E2 D8 00 74 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 E9 [17:39:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [17:39:37]wFMCommunicate OK [17:39:37]SAM_PROTO_GetShiftData done [17:39:37]requested_item shift.sale.total_cash is exist - process it [17:39:37]requested_item shift.sale_refund.total is exist - process it [17:39:37]requested_item shift.sale_refund.total_cash is exist - process it [17:39:37]produce_requested_data done [17:39:37]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57070,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30741.00,"shift.sale.total_cash":24554.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [17:39:37]process_action_free close_receipt [17:39:37]json_value_free [17:39:37]json_value_free done [17:39:37]process_json_proto returns [17:39:37]Send response to host [17:39:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57070,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30741.00,"shift.sale.total_cash":24554.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [17:39:37]free response buf [17:39:37]execute_script done [17:39:37]execute_script returns [17:39:37]free content buf [17:39:37]Sock 9.Close socket [17:39:37]Sock 9.Thread stoped [17:39:39]OFD Sender: No OFD packet to send [17:39:44]OFD Sender: No OFD packet to send [17:39:49]OFD Sender: No OFD packet to send [17:39:54]OFD Sender: No OFD packet to send [17:39:59]OFD Sender: No OFD packet to send [17:40:04]OFD Sender: No OFD packet to send [17:40:09]OFD Sender: No OFD packet to send [17:40:14]OFD Sender: No OFD packet to send [17:40:19]OFD Sender: No OFD packet to send [17:40:24]OFD Sender: No OFD packet to send [17:40:29]OFD Sender: No OFD packet to send [17:40:34]OFD Sender: No OFD packet to send [17:40:39]OFD Sender: No OFD packet to send [17:40:44]OFD Sender: No OFD packet to send [17:40:49]OFD Sender: No OFD packet to send [17:40:54]OFD Sender: No OFD packet to send [17:40:59]OFD Sender: No OFD packet to send [17:41:04]OFD Sender: No OFD packet to send [17:41:09]OFD Sender: No OFD packet to send [17:41:14]OFD Sender: No OFD packet to send [17:41:19]OFD Sender: No OFD packet to send [17:41:24]OFD Sender: No OFD packet to send [17:41:29]OFD Sender: No OFD packet to send [17:41:34]OFD Sender: No OFD packet to send [17:41:39]OFD Sender: No OFD packet to send [17:41:44]OFD Sender: No OFD packet to send [17:41:49]OFD Sender: No OFD packet to send [17:41:54]OFD Sender: No OFD packet to send [17:41:59]OFD Sender: No OFD packet to send [17:42:04]OFD Sender: No OFD packet to send [17:42:09]OFD Sender: No OFD packet to send [17:42:14]OFD Sender: No OFD packet to send [17:42:19]OFD Sender: No OFD packet to send [17:42:24]OFD Sender: No OFD packet to send [17:42:29]OFD Sender: No OFD packet to send [17:42:34]OFD Sender: No OFD packet to send [17:42:39]OFD Sender: No OFD packet to send [17:42:44]OFD Sender: No OFD packet to send [17:42:49]OFD Sender: No OFD packet to send [17:42:54]OFD Sender: No OFD packet to send [17:42:59]OFD Sender: No OFD packet to send [17:43:04]OFD Sender: No OFD packet to send [17:43:09]OFD Sender: No OFD packet to send [17:43:14]OFD Sender: No OFD packet to send [17:43:19]OFD Sender: No OFD packet to send [17:43:24]OFD Sender: No OFD packet to send [17:43:29]OFD Sender: No OFD packet to send [17:43:34]OFD Sender: No OFD packet to send [17:43:39]OFD Sender: No OFD packet to send [17:43:44]OFD Sender: No OFD packet to send [17:43:49]OFD Sender: No OFD packet to send [17:43:54]OFD Sender: No OFD packet to send [17:43:59]OFD Sender: No OFD packet to send [17:44:04]OFD Sender: No OFD packet to send [17:44:09]OFD Sender: No OFD packet to send [17:44:14]OFD Sender: No OFD packet to send [17:44:19]OFD Sender: No OFD packet to send [17:44:24]OFD Sender: No OFD packet to send [17:44:29]OFD Sender: No OFD packet to send [17:44:34]OFD Sender: No OFD packet to send [17:44:39]OFD Sender: No OFD packet to send [17:44:44]OFD Sender: No OFD packet to send [17:44:49]OFD Sender: No OFD packet to send [17:44:54]OFD Sender: No OFD packet to send [17:44:59]OFD Sender: No OFD packet to send [17:45:04]OFD Sender: No OFD packet to send [17:45:09]OFD Sender: No OFD packet to send [17:45:14]OFD Sender: No OFD packet to send [17:45:19]OFD Sender: No OFD packet to send [17:45:24]OFD Sender: No OFD packet to send [17:45:29]OFD Sender: No OFD packet to send [17:45:34]OFD Sender: No OFD packet to send [17:45:39]OFD Sender: No OFD packet to send [17:45:44]OFD Sender: No OFD packet to send [17:45:49]OFD Sender: No OFD packet to send [17:45:54]OFD Sender: No OFD packet to send [17:45:59]OFD Sender: No OFD packet to send [17:46:04]OFD Sender: No OFD packet to send [17:46:09]OFD Sender: No OFD packet to send [17:46:14]OFD Sender: No OFD packet to send [17:46:19]OFD Sender: No OFD packet to send [17:46:24]OFD Sender: No OFD packet to send [17:46:29]OFD Sender: No OFD packet to send [17:46:34]OFD Sender: No OFD packet to send [17:46:39]OFD Sender: No OFD packet to send [17:46:44]OFD Sender: No OFD packet to send [17:46:49]OFD Sender: No OFD packet to send [17:46:54]OFD Sender: No OFD packet to send [17:46:59]OFD Sender: No OFD packet to send [17:47:04]OFD Sender: No OFD packet to send [17:47:09]OFD Sender: No OFD packet to send [17:47:14]OFD Sender: No OFD packet to send [17:47:19]OFD Sender: No OFD packet to send [17:47:24]OFD Sender: No OFD packet to send [17:47:29]OFD Sender: No OFD packet to send [17:47:34]OFD Sender: No OFD packet to send [17:47:39]OFD Sender: No OFD packet to send [17:47:44]OFD Sender: No OFD packet to send [17:47:49]OFD Sender: No OFD packet to send [17:47:54]OFD Sender: No OFD packet to send [17:47:59]OFD Sender: No OFD packet to send [17:48:04]OFD Sender: No OFD packet to send [17:48:09]OFD Sender: No OFD packet to send [17:48:14]OFD Sender: No OFD packet to send [17:48:19]OFD Sender: No OFD packet to send [17:48:24]OFD Sender: No OFD packet to send [17:48:29]OFD Sender: No OFD packet to send [17:48:34]OFD Sender: No OFD packet to send [17:48:39]OFD Sender: No OFD packet to send [17:48:44]OFD Sender: No OFD packet to send [17:48:50]OFD Sender: No OFD packet to send [17:48:55]OFD Sender: No OFD packet to send [17:49:00]OFD Sender: No OFD packet to send [17:49:05]OFD Sender: No OFD packet to send [17:49:10]OFD Sender: No OFD packet to send [17:49:15]OFD Sender: No OFD packet to send [17:49:20]OFD Sender: No OFD packet to send [17:49:25]OFD Sender: No OFD packet to send [17:49:30]OFD Sender: No OFD packet to send [17:49:35]OFD Sender: No OFD packet to send [17:49:40]OFD Sender: No OFD packet to send [17:49:45]OFD Sender: No OFD packet to send [17:49:50]OFD Sender: No OFD packet to send [17:49:55]OFD Sender: No OFD packet to send [17:50:00]OFD Sender: No OFD packet to send [17:50:05]OFD Sender: No OFD packet to send [17:50:10]OFD Sender: No OFD packet to send [17:50:15]OFD Sender: No OFD packet to send [17:50:20]OFD Sender: No OFD packet to send [17:50:25]OFD Sender: No OFD packet to send [17:50:30]OFD Sender: No OFD packet to send [17:50:35]OFD Sender: No OFD packet to send [17:50:36]accept exits with 10 [17:50:36]New connection [17:50:36]New thread 3067448676 created [17:50:36]Thread 3067592036 joined [17:50:36]Waiting for new connection... [17:50:36] Sock 10.Parse request [17:50:36]Sock 10.Check first char [17:50:36]Sock 10.First char is OK [17:50:36]request: POST /json_proto HTTP/1.0 [17:50:36]Method: POST [17:50:36]URL: /json_proto [17:50:36]Method is POST - this is cgi request [17:50:36]url: /json_proto [17:50:36]query_string will be loaded in cgi processing [17:50:36]execute_cgi json_proto POST (null) [17:50:36]execute_cgi path=json_proto method=POST [17:50:36]POST find Content-Length [17:50:36]Host: 172.17.39.4:8080 [17:50:36]Content-Length: 725 [17:50:36]Content-Type: application/json [17:50:36] [17:50:36]POST finish read [17:50:36]Found Content-Length = 725 [17:50:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129532", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:50:36]execute_script... [17:50: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)129532", "tax_sys" : 0, "items" : [ { "code": "48743570", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Blue", "price" : 140.00, "quantity" : 1.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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [17:50:36]POST & json_proto [17:50:36]process_json_proto [17:50:36]json parsed OK: [17:50:36]protocol is kg_v1.0 [17:50:36]action value=close_receipt [17:50:36]process_action close_receipt [17:50:36]cmd_close_receipt [17:50:36]MH_GetDate [17:50:36]Write to MH i2c: F0 00 00 75 0E 72 [17:50:36]Write i2c OK [17:50:36]MH_I2C_Read... [17:50:36]Read from MH i2c: F0 [17:50:36]MH_I2C_Read... [17:50:36]Read from MH i2c: F0 09 00 [17:50:36]MH_I2C_Read... [17:50:36]Read from MH i2c: F0 09 00 75 0E 00 EE 0F 94 66 2D 25 5D 64 85 [17:50:36]GetLastDocTimeStamp 1720978773 [17:50:36]current date 1720979438 [17:50:36]FM_GetShiftState [17:50:36]SAM_PROTO_GetShiftState [17:50:36]wFMCommunicate request_size=4 [17:50:36]MH_SAM_APDU [17:50:36]CAPDU: 80 13 01 00 [17:50:36]Write to MH i2c: E2 08 00 76 0E 80 13 01 00 00 00 00 00 01 [17:50:36]Write i2c OK [17:50:36]MH_I2C_Read... [17:50:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:50:36]Read from MH i2c: E2 [17:50:36]MH_I2C_Read... [17:50:36]Read from MH i2c: E2 0E 00 [17:50:36]MH_I2C_Read... [17:50:36]Read from MH i2c: E2 0E 00 76 0E 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 A8 [17:50:36]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [17:50:36]wFMCommunicate OK [17:50:36]SAM_PROTO_GetShiftState done [17:50:36]FM_GetShiftState done [17:50:36]opened in 1720917126 [17:50:36]opened+sec_in_day 1721003526 [17:50:36]quantity*price = 14000 [17:50:36]sum+1 = 14001 [17:50:36]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 140.00 НСП 1% : 1.24 НДС 12% : 14.87 Наличными: 140.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 88 14.07.2024 17:50 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57071 ФПД: 143674337685537 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T175038&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57071&fm=143674337685537&tin=02508201610067®Number=0000000000091208&sum=14000 0 [17:50:37]StoreToDocumentArchive [17:50:37]shift 496 fd 57071 [17:50:37]save to /storage/0496/doc_00057071 [17:50:37]save last doc name /storage/0496/doc_00057071 to /storage/kkm_last_doc_name [17:50:37]save OK [17:50:37]Clear old archive folders... [17:50:37]ProcessDocumentItem done err = 0, tmpTLVsize=273 [17:50:37]tlvbuf is 00FA24A0 [17:50:37]SAM_PROTO_ClearQueue [17:50:37]wFMCommunicate request_size=4 [17:50:37]MH_SAM_APDU [17:50:37]CAPDU: 80 09 00 00 [17:50:37]Write to MH i2c: E2 08 00 83 0E 80 09 00 00 00 00 00 00 03 [17:50:37]Write i2c OK [17:50:37]MH_I2C_Read... [17:50:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [17:50:37]Read from MH i2c: E2 [17:50:37]MH_I2C_Read... [17:50:37]Read from MH i2c: E2 03 00 [17:50:37]MH_I2C_Read... [17:50:37]Read from MH i2c: E2 03 00 83 0E 00 90 00 05 [17:50:37]RAPDU: 90 00 [17:50:37]wFMCommunicate OK [17:50:37]SAM_PROTO_ClearQueue done [17:50:37]KKMCreateOFDPacket [17:50:37]OFDProtocolAddRootSTLVToBuf [17:50:37]FM_MakeSignedData [17:50:37]FM_MakeSignedData [17:50:37]SAM_PROTO_SignData [17:50:37]wFMCommunicate request_size=4 [17:50:37]MH_SAM_APDU [17:50:37]CAPDU: 80 0D 01 02 [17:50:37]Write to MH i2c: E2 08 00 84 0E 80 0D 01 02 00 00 00 00 0B [17:50:37]Write i2c OK [17:50:37]MH_I2C_Read... [17:50:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [17:50:37]Read from MH i2c: E2 [17:50:37]MH_I2C_Read... [17:50:37]Read from MH i2c: E2 03 00 [17:50:37]MH_I2C_Read... [17:50:37]Read from MH i2c: E2 03 00 84 0E 00 90 00 06 [17:50:37]RAPDU: 90 00 [17:50:37]wFMCommunicate OK [17:50:37]wFMCommunicate request_size=255 [17:50:37]MH_SAM_APDU [17:50:37]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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 58 00 00 00 F4 03 04 00 EE 0F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [17:50:37]Write to MH i2c: E2 02 01 85 0E 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 58 00 00 00 F4 03 04 00 EE 0F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 3B [17:50:37]Write i2c OK [17:50:37]MH_I2C_Read... [17:50:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:50:38]Read from MH i2c: E2 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: E2 03 00 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: E2 03 00 85 0E 00 90 00 07 [17:50:38]RAPDU: 90 00 [17:50:38]wFMCommunicate OK [17:50:38]wFMCommunicate request_size=32 [17:50:38]MH_SAM_APDU [17:50:38]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 EF DE 00 00 35 04 06 00 82 AB C9 DC 70 21 [17:50:38]Write to MH i2c: E2 23 00 86 0E 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 EF DE 00 00 35 04 06 00 82 AB C9 DC 70 21 00 00 A2 [17:50:38]Write i2c OK [17:50:38]MH_I2C_Read... [17:50:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [17:50:38]Read from MH i2c: E2 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: E2 03 00 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: E2 03 00 86 0E 00 90 00 08 [17:50:38]RAPDU: 90 00 [17:50:38]wFMCommunicate OK [17:50:38]wFMCommunicate request_size=4 [17:50:38]MH_SAM_APDU [17:50:38]CAPDU: 80 0D 03 02 [17:50:38]Write to MH i2c: E2 08 00 87 0E 80 0D 03 02 00 00 00 00 10 [17:50:38]Write i2c OK [17:50:38]MH_I2C_Read... [17:50:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [17:50:38]Read from MH i2c: E2 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: E2 0B 00 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: E2 0B 00 87 0E 00 E8 20 1B 69 44 DC BC C7 90 00 40 [17:50:38]RAPDU: E8 20 1B 69 44 DC BC C7 90 00 [17:50:38]wFMCommunicate OK [17:50:38]SAM_PROTO_SignData done [17:50:38]FM_MakeSignedData done [17:50:38]CreateOFDProtocolMessage [17:50:38]wFMCommunicate request_size=4 [17:50:38]MH_SAM_APDU [17:50:38]CAPDU: 80 11 00 00 [17:50:38]Write to MH i2c: E2 08 00 88 0E 80 11 00 00 00 00 00 00 10 [17:50:38]Write i2c OK [17:50:38]MH_I2C_Read... [17:50:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:50:38]Read from MH i2c: E2 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: E2 17 00 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: E2 17 00 88 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6A [17:50:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [17:50:38]wFMCommunicate OK [17:50:38]CreateOFDProtocolMessage done [17:50:38]OFDSenderStorePacket 57071 [17:50:38]StoreOFDPacket docnum=57071 [17:50:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 36 93 1D 01 0E 91 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 58 00 00 00 F4 03 04 00 EE 0F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EF DE 00 00 35 04 06 00 82 AB C9 DC 70 21 E8 20 1B 69 44 DC BC C7 [17:50:38]CheckFolder [17:50:38]dirname=/storage/ofd_packets [17:50:38]CheckFolder done [17:50:38]ProducePacketName [17:50:38]name=ofd_packets/00057071 [17:50:38]NVStorageSaveData ofd_packets/00057071 [17:50:38]File name is /storage/ofd_packets/00057071 [17:50:38]Write 323 bytes [17:50:38]NVStorageSaveData done [17:50:38]OFDSenderStorePacket done [17:50:38]KKMCreateOFDPacket done [17:50:38]NVStorageSaveData kkm_last_timestamp [17:50:38]File name is /storage/kkm_last_timestamp [17:50:38]Write 4 bytes [17:50:38]NVStorageSaveData done [17:50:38]ExternCall_PrintAddStr [17:50:38]wPrintStart [17:50:38]Write to MH i2c: 01 00 00 89 0E 97 [17:50:38]Write i2c OK [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: 01 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: 01 07 00 [17:50:38]MH_I2C_Read... [17:50:38]Read from MH i2c: 01 07 00 89 0E 00 00 00 00 00 FF 0F AC [17:50:38]RasterBufferAndPrint [17:50:38]line Счет N : (3)129532 [17:50:38]line ИНН: 02508201610067 [17:50:38]line Контрольно-Кассовый Чек [17:50:38]line ПРОДАЖА [17:50:38]line Товар: 48743570 [17:50:38]line Сигареты Winston XStyle Blue [17:50:38]line 1.000 * 140.00 [17:50:38]line = 140.00 [17:50:38]line НДС 12% НСП 1% [17:50:38]line > о реализуемом товаре [17:50:38]line ИТОГО: 140.00 [17:50:38]line НСП 1% : 1.24 [17:50:38]line НДС 12% : 14.87 [17:50:38]line Наличными: 140.00 [17:50:38]line Безнал.: 0.00 [17:50:38]line Место: АЗС № 132 "Партнер Нефть" [17:50:38]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [17:50:38]line СНО: Общий режим [17:50:38]line Чек 88 14.07.2024 17:50 [17:50:38]line Смена: 496 ФФД: 1.0 [17:50:38]line ЗНМ: 0300000132 [17:50:38]line РНМ: 0000000000091208 [17:50:38]line Версия ККМ: 001 [17:50:38]line ФМ: 0000000000874857 [17:50:38]line ФД: 57071 [17:50:38]line ФПД: 143674337685537 [17:50:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T175038&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57071&fm=143674337685537&tin=02508201610067®Number=0000000000091208&sum=14000 [17:50:38]line 0 [17:50:38]OFD Sender: Processing packet 57071 [packets to send 38, broken 37] [17:50:38]ProducePacketName [17:50:38]name=ofd_packets/00057071 [17:50:38]OFD Sender: To server: pG, [17:50:38]CommunicateWithHost lk.salyk.kg:30040 [17:50:38]ConnectInit lk.salyk.kg [17:50:38]written 0, free lines is 4095 [17:50:38]Connected sock=9 [17:50:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 36 93 1D 01 0E 91 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 58 00 00 00 F4 03 04 00 EE 0F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EF DE 00 00 35 04 06 00 82 AB C9 DC 70 21 E8 20 1B 69 44 DC BC C7 [17:50:38]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 01 E7 47 00 CF 18 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 EF DE 00 00 F4 03 04 00 3F B6 93 66 B6 04 01 00 00 00 A0 DE A3 35 CA 56 57 [17:50:38]CommunicateWithHost err = 0 [17:50:38]CheckOFDResponse [17:50:38]1017 (14) - 77093643461234 [17:50:38]1041 (16) - 0000000000874857 [17:50:38]1040 (4) - 57071 [17:50:38]1012 (4) - 14.07.2024 11:27 [17:50:38]1206 (1) - 0 [17:50:38]OFD Sender: Remove packet 57071 [17:50:38]ProducePacketName [17:50:38]name=ofd_packets/00057071 [17:50:38]NVStorageDeleteData [17:50:39]Write to MH i2c: 01 00 00 B1 0E BF [17:50:39]Write i2c OK [17:50:39]MH_I2C_Read... [17:50:39]Read from MH i2c: 01 [17:50:39]MH_I2C_Read... [17:50:39]Read from MH i2c: 01 07 00 [17:50:39]MH_I2C_Read... [17:50:39]Read from MH i2c: 01 07 00 B1 0E 00 00 00 00 00 EE 0C C0 [17:50:39]RasterBufferAndPrint [17:50:39]line [17:50:39]line [17:50:39]line [17:50:39]line [17:50:39]line [17:50:39]written 0, free lines is 3316 [17:50:39]MH_Cut [17:50:39]Write to MH i2c: D1 01 00 B8 0E 01 98 [17:50:39]Write i2c OK [17:50:39]MH_I2C_Read... [17:50:39]Read from MH i2c: D1 [17:50:39]MH_I2C_Read... [17:50:39]Read from MH i2c: D1 01 00 [17:50:39]MH_I2C_Read... [17:50:39]Read from MH i2c: D1 01 00 B8 0E 00 97 [17:50:39]Write to MH i2c: 01 00 00 B9 0E C7 [17:50:39]Write i2c OK [17:50:39]MH_I2C_Read... [17:50:39]OFD Sender: No OFD packet to send [17:50:39]*** Cut start [17:50:39]*** Partial cut [17:50:39]*** CUTSNS_PIN = 1 [17:50:39]*** CUTSNS_PIN = 0 [17:50:40]*** Brake cut motor [17:50:40]Read from MH i2c: 01 [17:50:40]MH_I2C_Read... [17:50:40]*** Stop cut motor [17:50:40]*** Cut end [17:50:40]Read from MH i2c: 01 07 00 [17:50:40]MH_I2C_Read... [17:50:40]Read from MH i2c: 01 07 00 B9 0E 00 00 00 00 00 FF 0F DC [17:50:40]process_action close_receipt done [17:50:40]requested_data is exist [17:50:40]produce_requested_data [17:50:40]requested_item fm.sn is exist - process it [17:50:40]wFMCommunicate request_size=4 [17:50:40]MH_SAM_APDU [17:50:40]CAPDU: 80 11 00 00 [17:50:40]Write to MH i2c: E2 08 00 BA 0E 80 11 00 00 00 00 00 00 42 [17:50:40]Write i2c OK [17:50:40]MH_I2C_Read... [17:50:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [17:50:40]Read from MH i2c: E2 [17:50:40]MH_I2C_Read... [17:50:40]Read from MH i2c: E2 17 00 [17:50:40]MH_I2C_Read... [17:50:40]Read from MH i2c: E2 17 00 BA 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9C [17:50:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [17:50:40]wFMCommunicate OK [17:50:40]requested_item fd.num is exist - process it [17:50:40]SAM_PROTO_GetFieldsCounters [17:50:40]wFMCommunicate request_size=4 [17:50:40]MH_SAM_APDU [17:50:40]CAPDU: 80 13 00 00 [17:50:40]Write to MH i2c: E2 08 00 BB 0E 80 13 00 00 00 00 00 00 45 [17:50:40]Write i2c OK [17:50:40]MH_I2C_Read... [17:50:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [17:50:40]Read from MH i2c: E2 [17:50:40]MH_I2C_Read... [17:50:40]Read from MH i2c: E2 62 00 [17:50:40]MH_I2C_Read... [17:50:40]Read from MH i2c: E2 62 00 BB 0E 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EF DE 00 00 0E 04 04 00 F0 01 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 2E [17:50:40]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 EF DE 00 00 0E 04 04 00 F0 01 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 [17:50:40]wFMCommunicate OK [17:50:40]SAM_PROTO_GetFieldsCounters done [17:50:40]requested_item shift.num is exist - process it [17:50:40]requested_item shift.opened is exist - process it [17:50:40]req_shift_opened [17:50:40]FM_GetShiftState [17:50:40]SAM_PROTO_GetShiftState [17:50:40]wFMCommunicate request_size=4 [17:50:40]MH_SAM_APDU [17:50:40]CAPDU: 80 13 01 00 [17:50:40]Write to MH i2c: E2 08 00 BC 0E 80 13 01 00 00 00 00 00 47 [17:50:40]Write i2c OK [17:50:40]MH_I2C_Read... [17:50:40]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [17:50:40]Read from MH i2c: E2 [17:50:40]MH_I2C_Read... [17:50:40]Read from MH i2c: E2 0E 00 [17:50:40]MH_I2C_Read... [17:50:40]Read from MH i2c: E2 0E 00 BC 0E 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 EE [17:50:40]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [17:50:40]wFMCommunicate OK [17:50:40]SAM_PROTO_GetShiftState done [17:50:40]FM_GetShiftState done [17:50:40]req_shift_opened done [17:50:40]requested_item shift.open_date is exist - process it [17:50:40]req_shift_open_date [17:50:40]req_shift_open_date done [17:50:40]requested_item shift.sale.total is exist - process it [17:50:40]SAM_PROTO_GetShiftData [17:50:40]wFMCommunicate request_size=4 [17:50:40]MH_SAM_APDU [17:50:40]CAPDU: 80 13 02 00 [17:50:40]Write to MH i2c: E2 08 00 BD 0E 80 13 02 00 00 00 00 00 49 [17:50:40]Write i2c OK [17:50:40]MH_I2C_Read... [17:50:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [17:50:41]Read from MH i2c: E2 [17:50:41]MH_I2C_Read... [17:50:41]Read from MH i2c: E2 FD 00 [17:50:41]MH_I2C_Read... [17:50:41]Read from MH i2c: E2 FD 00 BD 0E 00 BB 04 AA 04 B7 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 E4 1E 2F 70 04 03 00 18 AE 25 72 04 03 00 CC 70 09 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 16 01 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 B7 6A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 0E [17:50:41]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 58 00 00 00 69 04 9B 00 6F 04 04 00 56 00 00 00 B1 04 03 00 E4 1E 2F 70 04 03 00 18 AE 25 72 04 03 00 CC 70 09 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 16 01 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 B7 6A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [17:50:41]wFMCommunicate OK [17:50:41]wFMCommunicate request_size=4 [17:50:41]MH_SAM_APDU [17:50:41]CAPDU: 80 17 00 00 [17:50:41]Write to MH i2c: E2 08 00 BE 0E 80 17 00 00 00 00 00 00 4C [17:50:41]Write i2c OK [17:50:41]MH_I2C_Read... [17:50:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:50:41]Read from MH i2c: E2 [17:50:41]MH_I2C_Read... [17:50:41]Read from MH i2c: E2 FD 00 [17:50:41]MH_I2C_Read... [17:50:41]Read from MH i2c: E2 FD 00 BE 0E 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DF [17:50:41]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:50:41]wFMCommunicate OK [17:50:41]wFMCommunicate request_size=4 [17:50:41]MH_SAM_APDU [17:50:41]CAPDU: 80 17 00 00 [17:50:41]Write to MH i2c: E2 08 00 BF 0E 80 17 00 00 00 00 00 00 4D [17:50:41]Write i2c OK [17:50:41]MH_I2C_Read... [17:50:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:50:41]Read from MH i2c: E2 [17:50:41]MH_I2C_Read... [17:50:41]Read from MH i2c: E2 FD 00 [17:50:41]MH_I2C_Read... [17:50:41]Read from MH i2c: E2 FD 00 BF 0E 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 79 [17:50:41]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [17:50:41]wFMCommunicate OK [17:50:41]wFMCommunicate request_size=4 [17:50:41]MH_SAM_APDU [17:50:41]CAPDU: 80 17 00 00 [17:50:41]Write to MH i2c: E2 08 00 C0 0E 80 17 00 00 00 00 00 00 4E [17:50:41]Write i2c OK [17:50:41]MH_I2C_Read... [17:50:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [17:50:41]Read from MH i2c: E2 [17:50:41]MH_I2C_Read... [17:50:41]Read from MH i2c: E2 FD 00 [17:50:41]MH_I2C_Read... [17:50:41]Read from MH i2c: E2 FD 00 C0 0E 00 00 00 EF 03 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 90 00 C3 [17:50:41]RAPDU: 00 00 EF 03 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 90 00 [17:50:42]wFMCommunicate OK [17:50:42]wFMCommunicate request_size=4 [17:50:42]MH_SAM_APDU [17:50:42]CAPDU: 80 17 00 00 [17:50:42]Write to MH i2c: E2 08 00 C1 0E 80 17 00 00 00 00 00 00 4F [17:50:42]Write i2c OK [17:50:42]MH_I2C_Read... [17:50:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [17:50:42]Read from MH i2c: E2 [17:50:42]MH_I2C_Read... [17:50:42]Read from MH i2c: E2 D8 00 [17:50:42]MH_I2C_Read... [17:50:42]Read from MH i2c: E2 D8 00 C1 0E 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 36 [17:50:42]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [17:50:42]wFMCommunicate OK [17:50:42]SAM_PROTO_GetShiftData done [17:50:42]requested_item shift.sale.total_cash is exist - process it [17:50:42]requested_item shift.sale_refund.total is exist - process it [17:50:42]requested_item shift.sale_refund.total_cash is exist - process it [17:50:42]produce_requested_data done [17:50:42]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57071,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30881.00,"shift.sale.total_cash":24694.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [17:50:42]process_action_free close_receipt [17:50:42]json_value_free [17:50:42]json_value_free done [17:50:42]process_json_proto returns [17:50:42]Send response to host [17:50:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57071,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30881.00,"shift.sale.total_cash":24694.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [17:50:42]free response buf [17:50:42]execute_script done [17:50:42]execute_script returns [17:50:42]free content buf [17:50:42]Sock 10.Close socket [17:50:42]Sock 10.Thread stoped [17:50:44]OFD Sender: No OFD packet to send [17:50:49]OFD Sender: No OFD packet to send [17:50:54]OFD Sender: No OFD packet to send [17:50:59]OFD Sender: No OFD packet to send [17:51:04]OFD Sender: No OFD packet to send [17:51:09]OFD Sender: No OFD packet to send [17:51:14]OFD Sender: No OFD packet to send [17:51:19]OFD Sender: No OFD packet to send [17:51:24]OFD Sender: No OFD packet to send [17:51:29]OFD Sender: No OFD packet to send [17:51:34]OFD Sender: No OFD packet to send [17:51:39]OFD Sender: No OFD packet to send [17:51:44]OFD Sender: No OFD packet to send [17:51:49]OFD Sender: No OFD packet to send [17:51:54]OFD Sender: No OFD packet to send [17:51:59]OFD Sender: No OFD packet to send [17:52:04]OFD Sender: No OFD packet to send [17:52:09]OFD Sender: No OFD packet to send [17:52:14]OFD Sender: No OFD packet to send [17:52:19]OFD Sender: No OFD packet to send [17:52:24]OFD Sender: No OFD packet to send [17:52:29]OFD Sender: No OFD packet to send [17:52:34]OFD Sender: No OFD packet to send [17:52:39]OFD Sender: No OFD packet to send [17:52:44]OFD Sender: No OFD packet to send [17:52:49]OFD Sender: No OFD packet to send [17:52:54]OFD Sender: No OFD packet to send [17:52:59]OFD Sender: No OFD packet to send [17:53:04]OFD Sender: No OFD packet to send [17:53:09]OFD Sender: No OFD packet to send [17:53:14]OFD Sender: No OFD packet to send [17:53:19]OFD Sender: No OFD packet to send [17:53:24]OFD Sender: No OFD packet to send [17:53:29]OFD Sender: No OFD packet to send [17:53:34]OFD Sender: No OFD packet to send [17:53:39]OFD Sender: No OFD packet to send [17:53:44]OFD Sender: No OFD packet to send [17:53:49]OFD Sender: No OFD packet to send [17:53:54]OFD Sender: No OFD packet to send [17:53:59]OFD Sender: No OFD packet to send [17:54:04]OFD Sender: No OFD packet to send [17:54:09]OFD Sender: No OFD packet to send [17:54:14]OFD Sender: No OFD packet to send [17:54:19]OFD Sender: No OFD packet to send [17:54:24]OFD Sender: No OFD packet to send [17:54:29]OFD Sender: No OFD packet to send [17:54:34]OFD Sender: No OFD packet to send [17:54:39]OFD Sender: No OFD packet to send [17:54:44]OFD Sender: No OFD packet to send [17:54:49]OFD Sender: No OFD packet to send [17:54:54]OFD Sender: No OFD packet to send [17:54:59]OFD Sender: No OFD packet to send [17:55:04]OFD Sender: No OFD packet to send [17:55:09]OFD Sender: No OFD packet to send [17:55:14]OFD Sender: No OFD packet to send [17:55:19]OFD Sender: No OFD packet to send [17:55:24]OFD Sender: No OFD packet to send [17:55:29]OFD Sender: No OFD packet to send [17:55:34]OFD Sender: No OFD packet to send [17:55:39]OFD Sender: No OFD packet to send [17:55:44]OFD Sender: No OFD packet to send [17:55:49]OFD Sender: No OFD packet to send [17:55:54]OFD Sender: No OFD packet to send [17:55:59]OFD Sender: No OFD packet to send [17:56:04]OFD Sender: No OFD packet to send [17:56:09]OFD Sender: No OFD packet to send [17:56:14]OFD Sender: No OFD packet to send [17:56:19]OFD Sender: No OFD packet to send [17:56:24]OFD Sender: No OFD packet to send [17:56:29]OFD Sender: No OFD packet to send [17:56:34]OFD Sender: No OFD packet to send [17:56:39]OFD Sender: No OFD packet to send [17:56:44]OFD Sender: No OFD packet to send [17:56:49]OFD Sender: No OFD packet to send [17:56:54]OFD Sender: No OFD packet to send [17:56:59]OFD Sender: No OFD packet to send [17:57:04]OFD Sender: No OFD packet to send [17:57:09]OFD Sender: No OFD packet to send [17:57:14]OFD Sender: No OFD packet to send [17:57:19]OFD Sender: No OFD packet to send [17:57:24]OFD Sender: No OFD packet to send [17:57:29]OFD Sender: No OFD packet to send [17:57:34]OFD Sender: No OFD packet to send [17:57:39]OFD Sender: No OFD packet to send [17:57:44]OFD Sender: No OFD packet to send [17:57:49]OFD Sender: No OFD packet to send [17:57:54]OFD Sender: No OFD packet to send [17:57:59]OFD Sender: No OFD packet to send [17:58:04]OFD Sender: No OFD packet to send [17:58:09]OFD Sender: No OFD packet to send [17:58:14]OFD Sender: No OFD packet to send [17:58:19]OFD Sender: No OFD packet to send [17:58:24]OFD Sender: No OFD packet to send [17:58:29]OFD Sender: No OFD packet to send [17:58:34]OFD Sender: No OFD packet to send [17:58:39]OFD Sender: No OFD packet to send [17:58:44]OFD Sender: No OFD packet to send [17:58:49]OFD Sender: No OFD packet to send [17:58:54]OFD Sender: No OFD packet to send [17:58:59]OFD Sender: No OFD packet to send [17:59:04]OFD Sender: No OFD packet to send [17:59:09]OFD Sender: No OFD packet to send [17:59:14]OFD Sender: No OFD packet to send [17:59:19]OFD Sender: No OFD packet to send [17:59:24]OFD Sender: No OFD packet to send [17:59:29]OFD Sender: No OFD packet to send [17:59:34]OFD Sender: No OFD packet to send [17:59:39]OFD Sender: No OFD packet to send [17:59:44]OFD Sender: No OFD packet to send [17:59:49]OFD Sender: No OFD packet to send [17:59:54]OFD Sender: No OFD packet to send [17:59:59]OFD Sender: No OFD packet to send [18:00:04]OFD Sender: No OFD packet to send [18:00:09]OFD Sender: No OFD packet to send [18:00:14]OFD Sender: No OFD packet to send [18:00:20]OFD Sender: No OFD packet to send [18:00:25]OFD Sender: No OFD packet to send [18:00:30]OFD Sender: No OFD packet to send [18:00:35]OFD Sender: No OFD packet to send [18:00:40]OFD Sender: No OFD packet to send [18:00:45]OFD Sender: No OFD packet to send [18:00:50]OFD Sender: No OFD packet to send [18:00:55]OFD Sender: No OFD packet to send [18:01:00]OFD Sender: No OFD packet to send [18:01:05]OFD Sender: No OFD packet to send [18:01:10]OFD Sender: No OFD packet to send [18:01:15]OFD Sender: No OFD packet to send [18:01:20]OFD Sender: No OFD packet to send [18:01:25]OFD Sender: No OFD packet to send [18:01:30]OFD Sender: No OFD packet to send [18:01:35]OFD Sender: No OFD packet to send [18:01:40]OFD Sender: No OFD packet to send [18:01:45]OFD Sender: No OFD packet to send [18:01:50]OFD Sender: No OFD packet to send [18:01:55]OFD Sender: No OFD packet to send [18:02:00]OFD Sender: No OFD packet to send [18:02:05]OFD Sender: No OFD packet to send [18:02:10]OFD Sender: No OFD packet to send [18:02:15]OFD Sender: No OFD packet to send [18:02:20]OFD Sender: No OFD packet to send [18:02:25]OFD Sender: No OFD packet to send [18:02:30]OFD Sender: No OFD packet to send [18:02:35]OFD Sender: No OFD packet to send [18:02:40]OFD Sender: No OFD packet to send [18:02:45]OFD Sender: No OFD packet to send [18:02:50]OFD Sender: No OFD packet to send [18:02:55]OFD Sender: No OFD packet to send [18:03:00]OFD Sender: No OFD packet to send [18:03:05]OFD Sender: No OFD packet to send [18:03:10]OFD Sender: No OFD packet to send [18:03:15]OFD Sender: No OFD packet to send [18:03:20]OFD Sender: No OFD packet to send [18:03:25]OFD Sender: No OFD packet to send [18:03:30]OFD Sender: No OFD packet to send [18:03:35]OFD Sender: No OFD packet to send [18:03:40]OFD Sender: No OFD packet to send [18:03:45]OFD Sender: No OFD packet to send [18:03:50]OFD Sender: No OFD packet to send [18:03:55]OFD Sender: No OFD packet to send [18:04:00]OFD Sender: No OFD packet to send [18:04:05]OFD Sender: No OFD packet to send [18:04:10]OFD Sender: No OFD packet to send [18:04:15]OFD Sender: No OFD packet to send [18:04:20]OFD Sender: No OFD packet to send [18:04:25]OFD Sender: No OFD packet to send [18:04:30]OFD Sender: No OFD packet to send [18:04:35]OFD Sender: No OFD packet to send [18:04:40]OFD Sender: No OFD packet to send [18:04:45]OFD Sender: No OFD packet to send [18:04:50]OFD Sender: No OFD packet to send [18:04:55]OFD Sender: No OFD packet to send [18:05:00]OFD Sender: No OFD packet to send [18:05:05]OFD Sender: No OFD packet to send [18:05:10]OFD Sender: No OFD packet to send [18:05:15]OFD Sender: No OFD packet to send [18:05:20]OFD Sender: No OFD packet to send [18:05:25]OFD Sender: No OFD packet to send [18:05:30]OFD Sender: No OFD packet to send [18:05:35]OFD Sender: No OFD packet to send [18:05:40]OFD Sender: No OFD packet to send [18:05:45]OFD Sender: No OFD packet to send [18:05:50]OFD Sender: No OFD packet to send [18:05:55]OFD Sender: No OFD packet to send [18:06:00]OFD Sender: No OFD packet to send [18:06:05]OFD Sender: No OFD packet to send [18:06:10]OFD Sender: No OFD packet to send [18:06:15]OFD Sender: No OFD packet to send [18:06:20]OFD Sender: No OFD packet to send [18:06:25]OFD Sender: No OFD packet to send [18:06:30]OFD Sender: No OFD packet to send [18:06:35]OFD Sender: No OFD packet to send [18:06:40]OFD Sender: No OFD packet to send [18:06:45]OFD Sender: No OFD packet to send [18:06:50]OFD Sender: No OFD packet to send [18:06:55]OFD Sender: No OFD packet to send [18:07:00]OFD Sender: No OFD packet to send [18:07:05]OFD Sender: No OFD packet to send [18:07:10]OFD Sender: No OFD packet to send [18:07:15]OFD Sender: No OFD packet to send [18:07:20]OFD Sender: No OFD packet to send [18:07:25]OFD Sender: No OFD packet to send [18:07:30]OFD Sender: No OFD packet to send [18:07:35]OFD Sender: No OFD packet to send [18:07:40]OFD Sender: No OFD packet to send [18:07:45]OFD Sender: No OFD packet to send [18:07:50]OFD Sender: No OFD packet to send [18:07:55]OFD Sender: No OFD packet to send [18:08:00]OFD Sender: No OFD packet to send [18:08:05]OFD Sender: No OFD packet to send [18:08:10]OFD Sender: No OFD packet to send [18:08:15]OFD Sender: No OFD packet to send [18:08:20]OFD Sender: No OFD packet to send [18:08:25]OFD Sender: No OFD packet to send [18:08:30]OFD Sender: No OFD packet to send [18:08:35]OFD Sender: No OFD packet to send [18:08:40]OFD Sender: No OFD packet to send [18:08:45]OFD Sender: No OFD packet to send [18:08:50]OFD Sender: No OFD packet to send [18:08:55]OFD Sender: No OFD packet to send [18:09:00]OFD Sender: No OFD packet to send [18:09:05]OFD Sender: No OFD packet to send [18:09:10]OFD Sender: No OFD packet to send [18:09:15]OFD Sender: No OFD packet to send [18:09:15]accept exits with 7 [18:09:15]New connection [18:09:15]New thread 3067592036 created [18:09:15]Thread 3067448676 joined [18:09:15]Waiting for new connection... [18:09:15] Sock 7.Parse request [18:09:15]Sock 7.Check first char [18:09:15]Sock 7.First char is OK [18:09:15]request: POST /json_proto HTTP/1.0 [18:09:15]Method: POST [18:09:15]URL: /json_proto [18:09:15]Method is POST - this is cgi request [18:09:15]url: /json_proto [18:09:15]query_string will be loaded in cgi processing [18:09:15]execute_cgi json_proto POST (null) [18:09:15]execute_cgi path=json_proto method=POST [18:09:15]POST find Content-Length [18:09:15]Host: 172.17.39.4:8080 [18:09:15]Content-Length: 815 [18:09:15]Content-Type: application/json [18:09:15] [18:09:15]POST finish read [18:09:15]Found Content-Length = 815 [18:09:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129533", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:09:15]execute_script... [18:09:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129533", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [18:09:15]POST & json_proto [18:09:15]process_json_proto [18:09:15]json parsed OK: [18:09:15]protocol is kg_v1.0 [18:09:15]action value=close_receipt [18:09:15]process_action close_receipt [18:09:15]cmd_close_receipt [18:09:15]MH_GetDate [18:09:15]Write to MH i2c: F0 00 00 C2 0E BF [18:09:15]Write i2c OK [18:09:15]MH_I2C_Read... [18:09:15]Read from MH i2c: F0 [18:09:15]MH_I2C_Read... [18:09:15]Read from MH i2c: F0 09 00 [18:09:15]MH_I2C_Read... [18:09:15]Read from MH i2c: F0 09 00 C2 0E 00 4D 14 94 66 2D 25 5D 64 36 [18:09:15]GetLastDocTimeStamp 1720979438 [18:09:15]current date 1720980557 [18:09:15]FM_GetShiftState [18:09:15]SAM_PROTO_GetShiftState [18:09:15]wFMCommunicate request_size=4 [18:09:15]MH_SAM_APDU [18:09:15]CAPDU: 80 13 01 00 [18:09:15]Write to MH i2c: E2 08 00 C3 0E 80 13 01 00 00 00 00 00 4E [18:09:15]Write i2c OK [18:09:15]MH_I2C_Read... [18:09:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:15]Read from MH i2c: E2 [18:09:15]MH_I2C_Read... [18:09:15]Read from MH i2c: E2 0E 00 [18:09:15]MH_I2C_Read... [18:09:15]Read from MH i2c: E2 0E 00 C3 0E 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 F5 [18:09:15]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [18:09:15]wFMCommunicate OK [18:09:15]SAM_PROTO_GetShiftState done [18:09:15]FM_GetShiftState done [18:09:15]opened in 1720917126 [18:09:15]opened+sec_in_day 1721003526 [18:09:15]quantity*price = 11000 [18:09:15]sum+1 = 11001 [18:09:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 110.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 89 14.07.2024 18:09 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57072 ФПД: 249070886993437 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T180918&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57072&fm=249070886993437&tin=02508201610067®Number=0000000000091208&sum=11000 0 [18:09:16]StoreToDocumentArchive [18:09:16]shift 496 fd 57072 [18:09:16]save to /storage/0496/doc_00057072 [18:09:16]save last doc name /storage/0496/doc_00057072 to /storage/kkm_last_doc_name [18:09:16]save OK [18:09:16]Clear old archive folders... [18:09:16]ProcessDocumentItem done err = 0, tmpTLVsize=303 [18:09:16]tlvbuf is 00FD50C0 [18:09:16]SAM_PROTO_ClearQueue [18:09:16]wFMCommunicate request_size=4 [18:09:16]MH_SAM_APDU [18:09:16]CAPDU: 80 09 00 00 [18:09:16]Write to MH i2c: E2 08 00 D0 0E 80 09 00 00 00 00 00 00 50 [18:09:16]Write i2c OK [18:09:16]MH_I2C_Read... [18:09:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [18:09:16]Read from MH i2c: E2 [18:09:16]MH_I2C_Read... [18:09:16]Read from MH i2c: E2 03 00 [18:09:16]MH_I2C_Read... [18:09:16]Read from MH i2c: E2 03 00 D0 0E 00 90 00 52 [18:09:16]RAPDU: 90 00 [18:09:16]wFMCommunicate OK [18:09:16]SAM_PROTO_ClearQueue done [18:09:16]KKMCreateOFDPacket [18:09:16]OFDProtocolAddRootSTLVToBuf [18:09:16]FM_MakeSignedData [18:09:16]FM_MakeSignedData [18:09:16]SAM_PROTO_SignData [18:09:16]wFMCommunicate request_size=4 [18:09:16]MH_SAM_APDU [18:09:16]CAPDU: 80 0D 01 02 [18:09:16]Write to MH i2c: E2 08 00 D1 0E 80 0D 01 02 00 00 00 00 58 [18:09:16]Write i2c OK [18:09:16]MH_I2C_Read... [18:09:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [18:09:16]Read from MH i2c: E2 [18:09:16]MH_I2C_Read... [18:09:16]Read from MH i2c: E2 03 00 [18:09:16]MH_I2C_Read... [18:09:16]Read from MH i2c: E2 03 00 D1 0E 00 90 00 53 [18:09:16]RAPDU: 90 00 [18:09:16]wFMCommunicate OK [18:09:16]wFMCommunicate request_size=255 [18:09:16]MH_SAM_APDU [18:09:16]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 4E 14 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D [18:09:16]Write to MH i2c: E2 02 01 D2 0E 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 4E 14 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 00 00 EE [18:09:16]Write i2c OK [18:09:16]MH_I2C_Read... [18:09:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:17]Read from MH i2c: E2 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: E2 03 00 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: E2 03 00 D2 0E 00 90 00 54 [18:09:17]RAPDU: 90 00 [18:09:17]wFMCommunicate OK [18:09:17]wFMCommunicate request_size=62 [18:09:17]MH_SAM_APDU [18:09:17]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F0 DE 00 00 35 04 06 00 E2 87 55 BE 3E 1D [18:09:17]Write to MH i2c: E2 41 00 D3 0E 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F0 DE 00 00 35 04 06 00 E2 87 55 BE 3E 1D 00 00 3D [18:09:17]Write i2c OK [18:09:17]MH_I2C_Read... [18:09:17]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [18:09:17]Read from MH i2c: E2 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: E2 03 00 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: E2 03 00 D3 0E 00 90 00 55 [18:09:17]RAPDU: 90 00 [18:09:17]wFMCommunicate OK [18:09:17]wFMCommunicate request_size=4 [18:09:17]MH_SAM_APDU [18:09:17]CAPDU: 80 0D 03 02 [18:09:17]Write to MH i2c: E2 08 00 D4 0E 80 0D 03 02 00 00 00 00 5D [18:09:17]Write i2c OK [18:09:17]MH_I2C_Read... [18:09:17]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [18:09:17]Read from MH i2c: E2 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: E2 0B 00 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: E2 0B 00 D4 0E 00 81 CD 78 85 D1 71 29 8A 90 00 9E [18:09:17]RAPDU: 81 CD 78 85 D1 71 29 8A 90 00 [18:09:17]wFMCommunicate OK [18:09:17]SAM_PROTO_SignData done [18:09:17]FM_MakeSignedData done [18:09:17]CreateOFDProtocolMessage [18:09:17]wFMCommunicate request_size=4 [18:09:17]MH_SAM_APDU [18:09:17]CAPDU: 80 11 00 00 [18:09:17]Write to MH i2c: E2 08 00 D5 0E 80 11 00 00 00 00 00 00 5D [18:09:17]Write i2c OK [18:09:17]MH_I2C_Read... [18:09:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:17]Read from MH i2c: E2 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: E2 17 00 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: E2 17 00 D5 0E 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B7 [18:09:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:09:17]wFMCommunicate OK [18:09:17]CreateOFDProtocolMessage done [18:09:17]OFDSenderStorePacket 57072 [18:09:17]StoreOFDPacket docnum=57072 [18:09:17]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 43 01 00 00 DF 9B 3B 01 BA 4F 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 4E 14 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F0 DE 00 00 35 04 06 00 E2 87 55 BE 3E 1D 81 CD 78 85 D1 71 29 8A [18:09:17]CheckFolder [18:09:17]dirname=/storage/ofd_packets [18:09:17]CheckFolder done [18:09:17]ProducePacketName [18:09:17]name=ofd_packets/00057072 [18:09:17]NVStorageSaveData ofd_packets/00057072 [18:09:17]File name is /storage/ofd_packets/00057072 [18:09:17]Write 353 bytes [18:09:17]NVStorageSaveData done [18:09:17]OFDSenderStorePacket done [18:09:17]KKMCreateOFDPacket done [18:09:17]NVStorageSaveData kkm_last_timestamp [18:09:17]File name is /storage/kkm_last_timestamp [18:09:17]Write 4 bytes [18:09:17]NVStorageSaveData done [18:09:17]ExternCall_PrintAddStr [18:09:17]wPrintStart [18:09:17]Write to MH i2c: 01 00 00 D6 0E E4 [18:09:17]Write i2c OK [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: 01 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: 01 07 00 [18:09:17]MH_I2C_Read... [18:09:17]Read from MH i2c: 01 07 00 D6 0E 00 00 00 00 00 FF 0F F9 [18:09:17]RasterBufferAndPrint [18:09:17]line Счет N : (3)129533 [18:09:17]line ИНН: 02508201610067 [18:09:17]line Контрольно-Кассовый Чек [18:09:17]line ПРОДАЖА [18:09:17]line Товар: 4870202521216 [18:09:17]line Напиток MAXI чай 1,2 зел.лимон (новый) [18:09:17]line 1.000 * 110.00 [18:09:17]line = 110.00 [18:09:17]line НДС 12% НСП 1% [18:09:17]line > о реализуемом товаре [18:09:17]line ИТОГО: 110.00 [18:09:17]line НСП 1% : 0.97 [18:09:17]line НДС 12% : 11.68 [18:09:17]line Наличными: 110.00 [18:09:17]line Безнал.: 0.00 [18:09:17]line Место: АЗС № 132 "Партнер Нефть" [18:09:17]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [18:09:17]line СНО: Общий режим [18:09:17]line Чек 89 14.07.2024 18:09 [18:09:17]line Смена: 496 ФФД: 1.0 [18:09:17]line ЗНМ: 0300000132 [18:09:17]line РНМ: 0000000000091208 [18:09:17]line Версия ККМ: 001 [18:09:17]line ФМ: 0000000000874857 [18:09:17]line ФД: 57072 [18:09:17]line ФПД: 249070886993437 [18:09:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T180918&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57072&fm=249070886993437&tin=02508201610067®Number=0000000000091208&sum=11000 [18:09:17]line 0 [18:09:17]OFD Sender: Processing packet 57072 [packets to send 38, broken 37] [18:09:17]ProducePacketName [18:09:17]name=ofd_packets/00057072 [18:09:17]OFD Sender: To server: pG, [18:09:17]CommunicateWithHost lk.salyk.kg:30040 [18:09:17]ConnectInit lk.salyk.kg [18:09:17]written 0, free lines is 4095 [18:09:17]Connected sock=10 [18:09:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 43 01 00 00 DF 9B 3B 01 BA 4F 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 F8 2A 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 4E 14 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F0 DE 00 00 35 04 06 00 E2 87 55 BE 3E 1D 81 CD 78 85 D1 71 29 8A [18:09:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 55 BF 47 00 43 56 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F0 DE 00 00 F4 03 04 00 9E BA 93 66 B6 04 01 00 00 CB 51 0A 55 AD 6F E2 57 [18:09:18]CommunicateWithHost err = 0 [18:09:18]CheckOFDResponse [18:09:18]1017 (14) - 77093643461234 [18:09:18]1041 (16) - 0000000000874857 [18:09:18]1040 (4) - 57072 [18:09:18]1012 (4) - 14.07.2024 11:46 [18:09:18]1206 (1) - 0 [18:09:18]OFD Sender: Remove packet 57072 [18:09:18]ProducePacketName [18:09:18]name=ofd_packets/00057072 [18:09:18]NVStorageDeleteData [18:09:18]Write to MH i2c: 01 00 00 FF 0E 0D [18:09:18]Write i2c OK [18:09:18]MH_I2C_Read... [18:09:18]Read from MH i2c: 01 [18:09:18]MH_I2C_Read... [18:09:18]Read from MH i2c: 01 07 00 [18:09:18]MH_I2C_Read... [18:09:18]Read from MH i2c: 01 07 00 FF 0E 00 00 00 00 00 FE 0C 1E [18:09:18]RasterBufferAndPrint [18:09:18]line [18:09:18]line [18:09:18]line [18:09:18]line [18:09:18]line [18:09:18]written 0, free lines is 3332 [18:09:18]MH_Cut [18:09:18]Write to MH i2c: D1 01 00 06 0F 01 E7 [18:09:18]Write i2c OK [18:09:18]MH_I2C_Read... [18:09:18]Read from MH i2c: D1 [18:09:18]MH_I2C_Read... [18:09:18]Read from MH i2c: D1 01 00 [18:09:18]MH_I2C_Read... [18:09:18]Read from MH i2c: D1 01 00 06 0F 00 E6 [18:09:18]Write to MH i2c: 01 00 00 07 0F 16 [18:09:18]Write i2c OK [18:09:18]MH_I2C_Read... [18:09:18]OFD Sender: No OFD packet to send [18:09:18]*** Cut start [18:09:18]*** Partial cut [18:09:18]*** CUTSNS_PIN = 1 [18:09:18]*** CUTSNS_PIN = 0 [18:09:19]*** Brake cut motor [18:09:19]Read from MH i2c: 01 [18:09:19]*** Stop cut motor [18:09:19]*** Cut end [18:09:19]MH_I2C_Read... [18:09:19]Read from MH i2c: 01 07 00 [18:09:19]MH_I2C_Read... [18:09:19]Read from MH i2c: 01 07 00 07 0F 00 00 00 00 00 FF 0F 2B [18:09:19]process_action close_receipt done [18:09:19]requested_data is exist [18:09:19]produce_requested_data [18:09:19]requested_item fm.sn is exist - process it [18:09:19]wFMCommunicate request_size=4 [18:09:19]MH_SAM_APDU [18:09:19]CAPDU: 80 11 00 00 [18:09:19]Write to MH i2c: E2 08 00 08 0F 80 11 00 00 00 00 00 00 91 [18:09:19]Write i2c OK [18:09:19]MH_I2C_Read... [18:09:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [18:09:19]Read from MH i2c: E2 [18:09:19]MH_I2C_Read... [18:09:19]Read from MH i2c: E2 17 00 [18:09:19]MH_I2C_Read... [18:09:19]Read from MH i2c: E2 17 00 08 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 EB [18:09:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [18:09:19]wFMCommunicate OK [18:09:19]requested_item fd.num is exist - process it [18:09:19]SAM_PROTO_GetFieldsCounters [18:09:19]wFMCommunicate request_size=4 [18:09:19]MH_SAM_APDU [18:09:19]CAPDU: 80 13 00 00 [18:09:19]Write to MH i2c: E2 08 00 09 0F 80 13 00 00 00 00 00 00 94 [18:09:19]Write i2c OK [18:09:19]MH_I2C_Read... [18:09:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [18:09:19]Read from MH i2c: E2 [18:09:19]MH_I2C_Read... [18:09:19]Read from MH i2c: E2 62 00 [18:09:19]MH_I2C_Read... [18:09:19]Read from MH i2c: E2 62 00 09 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F0 DE 00 00 0E 04 04 00 F0 01 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 81 [18:09:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F0 DE 00 00 0E 04 04 00 F0 01 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 [18:09:19]wFMCommunicate OK [18:09:19]SAM_PROTO_GetFieldsCounters done [18:09:19]requested_item shift.num is exist - process it [18:09:19]requested_item shift.opened is exist - process it [18:09:19]req_shift_opened [18:09:19]FM_GetShiftState [18:09:19]SAM_PROTO_GetShiftState [18:09:19]wFMCommunicate request_size=4 [18:09:19]MH_SAM_APDU [18:09:19]CAPDU: 80 13 01 00 [18:09:19]Write to MH i2c: E2 08 00 0A 0F 80 13 01 00 00 00 00 00 96 [18:09:19]Write i2c OK [18:09:19]MH_I2C_Read... [18:09:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [18:09:19]Read from MH i2c: E2 [18:09:19]MH_I2C_Read... [18:09:19]Read from MH i2c: E2 0E 00 [18:09:19]MH_I2C_Read... [18:09:19]Read from MH i2c: E2 0E 00 0A 0F 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 3D [18:09:19]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [18:09:19]wFMCommunicate OK [18:09:19]SAM_PROTO_GetShiftState done [18:09:19]FM_GetShiftState done [18:09:19]req_shift_opened done [18:09:19]requested_item shift.open_date is exist - process it [18:09:19]req_shift_open_date [18:09:19]req_shift_open_date done [18:09:19]requested_item shift.sale.total is exist - process it [18:09:19]SAM_PROTO_GetShiftData [18:09:19]wFMCommunicate request_size=4 [18:09:19]MH_SAM_APDU [18:09:19]CAPDU: 80 13 02 00 [18:09:19]Write to MH i2c: E2 08 00 0B 0F 80 13 02 00 00 00 00 00 98 [18:09:19]Write i2c OK [18:09:19]MH_I2C_Read... [18:09:20]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [18:09:20]Read from MH i2c: E2 [18:09:20]MH_I2C_Read... [18:09:20]Read from MH i2c: E2 FD 00 [18:09:20]MH_I2C_Read... [18:09:20]Read from MH i2c: E2 FD 00 0B 0F 00 BB 04 AA 04 B7 04 6E 04 04 00 59 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 DC 49 2F 70 04 03 00 10 D9 25 72 04 03 00 CC 70 09 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 A6 05 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 18 6B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 9B [18:09:20]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 59 00 00 00 69 04 9B 00 6F 04 04 00 57 00 00 00 B1 04 03 00 DC 49 2F 70 04 03 00 10 D9 25 72 04 03 00 CC 70 09 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 A6 05 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 18 6B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [18:09:20]wFMCommunicate OK [18:09:20]wFMCommunicate request_size=4 [18:09:20]MH_SAM_APDU [18:09:20]CAPDU: 80 17 00 00 [18:09:20]Write to MH i2c: E2 08 00 0C 0F 80 17 00 00 00 00 00 00 9B [18:09:20]Write i2c OK [18:09:20]MH_I2C_Read... [18:09:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:09:20]Read from MH i2c: E2 [18:09:20]MH_I2C_Read... [18:09:20]Read from MH i2c: E2 FD 00 [18:09:20]MH_I2C_Read... [18:09:20]Read from MH i2c: E2 FD 00 0C 0F 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2E [18:09:20]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:09:20]wFMCommunicate OK [18:09:20]wFMCommunicate request_size=4 [18:09:20]MH_SAM_APDU [18:09:20]CAPDU: 80 17 00 00 [18:09:20]Write to MH i2c: E2 08 00 0D 0F 80 17 00 00 00 00 00 00 9C [18:09:20]Write i2c OK [18:09:20]MH_I2C_Read... [18:09:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:09:20]Read from MH i2c: E2 [18:09:20]MH_I2C_Read... [18:09:20]Read from MH i2c: E2 FD 00 [18:09:20]MH_I2C_Read... [18:09:20]Read from MH i2c: E2 FD 00 0D 0F 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C8 [18:09:20]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [18:09:20]wFMCommunicate OK [18:09:20]wFMCommunicate request_size=4 [18:09:20]MH_SAM_APDU [18:09:20]CAPDU: 80 17 00 00 [18:09:20]Write to MH i2c: E2 08 00 0E 0F 80 17 00 00 00 00 00 00 9D [18:09:20]Write i2c OK [18:09:20]MH_I2C_Read... [18:09:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [18:09:21]Read from MH i2c: E2 [18:09:21]MH_I2C_Read... [18:09:21]Read from MH i2c: E2 FD 00 [18:09:21]MH_I2C_Read... [18:09:21]Read from MH i2c: E2 FD 00 0E 0F 00 00 00 EF 03 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 90 00 12 [18:09:21]RAPDU: 00 00 EF 03 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 90 00 [18:09:21]wFMCommunicate OK [18:09:21]wFMCommunicate request_size=4 [18:09:21]MH_SAM_APDU [18:09:21]CAPDU: 80 17 00 00 [18:09:21]Write to MH i2c: E2 08 00 0F 0F 80 17 00 00 00 00 00 00 9E [18:09:21]Write i2c OK [18:09:21]MH_I2C_Read... [18:09:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [18:09:21]Read from MH i2c: E2 [18:09:21]MH_I2C_Read... [18:09:21]Read from MH i2c: E2 D8 00 [18:09:21]MH_I2C_Read... [18:09:21]Read from MH i2c: E2 D8 00 0F 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [18:09:21]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [18:09:21]wFMCommunicate OK [18:09:21]SAM_PROTO_GetShiftData done [18:09:21]requested_item shift.sale.total_cash is exist - process it [18:09:21]requested_item shift.sale_refund.total is exist - process it [18:09:21]requested_item shift.sale_refund.total_cash is exist - process it [18:09:21]produce_requested_data done [18:09:21]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57072,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30991.00,"shift.sale.total_cash":24804.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [18:09:21]process_action_free close_receipt [18:09:21]json_value_free [18:09:21]json_value_free done [18:09:21]process_json_proto returns [18:09:21]Send response to host [18:09:21]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57072,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":30991.00,"shift.sale.total_cash":24804.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [18:09:21]free response buf [18:09:21]execute_script done [18:09:21]execute_script returns [18:09:21]free content buf [18:09:21]Sock 7.Close socket [18:09:21]Sock 7.Thread stoped [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:03]OFD Sender: No OFD packet to send [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:08]OFD Sender: No OFD packet to send [18:15:13]OFD Sender: No OFD packet to send [18:15:18]OFD Sender: No OFD packet to send [18:15:23]OFD Sender: No OFD packet to send [18:15:28]OFD Sender: No OFD packet to send [18:15:33]OFD Sender: No OFD packet to send [18:15:38]OFD Sender: No OFD packet to send [18:15:43]OFD Sender: No OFD packet to send [18:15:48]OFD Sender: No OFD packet to send [18:15:53]OFD Sender: No OFD packet to send [18:15:58]OFD Sender: No OFD packet to send [18:16:03]OFD Sender: No OFD packet to send [18:16:08]OFD Sender: No OFD packet to send [18:16:13]OFD Sender: No OFD packet to send [18:16:18]OFD Sender: No OFD packet to send [18:16:23]OFD Sender: No OFD packet to send [18:16:28]OFD Sender: No OFD packet to send [18:16:33]OFD Sender: No OFD packet to send [18:16:38]OFD Sender: No OFD packet to send [18:16:43]OFD Sender: No OFD packet to send [18:16:48]OFD Sender: No OFD packet to send [18:16:53]OFD Sender: No OFD packet to send [18:16:58]OFD Sender: No OFD packet to send [18:17:03]OFD Sender: No OFD packet to send [18:17:08]OFD Sender: No OFD packet to send [18:17:13]OFD Sender: No OFD packet to send [18:17:18]OFD Sender: No OFD packet to send [18:17:23]OFD Sender: No OFD packet to send [18:17:28]OFD Sender: No OFD packet to send [18:17:33]OFD Sender: No OFD packet to send [18:17:38]OFD Sender: No OFD packet to send [18:17:43]OFD Sender: No OFD packet to send [18:17:48]OFD Sender: No OFD packet to send [18:17:54]OFD Sender: No OFD packet to send [18:17:59]OFD Sender: No OFD packet to send [18:18:04]OFD Sender: No OFD packet to send [18:18:09]OFD Sender: No OFD packet to send [18:18:14]OFD Sender: No OFD packet to send [18:18:19]OFD Sender: No OFD packet to send [18:18:24]OFD Sender: No OFD packet to send [18:18:29]OFD Sender: No OFD packet to send [18:18:34]OFD Sender: No OFD packet to send [18:18:39]OFD Sender: No OFD packet to send [18:18:44]OFD Sender: No OFD packet to send [18:18:49]OFD Sender: No OFD packet to send [18:18:54]OFD Sender: No OFD packet to send [18:18:59]OFD Sender: No OFD packet to send [18:19:04]OFD Sender: No OFD packet to send [18:19:09]OFD Sender: No OFD packet to send [18:19:14]OFD Sender: No OFD packet to send [18:19:19]OFD Sender: No OFD packet to send [18:19:24]OFD Sender: No OFD packet to send [18:19:29]OFD Sender: No OFD packet to send [18:19:34]OFD Sender: No OFD packet to send [18:19:39]OFD Sender: No OFD packet to send [18:19:44]OFD Sender: No OFD packet to send [18:19:49]OFD Sender: No OFD packet to send [18:19:54]OFD Sender: No OFD packet to send [18:19:59]OFD Sender: No OFD packet to send [18:20:04]OFD Sender: No OFD packet to send [18:20:09]OFD Sender: No OFD packet to send [18:20:14]OFD Sender: No OFD packet to send [18:20:19]OFD Sender: No OFD packet to send [18:20:24]OFD Sender: No OFD packet to send [18:20:29]OFD Sender: No OFD packet to send [18:20:34]OFD Sender: No OFD packet to send [18:20:39]OFD Sender: No OFD packet to send [18:20:44]OFD Sender: No OFD packet to send [18:20:49]OFD Sender: No OFD packet to send [18:20:54]OFD Sender: No OFD packet to send [18:20:59]OFD Sender: No OFD packet to send [18:21:04]OFD Sender: No OFD packet to send [18:21:09]OFD Sender: No OFD packet to send [18:21:14]OFD Sender: No OFD packet to send [18:21:19]OFD Sender: No OFD packet to send [18:21:24]OFD Sender: No OFD packet to send [18:21:29]OFD Sender: No OFD packet to send [18:21:34]OFD Sender: No OFD packet to send [18:21:39]OFD Sender: No OFD packet to send [18:21:44]OFD Sender: No OFD packet to send [18:21:49]OFD Sender: No OFD packet to send [18:21:54]OFD Sender: No OFD packet to send [18:21:59]OFD Sender: No OFD packet to send [18:22:04]OFD Sender: No OFD packet to send [18:22:09]OFD Sender: No OFD packet to send [18:22:14]OFD Sender: No OFD packet to send [18:22:19]OFD Sender: No OFD packet to send [18:22:24]OFD Sender: No OFD packet to send [18:22:29]OFD Sender: No OFD packet to send [18:22:34]OFD Sender: No OFD packet to send [18:22:39]OFD Sender: No OFD packet to send [18:22:44]OFD Sender: No OFD packet to send [18:22:49]OFD Sender: No OFD packet to send [18:22:54]OFD Sender: No OFD packet to send [18:22:59]OFD Sender: No OFD packet to send [18:23:04]OFD Sender: No OFD packet to send [18:23:09]OFD Sender: No OFD packet to send [18:23:14]OFD Sender: No OFD packet to send [18:23:19]OFD Sender: No OFD packet to send [18:23:24]OFD Sender: No OFD packet to send [18:23:29]OFD Sender: No OFD packet to send [18:23:34]OFD Sender: No OFD packet to send [18:23:39]OFD Sender: No OFD packet to send [18:23:44]OFD Sender: No OFD packet to send [18:23:49]OFD Sender: No OFD packet to send [18:23:54]OFD Sender: No OFD packet to send [18:23:59]OFD Sender: No OFD packet to send [18:24:04]OFD Sender: No OFD packet to send [18:24:09]OFD Sender: No OFD packet to send [18:24:14]OFD Sender: No OFD packet to send [18:24:19]OFD Sender: No OFD packet to send [18:24:24]OFD Sender: No OFD packet to send [18:24:29]OFD Sender: No OFD packet to send [18:24:34]OFD Sender: No OFD packet to send [18:24:39]OFD Sender: No OFD packet to send [18:24:44]OFD Sender: No OFD packet to send [18:24:49]OFD Sender: No OFD packet to send [18:24:54]OFD Sender: No OFD packet to send [18:24:59]OFD Sender: No OFD packet to send [18:25:04]OFD Sender: No OFD packet to send [18:25:09]OFD Sender: No OFD packet to send [18:25: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:09]OFD Sender: No OFD packet to send [18:26:14]OFD Sender: No OFD packet to send [18:26:19]OFD Sender: No OFD packet to send [18:26:24]OFD Sender: No OFD packet to send [18:26:29]OFD Sender: No OFD packet to send [18:26:34]OFD Sender: No OFD packet to send [18:26:39]OFD Sender: No OFD packet to send [18:26:44]OFD Sender: No OFD packet to send [18:26:49]OFD Sender: No OFD packet to send [18:26:54]OFD Sender: No OFD packet to send [18:26:59]OFD Sender: No OFD packet to send [18:27:04]OFD Sender: No OFD packet to send [18:27:09]OFD Sender: No OFD packet to send [18:27:14]OFD Sender: No OFD packet to send [18:27:19]OFD Sender: No OFD packet to send [18:27:24]OFD Sender: No OFD packet to send [18:27:29]OFD Sender: No OFD packet to send [18:27:34]OFD Sender: No OFD packet to send [18:27:39]OFD Sender: No OFD packet to send [18:27:44]OFD Sender: No OFD packet to send [18:27:49]OFD Sender: No OFD packet to send [18:27:54]OFD Sender: No OFD packet to send [18:27:59]OFD Sender: No OFD packet to send [18:28:04]OFD Sender: No OFD packet to send [18:28:09]OFD Sender: No OFD packet to send [18:28:14]OFD Sender: No OFD packet to send [18:28:19]OFD Sender: No OFD packet to send [18:28:24]OFD Sender: No OFD packet to send [18:28:29]OFD Sender: No OFD packet to send [18:28:34]OFD Sender: No OFD packet to send [18:28:39]OFD Sender: No OFD packet to send [18:28:44]OFD Sender: No OFD packet to send [18:28:49]OFD Sender: No OFD packet to send [18:28:54]OFD Sender: No OFD packet to send [18:28:59]OFD Sender: No OFD packet to send [18:29:04]OFD Sender: No OFD packet to send [18:29:09]OFD Sender: No OFD packet to send [18:29:14]OFD Sender: No OFD packet to send [18:29:19]OFD Sender: No OFD packet to send [18:29:24]OFD Sender: No OFD packet to send [18:29:29]OFD Sender: No OFD packet to send [18:29:34]OFD Sender: No OFD packet to send [18:29:39]OFD Sender: No OFD packet to send [18:29:44]OFD Sender: No OFD packet to send [18:29:49]OFD Sender: No OFD packet to send [18:29:54]OFD Sender: No OFD packet to send [18:29:59]OFD Sender: No OFD packet to send [18:30:04]OFD Sender: No OFD packet to send [18:30:09]OFD Sender: No OFD packet to send [18:30:14]OFD Sender: No OFD packet to send [18:30:19]OFD Sender: No OFD packet to send [18:30:24]OFD Sender: No OFD packet to send [18:30:29]OFD Sender: No OFD packet to send [18:30:34]OFD Sender: No OFD packet to send [18:30:39]OFD Sender: No OFD packet to send [18:30:44]OFD Sender: No OFD packet to send [18:30:49]OFD Sender: No OFD packet to send [18:30:54]OFD Sender: No OFD packet to send [18:30:59]OFD Sender: No OFD packet to send [18:31:04]OFD Sender: No OFD packet to send [18:31:09]OFD Sender: No OFD packet to send [18:31:14]OFD Sender: No OFD packet to send [18:31:19]OFD Sender: No OFD packet to send [18:31:24]OFD Sender: No OFD packet to send [18:31:29]OFD Sender: No OFD packet to send [18:31:34]OFD Sender: No OFD packet to send [18:31:39]OFD Sender: No OFD packet to send [18:31:44]OFD Sender: No OFD packet to send [18:31:49]OFD Sender: No OFD packet to send [18:31:54]OFD Sender: No OFD packet to send [18:31:59]OFD Sender: No OFD packet to send [18:32:04]OFD Sender: No OFD packet to send [18:32:09]OFD Sender: No OFD packet to send [18:32:14]OFD Sender: No OFD packet to send [18:32:19]OFD Sender: No OFD packet to send [18:32:24]OFD Sender: No OFD packet to send [18:32:29]OFD Sender: No OFD packet to send [18:32:34]OFD Sender: No OFD packet to send [18:32:39]OFD Sender: No OFD packet to send [18:32:44]OFD Sender: No OFD packet to send [18:32:49]OFD Sender: No OFD packet to send [18:32:54]OFD Sender: No OFD packet to send [18:32:59]OFD Sender: No OFD packet to send [18:33:04]OFD Sender: No OFD packet to send [18:33:09]OFD Sender: No OFD packet to send [18:33:14]OFD Sender: No OFD packet to send [18:33:19]OFD Sender: No OFD packet to send [18:33:24]OFD Sender: No OFD packet to send [18:33:29]OFD Sender: No OFD packet to send [18:33:34]OFD Sender: No OFD packet to send [18:33:39]OFD Sender: No OFD packet to send [18:33:44]OFD Sender: No OFD packet to send [18:33:49]OFD Sender: No OFD packet to send [18:33:54]OFD Sender: No OFD packet to send [18:33:59]OFD Sender: No OFD packet to send [18:34:04]OFD Sender: No OFD packet to send [18:34:09]OFD Sender: No OFD packet to send [18:34:14]OFD Sender: No OFD packet to send [18:34:19]OFD Sender: No OFD packet to send [18:34:24]OFD Sender: No OFD packet to send [18:34:29]OFD Sender: No OFD packet to send [18:34:34]OFD Sender: No OFD packet to send [18:34:39]OFD Sender: No OFD packet to send [18:34:44]OFD Sender: No OFD packet to send [18:34:49]OFD Sender: No OFD packet to send [18:34:54]OFD Sender: No OFD packet to send [18:34:59]OFD Sender: No OFD packet to send [18:35:04]OFD Sender: No OFD packet to send [18:35:09]OFD Sender: No OFD packet to send [18:35:14]OFD Sender: No OFD packet to send [18:35:19]OFD Sender: No OFD packet to send [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:50]OFD Sender: No OFD packet to send [18:36:55]OFD Sender: No OFD packet to send [18:37:00]OFD Sender: No OFD packet to send [18:37:05]OFD Sender: No OFD packet to send [18:37:10]OFD Sender: No OFD packet to send [18:37:15]OFD Sender: No OFD packet to send [18:37:20]OFD Sender: No OFD packet to send [18:37:25]OFD Sender: No OFD packet to send [18:37:30]OFD Sender: No OFD packet to send [18:37:35]OFD Sender: No OFD packet to send [18:37:40]OFD Sender: No OFD packet to send [18:37:45]OFD Sender: No OFD packet to send [18:37:50]OFD Sender: No OFD packet to send [18:37:55]OFD Sender: No OFD packet to send [18:38:00]OFD Sender: No OFD packet to send [18:38:05]OFD Sender: No OFD packet to send [18:38:10]OFD Sender: No OFD packet to send [18:38:15]OFD Sender: No OFD packet to send [18:38:20]OFD Sender: No OFD packet to send [18:38:25]OFD Sender: No OFD packet to send [18:38:30]OFD Sender: No OFD packet to send [18:38:35]OFD Sender: No OFD packet to send [18:38:40]OFD Sender: No OFD packet to send [18:38:45]OFD Sender: No OFD packet to send [18:38:50]OFD Sender: No OFD packet to send [18:38:55]OFD Sender: No OFD packet to send [18:39:00]OFD Sender: No OFD packet to send [18:39:05]OFD Sender: No OFD packet to send [18:39:10]OFD Sender: No OFD packet to send [18:39:15]OFD Sender: No OFD packet to send [18:39:20]OFD Sender: No OFD packet to send [18:39:25]OFD Sender: No OFD packet to send [18:39:30]OFD Sender: No OFD packet to send [18:39:35]OFD Sender: No OFD packet to send [18:39:40]OFD Sender: No OFD packet to send [18:39:45]OFD Sender: No OFD packet to send [18:39:50]OFD Sender: No OFD packet to send [18:39:55]OFD Sender: No OFD packet to send [18:40:00]OFD Sender: No OFD packet to send [18:40:05]OFD Sender: No OFD packet to send [18:40:10]OFD Sender: No OFD packet to send [18:40:15]OFD Sender: No OFD packet to send [18:40:20]OFD Sender: No OFD packet to send [18:40:25]OFD Sender: No OFD packet to send [18:40:30]OFD Sender: No OFD packet to send [18:40:35]OFD Sender: No OFD packet to send [18:40:40]OFD Sender: No OFD packet to send [18:40:45]OFD Sender: No OFD packet to send [18:40:50]OFD Sender: No OFD packet to send [18:40:55]OFD Sender: No OFD packet to send [18:41:00]OFD Sender: No OFD packet to send [18:41:05]OFD Sender: No OFD packet to send [18:41:10]OFD Sender: No OFD packet to send [18:41:15]OFD Sender: No OFD packet to send [18:41:20]OFD Sender: No OFD packet to send [18:41:25]OFD Sender: No OFD packet to send [18:41:30]OFD Sender: No OFD packet to send [18:41:35]OFD Sender: No OFD packet to send [18:41:40]OFD Sender: No OFD packet to send [18:41:45]OFD Sender: No OFD packet to send [18:41:50]OFD Sender: No OFD packet to send [18:41:55]OFD Sender: No OFD packet to send [18:42:00]OFD Sender: No OFD packet to send [18:42:05]OFD Sender: No OFD packet to send [18:42:10]OFD Sender: No OFD packet to send [18:42:15]OFD Sender: No OFD packet to send [18:42:20]OFD Sender: No OFD packet to send [18:42:25]OFD Sender: No OFD packet to send [18:42:30]OFD Sender: No OFD packet to send [18:42:35]OFD Sender: No OFD packet to send [18:42:40]OFD Sender: No OFD packet to send [18:42:45]OFD Sender: No OFD packet to send [18:42:50]OFD Sender: No OFD packet to send [18:42:55]OFD Sender: No OFD packet to send [18:43:00]OFD Sender: No OFD packet to send [18:43:05]OFD Sender: No OFD packet to send [18:43:10]OFD Sender: No OFD packet to send [18:43:15]OFD Sender: No OFD packet to send [18:43:20]OFD Sender: No OFD packet to send [18:43:25]OFD Sender: No OFD packet to send [18:43:30]OFD Sender: No OFD packet to send [18:43:35]OFD Sender: No OFD packet to send [18:43:40]OFD Sender: No OFD packet to send [18:43:45]OFD Sender: No OFD packet to send [18:43:50]OFD Sender: No OFD packet to send [18:43:55]OFD Sender: No OFD packet to send [18:44:00]OFD Sender: No OFD packet to send [18:44:05]OFD Sender: No OFD packet to send [18:44:10]OFD Sender: No OFD packet to send [18:44:15]OFD Sender: No OFD packet to send [18:44:20]OFD Sender: No OFD packet to send [18:44:25]OFD Sender: No OFD packet to send [18:44:30]OFD Sender: No OFD packet to send [18:44:35]OFD Sender: No OFD packet to send [18:44:40]OFD Sender: No OFD packet to send [18:44:45]OFD Sender: No OFD packet to send [18:44:50]OFD Sender: No OFD packet to send [18:44:55]OFD Sender: No OFD packet to send [18:45:00]OFD Sender: No OFD packet to send [18:45:05]OFD Sender: No OFD packet to send [18:45:10]OFD Sender: No OFD packet to send [18:45:15]OFD Sender: No OFD packet to send [18:45:20]OFD Sender: No OFD packet to send [18:45:25]OFD Sender: No OFD packet to send [18:45:30]OFD Sender: No OFD packet to send [18:45:35]OFD Sender: No OFD packet to send [18:45:40]OFD Sender: No OFD packet to send [18:45:45]OFD Sender: No OFD packet to send [18:45:50]OFD Sender: No OFD packet to send [18:45:55]OFD Sender: No OFD packet to send [18:46:00]OFD Sender: No OFD packet to send [18:46:05]OFD Sender: No OFD packet to send [18:46:10]OFD Sender: No OFD packet to send [18:46:15]OFD Sender: No OFD packet to send [18:46:20]OFD Sender: No OFD packet to send [18:46:25]OFD Sender: No OFD packet to send [18:46:30]OFD Sender: No OFD packet to send [18:46:35]OFD Sender: No OFD packet to send [18:46:40]OFD Sender: No OFD packet to send [18:46:45]OFD Sender: No OFD packet to send [18:46:50]OFD Sender: No OFD packet to send [18:46:55]OFD Sender: No OFD packet to send [18:47:00]OFD Sender: No OFD packet to send [18:47:05]OFD Sender: No OFD packet to send [18:47:10]OFD Sender: No OFD packet to send [18:47:15]OFD Sender: No OFD packet to send [18:47:20]OFD Sender: No OFD packet to send [18:47:25]OFD Sender: No OFD packet to send [18:47:30]OFD Sender: No OFD packet to send [18:47:35]OFD Sender: No OFD packet to send [18:47:40]OFD Sender: No OFD packet to send [18:47:45]OFD Sender: No OFD packet to send [18:47:50]OFD Sender: No OFD packet to send [18:47:55]OFD Sender: No OFD packet to send [18:48:00]OFD Sender: No OFD packet to send [18:48:05]OFD Sender: No OFD packet to send [18:48:10]OFD Sender: No OFD packet to send [18:48:15]OFD Sender: No OFD packet to send [18:48:20]OFD Sender: No OFD packet to send [18:48:25]OFD Sender: No OFD packet to send [18:48:30]OFD Sender: No OFD packet to send [18:48:35]OFD Sender: No OFD packet to send [18:48:40]OFD Sender: No OFD packet to send [18:48:45]OFD Sender: No OFD packet to send [18:48:50]OFD Sender: No OFD packet to send [18:48:55]OFD Sender: No OFD packet to send [18:49:00]OFD Sender: No OFD packet to send [18:49:05]OFD Sender: No OFD packet to send [18:49:10]OFD Sender: No OFD packet to send [18:49:15]OFD Sender: No OFD packet to send [18:49:20]OFD Sender: No OFD packet to send [18:49:25]OFD Sender: No OFD packet to send [18:49:30]OFD Sender: No OFD packet to send [18:49:35]OFD Sender: No OFD packet to send [18:49:40]OFD Sender: No OFD packet to send [18:49:45]OFD Sender: No OFD packet to send [18:49:50]OFD Sender: No OFD packet to send [18:49:55]OFD Sender: No OFD packet to send [18:50:00]OFD Sender: No OFD packet to send [18:50:05]OFD Sender: No OFD packet to send [18:50:10]OFD Sender: No OFD packet to send [18:50:15]OFD Sender: No OFD packet to send [18:50:20]OFD Sender: No OFD packet to send [18:50:25]OFD Sender: No OFD packet to send [18:50:30]OFD Sender: No OFD packet to send [18:50:35]OFD Sender: No OFD packet to send [18:50:40]OFD Sender: No OFD packet to send [18:50:45]OFD Sender: No OFD packet to send [18:50:50]OFD Sender: No OFD packet to send [18:50:55]OFD Sender: No OFD packet to send [18:51:00]OFD Sender: No OFD packet to send [18:51:05]OFD Sender: No OFD packet to send [18:51:10]OFD Sender: No OFD packet to send [18:51:15]OFD Sender: No OFD packet to send [18:51:20]OFD Sender: No OFD packet to send [18:51:25]OFD Sender: No OFD packet to send [18:51:30]OFD Sender: No OFD packet to send [18:51:35]OFD Sender: No OFD packet to send [18:51:40]OFD Sender: No OFD packet to send [18:51:45]OFD Sender: No OFD packet to send [18:51:50]OFD Sender: No OFD packet to send [18:51:55]OFD Sender: No OFD packet to send [18:52:00]OFD Sender: No OFD packet to send [18:52:05]OFD Sender: No OFD packet to send [18:52:10]OFD Sender: No OFD packet to send [18:52:15]OFD Sender: No OFD packet to send [18:52:20]OFD Sender: No OFD packet to send [18:52:25]OFD Sender: No OFD packet to send [18:52:30]OFD Sender: No OFD packet to send [18:52:35]OFD Sender: No OFD packet to send [18:52:40]OFD Sender: No OFD packet to send [18:52:45]OFD Sender: No OFD packet to send [18:52:50]OFD Sender: No OFD packet to send [18:52:55]OFD Sender: No OFD packet to send [18:53:00]OFD Sender: No OFD packet to send [18:53:05]OFD Sender: No OFD packet to send [18:53:10]OFD Sender: No OFD packet to send [18:53:15]OFD Sender: No OFD packet to send [18:53:20]OFD Sender: No OFD packet to send [18:53:25]OFD Sender: No OFD packet to send [18:53:30]OFD Sender: No OFD packet to send [18:53:35]OFD Sender: No OFD packet to send [18:53:40]OFD Sender: No OFD packet to send [18:53:45]OFD Sender: No OFD packet to send [18:53:50]OFD Sender: No OFD packet to send [18:53:55]OFD Sender: No OFD packet to send [18:54:00]OFD Sender: No OFD packet to send [18:54:05]OFD Sender: No OFD packet to send [18:54:10]OFD Sender: No OFD packet to send [18:54:15]OFD Sender: No OFD packet to send [18:54:20]OFD Sender: No OFD packet to send [18:54:25]OFD Sender: No OFD packet to send [18:54:30]OFD Sender: No OFD packet to send [18:54:35]OFD Sender: No OFD packet to send [18:54:40]OFD Sender: No OFD packet to send [18:54:45]OFD Sender: No OFD packet to send [18:54:50]OFD Sender: No OFD packet to send [18:54:55]OFD Sender: No OFD packet to send [18:55:00]OFD Sender: No OFD packet to send [18:55:05]OFD Sender: No OFD packet to send [18:55:10]OFD Sender: No OFD packet to send [18:55:15]OFD Sender: No OFD packet to send [18:55:20]OFD Sender: No OFD packet to send [18:55:25]OFD Sender: No OFD packet to send [18:55:30]OFD Sender: No OFD packet to send [18:55:35]OFD Sender: No OFD packet to send [18:55:40]OFD Sender: No OFD packet to send [18:55:46]OFD Sender: No OFD packet to send [18:55:51]OFD Sender: No OFD packet to send [18:55:56]OFD Sender: No OFD packet to send [18:56:01]OFD Sender: No OFD packet to send [18:56:06]OFD Sender: No OFD packet to send [18:56:11]OFD Sender: No OFD packet to send [18:56:16]OFD Sender: No OFD packet to send [18:56:21]OFD Sender: No OFD packet to send [18:56:26]OFD Sender: No OFD packet to send [18:56:31]OFD Sender: No OFD packet to send [18:56:36]OFD Sender: No OFD packet to send [18:56:41]OFD Sender: No OFD packet to send [18:56:46]OFD Sender: No OFD packet to send [18:56:51]OFD Sender: No OFD packet to send [18:56:56]OFD Sender: No OFD packet to send [18:57:01]OFD Sender: No OFD packet to send [18:57:06]OFD Sender: No OFD packet to send [18:57:11]OFD Sender: No OFD packet to send [18:57:16]OFD Sender: No OFD packet to send [18:57:21]OFD Sender: No OFD packet to send [18:57:26]OFD Sender: No OFD packet to send [18:57:31]OFD Sender: No OFD packet to send [18:57:36]OFD Sender: No OFD packet to send [18:57:41]OFD Sender: No OFD packet to send [18:57:46]OFD Sender: No OFD packet to send [18:57:51]OFD Sender: No OFD packet to send [18:57:56]OFD Sender: No OFD packet to send [18:58:01]OFD Sender: No OFD packet to send [18:58:06]OFD Sender: No OFD packet to send [18:58:11]OFD Sender: No OFD packet to send [18:58:16]OFD Sender: No OFD packet to send [18:58:21]OFD Sender: No OFD packet to send [18:58:26]OFD Sender: No OFD packet to send [18:58:31]OFD Sender: No OFD packet to send [18:58:36]OFD Sender: No OFD packet to send [18:58:41]OFD Sender: No OFD packet to send [18:58:46]OFD Sender: No OFD packet to send [18:58:51]OFD Sender: No OFD packet to send [18:58:56]OFD Sender: No OFD packet to send [18:59:01]OFD Sender: No OFD packet to send [18:59:06]OFD Sender: No OFD packet to send [18:59:11]OFD Sender: No OFD packet to send [18:59:16]OFD Sender: No OFD packet to send [18:59:21]OFD Sender: No OFD packet to send [18:59:26]OFD Sender: No OFD packet to send [18:59:31]OFD Sender: No OFD packet to send [18:59:36]OFD Sender: No OFD packet to send [18:59:41]OFD Sender: No OFD packet to send [18:59:46]OFD Sender: No OFD packet to send [18:59:51]OFD Sender: No OFD packet to send [18:59:56]OFD Sender: No OFD packet to send [19:00:01]OFD Sender: No OFD packet to send [19:00:06]OFD Sender: No OFD packet to send [19:00:11]OFD Sender: No OFD packet to send [19:00:16]OFD Sender: No OFD packet to send [19:00:21]OFD Sender: No OFD packet to send [19:00:26]OFD Sender: No OFD packet to send [19:00:31]OFD Sender: No OFD packet to send [19:00:36]OFD Sender: No OFD packet to send [19:00:41]OFD Sender: No OFD packet to send [19:00:46]OFD Sender: No OFD packet to send [19:00:51]OFD Sender: No OFD packet to send [19:00:56]OFD Sender: No OFD packet to send [19:01:01]OFD Sender: No OFD packet to send [19:01:06]OFD Sender: No OFD packet to send [19:01:11]OFD Sender: No OFD packet to send [19:01:16]OFD Sender: No OFD packet to send [19:01:21]OFD Sender: No OFD packet to send [19:01:26]OFD Sender: No OFD packet to send [19:01:31]OFD Sender: No OFD packet to send [19:01:36]OFD Sender: No OFD packet to send [19:01:41]OFD Sender: No OFD packet to send [19:01:46]OFD Sender: No OFD packet to send [19:01:51]OFD Sender: No OFD packet to send [19:01:56]OFD Sender: No OFD packet to send [19:02:01]OFD Sender: No OFD packet to send [19:02:06]OFD Sender: No OFD packet to send [19:02:11]OFD Sender: No OFD packet to send [19:02:16]OFD Sender: No OFD packet to send [19:02:21]OFD Sender: No OFD packet to send [19:02:26]OFD Sender: No OFD packet to send [19:02:31]OFD Sender: No OFD packet to send [19:02:36]OFD Sender: No OFD packet to send [19:02:41]OFD Sender: No OFD packet to send [19:02:46]OFD Sender: No OFD packet to send [19:02:51]OFD Sender: No OFD packet to send [19:02:56]OFD Sender: No OFD packet to send [19:03:01]OFD Sender: No OFD packet to send [19:03:06]OFD Sender: No OFD packet to send [19:03:11]OFD Sender: No OFD packet to send [19:03:16]OFD Sender: No OFD packet to send [19:03:21]OFD Sender: No OFD packet to send [19:03:26]OFD Sender: No OFD packet to send [19:03:31]OFD Sender: No OFD packet to send [19:03:36]OFD Sender: No OFD packet to send [19:03:41]OFD Sender: No OFD packet to send [19:03:46]OFD Sender: No OFD packet to send [19:03:51]OFD Sender: No OFD packet to send [19:03:56]OFD Sender: No OFD packet to send [19:04:01]OFD Sender: No OFD packet to send [19:04:06]OFD Sender: No OFD packet to send [19:04:11]OFD Sender: No OFD packet to send [19:04:16]OFD Sender: No OFD packet to send [19:04:21]OFD Sender: No OFD packet to send [19:04:26]OFD Sender: No OFD packet to send [19:04:31]OFD Sender: No OFD packet to send [19:04:36]OFD Sender: No OFD packet to send [19:04:41]OFD Sender: No OFD packet to send [19:04:46]OFD Sender: No OFD packet to send [19:04:51]OFD Sender: No OFD packet to send [19:04:56]OFD Sender: No OFD packet to send [19:05:01]OFD Sender: No OFD packet to send [19:05:06]OFD Sender: No OFD packet to send [19:05:11]OFD Sender: No OFD packet to send [19:05:16]OFD Sender: No OFD packet to send [19:05:21]OFD Sender: No OFD packet to send [19:05:26]OFD Sender: No OFD packet to send [19:05:31]OFD Sender: No OFD packet to send [19:05:36]OFD Sender: No OFD packet to send [19:05:41]OFD Sender: No OFD packet to send [19:05:46]OFD Sender: No OFD packet to send [19:05:51]OFD Sender: No OFD packet to send [19:05:56]OFD Sender: No OFD packet to send [19:06:01]OFD Sender: No OFD packet to send [19:06:06]OFD Sender: No OFD packet to send [19:06:11]OFD Sender: No OFD packet to send [19:06:16]OFD Sender: No OFD packet to send [19:06:21]OFD Sender: No OFD packet to send [19:06:26]OFD Sender: No OFD packet to send [19:06:31]OFD Sender: No OFD packet to send [19:06:36]OFD Sender: No OFD packet to send [19:06:41]OFD Sender: No OFD packet to send [19:06:46]OFD Sender: No OFD packet to send [19:06:51]OFD Sender: No OFD packet to send [19:06:56]OFD Sender: No OFD packet to send [19:07:01]OFD Sender: No OFD packet to send [19:07:06]OFD Sender: No OFD packet to send [19:07:11]OFD Sender: No OFD packet to send [19:07:16]OFD Sender: No OFD packet to send [19:07:21]OFD Sender: No OFD packet to send [19:07:26]OFD Sender: No OFD packet to send [19:07:31]OFD Sender: No OFD packet to send [19:07:36]OFD Sender: No OFD packet to send [19:07:41]OFD Sender: No OFD packet to send [19:07:46]OFD Sender: No OFD packet to send [19:07:51]OFD Sender: No OFD packet to send [19:07:56]OFD Sender: No OFD packet to send [19:08:01]OFD Sender: No OFD packet to send [19:08:06]OFD Sender: No OFD packet to send [19:08:11]OFD Sender: No OFD packet to send [19:08:16]OFD Sender: No OFD packet to send [19:08:21]OFD Sender: No OFD packet to send [19:08:26]OFD Sender: No OFD packet to send [19:08:31]OFD Sender: No OFD packet to send [19:08:36]OFD Sender: No OFD packet to send [19:08:41]OFD Sender: No OFD packet to send [19:08:46]OFD Sender: No OFD packet to send [19:08:51]OFD Sender: No OFD packet to send [19:08:56]OFD Sender: No OFD packet to send [19:09:01]OFD Sender: No OFD packet to send [19:09:06]OFD Sender: No OFD packet to send [19:09:11]OFD Sender: No OFD packet to send [19:09:16]OFD Sender: No OFD packet to send [19:09:21]OFD Sender: No OFD packet to send [19:09:26]OFD Sender: No OFD packet to send [19:09:31]OFD Sender: No OFD packet to send [19:09:36]OFD Sender: No OFD packet to send [19:09:41]OFD Sender: No OFD packet to send [19:09:46]OFD Sender: No OFD packet to send [19:09:51]OFD Sender: No OFD packet to send [19:09:56]OFD Sender: No OFD packet to send [19:10:01]OFD Sender: No OFD packet to send [19:10:06]OFD Sender: No OFD packet to send [19:10:11]OFD Sender: No OFD packet to send [19:10:16]OFD Sender: No OFD packet to send [19:10:21]OFD Sender: No OFD packet to send [19:10:26]OFD Sender: No OFD packet to send [19:10:31]OFD Sender: No OFD packet to send [19:10:36]OFD Sender: No OFD packet to send [19:10:41]OFD Sender: No OFD packet to send [19:10:46]OFD Sender: No OFD packet to send [19:10:51]OFD Sender: No OFD packet to send [19:10:56]OFD Sender: No OFD packet to send [19:11:01]OFD Sender: No OFD packet to send [19:11:06]OFD Sender: No OFD packet to send [19:11:11]OFD Sender: No OFD packet to send [19:11:16]OFD Sender: No OFD packet to send [19:11:21]OFD Sender: No OFD packet to send [19:11:26]OFD Sender: No OFD packet to send [19:11:31]OFD Sender: No OFD packet to send [19:11:36]OFD Sender: No OFD packet to send [19:11:41]OFD Sender: No OFD packet to send [19:11:46]OFD Sender: No OFD packet to send [19:11:51]OFD Sender: No OFD packet to send [19:11:56]OFD Sender: No OFD packet to send [19:12:01]OFD Sender: No OFD packet to send [19:12:06]OFD Sender: No OFD packet to send [19:12:11]OFD Sender: No OFD packet to send [19:12:16]OFD Sender: No OFD packet to send [19:12:21]OFD Sender: No OFD packet to send [19:12:26]OFD Sender: No OFD packet to send [19:12:31]OFD Sender: No OFD packet to send [19:12:36]OFD Sender: No OFD packet to send [19:12:41]OFD Sender: No OFD packet to send [19:12:46]OFD Sender: No OFD packet to send [19:12:51]OFD Sender: No OFD packet to send [19:12:56]OFD Sender: No OFD packet to send [19:13:01]OFD Sender: No OFD packet to send [19:13:06]OFD Sender: No OFD packet to send [19:13:11]OFD Sender: No OFD packet to send [19:13:16]OFD Sender: No OFD packet to send [19:13:21]OFD Sender: No OFD packet to send [19:13:26]OFD Sender: No OFD packet to send [19:13:31]OFD Sender: No OFD packet to send [19:13:36]OFD Sender: No OFD packet to send [19:13:41]OFD Sender: No OFD packet to send [19:13:46]OFD Sender: No OFD packet to send [19:13:51]OFD Sender: No OFD packet to send [19:13:56]OFD Sender: No OFD packet to send [19:14:01]OFD Sender: No OFD packet to send [19:14:06]OFD Sender: No OFD packet to send [19:14:11]OFD Sender: No OFD packet to send [19:14:16]OFD Sender: No OFD packet to send [19:14:21]OFD Sender: No OFD packet to send [19:14:26]OFD Sender: No OFD packet to send [19:14:31]OFD Sender: No OFD packet to send [19:14:36]OFD Sender: No OFD packet to send [19:14:42]OFD Sender: No OFD packet to send [19:14:47]OFD Sender: No OFD packet to send [19:14:52]OFD Sender: No OFD packet to send [19:14:57]OFD Sender: No OFD packet to send [19:15:02]OFD Sender: No OFD packet to send [19:15:07]OFD Sender: No OFD packet to send [19:15:12]OFD Sender: No OFD packet to send [19:15:17]OFD Sender: No OFD packet to send [19:15:22]OFD Sender: No OFD packet to send [19:15:27]OFD Sender: No OFD packet to send [19:15:32]OFD Sender: No OFD packet to send [19:15:37]OFD Sender: No OFD packet to send [19:15:42]OFD Sender: No OFD packet to send [19:15:47]OFD Sender: No OFD packet to send [19:15:52]OFD Sender: No OFD packet to send [19:15:57]OFD Sender: No OFD packet to send [19:16:02]OFD Sender: No OFD packet to send [19:16:07]OFD Sender: No OFD packet to send [19:16:12]OFD Sender: No OFD packet to send [19:16:17]OFD Sender: No OFD packet to send [19:16:22]OFD Sender: No OFD packet to send [19:16:27]OFD Sender: No OFD packet to send [19:16:32]OFD Sender: No OFD packet to send [19:16:37]OFD Sender: No OFD packet to send [19:16:42]OFD Sender: No OFD packet to send [19:16:47]OFD Sender: No OFD packet to send [19:16:52]OFD Sender: No OFD packet to send [19:16:57]OFD Sender: No OFD packet to send [19:17:02]OFD Sender: No OFD packet to send [19:17:07]OFD Sender: No OFD packet to send [19:17:12]OFD Sender: No OFD packet to send [19:17:17]OFD Sender: No OFD packet to send [19:17:22]OFD Sender: No OFD packet to send [19:17:27]OFD Sender: No OFD packet to send [19:17:32]OFD Sender: No OFD packet to send [19:17:37]OFD Sender: No OFD packet to send [19:17:42]OFD Sender: No OFD packet to send [19:17:47]OFD Sender: No OFD packet to send [19:17:52]OFD Sender: No OFD packet to send [19:17:57]OFD Sender: No OFD packet to send [19:18:02]OFD Sender: No OFD packet to send [19:18:07]OFD Sender: No OFD packet to send [19:18:12]OFD Sender: No OFD packet to send [19:18:17]OFD Sender: No OFD packet to send [19:18:22]OFD Sender: No OFD packet to send [19:18:27]OFD Sender: No OFD packet to send [19:18:32]OFD Sender: No OFD packet to send [19:18:37]OFD Sender: No OFD packet to send [19:18:42]OFD Sender: No OFD packet to send [19:18:47]OFD Sender: No OFD packet to send [19:18:52]OFD Sender: No OFD packet to send [19:18:57]OFD Sender: No OFD packet to send [19:19:02]OFD Sender: No OFD packet to send [19:19:07]OFD Sender: No OFD packet to send [19:19:12]OFD Sender: No OFD packet to send [19:19:17]OFD Sender: No OFD packet to send [19:19:22]OFD Sender: No OFD packet to send [19:19:27]OFD Sender: No OFD packet to send [19:19:32]OFD Sender: No OFD packet to send [19:19:37]OFD Sender: No OFD packet to send [19:19:42]OFD Sender: No OFD packet to send [19:19:47]OFD Sender: No OFD packet to send [19:19:52]OFD Sender: No OFD packet to send [19:19:57]OFD Sender: No OFD packet to send [19:20:02]OFD Sender: No OFD packet to send [19:20:07]OFD Sender: No OFD packet to send [19:20:12]OFD Sender: No OFD packet to send [19:20:17]OFD Sender: No OFD packet to send [19:20:22]OFD Sender: No OFD packet to send [19:20:27]OFD Sender: No OFD packet to send [19:20:32]OFD Sender: No OFD packet to send [19:20:37]OFD Sender: No OFD packet to send [19:20:42]OFD Sender: No OFD packet to send [19:20:47]OFD Sender: No OFD packet to send [19:20:52]OFD Sender: No OFD packet to send [19:20:57]OFD Sender: No OFD packet to send [19:21:02]OFD Sender: No OFD packet to send [19:21:07]OFD Sender: No OFD packet to send [19:21:12]OFD Sender: No OFD packet to send [19:21:17]OFD Sender: No OFD packet to send [19:21:22]OFD Sender: No OFD packet to send [19:21:27]OFD Sender: No OFD packet to send [19:21:32]OFD Sender: No OFD packet to send [19:21:37]OFD Sender: No OFD packet to send [19:21:42]OFD Sender: No OFD packet to send [19:21:47]OFD Sender: No OFD packet to send [19:21:52]OFD Sender: No OFD packet to send [19:21:57]OFD Sender: No OFD packet to send [19:22:02]OFD Sender: No OFD packet to send [19:22:07]OFD Sender: No OFD packet to send [19:22:12]OFD Sender: No OFD packet to send [19:22:17]OFD Sender: No OFD packet to send [19:22:22]OFD Sender: No OFD packet to send [19:22:27]OFD Sender: No OFD packet to send [19:22:32]OFD Sender: No OFD packet to send [19:22:37]OFD Sender: No OFD packet to send [19:22:42]OFD Sender: No OFD packet to send [19:22:47]OFD Sender: No OFD packet to send [19:22:52]OFD Sender: No OFD packet to send [19:22:57]OFD Sender: No OFD packet to send [19:23:02]OFD Sender: No OFD packet to send [19:23:07]OFD Sender: No OFD packet to send [19:23:12]OFD Sender: No OFD packet to send [19:23:17]OFD Sender: No OFD packet to send [19:23:22]OFD Sender: No OFD packet to send [19:23:27]OFD Sender: No OFD packet to send [19:23:32]OFD Sender: No OFD packet to send [19:23:37]OFD Sender: No OFD packet to send [19:23:42]OFD Sender: No OFD packet to send [19:23:47]OFD Sender: No OFD packet to send [19:23:52]OFD Sender: No OFD packet to send [19:23:57]OFD Sender: No OFD packet to send [19:24:02]OFD Sender: No OFD packet to send [19:24:07]OFD Sender: No OFD packet to send [19:24:12]OFD Sender: No OFD packet to send [19:24:17]OFD Sender: No OFD packet to send [19:24:22]OFD Sender: No OFD packet to send [19:24:27]OFD Sender: No OFD packet to send [19:24:32]OFD Sender: No OFD packet to send [19:24:37]OFD Sender: No OFD packet to send [19:24:42]OFD Sender: No OFD packet to send [19:24:47]OFD Sender: No OFD packet to send [19:24:52]OFD Sender: No OFD packet to send [19:24:57]OFD Sender: No OFD packet to send [19:25:02]OFD Sender: No OFD packet to send [19:25:07]OFD Sender: No OFD packet to send [19:25:12]OFD Sender: No OFD packet to send [19:25:17]OFD Sender: No OFD packet to send [19:25:22]OFD Sender: No OFD packet to send [19:25:27]OFD Sender: No OFD packet to send [19:25:32]OFD Sender: No OFD packet to send [19:25:37]OFD Sender: No OFD packet to send [19:25:42]OFD Sender: No OFD packet to send [19:25:47]OFD Sender: No OFD packet to send [19:25:52]OFD Sender: No OFD packet to send [19:25:57]OFD Sender: No OFD packet to send [19:26:02]OFD Sender: No OFD packet to send [19:26:07]OFD Sender: No OFD packet to send [19:26:12]OFD Sender: No OFD packet to send [19:26:17]OFD Sender: No OFD packet to send [19:26:22]OFD Sender: No OFD packet to send [19:26:27]OFD Sender: No OFD packet to send [19:26:32]OFD Sender: No OFD packet to send [19:26:37]OFD Sender: No OFD packet to send [19:26:42]OFD Sender: No OFD packet to send [19:26:47]OFD Sender: No OFD packet to send [19:26:52]OFD Sender: No OFD packet to send [19:26:57]OFD Sender: No OFD packet to send [19:27:02]OFD Sender: No OFD packet to send [19:27:07]OFD Sender: No OFD packet to send [19:27:12]OFD Sender: No OFD packet to send [19:27:17]OFD Sender: No OFD packet to send [19:27:22]OFD Sender: No OFD packet to send [19:27:27]OFD Sender: No OFD packet to send [19:27:32]OFD Sender: No OFD packet to send [19:27:37]OFD Sender: No OFD packet to send [19:27:42]OFD Sender: No OFD packet to send [19:27:47]OFD Sender: No OFD packet to send [19:27:52]OFD Sender: No OFD packet to send [19:27:57]OFD Sender: No OFD packet to send [19:28:02]OFD Sender: No OFD packet to send [19:28:07]OFD Sender: No OFD packet to send [19:28:12]OFD Sender: No OFD packet to send [19:28:17]OFD Sender: No OFD packet to send [19:28:22]OFD Sender: No OFD packet to send [19:28:27]OFD Sender: No OFD packet to send [19:28:32]OFD Sender: No OFD packet to send [19:28:37]OFD Sender: No OFD packet to send [19:28:42]OFD Sender: No OFD packet to send [19:28:47]OFD Sender: No OFD packet to send [19:28:52]OFD Sender: No OFD packet to send [19:28:57]OFD Sender: No OFD packet to send [19:29:02]OFD Sender: No OFD packet to send [19:29:07]OFD Sender: No OFD packet to send [19:29:12]OFD Sender: No OFD packet to send [19:29:17]OFD Sender: No OFD packet to send [19:29:22]OFD Sender: No OFD packet to send [19:29:27]OFD Sender: No OFD packet to send [19:29:32]OFD Sender: No OFD packet to send [19:29:37]OFD Sender: No OFD packet to send [19:29:42]OFD Sender: No OFD packet to send [19:29:47]OFD Sender: No OFD packet to send [19:29:52]OFD Sender: No OFD packet to send [19:29:57]OFD Sender: No OFD packet to send [19:30:02]OFD Sender: No OFD packet to send [19:30:07]OFD Sender: No OFD packet to send [19:30:12]OFD Sender: No OFD packet to send [19:30:17]OFD Sender: No OFD packet to send [19:30:22]OFD Sender: No OFD packet to send [19:30:27]OFD Sender: No OFD packet to send [19:30:32]OFD Sender: No OFD packet to send [19:30:37]OFD Sender: No OFD packet to send [19:30:42]OFD Sender: No OFD packet to send [19:30:47]OFD Sender: No OFD packet to send [19:30:52]OFD Sender: No OFD packet to send [19:30:57]OFD Sender: No OFD packet to send [19:31:02]OFD Sender: No OFD packet to send [19:31:07]OFD Sender: No OFD packet to send [19:31:12]OFD Sender: No OFD packet to send [19:31:17]OFD Sender: No OFD packet to send [19:31:22]OFD Sender: No OFD packet to send [19:31:27]OFD Sender: No OFD packet to send [19:31:32]OFD Sender: No OFD packet to send [19:31:37]OFD Sender: No OFD packet to send [19:31:42]OFD Sender: No OFD packet to send [19:31:47]OFD Sender: No OFD packet to send [19:31:52]OFD Sender: No OFD packet to send [19:31:57]OFD Sender: No OFD packet to send [19:32:02]OFD Sender: No OFD packet to send [19:32:07]OFD Sender: No OFD packet to send [19:32:12]OFD Sender: No OFD packet to send [19:32:17]OFD Sender: No OFD packet to send [19:32:22]OFD Sender: No OFD packet to send [19:32:27]OFD Sender: No OFD packet to send [19:32:32]OFD Sender: No OFD packet to send [19:32:37]OFD Sender: No OFD packet to send [19:32:42]OFD Sender: No OFD packet to send [19:32:47]OFD Sender: No OFD packet to send [19:32:52]OFD Sender: No OFD packet to send [19:32:57]OFD Sender: No OFD packet to send [19:33:02]OFD Sender: No OFD packet to send [19:33:07]OFD Sender: No OFD packet to send [19:33:12]OFD Sender: No OFD packet to send [19:33:17]OFD Sender: No OFD packet to send [19:33:22]OFD Sender: No OFD packet to send [19:33:27]OFD Sender: No OFD packet to send [19:33:32]OFD Sender: No OFD packet to send [19:33:38]OFD Sender: No OFD packet to send [19:33:43]OFD Sender: No OFD packet to send [19:33:48]OFD Sender: No OFD packet to send [19:33:53]OFD Sender: No OFD packet to send [19:33:58]OFD Sender: No OFD packet to send [19:34:03]OFD Sender: No OFD packet to send [19:34:08]OFD Sender: No OFD packet to send [19:34:13]OFD Sender: No OFD packet to send [19:34:18]OFD Sender: No OFD packet to send [19:34:23]OFD Sender: No OFD packet to send [19:34:28]OFD Sender: No OFD packet to send [19:34:33]OFD Sender: No OFD packet to send [19:34:38]OFD Sender: No OFD packet to send [19:34:43]OFD Sender: No OFD packet to send [19:34:48]OFD Sender: No OFD packet to send [19:34:53]OFD Sender: No OFD packet to send [19:34:58]OFD Sender: No OFD packet to send [19:35:03]OFD Sender: No OFD packet to send [19:35:08]OFD Sender: No OFD packet to send [19:35:13]OFD Sender: No OFD packet to send [19:35:18]OFD Sender: No OFD packet to send [19:35:23]OFD Sender: No OFD packet to send [19:35:28]OFD Sender: No OFD packet to send [19:35:33]OFD Sender: No OFD packet to send [19:35:38]OFD Sender: No OFD packet to send [19:35:43]OFD Sender: No OFD packet to send [19:35:48]OFD Sender: No OFD packet to send [19:35:53]OFD Sender: No OFD packet to send [19:35:58]OFD Sender: No OFD packet to send [19:36:03]OFD Sender: No OFD packet to send [19:36:08]OFD Sender: No OFD packet to send [19:36:13]OFD Sender: No OFD packet to send [19:36:18]OFD Sender: No OFD packet to send [19:36:23]OFD Sender: No OFD packet to send [19:36:28]OFD Sender: No OFD packet to send [19:36:33]OFD Sender: No OFD packet to send [19:36:38]OFD Sender: No OFD packet to send [19:36:43]OFD Sender: No OFD packet to send [19:36:48]OFD Sender: No OFD packet to send [19:36:53]OFD Sender: No OFD packet to send [19:36:58]OFD Sender: No OFD packet to send [19:37:03]OFD Sender: No OFD packet to send [19:37:08]OFD Sender: No OFD packet to send [19:37:13]OFD Sender: No OFD packet to send [19:37:18]OFD Sender: No OFD packet to send [19:37:23]OFD Sender: No OFD packet to send [19:37:28]OFD Sender: No OFD packet to send [19:37:33]OFD Sender: No OFD packet to send [19:37:38]OFD Sender: No OFD packet to send [19:37:43]OFD Sender: No OFD packet to send [19:37:48]OFD Sender: No OFD packet to send [19:37:53]OFD Sender: No OFD packet to send [19:37:58]OFD Sender: No OFD packet to send [19:38:03]OFD Sender: No OFD packet to send [19:38:08]OFD Sender: No OFD packet to send [19:38:13]OFD Sender: No OFD packet to send [19:38:18]OFD Sender: No OFD packet to send [19:38:23]OFD Sender: No OFD packet to send [19:38:28]OFD Sender: No OFD packet to send [19:38:33]OFD Sender: No OFD packet to send [19:38:38]OFD Sender: No OFD packet to send [19:38:43]OFD Sender: No OFD packet to send [19:38:48]OFD Sender: No OFD packet to send [19:38:53]OFD Sender: No OFD packet to send [19:38:58]OFD Sender: No OFD packet to send [19:39:03]OFD Sender: No OFD packet to send [19:39:08]OFD Sender: No OFD packet to send [19:39:13]OFD Sender: No OFD packet to send [19:39:18]OFD Sender: No OFD packet to send [19:39:23]OFD Sender: No OFD packet to send [19:39:28]OFD Sender: No OFD packet to send [19:39:33]OFD Sender: No OFD packet to send [19:39:38]OFD Sender: No OFD packet to send [19:39:43]OFD Sender: No OFD packet to send [19:39:48]OFD Sender: No OFD packet to send [19:39:53]OFD Sender: No OFD packet to send [19:39:58]OFD Sender: No OFD packet to send [19:40:03]OFD Sender: No OFD packet to send [19:40:08]OFD Sender: No OFD packet to send [19:40:13]OFD Sender: No OFD packet to send [19:40:18]OFD Sender: No OFD packet to send [19:40:20]accept exits with 9 [19:40:20]New connection [19:40:20]New thread 3067448676 created [19:40:20]Thread 3067592036 joined [19:40:20]Waiting for new connection... [19:40:20] Sock 9.Parse request [19:40:20]Sock 9.Check first char [19:40:20]Sock 9.First char is OK [19:40:20]request: POST /json_proto HTTP/1.0 [19:40:20]Method: POST [19:40:20]URL: /json_proto [19:40:20]Method is POST - this is cgi request [19:40:20]url: /json_proto [19:40:20]query_string will be loaded in cgi processing [19:40:20]execute_cgi json_proto POST (null) [19:40:20]execute_cgi path=json_proto method=POST [19:40:20]POST find Content-Length [19:40:20]Host: 172.17.39.4:8080 [19:40:20]Content-Length: 727 [19:40:20]Content-Type: application/json [19:40:20] [19:40:20]POST finish read [19:40:20]Found Content-Length = 727 [19:40:20]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129534", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:40:20]execute_script... [19:40:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129534", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [19:40:20]POST & json_proto [19:40:20]process_json_proto [19:40:20]json parsed OK: [19:40:20]protocol is kg_v1.0 [19:40:20]action value=close_receipt [19:40:20]process_action close_receipt [19:40:20]cmd_close_receipt [19:40:20]MH_GetDate [19:40:20]Write to MH i2c: F0 00 00 10 0F 0E [19:40:20]Write i2c OK [19:40:20]MH_I2C_Read... [19:40:20]Read from MH i2c: F0 [19:40:20]MH_I2C_Read... [19:40:20]Read from MH i2c: F0 09 00 [19:40:20]MH_I2C_Read... [19:40:20]Read from MH i2c: F0 09 00 10 0F 00 A7 29 94 66 2D 25 5D 64 F4 [19:40:20]GetLastDocTimeStamp 1720980558 [19:40:20]current date 1720986023 [19:40:20]FM_GetShiftState [19:40:20]SAM_PROTO_GetShiftState [19:40:20]wFMCommunicate request_size=4 [19:40:20]MH_SAM_APDU [19:40:20]CAPDU: 80 13 01 00 [19:40:20]Write to MH i2c: E2 08 00 11 0F 80 13 01 00 00 00 00 00 9D [19:40:20]Write i2c OK [19:40:20]MH_I2C_Read... [19:40:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:40:20]Read from MH i2c: E2 [19:40:20]MH_I2C_Read... [19:40:20]Read from MH i2c: E2 0E 00 [19:40:20]MH_I2C_Read... [19:40:20]Read from MH i2c: E2 0E 00 11 0F 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 44 [19:40:20]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [19:40:20]wFMCommunicate OK [19:40:20]SAM_PROTO_GetShiftState done [19:40:20]FM_GetShiftState done [19:40:20]opened in 1720917126 [19:40:20]opened+sec_in_day 1721003526 [19:40:20]quantity*price = 28000 [19:40:20]sum+1 = 28001 [19:40:20]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 280.00 НСП 1% : 2.48 НДС 12% : 29.73 Наличными: 280.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 90 14.07.2024 19:40 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57073 ФПД: 151382029240999 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T194023&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57073&fm=151382029240999&tin=02508201610067®Number=0000000000091208&sum=28000 0 [19:40:21]StoreToDocumentArchive [19:40:21]shift 496 fd 57073 [19:40:21]save to /storage/0496/doc_00057073 [19:40:21]save last doc name /storage/0496/doc_00057073 to /storage/kkm_last_doc_name [19:40:21]save OK [19:40:21]Clear old archive folders... [19:40:21]ProcessDocumentItem done err = 0, tmpTLVsize=275 [19:40:21]tlvbuf is 00FA22F0 [19:40:21]SAM_PROTO_ClearQueue [19:40:21]wFMCommunicate request_size=4 [19:40:21]MH_SAM_APDU [19:40:21]CAPDU: 80 09 00 00 [19:40:21]Write to MH i2c: E2 08 00 1E 0F 80 09 00 00 00 00 00 00 9F [19:40:21]Write i2c OK [19:40:21]MH_I2C_Read... [19:40:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [19:40:21]Read from MH i2c: E2 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 03 00 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 03 00 1E 0F 00 90 00 A1 [19:40:21]RAPDU: 90 00 [19:40:21]wFMCommunicate OK [19:40:21]SAM_PROTO_ClearQueue done [19:40:21]KKMCreateOFDPacket [19:40:21]OFDProtocolAddRootSTLVToBuf [19:40:21]FM_MakeSignedData [19:40:21]FM_MakeSignedData [19:40:21]SAM_PROTO_SignData [19:40:21]wFMCommunicate request_size=4 [19:40:21]MH_SAM_APDU [19:40:21]CAPDU: 80 0D 01 02 [19:40:21]Write to MH i2c: E2 08 00 1F 0F 80 0D 01 02 00 00 00 00 A7 [19:40:21]Write i2c OK [19:40:21]MH_I2C_Read... [19:40:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [19:40:21]Read from MH i2c: E2 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 03 00 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 03 00 1F 0F 00 90 00 A2 [19:40:21]RAPDU: 90 00 [19:40:21]wFMCommunicate OK [19:40:21]wFMCommunicate request_size=255 [19:40:21]MH_SAM_APDU [19:40:21]CAPDU: 80 0D 02 02 FA 03 00 13 01 1E 04 01 00 01 23 04 65 00 8A 04 08 00 34 38 37 34 33 35 38 37 06 04 26 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 58 53 74 79 6C 65 20 53 69 6C 76 65 72 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 A7 29 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 [19:40:21]Write to MH i2c: E2 02 01 20 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 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 A7 29 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 00 00 38 [19:40:21]Write i2c OK [19:40:21]MH_I2C_Read... [19:40:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:40:21]Read from MH i2c: E2 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 03 00 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 03 00 20 0F 00 90 00 A3 [19:40:21]RAPDU: 90 00 [19:40:21]wFMCommunicate OK [19:40:21]wFMCommunicate request_size=34 [19:40:21]MH_SAM_APDU [19:40:21]CAPDU: 80 0D 02 02 1D 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F1 DE 00 00 35 04 06 00 89 AE 60 14 0A A7 [19:40:21]Write to MH i2c: E2 25 00 21 0F 80 0D 02 02 1D 00 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F1 DE 00 00 35 04 06 00 89 AE 60 14 0A A7 00 00 9D [19:40:21]Write i2c OK [19:40:21]MH_I2C_Read... [19:40:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [19:40:21]Read from MH i2c: E2 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 03 00 [19:40:21]MH_I2C_Read... [19:40:21]Read from MH i2c: E2 03 00 21 0F 00 90 00 A4 [19:40:21]RAPDU: 90 00 [19:40:21]wFMCommunicate OK [19:40:21]wFMCommunicate request_size=4 [19:40:21]MH_SAM_APDU [19:40:21]CAPDU: 80 0D 03 02 [19:40:21]Write to MH i2c: E2 08 00 22 0F 80 0D 03 02 00 00 00 00 AC [19:40:21]Write i2c OK [19:40:21]MH_I2C_Read... [19:40:22]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [19:40:22]Read from MH i2c: E2 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: E2 0B 00 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: E2 0B 00 22 0F 00 15 FD 0A FB 4B DA 90 AC 90 00 25 [19:40:22]RAPDU: 15 FD 0A FB 4B DA 90 AC 90 00 [19:40:22]wFMCommunicate OK [19:40:22]SAM_PROTO_SignData done [19:40:22]FM_MakeSignedData done [19:40:22]CreateOFDProtocolMessage [19:40:22]wFMCommunicate request_size=4 [19:40:22]MH_SAM_APDU [19:40:22]CAPDU: 80 11 00 00 [19:40:22]Write to MH i2c: E2 08 00 23 0F 80 11 00 00 00 00 00 00 AC [19:40:22]Write i2c OK [19:40:22]MH_I2C_Read... [19:40:22]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:40:22]Read from MH i2c: E2 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: E2 17 00 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: E2 17 00 23 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 06 [19:40:22]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:40:22]wFMCommunicate OK [19:40:22]CreateOFDProtocolMessage done [19:40:22]OFDSenderStorePacket 57073 [19:40:22]StoreOFDPacket docnum=57073 [19:40:22]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 27 01 00 00 73 E7 1F 01 88 51 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 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 A7 29 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F1 DE 00 00 35 04 06 00 89 AE 60 14 0A A7 15 FD 0A FB 4B DA 90 AC [19:40:22]CheckFolder [19:40:22]dirname=/storage/ofd_packets [19:40:22]CheckFolder done [19:40:22]ProducePacketName [19:40:22]name=ofd_packets/00057073 [19:40:22]NVStorageSaveData ofd_packets/00057073 [19:40:22]File name is /storage/ofd_packets/00057073 [19:40:22]Write 325 bytes [19:40:22]NVStorageSaveData done [19:40:22]OFDSenderStorePacket done [19:40:22]KKMCreateOFDPacket done [19:40:22]NVStorageSaveData kkm_last_timestamp [19:40:22]File name is /storage/kkm_last_timestamp [19:40:22]Write 4 bytes [19:40:22]NVStorageSaveData done [19:40:22]OFD Sender: Processing packet 57073 [packets to send 38, broken 37] [19:40:22]ProducePacketName [19:40:22]name=ofd_packets/00057073 [19:40:22]OFD Sender: To server: pG, [19:40:22]CommunicateWithHost lk.salyk.kg:30040 [19:40:22]ConnectInit lk.salyk.kg [19:40:22]ExternCall_PrintAddStr [19:40:22]wPrintStart [19:40:22]Write to MH i2c: 01 00 00 24 0F 33 [19:40:22]Write i2c OK [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: 01 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: 01 07 00 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: 01 07 00 24 0F 00 00 00 00 00 FF 0F 48 [19:40:22]RasterBufferAndPrint [19:40:22]line Счет N : (3)129534 [19:40:22]line ИНН: 02508201610067 [19:40:22]line Контрольно-Кассовый Чек [19:40:22]line ПРОДАЖА [19:40:22]line Товар: 48743587 [19:40:22]line Сигареты Winston XStyle Silver [19:40:22]line 2.000 * 140.00 [19:40:22]line = 280.00 [19:40:22]line НДС 12% НСП 1% [19:40:22]line > о реализуемом товаре [19:40:22]line ИТОГО: 280.00 [19:40:22]line НСП 1% : 2.48 [19:40:22]line НДС 12% : 29.73 [19:40:22]line Наличными: 280.00 [19:40:22]line Безнал.: 0.00 [19:40:22]line Место: АЗС № 132 "Партнер Нефть" [19:40:22]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [19:40:22]line СНО: Общий режим [19:40:22]line Чек 90 14.07.2024 19:40 [19:40:22]line Смена: 496 ФФД: 1.0 [19:40:22]line ЗНМ: 0300000132 [19:40:22]line РНМ: 0000000000091208 [19:40:22]line Версия ККМ: 001 [19:40:22]line ФМ: 0000000000874857 [19:40:22]line ФД: 57073 [19:40:22]line ФПД: 151382029240999 [19:40:22]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T194023&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57073&fm=151382029240999&tin=02508201610067®Number=0000000000091208&sum=28000 [19:40:22]line 0 [19:40:22]Connected sock=11 [19:40:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 27 01 00 00 73 E7 1F 01 88 51 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 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 A7 29 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F1 DE 00 00 35 04 06 00 89 AE 60 14 0A A7 15 FD 0A FB 4B DA 90 AC [19:40:22]written 0, free lines is 4095 [19:40:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 88 20 47 00 B3 CA A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F1 DE 00 00 F4 03 04 00 F7 CF 93 66 B6 04 01 00 00 09 D3 6A EC C5 B7 23 15 [19:40:22]CommunicateWithHost err = 0 [19:40:22]CheckOFDResponse [19:40:22]1017 (14) - 77093643461234 [19:40:22]1041 (16) - 0000000000874857 [19:40:22]1040 (4) - 57073 [19:40:22]1012 (4) - 14.07.2024 13:17 [19:40:22]1206 (1) - 0 [19:40:22]OFD Sender: Remove packet 57073 [19:40:22]ProducePacketName [19:40:22]name=ofd_packets/00057073 [19:40:22]NVStorageDeleteData [19:40:22]Write to MH i2c: 01 00 00 4D 0F 5C [19:40:22]Write i2c OK [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: 01 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: 01 07 00 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: 01 07 00 4D 0F 00 00 00 00 00 F1 0C 60 [19:40:22]RasterBufferAndPrint [19:40:22]line [19:40:22]line [19:40:22]line [19:40:22]line [19:40:22]line [19:40:22]written 0, free lines is 3319 [19:40:22]MH_Cut [19:40:22]Write to MH i2c: D1 01 00 54 0F 01 35 [19:40:22]Write i2c OK [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: D1 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: D1 01 00 [19:40:22]MH_I2C_Read... [19:40:22]Read from MH i2c: D1 01 00 54 0F 00 34 [19:40:22]Write to MH i2c: 01 00 00 55 0F 64 [19:40:22]Write i2c OK [19:40:22]MH_I2C_Read... [19:40:23]OFD Sender: No OFD packet to send [19:40:23]*** Cut start [19:40:23]*** Partial cut [19:40:23]*** CUTSNS_PIN = 1 [19:40:23]*** CUTSNS_PIN = 0 [19:40:23]*** Brake cut motor [19:40:24]Read from MH i2c: 01 [19:40:24]MH_I2C_Read... [19:40:24]*** Stop cut motor [19:40:24]*** Cut end [19:40:24]Read from MH i2c: 01 07 00 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: 01 07 00 55 0F 00 00 00 00 00 FF 0F 79 [19:40:24]process_action close_receipt done [19:40:24]requested_data is exist [19:40:24]produce_requested_data [19:40:24]requested_item fm.sn is exist - process it [19:40:24]wFMCommunicate request_size=4 [19:40:24]MH_SAM_APDU [19:40:24]CAPDU: 80 11 00 00 [19:40:24]Write to MH i2c: E2 08 00 56 0F 80 11 00 00 00 00 00 00 DF [19:40:24]Write i2c OK [19:40:24]MH_I2C_Read... [19:40:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [19:40:24]Read from MH i2c: E2 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 17 00 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 17 00 56 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 39 [19:40:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [19:40:24]wFMCommunicate OK [19:40:24]requested_item fd.num is exist - process it [19:40:24]SAM_PROTO_GetFieldsCounters [19:40:24]wFMCommunicate request_size=4 [19:40:24]MH_SAM_APDU [19:40:24]CAPDU: 80 13 00 00 [19:40:24]Write to MH i2c: E2 08 00 57 0F 80 13 00 00 00 00 00 00 E2 [19:40:24]Write i2c OK [19:40:24]MH_I2C_Read... [19:40:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [19:40:24]Read from MH i2c: E2 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 62 00 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 62 00 57 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F1 DE 00 00 0E 04 04 00 F0 01 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 D3 [19:40:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F1 DE 00 00 0E 04 04 00 F0 01 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 [19:40:24]wFMCommunicate OK [19:40:24]SAM_PROTO_GetFieldsCounters done [19:40:24]requested_item shift.num is exist - process it [19:40:24]requested_item shift.opened is exist - process it [19:40:24]req_shift_opened [19:40:24]FM_GetShiftState [19:40:24]SAM_PROTO_GetShiftState [19:40:24]wFMCommunicate request_size=4 [19:40:24]MH_SAM_APDU [19:40:24]CAPDU: 80 13 01 00 [19:40:24]Write to MH i2c: E2 08 00 58 0F 80 13 01 00 00 00 00 00 E4 [19:40:24]Write i2c OK [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 [19:40:24]MH_I2C_Read... [19:40:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [19:40:24]Read from MH i2c: E2 0E 00 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 0E 00 58 0F 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 8B [19:40:24]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [19:40:24]wFMCommunicate OK [19:40:24]SAM_PROTO_GetShiftState done [19:40:24]FM_GetShiftState done [19:40:24]req_shift_opened done [19:40:24]requested_item shift.open_date is exist - process it [19:40:24]req_shift_open_date [19:40:24]req_shift_open_date done [19:40:24]requested_item shift.sale.total is exist - process it [19:40:24]SAM_PROTO_GetShiftData [19:40:24]wFMCommunicate request_size=4 [19:40:24]MH_SAM_APDU [19:40:24]CAPDU: 80 13 02 00 [19:40:24]Write to MH i2c: E2 08 00 59 0F 80 13 02 00 00 00 00 00 E6 [19:40:24]Write i2c OK [19:40:24]MH_I2C_Read... [19:40:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [19:40:24]Read from MH i2c: E2 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 FD 00 [19:40:24]MH_I2C_Read... [19:40:24]Read from MH i2c: E2 FD 00 59 0F 00 BB 04 AA 04 B7 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 58 00 00 00 B1 04 03 00 3C B7 2F 70 04 03 00 70 46 26 72 04 03 00 CC 70 09 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 43 11 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 10 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 29 [19:40:24]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 5A 00 00 00 69 04 9B 00 6F 04 04 00 58 00 00 00 B1 04 03 00 3C B7 2F 70 04 03 00 70 46 26 72 04 03 00 CC 70 09 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 43 11 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 10 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [19:40:24]wFMCommunicate OK [19:40:24]wFMCommunicate request_size=4 [19:40:24]MH_SAM_APDU [19:40:24]CAPDU: 80 17 00 00 [19:40:24]Write to MH i2c: E2 08 00 5A 0F 80 17 00 00 00 00 00 00 E9 [19:40:24]Write i2c OK [19:40:24]MH_I2C_Read... [19:40:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:40:25]Read from MH i2c: E2 [19:40:25]MH_I2C_Read... [19:40:25]Read from MH i2c: E2 FD 00 [19:40:25]MH_I2C_Read... [19:40:25]Read from MH i2c: E2 FD 00 5A 0F 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7C [19:40:25]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:40:25]wFMCommunicate OK [19:40:25]wFMCommunicate request_size=4 [19:40:25]MH_SAM_APDU [19:40:25]CAPDU: 80 17 00 00 [19:40:25]Write to MH i2c: E2 08 00 5B 0F 80 17 00 00 00 00 00 00 EA [19:40:25]Write i2c OK [19:40:25]MH_I2C_Read... [19:40:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:40:25]Read from MH i2c: E2 [19:40:25]MH_I2C_Read... [19:40:25]Read from MH i2c: E2 FD 00 [19:40:25]MH_I2C_Read... [19:40:25]Read from MH i2c: E2 FD 00 5B 0F 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 16 [19:40:25]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [19:40:25]wFMCommunicate OK [19:40:25]wFMCommunicate request_size=4 [19:40:25]MH_SAM_APDU [19:40:25]CAPDU: 80 17 00 00 [19:40:25]Write to MH i2c: E2 08 00 5C 0F 80 17 00 00 00 00 00 00 EB [19:40:25]Write i2c OK [19:40:25]MH_I2C_Read... [19:40:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [19:40:25]Read from MH i2c: E2 [19:40:25]MH_I2C_Read... [19:40:25]Read from MH i2c: E2 FD 00 [19:40:25]MH_I2C_Read... [19:40:25]Read from MH i2c: E2 FD 00 5C 0F 00 00 00 EF 03 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 90 00 60 [19:40:25]RAPDU: 00 00 EF 03 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 90 00 [19:40:25]wFMCommunicate OK [19:40:25]wFMCommunicate request_size=4 [19:40:25]MH_SAM_APDU [19:40:25]CAPDU: 80 17 00 00 [19:40:25]Write to MH i2c: E2 08 00 5D 0F 80 17 00 00 00 00 00 00 EC [19:40:25]Write i2c OK [19:40:25]MH_I2C_Read... [19:40:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [19:40:26]Read from MH i2c: E2 [19:40:26]MH_I2C_Read... [19:40:26]Read from MH i2c: E2 D8 00 [19:40:26]MH_I2C_Read... [19:40:26]Read from MH i2c: E2 D8 00 5D 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 D3 [19:40:26]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:40:26]wFMCommunicate OK [19:40:26]SAM_PROTO_GetShiftData done [19:40:26]requested_item shift.sale.total_cash is exist - process it [19:40:26]requested_item shift.sale_refund.total is exist - process it [19:40:26]requested_item shift.sale_refund.total_cash is exist - process it [19:40:26]produce_requested_data done [19:40:26]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57073,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31271.00,"shift.sale.total_cash":25084.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [19:40:26]process_action_free close_receipt [19:40:26]json_value_free [19:40:26]json_value_free done [19:40:26]process_json_proto returns [19:40:26]Send response to host [19:40:26]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57073,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31271.00,"shift.sale.total_cash":25084.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [19:40:26]free response buf [19:40:26]execute_script done [19:40:26]execute_script returns [19:40:26]free content buf [19:40:26]Sock 9.Close socket [19:40:26]Sock 9.Thread stoped [19:40:28]OFD Sender: No OFD packet to send [19:40:33]OFD Sender: No OFD packet to send [19:40:38]OFD Sender: No OFD packet to send [19:40:43]OFD Sender: No OFD packet to send [19:40:48]OFD Sender: No OFD packet to send [19:40:53]OFD Sender: No OFD packet to send [19:40:58]OFD Sender: No OFD packet to send [19:41:03]OFD Sender: No OFD packet to send [19:41:08]OFD Sender: No OFD packet to send [19:41:13]OFD Sender: No OFD packet to send [19:41:18]OFD Sender: No OFD packet to send [19:41:23]OFD Sender: No OFD packet to send [19:41:28]OFD Sender: No OFD packet to send [19:41:33]OFD Sender: No OFD packet to send [19:41:38]OFD Sender: No OFD packet to send [19:41:43]OFD Sender: No OFD packet to send [19:41:48]OFD Sender: No OFD packet to send [19:41:53]OFD Sender: No OFD packet to send [19:41:58]OFD Sender: No OFD packet to send [19:42:03]OFD Sender: No OFD packet to send [19:42:08]OFD Sender: No OFD packet to send [19:42:13]OFD Sender: No OFD packet to send [19:42:18]OFD Sender: No OFD packet to send [19:42:23]OFD Sender: No OFD packet to send [19:42:28]OFD Sender: No OFD packet to send [19:42:33]OFD Sender: No OFD packet to send [19:42:38]OFD Sender: No OFD packet to send [19:42:43]OFD Sender: No OFD packet to send [19:42:48]OFD Sender: No OFD packet to send [19:42:53]OFD Sender: No OFD packet to send [19:42:58]OFD Sender: No OFD packet to send [19:43:03]OFD Sender: No OFD packet to send [19:43:08]OFD Sender: No OFD packet to send [19:43:13]OFD Sender: No OFD packet to send [19:43:18]OFD Sender: No OFD packet to send [19:43:23]OFD Sender: No OFD packet to send [19:43:28]OFD Sender: No OFD packet to send [19:43:33]OFD Sender: No OFD packet to send [19:43:38]OFD Sender: No OFD packet to send [19:43:43]OFD Sender: No OFD packet to send [19:43:48]OFD Sender: No OFD packet to send [19:43:53]OFD Sender: No OFD packet to send [19:43:58]OFD Sender: No OFD packet to send [19:44:03]OFD Sender: No OFD packet to send [19:44:08]OFD Sender: No OFD packet to send [19:44:13]OFD Sender: No OFD packet to send [19:44:18]OFD Sender: No OFD packet to send [19:44:23]OFD Sender: No OFD packet to send [19:44:28]OFD Sender: No OFD packet to send [19:44:33]OFD Sender: No OFD packet to send [19:44:38]OFD Sender: No OFD packet to send [19:44:43]OFD Sender: No OFD packet to send [19:44:48]OFD Sender: No OFD packet to send [19:44:53]OFD Sender: No OFD packet to send [19:44:58]OFD Sender: No OFD packet to send [19:45:03]OFD Sender: No OFD packet to send [19:45:08]OFD Sender: No OFD packet to send [19:45:13]OFD Sender: No OFD packet to send [19:45:18]OFD Sender: No OFD packet to send [19:45:23]OFD Sender: No OFD packet to send [19:45:28]OFD Sender: No OFD packet to send [19:45:33]OFD Sender: No OFD packet to send [19:45:38]OFD Sender: No OFD packet to send [19:45:43]OFD Sender: No OFD packet to send [19:45:48]OFD Sender: No OFD packet to send [19:45:53]OFD Sender: No OFD packet to send [19:45:58]OFD Sender: No OFD packet to send [19:46:03]OFD Sender: No OFD packet to send [19:46:08]OFD Sender: No OFD packet to send [19:46:13]OFD Sender: No OFD packet to send [19:46:18]OFD Sender: No OFD packet to send [19:46:23]OFD Sender: No OFD packet to send [19:46:28]OFD Sender: No OFD packet to send [19:46:33]OFD Sender: No OFD packet to send [19:46:38]OFD Sender: No OFD packet to send [19:46:43]OFD Sender: No OFD packet to send [19:46:48]OFD Sender: No OFD packet to send [19:46:53]OFD Sender: No OFD packet to send [19:46:58]OFD Sender: No OFD packet to send [19:47:03]OFD Sender: No OFD packet to send [19:47:08]OFD Sender: No OFD packet to send [19:47:13]OFD Sender: No OFD packet to send [19:47:18]OFD Sender: No OFD packet to send [19:47:23]OFD Sender: No OFD packet to send [19:47:28]OFD Sender: No OFD packet to send [19:47:33]OFD Sender: No OFD packet to send [19:47:38]OFD Sender: No OFD packet to send [19:47:43]OFD Sender: No OFD packet to send [19:47:48]OFD Sender: No OFD packet to send [19:47:53]OFD Sender: No OFD packet to send [19:47:58]OFD Sender: No OFD packet to send [19:48:03]OFD Sender: No OFD packet to send [19:48:08]OFD Sender: No OFD packet to send [19:48:13]OFD Sender: No OFD packet to send [19:48:18]OFD Sender: No OFD packet to send [19:48:23]OFD Sender: No OFD packet to send [19:48:28]OFD Sender: No OFD packet to send [19:48:33]OFD Sender: No OFD packet to send [19:48:38]OFD Sender: No OFD packet to send [19:48:43]OFD Sender: No OFD packet to send [19:48:48]OFD Sender: No OFD packet to send [19:48:53]OFD Sender: No OFD packet to send [19:48:58]OFD Sender: No OFD packet to send [19:49:03]OFD Sender: No OFD packet to send [19:49:08]OFD Sender: No OFD packet to send [19:49:13]OFD Sender: No OFD packet to send [19:49:18]OFD Sender: No OFD packet to send [19:49:23]OFD Sender: No OFD packet to send [19:49:28]OFD Sender: No OFD packet to send [19:49:33]OFD Sender: No OFD packet to send [19:49:38]OFD Sender: No OFD packet to send [19:49:43]OFD Sender: No OFD packet to send [19:49:48]OFD Sender: No OFD packet to send [19:49:53]OFD Sender: No OFD packet to send [19:49:58]OFD Sender: No OFD packet to send [19:50:03]OFD Sender: No OFD packet to send [19:50:08]OFD Sender: No OFD packet to send [19:50:13]OFD Sender: No OFD packet to send [19:50:18]OFD Sender: No OFD packet to send [19:50:23]OFD Sender: No OFD packet to send [19:50:28]OFD Sender: No OFD packet to send [19:50:33]OFD Sender: No OFD packet to send [19:50:38]OFD Sender: No OFD packet to send [19:50:43]OFD Sender: No OFD packet to send [19:50:48]OFD Sender: No OFD packet to send [19:50:53]OFD Sender: No OFD packet to send [19:50:58]OFD Sender: No OFD packet to send [19:51:03]OFD Sender: No OFD packet to send [19:51:08]OFD Sender: No OFD packet to send [19:51:13]OFD Sender: No OFD packet to send [19:51:18]OFD Sender: No OFD packet to send [19:51:23]OFD Sender: No OFD packet to send [19:51:28]OFD Sender: No OFD packet to send [19:51:33]OFD Sender: No OFD packet to send [19:51:38]OFD Sender: No OFD packet to send [19:51:43]OFD Sender: No OFD packet to send [19:51:48]OFD Sender: No OFD packet to send [19:51:53]OFD Sender: No OFD packet to send [19:51:58]OFD Sender: No OFD packet to send [19:52:03]OFD Sender: No OFD packet to send [19:52:08]OFD Sender: No OFD packet to send [19:52:13]OFD Sender: No OFD packet to send [19:52:18]OFD Sender: No OFD packet to send [19:52:23]OFD Sender: No OFD packet to send [19:52:28]OFD Sender: No OFD packet to send [19:52:33]OFD Sender: No OFD packet to send [19:52:38]OFD Sender: No OFD packet to send [19:52:43]OFD Sender: No OFD packet to send [19:52:48]OFD Sender: No OFD packet to send [19:52:53]OFD Sender: No OFD packet to send [19:52:58]OFD Sender: No OFD packet to send [19:53:03]OFD Sender: No OFD packet to send [19:53:08]OFD Sender: No OFD packet to send [19:53:13]OFD Sender: No OFD packet to send [19:53:18]OFD Sender: No OFD packet to send [19:53:23]OFD Sender: No OFD packet to send [19:53:28]OFD Sender: No OFD packet to send [19:53:33]OFD Sender: No OFD packet to send [19:53:38]OFD Sender: No OFD packet to send [19:53:43]OFD Sender: No OFD packet to send [19:53:48]OFD Sender: No OFD packet to send [19:53:53]OFD Sender: No OFD packet to send [19:53:58]OFD Sender: No OFD packet to send [19:54:03]OFD Sender: No OFD packet to send [19:54:08]OFD Sender: No OFD packet to send [19:54:13]OFD Sender: No OFD packet to send [19:54:18]OFD Sender: No OFD packet to send [19:54:23]OFD Sender: No OFD packet to send [19:54:28]OFD Sender: No OFD packet to send [19:54:33]OFD Sender: No OFD packet to send [19:54:38]OFD Sender: No OFD packet to send [19:54:43]OFD Sender: No OFD packet to send [19:54:48]OFD Sender: No OFD packet to send [19:54:53]OFD Sender: No OFD packet to send [19:54:58]OFD Sender: No OFD packet to send [19:55:03]OFD Sender: No OFD packet to send [19:55:08]OFD Sender: No OFD packet to send [19:55:13]OFD Sender: No OFD packet to send [19:55:18]OFD Sender: No OFD packet to send [19:55:23]OFD Sender: No OFD packet to send [19:55:28]OFD Sender: No OFD packet to send [19:55:33]OFD Sender: No OFD packet to send [19:55:38]OFD Sender: No OFD packet to send [19:55:43]OFD Sender: No OFD packet to send [19:55:48]OFD Sender: No OFD packet to send [19:55:53]OFD Sender: No OFD packet to send [19:55:58]OFD Sender: No OFD packet to send [19:56:03]OFD Sender: No OFD packet to send [19:56:08]OFD Sender: No OFD packet to send [19:56:13]OFD Sender: No OFD packet to send [19:56:18]OFD Sender: No OFD packet to send [19:56:23]OFD Sender: No OFD packet to send [19:56:28]OFD Sender: No OFD packet to send [19:56:34]OFD Sender: No OFD packet to send [19:56:39]OFD Sender: No OFD packet to send [19:56:44]OFD Sender: No OFD packet to send [19:56:49]OFD Sender: No OFD packet to send [19:56:54]OFD Sender: No OFD packet to send [19:56:59]OFD Sender: No OFD packet to send [19:57:04]OFD Sender: No OFD packet to send [19:57:09]OFD Sender: No OFD packet to send [19:57:14]OFD Sender: No OFD packet to send [19:57:19]OFD Sender: No OFD packet to send [19:57:24]OFD Sender: No OFD packet to send [19:57:29]OFD Sender: No OFD packet to send [19:57:34]OFD Sender: No OFD packet to send [19:57:39]OFD Sender: No OFD packet to send [19:57:44]OFD Sender: No OFD packet to send [19:57:49]OFD Sender: No OFD packet to send [19:57:54]OFD Sender: No OFD packet to send [19:57:59]OFD Sender: No OFD packet to send [19:58:04]OFD Sender: No OFD packet to send [19:58:09]OFD Sender: No OFD packet to send [19:58:14]OFD Sender: No OFD packet to send [19:58:19]OFD Sender: No OFD packet to send [19:58:24]OFD Sender: No OFD packet to send [19:58:29]OFD Sender: No OFD packet to send [19:58:34]OFD Sender: No OFD packet to send [19:58:39]OFD Sender: No OFD packet to send [19:58:44]OFD Sender: No OFD packet to send [19:58:49]OFD Sender: No OFD packet to send [19:58:54]OFD Sender: No OFD packet to send [19:58:59]OFD Sender: No OFD packet to send [19:59:04]OFD Sender: No OFD packet to send [19:59:09]OFD Sender: No OFD packet to send [19:59:14]OFD Sender: No OFD packet to send [19:59:19]OFD Sender: No OFD packet to send [19:59:24]OFD Sender: No OFD packet to send [19:59:29]OFD Sender: No OFD packet to send [19:59:34]OFD Sender: No OFD packet to send [19:59:39]OFD Sender: No OFD packet to send [19:59:44]OFD Sender: No OFD packet to send [19:59:49]OFD Sender: No OFD packet to send [19:59:54]OFD Sender: No OFD packet to send [19:59:59]OFD Sender: No OFD packet to send [20:00:04]OFD Sender: No OFD packet to send [20:00:09]OFD Sender: No OFD packet to send [20:00:14]OFD Sender: No OFD packet to send [20:00:19]OFD Sender: No OFD packet to send [20:00:24]OFD Sender: No OFD packet to send [20:00:29]OFD Sender: No OFD packet to send [20:00:34]OFD Sender: No OFD packet to send [20:00:39]OFD Sender: No OFD packet to send [20:00:44]OFD Sender: No OFD packet to send [20:00:49]OFD Sender: No OFD packet to send [20:00:54]OFD Sender: No OFD packet to send [20:00:59]OFD Sender: No OFD packet to send [20:01:04]OFD Sender: No OFD packet to send [20:01:09]OFD Sender: No OFD packet to send [20:01:14]OFD Sender: No OFD packet to send [20:01:19]OFD Sender: No OFD packet to send [20:01:24]OFD Sender: No OFD packet to send [20:01:29]OFD Sender: No OFD packet to send [20:01:34]OFD Sender: No OFD packet to send [20:01:39]OFD Sender: No OFD packet to send [20:01:44]OFD Sender: No OFD packet to send [20:01:49]OFD Sender: No OFD packet to send [20:01:54]OFD Sender: No OFD packet to send [20:01:59]OFD Sender: No OFD packet to send [20:02:04]OFD Sender: No OFD packet to send [20:02:09]OFD Sender: No OFD packet to send [20:02:14]OFD Sender: No OFD packet to send [20:02:19]OFD Sender: No OFD packet to send [20:02:24]OFD Sender: No OFD packet to send [20:02:29]OFD Sender: No OFD packet to send [20:02:34]OFD Sender: No OFD packet to send [20:02:39]OFD Sender: No OFD packet to send [20:02:44]OFD Sender: No OFD packet to send [20:02:49]OFD Sender: No OFD packet to send [20:02:54]OFD Sender: No OFD packet to send [20:02:59]OFD Sender: No OFD packet to send [20:03:04]OFD Sender: No OFD packet to send [20:03:09]OFD Sender: No OFD packet to send [20:03:14]OFD Sender: No OFD packet to send [20:03:19]OFD Sender: No OFD packet to send [20:03:24]OFD Sender: No OFD packet to send [20:03:29]OFD Sender: No OFD packet to send [20:03:34]OFD Sender: No OFD packet to send [20:03:39]OFD Sender: No OFD packet to send [20:03:44]OFD Sender: No OFD packet to send [20:03:49]OFD Sender: No OFD packet to send [20:03:54]OFD Sender: No OFD packet to send [20:03:59]OFD Sender: No OFD packet to send [20:04:04]OFD Sender: No OFD packet to send [20:04:09]OFD Sender: No OFD packet to send [20:04:14]OFD Sender: No OFD packet to send [20:04:19]accept exits with 7 [20:04:19]New connection [20:04:19]New thread 3067592036 created [20:04:19]Thread 3067448676 joined [20:04:19]Waiting for new connection... [20:04:19] Sock 7.Parse request [20:04:19]Sock 7.Check first char [20:04:19]Sock 7.First char is OK [20:04:19]request: POST /json_proto HTTP/1.0 [20:04:19]Method: POST [20:04:19]URL: /json_proto [20:04:19]Method is POST - this is cgi request [20:04:19]url: /json_proto [20:04:19]query_string will be loaded in cgi processing [20:04:19]execute_cgi json_proto POST (null) [20:04:19]execute_cgi path=json_proto method=POST [20:04:19]POST find Content-Length [20:04:19]Host: 172.17.39.4:8080 [20:04:19]Content-Length: 914 [20:04:19]Content-Type: application/json [20:04:19] [20:04:19]POST finish read [20:04:19]Found Content-Length = 914 [20:04:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129535", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:04:19]execute_script... [20:04:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129535", "tax_sys" : 0, "items" : [ { "code": "48741156", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B LD Blue", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:04:19]POST & json_proto [20:04:19]process_json_proto [20:04:19]json parsed OK: [20:04:19]protocol is kg_v1.0 [20:04:19]action value=close_receipt [20:04:19]process_action close_receipt [20:04:19]cmd_close_receipt [20:04:19]MH_GetDate [20:04:19]Write to MH i2c: F0 00 00 5E 0F 5C [20:04:19]Write i2c OK [20:04:19]MH_I2C_Read... [20:04:19]Read from MH i2c: F0 [20:04:19]MH_I2C_Read... [20:04:19]Read from MH i2c: F0 09 00 [20:04:19]MH_I2C_Read... [20:04:19]Read from MH i2c: F0 09 00 5E 0F 00 46 2F 94 66 2D 25 5D 64 E7 [20:04:19]GetLastDocTimeStamp 1720986023 [20:04:19]current date 1720987462 [20:04:19]FM_GetShiftState [20:04:19]SAM_PROTO_GetShiftState [20:04:19]wFMCommunicate request_size=4 [20:04:19]MH_SAM_APDU [20:04:19]CAPDU: 80 13 01 00 [20:04:19]Write to MH i2c: E2 08 00 5F 0F 80 13 01 00 00 00 00 00 EB [20:04:19]Write i2c OK [20:04:19]MH_I2C_Read... [20:04:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:19]Read from MH i2c: E2 [20:04:19]MH_I2C_Read... [20:04:19]Read from MH i2c: E2 0E 00 [20:04:19]MH_I2C_Read... [20:04:19]Read from MH i2c: E2 0E 00 5F 0F 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 92 [20:04:19]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:04:19]wFMCommunicate OK [20:04:19]SAM_PROTO_GetShiftState done [20:04:19]FM_GetShiftState done [20:04:19]opened in 1720917126 [20:04:19]opened+sec_in_day 1721003526 [20:04:19]quantity*price = 13000 [20:04:19]sum+1 = 13001 [20:04:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 91 14.07.2024 20:04 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57074 ФПД: 226914534532758 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T200422&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57074&fm=226914534532758&tin=02508201610067®Number=0000000000091208&sum=13000 0 [20:04:20]StoreToDocumentArchive [20:04:20]shift 496 fd 57074 [20:04:20]save to /storage/0496/doc_00057074 [20:04:20]save last doc name /storage/0496/doc_00057074 to /storage/kkm_last_doc_name [20:04:20]save OK [20:04:20]Clear old archive folders... [20:04:20]ProcessDocumentItem done err = 0, tmpTLVsize=261 [20:04:20]tlvbuf is 00FC5E80 [20:04:20]SAM_PROTO_ClearQueue [20:04:20]wFMCommunicate request_size=4 [20:04:20]MH_SAM_APDU [20:04:20]CAPDU: 80 09 00 00 [20:04:20]Write to MH i2c: E2 08 00 6C 0F 80 09 00 00 00 00 00 00 ED [20:04:20]Write i2c OK [20:04:20]MH_I2C_Read... [20:04:20]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:04:20]Read from MH i2c: E2 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 03 00 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 03 00 6C 0F 00 90 00 EF [20:04:20]RAPDU: 90 00 [20:04:20]wFMCommunicate OK [20:04:20]SAM_PROTO_ClearQueue done [20:04:20]KKMCreateOFDPacket [20:04:20]OFDProtocolAddRootSTLVToBuf [20:04:20]FM_MakeSignedData [20:04:20]FM_MakeSignedData [20:04:20]SAM_PROTO_SignData [20:04:20]wFMCommunicate request_size=4 [20:04:20]MH_SAM_APDU [20:04:20]CAPDU: 80 0D 01 02 [20:04:20]Write to MH i2c: E2 08 00 6D 0F 80 0D 01 02 00 00 00 00 F5 [20:04:20]Write i2c OK [20:04:20]MH_I2C_Read... [20:04:20]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:04:20]Read from MH i2c: E2 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 03 00 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 03 00 6D 0F 00 90 00 F0 [20:04:20]RAPDU: 90 00 [20:04:20]wFMCommunicate OK [20:04:20]wFMCommunicate request_size=255 [20:04:20]MH_SAM_APDU [20:04:20]CAPDU: 80 0D 02 02 FA 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 46 2F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 [20:04:20]Write to MH i2c: E2 02 01 6E 0F 80 0D 02 02 FA 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 46 2F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 5A [20:04:20]Write i2c OK [20:04:20]MH_I2C_Read... [20:04:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:20]Read from MH i2c: E2 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 03 00 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 03 00 6E 0F 00 90 00 F1 [20:04:20]RAPDU: 90 00 [20:04:20]wFMCommunicate OK [20:04:20]wFMCommunicate request_size=20 [20:04:20]MH_SAM_APDU [20:04:20]CAPDU: 80 0D 02 02 0F 00 F2 DE 00 00 35 04 06 00 CE 60 A8 39 A6 96 [20:04:20]Write to MH i2c: E2 17 00 6F 0F 80 0D 02 02 0F 00 00 F2 DE 00 00 35 04 06 00 CE 60 A8 39 A6 96 00 00 70 [20:04:20]Write i2c OK [20:04:20]MH_I2C_Read... [20:04:20]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:04:20]Read from MH i2c: E2 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 03 00 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 03 00 6F 0F 00 90 00 F2 [20:04:20]RAPDU: 90 00 [20:04:20]wFMCommunicate OK [20:04:20]wFMCommunicate request_size=4 [20:04:20]MH_SAM_APDU [20:04:20]CAPDU: 80 0D 03 02 [20:04:20]Write to MH i2c: E2 08 00 70 0F 80 0D 03 02 00 00 00 00 FA [20:04:20]Write i2c OK [20:04:20]MH_I2C_Read... [20:04:20]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:04:20]Read from MH i2c: E2 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 0B 00 [20:04:20]MH_I2C_Read... [20:04:20]Read from MH i2c: E2 0B 00 70 0F 00 73 11 A6 58 04 CA 3B ED 90 00 73 [20:04:20]RAPDU: 73 11 A6 58 04 CA 3B ED 90 00 [20:04:20]wFMCommunicate OK [20:04:20]SAM_PROTO_SignData done [20:04:20]FM_MakeSignedData done [20:04:20]CreateOFDProtocolMessage [20:04:20]wFMCommunicate request_size=4 [20:04:20]MH_SAM_APDU [20:04:20]CAPDU: 80 11 00 00 [20:04:20]Write to MH i2c: E2 08 00 71 0F 80 11 00 00 00 00 00 00 FA [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:21]Read from MH i2c: E2 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 17 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: E2 17 00 71 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 54 [20:04:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:04:21]wFMCommunicate OK [20:04:21]CreateOFDProtocolMessage done [20:04:21]OFDSenderStorePacket 57074 [20:04:21]StoreOFDPacket docnum=57074 [20:04:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 19 01 00 00 DB C3 11 01 67 29 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 46 2F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F2 DE 00 00 35 04 06 00 CE 60 A8 39 A6 96 73 11 A6 58 04 CA 3B ED [20:04:21]CheckFolder [20:04:21]dirname=/storage/ofd_packets [20:04:21]CheckFolder done [20:04:21]ProducePacketName [20:04:21]name=ofd_packets/00057074 [20:04:21]NVStorageSaveData ofd_packets/00057074 [20:04:21]File name is /storage/ofd_packets/00057074 [20:04:21]Write 311 bytes [20:04:21]NVStorageSaveData done [20:04:21]OFDSenderStorePacket done [20:04:21]KKMCreateOFDPacket done [20:04:21]NVStorageSaveData kkm_last_timestamp [20:04:21]File name is /storage/kkm_last_timestamp [20:04:21]Write 4 bytes [20:04:21]NVStorageSaveData done [20:04:21]ExternCall_PrintAddStr [20:04:21]wPrintStart [20:04:21]Write to MH i2c: 01 00 00 72 0F 81 [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: 01 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: 01 07 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: 01 07 00 72 0F 00 00 00 00 00 FF 0F 96 [20:04:21]RasterBufferAndPrint [20:04:21]line Счет N : (3)129535 [20:04:21]line ИНН: 02508201610067 [20:04:21]line Контрольно-Кассовый Чек [20:04:21]line ПРОДАЖА [20:04:21]line Товар: 48741156 [20:04:21]line Сигареты LD Blue [20:04:21]line 1.000 * 130.00 [20:04:21]line = 130.00 [20:04:21]line НДС 12% НСП 1% [20:04:21]line > о реализуемом товаре [20:04:21]line ИТОГО: 130.00 [20:04:21]line НСП 1% : 1.15 [20:04:21]line НДС 12% : 13.80 [20:04:21]line Наличными: 0.00 [20:04:21]line Безнал.: 130.00 [20:04:21]line Место: АЗС № 132 "Партнер Нефть" [20:04:21]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:04:21]line СНО: Общий режим [20:04:21]line Чек 91 14.07.2024 20:04 [20:04:21]line Смена: 496 ФФД: 1.0 [20:04:21]line ЗНМ: 0300000132 [20:04:21]line РНМ: 0000000000091208 [20:04:21]line Версия ККМ: 001 [20:04:21]line Платежная система: АКБ Кыргызстан [20:04:21]line ФМ: 0000000000874857 [20:04:21]line ФД: 57074 [20:04:21]line ФПД: 226914534532758 [20:04:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T200422&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57074&fm=226914534532758&tin=02508201610067®Number=0000000000091208&sum=13000 [20:04:21]OFD Sender: Processing packet 57074 [packets to send 38, broken 37] [20:04:21]ProducePacketName [20:04:21]name=ofd_packets/00057074 [20:04:21]OFD Sender: To server: pG, [20:04:21]CommunicateWithHost lk.salyk.kg:30040 [20:04:21]ConnectInit lk.salyk.kg [20:04:21]line 0 [20:04:21]written 0, free lines is 4095 [20:04:21]Connected sock=9 [20:04:21]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 19 01 00 00 DB C3 11 01 67 29 5A 03 01 00 03 00 05 01 1E 04 01 00 01 23 04 57 00 8A 04 08 00 34 38 37 34 31 31 35 36 06 04 18 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 4C 44 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5B 00 00 00 F4 03 04 00 46 2F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F2 DE 00 00 35 04 06 00 CE 60 A8 39 A6 96 73 11 A6 58 04 CA 3B ED [20:04:21]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 9D EE 47 00 A4 75 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F2 DE 00 00 F4 03 04 00 96 D5 93 66 B6 04 01 00 00 D1 D6 FD 6C 67 B7 ED 14 [20:04:21]CommunicateWithHost err = 0 [20:04:21]CheckOFDResponse [20:04:21]1017 (14) - 77093643461234 [20:04:21]1041 (16) - 0000000000874857 [20:04:21]1040 (4) - 57074 [20:04:21]1012 (4) - 14.07.2024 13:41 [20:04:21]1206 (1) - 0 [20:04:21]OFD Sender: Remove packet 57074 [20:04:21]ProducePacketName [20:04:21]name=ofd_packets/00057074 [20:04:21]NVStorageDeleteData [20:04:21]Write to MH i2c: 01 00 00 9C 0F AB [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: 01 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: 01 07 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: 01 07 00 9C 0F 00 00 00 00 00 F6 0C B4 [20:04:21]RasterBufferAndPrint [20:04:21]line [20:04:21]line [20:04:21]line [20:04:21]line [20:04:21]line [20:04:21]written 0, free lines is 3326 [20:04:21]MH_Cut [20:04:21]Write to MH i2c: D1 01 00 A3 0F 01 84 [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: D1 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: D1 01 00 [20:04:21]MH_I2C_Read... [20:04:21]Read from MH i2c: D1 01 00 A3 0F 00 83 [20:04:21]Write to MH i2c: 01 00 00 A4 0F B3 [20:04:21]Write i2c OK [20:04:21]MH_I2C_Read... [20:04:22]OFD Sender: No OFD packet to send [20:04:22]*** Cut start [20:04:22]*** Partial cut [20:04:22]*** CUTSNS_PIN = 1 [20:04:22]*** CUTSNS_PIN = 0 [20:04:22]*** Brake cut motor [20:04:23]Read from MH i2c: 01 [20:04:23]MH_I2C_Read... [20:04:23]*** Stop cut motor [20:04:23]*** Cut end [20:04:23]Read from MH i2c: 01 07 00 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: 01 07 00 A4 0F 00 00 00 00 00 FF 0F C8 [20:04:23]process_action close_receipt done [20:04:23]requested_data is exist [20:04:23]produce_requested_data [20:04:23]requested_item fm.sn is exist - process it [20:04:23]wFMCommunicate request_size=4 [20:04:23]MH_SAM_APDU [20:04:23]CAPDU: 80 11 00 00 [20:04:23]Write to MH i2c: E2 08 00 A5 0F 80 11 00 00 00 00 00 00 2E [20:04:23]Write i2c OK [20:04:23]MH_I2C_Read... [20:04:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:04:23]Read from MH i2c: E2 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 17 00 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 17 00 A5 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 88 [20:04:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:04:23]wFMCommunicate OK [20:04:23]requested_item fd.num is exist - process it [20:04:23]SAM_PROTO_GetFieldsCounters [20:04:23]wFMCommunicate request_size=4 [20:04:23]MH_SAM_APDU [20:04:23]CAPDU: 80 13 00 00 [20:04:23]Write to MH i2c: E2 08 00 A6 0F 80 13 00 00 00 00 00 00 31 [20:04:23]Write i2c OK [20:04:23]MH_I2C_Read... [20:04:23]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:04:23]Read from MH i2c: E2 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 62 00 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 62 00 A6 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F2 DE 00 00 0E 04 04 00 F0 01 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 26 [20:04:23]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F2 DE 00 00 0E 04 04 00 F0 01 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 [20:04:23]wFMCommunicate OK [20:04:23]SAM_PROTO_GetFieldsCounters done [20:04:23]requested_item shift.num is exist - process it [20:04:23]requested_item shift.opened is exist - process it [20:04:23]req_shift_opened [20:04:23]FM_GetShiftState [20:04:23]SAM_PROTO_GetShiftState [20:04:23]wFMCommunicate request_size=4 [20:04:23]MH_SAM_APDU [20:04:23]CAPDU: 80 13 01 00 [20:04:23]Write to MH i2c: E2 08 00 A7 0F 80 13 01 00 00 00 00 00 33 [20:04:23]Write i2c OK [20:04:23]MH_I2C_Read... [20:04:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:04:23]Read from MH i2c: E2 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 0E 00 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 0E 00 A7 0F 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 DA [20:04:23]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:04:23]wFMCommunicate OK [20:04:23]SAM_PROTO_GetShiftState done [20:04:23]FM_GetShiftState done [20:04:23]req_shift_opened done [20:04:23]requested_item shift.open_date is exist - process it [20:04:23]req_shift_open_date [20:04:23]req_shift_open_date done [20:04:23]requested_item shift.sale.total is exist - process it [20:04:23]SAM_PROTO_GetShiftData [20:04:23]wFMCommunicate request_size=4 [20:04:23]MH_SAM_APDU [20:04:23]CAPDU: 80 13 02 00 [20:04:23]Write to MH i2c: E2 08 00 A8 0F 80 13 02 00 00 00 00 00 35 [20:04:23]Write i2c OK [20:04:23]MH_I2C_Read... [20:04:23]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:04:23]Read from MH i2c: E2 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 FD 00 [20:04:23]MH_I2C_Read... [20:04:23]Read from MH i2c: E2 FD 00 A8 0F 00 BB 04 AA 04 B7 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 59 00 00 00 B1 04 03 00 04 EA 2F 70 04 03 00 70 46 26 72 04 03 00 94 A3 09 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 A7 16 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 83 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 4C [20:04:23]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 5B 00 00 00 69 04 9B 00 6F 04 04 00 59 00 00 00 B1 04 03 00 04 EA 2F 70 04 03 00 70 46 26 72 04 03 00 94 A3 09 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 A7 16 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 83 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:04:23]wFMCommunicate OK [20:04:23]wFMCommunicate request_size=4 [20:04:23]MH_SAM_APDU [20:04:23]CAPDU: 80 17 00 00 [20:04:23]Write to MH i2c: E2 08 00 A9 0F 80 17 00 00 00 00 00 00 38 [20:04:23]Write i2c OK [20:04:23]MH_I2C_Read... [20:04:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:04:24]Read from MH i2c: E2 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 FD 00 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 FD 00 A9 0F 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CB [20:04:24]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:04:24]wFMCommunicate OK [20:04:24]wFMCommunicate request_size=4 [20:04:24]MH_SAM_APDU [20:04:24]CAPDU: 80 17 00 00 [20:04:24]Write to MH i2c: E2 08 00 AA 0F 80 17 00 00 00 00 00 00 39 [20:04:24]Write i2c OK [20:04:24]MH_I2C_Read... [20:04:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:04:24]Read from MH i2c: E2 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 FD 00 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 FD 00 AA 0F 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 65 [20:04:24]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:04:24]wFMCommunicate OK [20:04:24]wFMCommunicate request_size=4 [20:04:24]MH_SAM_APDU [20:04:24]CAPDU: 80 17 00 00 [20:04:24]Write to MH i2c: E2 08 00 AB 0F 80 17 00 00 00 00 00 00 3A [20:04:24]Write i2c OK [20:04:24]MH_I2C_Read... [20:04:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:04:24]Read from MH i2c: E2 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 FD 00 [20:04:24]MH_I2C_Read... [20:04:24]Read from MH i2c: E2 FD 00 AB 0F 00 00 00 EF 03 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 90 00 AF [20:04:24]RAPDU: 00 00 EF 03 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 90 00 [20:04:24]wFMCommunicate OK [20:04:24]wFMCommunicate request_size=4 [20:04:24]MH_SAM_APDU [20:04:24]CAPDU: 80 17 00 00 [20:04:24]Write to MH i2c: E2 08 00 AC 0F 80 17 00 00 00 00 00 00 3B [20:04:24]Write i2c OK [20:04:24]MH_I2C_Read... [20:04:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:04:25]Read from MH i2c: E2 [20:04:25]MH_I2C_Read... [20:04:25]Read from MH i2c: E2 D8 00 [20:04:25]MH_I2C_Read... [20:04:25]Read from MH i2c: E2 D8 00 AC 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 22 [20:04:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:04:25]wFMCommunicate OK [20:04:25]SAM_PROTO_GetShiftData done [20:04:25]requested_item shift.sale.total_cash is exist - process it [20:04:25]requested_item shift.sale_refund.total is exist - process it [20:04:25]requested_item shift.sale_refund.total_cash is exist - process it [20:04:25]produce_requested_data done [20:04:25]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57074,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31401.00,"shift.sale.total_cash":25084.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:04:25]process_action_free close_receipt [20:04:25]json_value_free [20:04:25]json_value_free done [20:04:25]process_json_proto returns [20:04:25]Send response to host [20:04:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57074,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31401.00,"shift.sale.total_cash":25084.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:04:25]free response buf [20:04:25]execute_script done [20:04:25]execute_script returns [20:04:25]free content buf [20:04:25]Sock 7.Close socket [20:04:25]Sock 7.Thread stoped [20:04:27]OFD Sender: No OFD packet to send [20:04:32]OFD Sender: No OFD packet to send [20:04:37]OFD Sender: No OFD packet to send [20:04:42]OFD Sender: No OFD packet to send [20:04:47]OFD Sender: No OFD packet to send [20:04:52]OFD Sender: No OFD packet to send [20:04:57]OFD Sender: No OFD packet to send [20:05:02]OFD Sender: No OFD packet to send [20:05:07]OFD Sender: No OFD packet to send [20:05:12]OFD Sender: No OFD packet to send [20:05:17]OFD Sender: No OFD packet to send [20:05:22]OFD Sender: No OFD packet to send [20:05:27]OFD Sender: No OFD packet to send [20:05:32]OFD Sender: No OFD packet to send [20:05:37]OFD Sender: No OFD packet to send [20:05:42]OFD Sender: No OFD packet to send [20:05:47]OFD Sender: No OFD packet to send [20:05:52]OFD Sender: No OFD packet to send [20:05:57]OFD Sender: No OFD packet to send [20:06:02]OFD Sender: No OFD packet to send [20:06:07]OFD Sender: No OFD packet to send [20:06:12]OFD Sender: No OFD packet to send [20:06:17]OFD Sender: No OFD packet to send [20:06:22]OFD Sender: No OFD packet to send [20:06:27]OFD Sender: No OFD packet to send [20:06:32]OFD Sender: No OFD packet to send [20:06:37]OFD Sender: No OFD packet to send [20:06:42]OFD Sender: No OFD packet to send [20:06:47]OFD Sender: No OFD packet to send [20:06:52]OFD Sender: No OFD packet to send [20:06:57]OFD Sender: No OFD packet to send [20:07:02]OFD Sender: No OFD packet to send [20:07:07]OFD Sender: No OFD packet to send [20:07:12]OFD Sender: No OFD packet to send [20:07:17]OFD Sender: No OFD packet to send [20:07:22]OFD Sender: No OFD packet to send [20:07:27]OFD Sender: No OFD packet to send [20:07:32]OFD Sender: No OFD packet to send [20:07:37]OFD Sender: No OFD packet to send [20:07:42]OFD Sender: No OFD packet to send [20:07:47]OFD Sender: No OFD packet to send [20:07:52]OFD Sender: No OFD packet to send [20:07:57]OFD Sender: No OFD packet to send [20:08:02]OFD Sender: No OFD packet to send [20:08:07]OFD Sender: No OFD packet to send [20:08:12]OFD Sender: No OFD packet to send [20:08:17]OFD Sender: No OFD packet to send [20:08:22]OFD Sender: No OFD packet to send [20:08:27]OFD Sender: No OFD packet to send [20:08:32]OFD Sender: No OFD packet to send [20:08:37]OFD Sender: No OFD packet to send [20:08:42]OFD Sender: No OFD packet to send [20:08:47]OFD Sender: No OFD packet to send [20:08:52]OFD Sender: No OFD packet to send [20:08:57]OFD Sender: No OFD packet to send [20:09:02]OFD Sender: No OFD packet to send [20:09:07]OFD Sender: No OFD packet to send [20:09:12]OFD Sender: No OFD packet to send [20:09:17]OFD Sender: No OFD packet to send [20:09:22]OFD Sender: No OFD packet to send [20:09:27]OFD Sender: No OFD packet to send [20:09:32]OFD Sender: No OFD packet to send [20:09:37]OFD Sender: No OFD packet to send [20:09:42]OFD Sender: No OFD packet to send [20:09:47]OFD Sender: No OFD packet to send [20:09:52]OFD Sender: No OFD packet to send [20:09:57]OFD Sender: No OFD packet to send [20:10:02]OFD Sender: No OFD packet to send [20:10:07]OFD Sender: No OFD packet to send [20:10:12]OFD Sender: No OFD packet to send [20:10:17]OFD Sender: No OFD packet to send [20:10:22]OFD Sender: No OFD packet to send [20:10:27]OFD Sender: No OFD packet to send [20:10:32]OFD Sender: No OFD packet to send [20:10:37]OFD Sender: No OFD packet to send [20:10:42]OFD Sender: No OFD packet to send [20:10:47]OFD Sender: No OFD packet to send [20:10:52]OFD Sender: No OFD packet to send [20:10:57]OFD Sender: No OFD packet to send [20:11:02]OFD Sender: No OFD packet to send [20:11:07]OFD Sender: No OFD packet to send [20:11:12]OFD Sender: No OFD packet to send [20:11:17]OFD Sender: No OFD packet to send [20:11:22]OFD Sender: No OFD packet to send [20:11:27]OFD Sender: No OFD packet to send [20:11:32]OFD Sender: No OFD packet to send [20:11:37]OFD Sender: No OFD packet to send [20:11:42]OFD Sender: No OFD packet to send [20:11:47]OFD Sender: No OFD packet to send [20:11:52]OFD Sender: No OFD packet to send [20:11:57]OFD Sender: No OFD packet to send [20:12:02]OFD Sender: No OFD packet to send [20:12:07]OFD Sender: No OFD packet to send [20:12:12]OFD Sender: No OFD packet to send [20:12:17]OFD Sender: No OFD packet to send [20:12:22]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:23]OFD Sender: No OFD packet to send [20:18:28]OFD Sender: No OFD packet to send [20:18:33]OFD Sender: No OFD packet to send [20:18:38]OFD Sender: No OFD packet to send [20:18:43]OFD Sender: No OFD packet to send [20:18:48]OFD Sender: No OFD packet to send [20:18:53]OFD Sender: No OFD packet to send [20:18:58]OFD Sender: No OFD packet to send [20:19:03]OFD Sender: No OFD packet to send [20:19:08]OFD Sender: No OFD packet to send [20:19:13]OFD Sender: No OFD packet to send [20:19:18]OFD Sender: No OFD packet to send [20:19:23]OFD Sender: No OFD packet to send [20:19:28]OFD Sender: No OFD packet to send [20:19:33]OFD Sender: No OFD packet to send [20:19:38]OFD Sender: No OFD packet to send [20:19:43]OFD Sender: No OFD packet to send [20:19:48]OFD Sender: No OFD packet to send [20:19:53]OFD Sender: No OFD packet to send [20:19:58]OFD Sender: No OFD packet to send [20:20:03]OFD Sender: No OFD packet to send [20:20:08]OFD Sender: No OFD packet to send [20:20:13]OFD Sender: No OFD packet to send [20:20:18]OFD Sender: No OFD packet to send [20:20:23]OFD Sender: No OFD packet to send [20:20:28]OFD Sender: No OFD packet to send [20:20:33]OFD Sender: No OFD packet to send [20:20:38]OFD Sender: No OFD packet to send [20:20:43]OFD Sender: No OFD packet to send [20:20:48]OFD Sender: No OFD packet to send [20:20:53]OFD Sender: No OFD packet to send [20:20:58]OFD Sender: No OFD packet to send [20:21:03]OFD Sender: No OFD packet to send [20:21:08]OFD Sender: No OFD packet to send [20:21:13]OFD Sender: No OFD packet to send [20:21:18]OFD Sender: No OFD packet to send [20:21:23]OFD Sender: No OFD packet to send [20:21:28]OFD Sender: No OFD packet to send [20:21:33]OFD Sender: No OFD packet to send [20:21:38]OFD Sender: No OFD packet to send [20:21:43]OFD Sender: No OFD packet to send [20:21:48]OFD Sender: No OFD packet to send [20:21:53]OFD Sender: No OFD packet to send [20:21:58]OFD Sender: No OFD packet to send [20:22:03]OFD Sender: No OFD packet to send [20:22:08]OFD Sender: No OFD packet to send [20:22:13]OFD Sender: No OFD packet to send [20:22:18]OFD Sender: No OFD packet to send [20:22:23]OFD Sender: No OFD packet to send [20:22:28]OFD Sender: No OFD packet to send [20:22:33]OFD Sender: No OFD packet to send [20:22:38]OFD Sender: No OFD packet to send [20:22:43]OFD Sender: No OFD packet to send [20:22:48]OFD Sender: No OFD packet to send [20:22:53]OFD Sender: No OFD packet to send [20:22:58]OFD Sender: No OFD packet to send [20:23:03]OFD Sender: No OFD packet to send [20:23:08]OFD Sender: No OFD packet to send [20:23:13]OFD Sender: No OFD packet to send [20:23:18]OFD Sender: No OFD packet to send [20:23:23]OFD Sender: No OFD packet to send [20:23:28]OFD Sender: No OFD packet to send [20:23:33]OFD Sender: No OFD packet to send [20:23:38]OFD Sender: No OFD packet to send [20:23:43]OFD Sender: No OFD packet to send [20:23:48]OFD Sender: No OFD packet to send [20:23:53]OFD Sender: No OFD packet to send [20:23:58]OFD Sender: No OFD packet to send [20:24:03]OFD Sender: No OFD packet to send [20:24:08]OFD Sender: No OFD packet to send [20:24:13]OFD Sender: No OFD packet to send [20:24:18]OFD Sender: No OFD packet to send [20:24:23]OFD Sender: No OFD packet to send [20:24:28]OFD Sender: No OFD packet to send [20:24:33]OFD Sender: No OFD packet to send [20:24:38]OFD Sender: No OFD packet to send [20:24:43]OFD Sender: No OFD packet to send [20:24:48]OFD Sender: No OFD packet to send [20:24:53]OFD Sender: No OFD packet to send [20:24:58]OFD Sender: No OFD packet to send [20:25:03]OFD Sender: No OFD packet to send [20:25:08]OFD Sender: No OFD packet to send [20:25:13]OFD Sender: No OFD packet to send [20:25:18]OFD Sender: No OFD packet to send [20:25:23]OFD Sender: No OFD packet to send [20:25:28]OFD Sender: No OFD packet to send [20:25:33]OFD Sender: No OFD packet to send [20:25:38]OFD Sender: No OFD packet to send [20:25:43]OFD Sender: No OFD packet to send [20:25:48]OFD Sender: No OFD packet to send [20:25:53]OFD Sender: No OFD packet to send [20:25:58]OFD Sender: No OFD packet to send [20:26:03]OFD Sender: No OFD packet to send [20:26:08]OFD Sender: No OFD packet to send [20:26:13]OFD Sender: No OFD packet to send [20:26:18]OFD Sender: No OFD packet to send [20:26:23]OFD Sender: No OFD packet to send [20:26:28]OFD Sender: No OFD packet to send [20:26:33]OFD Sender: No OFD packet to send [20:26:37]accept exits with 10 [20:26:37]New connection [20:26:37]New thread 3067448676 created [20:26:37]Thread 3067592036 joined [20:26:37]Waiting for new connection... [20:26:37] Sock 10.Parse request [20:26:37]Sock 10.Check first char [20:26:37]Sock 10.First char is OK [20:26:37]request: POST /json_proto HTTP/1.0 [20:26:37]Method: POST [20:26:37]URL: /json_proto [20:26:37]Method is POST - this is cgi request [20:26:37]url: /json_proto [20:26:37]query_string will be loaded in cgi processing [20:26:37]execute_cgi json_proto POST (null) [20:26:37]execute_cgi path=json_proto method=POST [20:26:37]POST find Content-Length [20:26:37]Host: 172.17.39.4:8080 [20:26:37]Content-Length: 955 [20:26:37]Content-Type: application/json [20:26:37] [20:26:37]POST finish read [20:26:37]Found Content-Length = 955 [20:26:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129536", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:26:37]execute_script... [20:26: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)129536", "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 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:26:37]POST & json_proto [20:26:37]process_json_proto [20:26:37]json parsed OK: [20:26:37]protocol is kg_v1.0 [20:26:37]action value=close_receipt [20:26:37]process_action close_receipt [20:26:37]cmd_close_receipt [20:26:37]MH_GetDate [20:26:37]Write to MH i2c: F0 00 00 AD 0F AB [20:26:37]Write i2c OK [20:26:37]MH_I2C_Read... [20:26:37]Read from MH i2c: F0 [20:26:37]MH_I2C_Read... [20:26:37]Read from MH i2c: F0 09 00 [20:26:37]MH_I2C_Read... [20:26:37]Read from MH i2c: F0 09 00 AD 0F 00 80 34 94 66 2D 25 5D 64 75 [20:26:37]GetLastDocTimeStamp 1720987462 [20:26:37]current date 1720988800 [20:26:37]FM_GetShiftState [20:26:37]SAM_PROTO_GetShiftState [20:26:37]wFMCommunicate request_size=4 [20:26:37]MH_SAM_APDU [20:26:37]CAPDU: 80 13 01 00 [20:26:37]Write to MH i2c: E2 08 00 AE 0F 80 13 01 00 00 00 00 00 3A [20:26:37]Write i2c OK [20:26:37]MH_I2C_Read... [20:26:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:26:37]Read from MH i2c: E2 [20:26:37]MH_I2C_Read... [20:26:37]Read from MH i2c: E2 0E 00 [20:26:37]MH_I2C_Read... [20:26:37]Read from MH i2c: E2 0E 00 AE 0F 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 E1 [20:26:37]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:26:37]wFMCommunicate OK [20:26:37]SAM_PROTO_GetShiftState done [20:26:37]FM_GetShiftState done [20:26:37]opened in 1720917126 [20:26:37]opened+sec_in_day 1721003526 [20:26:37]quantity*price = 10500 [20:26:37]sum+1 = 10501 [20:26:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 0.00 Безнал.: 105.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 92 14.07.2024 20:26 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57075 ФПД: 78592281545697 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T202640&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57075&fm=78592281545697&tin=02508201610067®Number=0000000000091208&sum=10500 0 [20:26:38]StoreToDocumentArchive [20:26:38]shift 496 fd 57075 [20:26:38]save to /storage/0496/doc_00057075 [20:26:38]save last doc name /storage/0496/doc_00057075 to /storage/kkm_last_doc_name [20:26:38]save OK [20:26:38]Clear old archive folders... [20:26:38]ProcessDocumentItem done err = 0, tmpTLVsize=282 [20:26:38]tlvbuf is 00FF8D90 [20:26:38]SAM_PROTO_ClearQueue [20:26:38]wFMCommunicate request_size=4 [20:26:38]MH_SAM_APDU [20:26:38]CAPDU: 80 09 00 00 [20:26:38]Write to MH i2c: E2 08 00 BB 0F 80 09 00 00 00 00 00 00 3C [20:26:38]Write i2c OK [20:26:38]MH_I2C_Read... [20:26:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:26:38]Read from MH i2c: E2 [20:26:38]MH_I2C_Read... [20:26:38]Read from MH i2c: E2 03 00 [20:26:38]MH_I2C_Read... [20:26:38]Read from MH i2c: E2 03 00 BB 0F 00 90 00 3E [20:26:38]RAPDU: 90 00 [20:26:38]wFMCommunicate OK [20:26:38]SAM_PROTO_ClearQueue done [20:26:38]KKMCreateOFDPacket [20:26:38]OFDProtocolAddRootSTLVToBuf [20:26:38]FM_MakeSignedData [20:26:38]FM_MakeSignedData [20:26:38]SAM_PROTO_SignData [20:26:38]wFMCommunicate request_size=4 [20:26:38]MH_SAM_APDU [20:26:38]CAPDU: 80 0D 01 02 [20:26:38]Write to MH i2c: E2 08 00 BC 0F 80 0D 01 02 00 00 00 00 44 [20:26:38]Write i2c OK [20:26:38]MH_I2C_Read... [20:26:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:26:38]Read from MH i2c: E2 [20:26:38]MH_I2C_Read... [20:26:38]Read from MH i2c: E2 03 00 [20:26:38]MH_I2C_Read... [20:26:38]Read from MH i2c: E2 03 00 BC 0F 00 90 00 3F [20:26:38]RAPDU: 90 00 [20:26:38]wFMCommunicate OK [20:26:38]wFMCommunicate request_size=255 [20:26:38]MH_SAM_APDU [20:26:38]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 80 34 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [20:26:38]Write to MH i2c: E2 02 01 BD 0F 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 80 34 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 02 [20:26:38]Write i2c OK [20:26:38]MH_I2C_Read... [20:26:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:26:38]Read from MH i2c: E2 [20:26:38]MH_I2C_Read... [20:26:38]Read from MH i2c: E2 03 00 [20:26:38]MH_I2C_Read... [20:26:38]Read from MH i2c: E2 03 00 BD 0F 00 90 00 40 [20:26:38]RAPDU: 90 00 [20:26:38]wFMCommunicate OK [20:26:38]wFMCommunicate request_size=41 [20:26:38]MH_SAM_APDU [20:26:38]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F3 DE 00 00 35 04 06 00 47 7A B1 06 0B E1 [20:26:38]Write to MH i2c: E2 2C 00 BE 0F 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F3 DE 00 00 35 04 06 00 47 7A B1 06 0B E1 00 00 52 [20:26:38]Write i2c OK [20:26:38]MH_I2C_Read... [20:26:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:26:38]Read from MH i2c: E2 [20:26:38]MH_I2C_Read... [20:26:38]Read from MH i2c: E2 03 00 [20:26:38]MH_I2C_Read... [20:26:38]Read from MH i2c: E2 03 00 BE 0F 00 90 00 41 [20:26:38]RAPDU: 90 00 [20:26:38]wFMCommunicate OK [20:26:38]wFMCommunicate request_size=4 [20:26:38]MH_SAM_APDU [20:26:38]CAPDU: 80 0D 03 02 [20:26:38]Write to MH i2c: E2 08 00 BF 0F 80 0D 03 02 00 00 00 00 49 [20:26:38]Write i2c OK [20:26:38]MH_I2C_Read... [20:26:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:26:39]Read from MH i2c: E2 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: E2 0B 00 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: E2 0B 00 BF 0F 00 1D C9 57 C8 F3 FB E7 A0 90 00 C4 [20:26:39]RAPDU: 1D C9 57 C8 F3 FB E7 A0 90 00 [20:26:39]wFMCommunicate OK [20:26:39]SAM_PROTO_SignData done [20:26:39]FM_MakeSignedData done [20:26:39]CreateOFDProtocolMessage [20:26:39]wFMCommunicate request_size=4 [20:26:39]MH_SAM_APDU [20:26:39]CAPDU: 80 11 00 00 [20:26:39]Write to MH i2c: E2 08 00 C0 0F 80 11 00 00 00 00 00 00 49 [20:26:39]Write i2c OK [20:26:39]MH_I2C_Read... [20:26:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:26:39]Read from MH i2c: E2 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: E2 17 00 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: E2 17 00 C0 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A3 [20:26:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:26:39]wFMCommunicate OK [20:26:39]CreateOFDProtocolMessage done [20:26:39]OFDSenderStorePacket 57075 [20:26:39]StoreOFDPacket docnum=57075 [20:26:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 67 B8 26 01 9E E3 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 80 34 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F3 DE 00 00 35 04 06 00 47 7A B1 06 0B E1 1D C9 57 C8 F3 FB E7 A0 [20:26:39]CheckFolder [20:26:39]dirname=/storage/ofd_packets [20:26:39]CheckFolder done [20:26:39]ProducePacketName [20:26:39]name=ofd_packets/00057075 [20:26:39]NVStorageSaveData ofd_packets/00057075 [20:26:39]File name is /storage/ofd_packets/00057075 [20:26:39]Write 332 bytes [20:26:39]NVStorageSaveData done [20:26:39]OFDSenderStorePacket done [20:26:39]KKMCreateOFDPacket done [20:26:39]NVStorageSaveData kkm_last_timestamp [20:26:39]File name is /storage/kkm_last_timestamp [20:26:39]Write 4 bytes [20:26:39]NVStorageSaveData done [20:26:39]ExternCall_PrintAddStr [20:26:39]wPrintStart [20:26:39]Write to MH i2c: 01 00 00 C1 0F D0 [20:26:39]Write i2c OK [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: 01 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: 01 07 00 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: 01 07 00 C1 0F 00 00 00 00 00 FF 0F E5 [20:26:39]RasterBufferAndPrint [20:26:39]line Счет N : (3)129536 [20:26:39]line ИНН: 02508201610067 [20:26:39]line Контрольно-Кассовый Чек [20:26:39]line ПРОДАЖА [20:26:39]line Товар: 2000034730018 [20:26:39]line Кофе Американо (GABB TRADE) [20:26:39]line 1.000 * 105.00 [20:26:39]line = 105.00 [20:26:39]line НДС 12% НСП 1% [20:26:39]line > о реализуемом товаре [20:26:39]line ИТОГО: 105.00 [20:26:39]line НСП 1% : 0.93 [20:26:39]line НДС 12% : 11.15 [20:26:39]line Наличными: 0.00 [20:26:39]line Безнал.: 105.00 [20:26:39]line Место: АЗС № 132 "Партнер Нефть" [20:26:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:26:39]line СНО: Общий режим [20:26:39]line Чек 92 14.07.2024 20:26 [20:26:39]line Смена: 496 ФФД: 1.0 [20:26:39]line ЗНМ: 0300000132 [20:26:39]line РНМ: 0000000000091208 [20:26:39]line Версия ККМ: 001 [20:26:39]line Платежная система: АКБ Кыргызстан [20:26:39]line ФМ: 0000000000874857 [20:26:39]line ФД: 57075 [20:26:39]line ФПД: 78592281545697 [20:26:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T202640&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57075&fm=78592281545697&tin=02508201610067®Number=0000000000091208&sum=10500 [20:26:39]line 0 [20:26:39]written 0, free lines is 4095 [20:26:39]OFD Sender: Processing packet 57075 [packets to send 38, broken 37] [20:26:39]ProducePacketName [20:26:39]name=ofd_packets/00057075 [20:26:39]OFD Sender: To server: pG, [20:26:39]CommunicateWithHost lk.salyk.kg:30040 [20:26:39]ConnectInit lk.salyk.kg [20:26:39]Connected sock=9 [20:26:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 67 B8 26 01 9E E3 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 04 29 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5C 00 00 00 F4 03 04 00 80 34 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F3 DE 00 00 35 04 06 00 47 7A B1 06 0B E1 1D C9 57 C8 F3 FB E7 A0 [20:26:39]Write to MH i2c: 01 00 00 EC 0F FB [20:26:39]Write i2c OK [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: 01 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: 01 07 00 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: 01 07 00 EC 0F 00 00 00 00 00 E7 0C F5 [20:26:39]RasterBufferAndPrint [20:26:39]line [20:26:39]line [20:26:39]line [20:26:39]line [20:26:39]line [20:26:39]written 0, free lines is 3309 [20:26:39]MH_Cut [20:26:39]Write to MH i2c: D1 01 00 F3 0F 01 D4 [20:26:39]Write i2c OK [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: D1 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: D1 01 00 [20:26:39]MH_I2C_Read... [20:26:39]Read from MH i2c: D1 01 00 F3 0F 00 D3 [20:26:39]Write to MH i2c: 01 00 00 F4 0F 03 [20:26:39]Write i2c OK [20:26:39]MH_I2C_Read... [20:26:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 AB 47 47 00 9B 95 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F3 DE 00 00 F4 03 04 00 D0 DA 93 66 B6 04 01 00 00 FD E2 C6 06 FF DC 1B AF [20:26:39]CommunicateWithHost err = 0 [20:26:39]CheckOFDResponse [20:26:39]1017 (14) - 77093643461234 [20:26:39]1041 (16) - 0000000000874857 [20:26:39]1040 (4) - 57075 [20:26:39]1012 (4) - 14.07.2024 14:04 [20:26:39]1206 (1) - 0 [20:26:39]OFD Sender: Remove packet 57075 [20:26:39]ProducePacketName [20:26:39]name=ofd_packets/00057075 [20:26:39]NVStorageDeleteData [20:26:40]OFD Sender: No OFD packet to send [20:26:40]*** Cut start [20:26:40]*** Partial cut [20:26:40]*** CUTSNS_PIN = 1 [20:26:40]*** CUTSNS_PIN = 0 [20:26:40]*** Brake cut motor [20:26:40]Read from MH i2c: 01 [20:26:40]MH_I2C_Read... [20:26:40]*** Stop cut motor [20:26:40]*** Cut end [20:26:40]Read from MH i2c: 01 07 00 [20:26:40]MH_I2C_Read... [20:26:40]Read from MH i2c: 01 07 00 F4 0F 00 00 00 00 00 FF 0F 18 [20:26:40]process_action close_receipt done [20:26:40]requested_data is exist [20:26:40]produce_requested_data [20:26:40]requested_item fm.sn is exist - process it [20:26:40]wFMCommunicate request_size=4 [20:26:40]MH_SAM_APDU [20:26:40]CAPDU: 80 11 00 00 [20:26:40]Write to MH i2c: E2 08 00 F5 0F 80 11 00 00 00 00 00 00 7E [20:26:40]Write i2c OK [20:26:40]MH_I2C_Read... [20:26:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:26:41]Read from MH i2c: E2 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 17 00 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 17 00 F5 0F 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D8 [20:26:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:26:41]wFMCommunicate OK [20:26:41]requested_item fd.num is exist - process it [20:26:41]SAM_PROTO_GetFieldsCounters [20:26:41]wFMCommunicate request_size=4 [20:26:41]MH_SAM_APDU [20:26:41]CAPDU: 80 13 00 00 [20:26:41]Write to MH i2c: E2 08 00 F6 0F 80 13 00 00 00 00 00 00 81 [20:26:41]Write i2c OK [20:26:41]MH_I2C_Read... [20:26:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:26:41]Read from MH i2c: E2 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 62 00 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 62 00 F6 0F 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F3 DE 00 00 0E 04 04 00 F0 01 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 7A [20:26:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F3 DE 00 00 0E 04 04 00 F0 01 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 [20:26:41]wFMCommunicate OK [20:26:41]SAM_PROTO_GetFieldsCounters done [20:26:41]requested_item shift.num is exist - process it [20:26:41]requested_item shift.opened is exist - process it [20:26:41]req_shift_opened [20:26:41]FM_GetShiftState [20:26:41]SAM_PROTO_GetShiftState [20:26:41]wFMCommunicate request_size=4 [20:26:41]MH_SAM_APDU [20:26:41]CAPDU: 80 13 01 00 [20:26:41]Write to MH i2c: E2 08 00 F7 0F 80 13 01 00 00 00 00 00 83 [20:26:41]Write i2c OK [20:26:41]MH_I2C_Read... [20:26:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:26:41]Read from MH i2c: E2 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 0E 00 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 0E 00 F7 0F 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 2A [20:26:41]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:26:41]wFMCommunicate OK [20:26:41]SAM_PROTO_GetShiftState done [20:26:41]FM_GetShiftState done [20:26:41]req_shift_opened done [20:26:41]requested_item shift.open_date is exist - process it [20:26:41]req_shift_open_date [20:26:41]req_shift_open_date done [20:26:41]requested_item shift.sale.total is exist - process it [20:26:41]SAM_PROTO_GetShiftData [20:26:41]wFMCommunicate request_size=4 [20:26:41]MH_SAM_APDU [20:26:41]CAPDU: 80 13 02 00 [20:26:41]Write to MH i2c: E2 08 00 F8 0F 80 13 02 00 00 00 00 00 85 [20:26:41]Write i2c OK [20:26:41]MH_I2C_Read... [20:26:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:26:41]Read from MH i2c: E2 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 FD 00 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 FD 00 F8 0F 00 BB 04 AA 04 B7 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 08 13 30 70 04 03 00 70 46 26 72 04 03 00 98 CC 09 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 02 1B 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 E0 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 B6 [20:26:41]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 5C 00 00 00 69 04 9B 00 6F 04 04 00 5A 00 00 00 B1 04 03 00 08 13 30 70 04 03 00 70 46 26 72 04 03 00 98 CC 09 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 02 1B 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 E0 6C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:26:41]wFMCommunicate OK [20:26:41]wFMCommunicate request_size=4 [20:26:41]MH_SAM_APDU [20:26:41]CAPDU: 80 17 00 00 [20:26:41]Write to MH i2c: E2 08 00 F9 0F 80 17 00 00 00 00 00 00 88 [20:26:41]Write i2c OK [20:26:41]MH_I2C_Read... [20:26:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:26:41]Read from MH i2c: E2 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 FD 00 [20:26:41]MH_I2C_Read... [20:26:41]Read from MH i2c: E2 FD 00 F9 0F 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1B [20:26:41]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:26:41]wFMCommunicate OK [20:26:41]wFMCommunicate request_size=4 [20:26:41]MH_SAM_APDU [20:26:41]CAPDU: 80 17 00 00 [20:26:41]Write to MH i2c: E2 08 00 FA 0F 80 17 00 00 00 00 00 00 89 [20:26:41]Write i2c OK [20:26:41]MH_I2C_Read... [20:26:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:26:42]Read from MH i2c: E2 [20:26:42]MH_I2C_Read... [20:26:42]Read from MH i2c: E2 FD 00 [20:26:42]MH_I2C_Read... [20:26:42]Read from MH i2c: E2 FD 00 FA 0F 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B5 [20:26:42]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:26:42]wFMCommunicate OK [20:26:42]wFMCommunicate request_size=4 [20:26:42]MH_SAM_APDU [20:26:42]CAPDU: 80 17 00 00 [20:26:42]Write to MH i2c: E2 08 00 FB 0F 80 17 00 00 00 00 00 00 8A [20:26:42]Write i2c OK [20:26:42]MH_I2C_Read... [20:26:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:26:42]Read from MH i2c: E2 [20:26:42]MH_I2C_Read... [20:26:42]Read from MH i2c: E2 FD 00 [20:26:42]MH_I2C_Read... [20:26:42]Read from MH i2c: E2 FD 00 FB 0F 00 00 00 EF 03 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 90 00 FF [20:26:42]RAPDU: 00 00 EF 03 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 90 00 [20:26:42]wFMCommunicate OK [20:26:42]wFMCommunicate request_size=4 [20:26:42]MH_SAM_APDU [20:26:42]CAPDU: 80 17 00 00 [20:26:42]Write to MH i2c: E2 08 00 FC 0F 80 17 00 00 00 00 00 00 8B [20:26:42]Write i2c OK [20:26:42]MH_I2C_Read... [20:26:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:26:42]Read from MH i2c: E2 [20:26:42]MH_I2C_Read... [20:26:42]Read from MH i2c: E2 D8 00 [20:26:42]MH_I2C_Read... [20:26:42]Read from MH i2c: E2 D8 00 FC 0F 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 72 [20:26:42]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:26:42]wFMCommunicate OK [20:26:42]SAM_PROTO_GetShiftData done [20:26:42]requested_item shift.sale.total_cash is exist - process it [20:26:42]requested_item shift.sale_refund.total is exist - process it [20:26:42]requested_item shift.sale_refund.total_cash is exist - process it [20:26:42]produce_requested_data done [20:26:42]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57075,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31506.00,"shift.sale.total_cash":25084.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:26:42]process_action_free close_receipt [20:26:42]json_value_free [20:26:42]json_value_free done [20:26:42]process_json_proto returns [20:26:42]Send response to host [20:26:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57075,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31506.00,"shift.sale.total_cash":25084.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:26:42]free response buf [20:26:42]execute_script done [20:26:42]execute_script returns [20:26:42]free content buf [20:26:42]Sock 10.Close socket [20:26:42]Sock 10.Thread stoped [20:26:45]OFD Sender: No OFD packet to send [20:26:50]OFD Sender: No OFD packet to send [20:26:55]OFD Sender: No OFD packet to send [20:27:00]OFD Sender: No OFD packet to send [20:27:05]OFD Sender: No OFD packet to send [20:27:10]OFD Sender: No OFD packet to send [20:27:15]OFD Sender: No OFD packet to send [20:27:20]OFD Sender: No OFD packet to send [20:27:25]OFD Sender: No OFD packet to send [20:27:30]OFD Sender: No OFD packet to send [20:27:35]OFD Sender: No OFD packet to send [20:27:40]OFD Sender: No OFD packet to send [20:27:45]OFD Sender: No OFD packet to send [20:27:50]OFD Sender: No OFD packet to send [20:27:55]OFD Sender: No OFD packet to send [20:28:00]OFD Sender: No OFD packet to send [20:28:05]OFD Sender: No OFD packet to send [20:28:10]OFD Sender: No OFD packet to send [20:28:15]OFD Sender: No OFD packet to send [20:28:20]OFD Sender: No OFD packet to send [20:28:25]OFD Sender: No OFD packet to send [20:28:30]OFD Sender: No OFD packet to send [20:28:35]OFD Sender: No OFD packet to send [20:28:40]OFD Sender: No OFD packet to send [20:28:45]OFD Sender: No OFD packet to send [20:28:50]OFD Sender: No OFD packet to send [20:28:55]OFD Sender: No OFD packet to send [20:29:00]OFD Sender: No OFD packet to send [20:29:05]OFD Sender: No OFD packet to send [20:29:10]OFD Sender: No OFD packet to send [20:29:15]OFD Sender: No OFD packet to send [20:29:20]OFD Sender: No OFD packet to send [20:29:25]OFD Sender: No OFD packet to send [20:29:30]OFD Sender: No OFD packet to send [20:29:35]OFD Sender: No OFD packet to send [20:29:40]OFD Sender: No OFD packet to send [20:29:45]OFD Sender: No OFD packet to send [20:29:50]OFD Sender: No OFD packet to send [20:29:55]OFD Sender: No OFD packet to send [20:30:00]OFD Sender: No OFD packet to send [20:30:05]OFD Sender: No OFD packet to send [20:30:10]OFD Sender: No OFD packet to send [20:30:15]OFD Sender: No OFD packet to send [20:30:20]OFD Sender: No OFD packet to send [20:30:25]OFD Sender: No OFD packet to send [20:30:30]OFD Sender: No OFD packet to send [20:30:35]OFD Sender: No OFD packet to send [20:30:40]OFD Sender: No OFD packet to send [20:30:45]OFD Sender: No OFD packet to send [20:30:50]OFD Sender: No OFD packet to send [20:30:55]OFD Sender: No OFD packet to send [20:31:00]OFD Sender: No OFD packet to send [20:31:05]OFD Sender: No OFD packet to send [20:31:10]OFD Sender: No OFD packet to send [20:31:15]OFD Sender: No OFD packet to send [20:31:20]OFD Sender: No OFD packet to send [20:31:25]OFD Sender: No OFD packet to send [20:31:30]OFD Sender: No OFD packet to send [20:31:35]OFD Sender: No OFD packet to send [20:31:40]OFD Sender: No OFD packet to send [20:31:45]OFD Sender: No OFD packet to send [20:31:50]OFD Sender: No OFD packet to send [20:31:55]OFD Sender: No OFD packet to send [20:32:00]OFD Sender: No OFD packet to send [20:32:05]OFD Sender: No OFD packet to send [20:32:10]OFD Sender: No OFD packet to send [20:32:15]OFD Sender: No OFD packet to send [20:32:20]OFD Sender: No OFD packet to send [20:32:25]OFD Sender: No OFD packet to send [20:32:30]OFD Sender: No OFD packet to send [20:32:35]OFD Sender: No OFD packet to send [20:32:40]OFD Sender: No OFD packet to send [20:32:45]OFD Sender: No OFD packet to send [20:32:50]OFD Sender: No OFD packet to send [20:32:55]OFD Sender: No OFD packet to send [20:33:00]OFD Sender: No OFD packet to send [20:33:05]OFD Sender: No OFD packet to send [20:33:10]OFD Sender: No OFD packet to send [20:33:15]OFD Sender: No OFD packet to send [20:33:20]OFD Sender: No OFD packet to send [20:33:25]OFD Sender: No OFD packet to send [20:33:30]OFD Sender: No OFD packet to send [20:33:35]OFD Sender: No OFD packet to send [20:33:40]OFD Sender: No OFD packet to send [20:33:45]OFD Sender: No OFD packet to send [20:33:50]OFD Sender: No OFD packet to send [20:33:55]OFD Sender: No OFD packet to send [20:34:00]OFD Sender: No OFD packet to send [20:34:05]OFD Sender: No OFD packet to send [20:34:10]OFD Sender: No OFD packet to send [20:34:15]OFD Sender: No OFD packet to send [20:34:20]OFD Sender: No OFD packet to send [20:34:25]OFD Sender: No OFD packet to send [20:34:30]OFD Sender: No OFD packet to send [20:34:35]OFD Sender: No OFD packet to send [20:34:40]OFD Sender: No OFD packet to send [20:34:45]OFD Sender: No OFD packet to send [20:34:50]OFD Sender: No OFD packet to send [20:34:54]accept exits with 7 [20:34:54]New connection [20:34:54]New thread 3067592036 created [20:34:54]Thread 3067448676 joined [20:34:54]Waiting for new connection... [20:34:54] Sock 7.Parse request [20:34:54]Sock 7.Check first char [20:34:54]Sock 7.First char is OK [20:34:54]request: POST /json_proto HTTP/1.0 [20:34:54]Method: POST [20:34:54]URL: /json_proto [20:34:54]Method is POST - this is cgi request [20:34:54]url: /json_proto [20:34:54]query_string will be loaded in cgi processing [20:34:54]execute_cgi json_proto POST (null) [20:34:54]execute_cgi path=json_proto method=POST [20:34:54]POST find Content-Length [20:34:54]Host: 172.17.39.4:8080 [20:34:54]Content-Length: 994 [20:34:54]Content-Type: application/json [20:34:54] [20:34:54]POST finish read [20:34:54]Found Content-Length = 994 [20:34:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129537", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:34:54]execute_script... [20: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)129537", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2000039440011", "name": "\u0427\u0430\u0439 \u0447\u0435\u0440\u043D\u044B\u0439 200 \u043C\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 170.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:34:54]POST & json_proto [20:34:54]process_json_proto [20:34:54]json parsed OK: [20:34:54]protocol is kg_v1.0 [20:34:54]action value=close_receipt [20:34:54]process_action close_receipt [20:34:54]cmd_close_receipt [20:34:54]MH_GetDate [20:34:54]Write to MH i2c: F0 00 00 FD 0F FB [20:34:54]Write i2c OK [20:34:54]MH_I2C_Read... [20:34:54]Read from MH i2c: F0 [20:34:54]MH_I2C_Read... [20:34:54]Read from MH i2c: F0 09 00 [20:34:54]MH_I2C_Read... [20:34:54]Read from MH i2c: F0 09 00 FD 0F 00 71 36 94 66 2D 25 5D 64 B8 [20:34:54]GetLastDocTimeStamp 1720988800 [20:34:54]current date 1720989297 [20:34:54]FM_GetShiftState [20:34:54]SAM_PROTO_GetShiftState [20:34:54]wFMCommunicate request_size=4 [20:34:54]MH_SAM_APDU [20:34:54]CAPDU: 80 13 01 00 [20:34:54]Write to MH i2c: E2 08 00 FE 0F 80 13 01 00 00 00 00 00 8A [20:34:54]Write i2c OK [20:34:54]MH_I2C_Read... [20:34:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:54]Read from MH i2c: E2 [20:34:54]MH_I2C_Read... [20:34:54]Read from MH i2c: E2 0E 00 [20:34:54]MH_I2C_Read... [20:34:54]Read from MH i2c: E2 0E 00 FE 0F 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 31 [20:34:54]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:34:54]wFMCommunicate OK [20:34:54]SAM_PROTO_GetShiftState done [20:34:54]FM_GetShiftState done [20:34:54]opened in 1720917126 [20:34:54]opened+sec_in_day 1721003526 [20:34:54]quantity*price = 13000 [20:34:54]sum+1 = 13001 [20:34:54]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 2000039440011 Чай черный 200 мл 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 170.00 НСП 1% : 1.50 НДС 12% : 18.05 Наличными: 170.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 93 14.07.2024 20:34 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57076 ФПД: 33063035918110 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T203457&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57076&fm=33063035918110&tin=02508201610067®Number=0000000000091208&sum=17000 0 [20:34:55]StoreToDocumentArchive [20:34:55]shift 496 fd 57076 [20:34:55]save to /storage/0496/doc_00057076 [20:34:55]save last doc name /storage/0496/doc_00057076 to /storage/kkm_last_doc_name [20:34:55]save OK [20:34:55]Clear old archive folders... [20:34:55]ProcessDocumentItem done err = 0, tmpTLVsize=382 [20:34:55]tlvbuf is 00FEA980 [20:34:55]SAM_PROTO_ClearQueue [20:34:55]wFMCommunicate request_size=4 [20:34:55]MH_SAM_APDU [20:34:55]CAPDU: 80 09 00 00 [20:34:55]Write to MH i2c: E2 08 00 0B 10 80 09 00 00 00 00 00 00 8D [20:34:55]Write i2c OK [20:34:55]MH_I2C_Read... [20:34:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:34:55]Read from MH i2c: E2 [20:34:55]MH_I2C_Read... [20:34:55]Read from MH i2c: E2 03 00 [20:34:55]MH_I2C_Read... [20:34:55]Read from MH i2c: E2 03 00 0B 10 00 90 00 8F [20:34:55]RAPDU: 90 00 [20:34:55]wFMCommunicate OK [20:34:55]SAM_PROTO_ClearQueue done [20:34:55]KKMCreateOFDPacket [20:34:55]OFDProtocolAddRootSTLVToBuf [20:34:55]FM_MakeSignedData [20:34:55]FM_MakeSignedData [20:34:55]SAM_PROTO_SignData [20:34:55]wFMCommunicate request_size=4 [20:34:55]MH_SAM_APDU [20:34:55]CAPDU: 80 0D 01 02 [20:34:55]Write to MH i2c: E2 08 00 0C 10 80 0D 01 02 00 00 00 00 95 [20:34:55]Write i2c OK [20:34:55]MH_I2C_Read... [20:34:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:34:55]Read from MH i2c: E2 [20:34:55]MH_I2C_Read... [20:34:55]Read from MH i2c: E2 03 00 [20:34:55]MH_I2C_Read... [20:34:55]Read from MH i2c: E2 03 00 0C 10 00 90 00 90 [20:34:55]RAPDU: 90 00 [20:34:55]wFMCommunicate OK [20:34:55]wFMCommunicate request_size=255 [20:34:55]MH_SAM_APDU [20:34:55]CAPDU: 80 0D 02 02 FA 03 00 7E 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 [20:34:55]Write to MH i2c: E2 02 01 0D 10 80 0D 02 02 FA 00 03 00 7E 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 33 [20:34:55]Write i2c OK [20:34:55]MH_I2C_Read... [20:34:55]OFD Sender: No OFD packet to send [20:34:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:55]Read from MH i2c: E2 [20:34:55]MH_I2C_Read... [20:34:55]Read from MH i2c: E2 03 00 [20:34:55]MH_I2C_Read... [20:34:55]Read from MH i2c: E2 03 00 0D 10 00 90 00 91 [20:34:55]RAPDU: 90 00 [20:34:55]wFMCommunicate OK [20:34:55]wFMCommunicate request_size=141 [20:34:55]MH_SAM_APDU [20:34:55]CAPDU: 80 0D 02 02 88 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 5D 00 00 00 F4 03 04 00 71 36 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F4 DE 00 00 35 04 06 00 1E 12 16 82 D7 1E [20:34:55]Write to MH i2c: E2 90 00 0E 10 80 0D 02 02 88 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 5D 00 00 00 F4 03 04 00 71 36 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F4 DE 00 00 35 04 06 00 1E 12 16 82 D7 1E 00 00 13 [20:34:55]Write i2c OK [20:34:55]MH_I2C_Read... [20:34:56]Read from MH i2c: E2 [20:34:56]MH_I2C_Read... [20:34:56]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:34:56]Read from MH i2c: E2 03 00 [20:34:56]MH_I2C_Read... [20:34:56]Read from MH i2c: E2 03 00 0E 10 00 90 00 92 [20:34:56]RAPDU: 90 00 [20:34:56]wFMCommunicate OK [20:34:56]wFMCommunicate request_size=4 [20:34:56]MH_SAM_APDU [20:34:56]CAPDU: 80 0D 03 02 [20:34:56]Write to MH i2c: E2 08 00 0F 10 80 0D 03 02 00 00 00 00 9A [20:34:56]Write i2c OK [20:34:56]MH_I2C_Read... [20:34:56]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:34:56]Read from MH i2c: E2 [20:34:56]MH_I2C_Read... [20:34:56]Read from MH i2c: E2 0B 00 [20:34:56]MH_I2C_Read... [20:34:56]Read from MH i2c: E2 0B 00 0F 10 00 DA 55 72 63 B7 53 C3 55 90 00 C1 [20:34:56]RAPDU: DA 55 72 63 B7 53 C3 55 90 00 [20:34:56]wFMCommunicate OK [20:34:56]SAM_PROTO_SignData done [20:34:56]FM_MakeSignedData done [20:34:56]CreateOFDProtocolMessage [20:34:56]wFMCommunicate request_size=4 [20:34:56]MH_SAM_APDU [20:34:56]CAPDU: 80 11 00 00 [20:34:56]Write to MH i2c: E2 08 00 10 10 80 11 00 00 00 00 00 00 9A [20:34:56]Write i2c OK [20:34:56]MH_I2C_Read... [20:34:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:56]Read from MH i2c: E2 [20:34:56]MH_I2C_Read... [20:34:56]Read from MH i2c: E2 17 00 [20:34:56]MH_I2C_Read... [20:34:56]Read from MH i2c: E2 17 00 10 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F4 [20:34:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:34:56]wFMCommunicate OK [20:34:56]CreateOFDProtocolMessage done [20:34:56]OFDSenderStorePacket 57076 [20:34:56]StoreOFDPacket docnum=57076 [20:34:56]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 92 01 00 00 76 67 8A 01 AE E0 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 5D 00 00 00 F4 03 04 00 71 36 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F4 DE 00 00 35 04 06 00 1E 12 16 82 D7 1E DA 55 72 63 B7 53 C3 55 [20:34:56]CheckFolder [20:34:56]dirname=/storage/ofd_packets [20:34:56]CheckFolder done [20:34:56]ProducePacketName [20:34:56]name=ofd_packets/00057076 [20:34:56]NVStorageSaveData ofd_packets/00057076 [20:34:56]File name is /storage/ofd_packets/00057076 [20:34:56]Write 432 bytes [20:34:56]NVStorageSaveData done [20:34:56]OFDSenderStorePacket done [20:34:56]KKMCreateOFDPacket done [20:34:56]NVStorageSaveData kkm_last_timestamp [20:34:56]File name is /storage/kkm_last_timestamp [20:34:56]Write 4 bytes [20:34:56]NVStorageSaveData done [20:34:56]ExternCall_PrintAddStr [20:34:56]wPrintStart [20:34:56]Write to MH i2c: 01 00 00 11 10 21 [20:34:56]Write i2c OK [20:34:56]MH_I2C_Read... [20:34:56]Read from MH i2c: 01 [20:34:56]MH_I2C_Read... [20:34:56]Read from MH i2c: 01 07 00 [20:34:56]MH_I2C_Read... [20:34:56]Read from MH i2c: 01 07 00 11 10 00 00 00 00 00 FF 0F 36 [20:34:56]RasterBufferAndPrint [20:34:56]line Счет N : (3)129537 [20:34:56]line ИНН: 02508201610067 [20:34:56]line Контрольно-Кассовый Чек [20:34:56]line ПРОДАЖА [20:34:56]line Товар: 2000036220012 [20:34:56]line Кофе Капучино XL(GABB TRADE) [20:34:56]line 1.000 * 130.00 [20:34:56]line = 130.00 [20:34:56]line НДС 12% НСП 1% [20:34:56]line > о реализуемом товаре [20:34:56]line Товар: 2000039440011 [20:34:56]line Чай черный 200 мл [20:34:56]line 1.000 * 40.00 [20:34:56]line = 40.00 [20:34:56]line НДС 12% НСП 1% [20:34:56]line > о реализуемом товаре [20:34:56]line ИТОГО: 170.00 [20:34:56]line НСП 1% : 1.50 [20:34:56]line НДС 12% : 18.05 [20:34:56]line Наличными: 170.00 [20:34:56]line Безнал.: 0.00 [20:34:56]line Место: АЗС № 132 "Партнер Нефть" [20:34:56]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:34:56]line СНО: Общий режим [20:34:56]line Чек 93 14.07.2024 20:34 [20:34:56]line Смена: 496 ФФД: 1.0 [20:34:56]line ЗНМ: 0300000132 [20:34:56]line РНМ: 0000000000091208 [20:34:56]line Версия ККМ: 001 [20:34:56]line ФМ: 0000000000874857 [20:34:56]line ФД: 57076 [20:34:56]line ФПД: 33063035918110 [20:34:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T203457&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57076&fm=33063035918110&tin=02508201610067®Number=0000000000091208&sum=17000 [20:34:56]line 0 [20:34:56]OFD Sender: Processing packet 57076 [packets to send 38, broken 37] [20:34:56]ProducePacketName [20:34:56]name=ofd_packets/00057076 [20:34:56]OFD Sender: To server: pG, [20:34:56]CommunicateWithHost lk.salyk.kg:30040 [20:34:56]ConnectInit lk.salyk.kg [20:34:56]written 0, free lines is 4095 [20:34:56]Connected sock=10 [20:34:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 92 01 00 00 76 67 8A 01 AE E0 5A 03 01 00 03 00 7E 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 5D 00 00 00 F4 03 04 00 71 36 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F4 DE 00 00 35 04 06 00 1E 12 16 82 D7 1E DA 55 72 63 B7 53 C3 55 [20:34:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 61 50 47 00 85 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 38 37 34 38 35 37 10 04 04 00 F4 DE 00 00 F4 03 04 00 C1 DC 93 66 B6 04 01 00 00 B4 3C 3D E9 88 90 69 BE [20:34:56]CommunicateWithHost err = 0 [20:34:56]CheckOFDResponse [20:34:56]1017 (14) - 77093643461234 [20:34:56]1041 (16) - 0000000000874857 [20:34:56]1040 (4) - 57076 [20:34:56]1012 (4) - 14.07.2024 14:12 [20:34:56]1206 (1) - 0 [20:34:56]OFD Sender: Remove packet 57076 [20:34:56]ProducePacketName [20:34:56]name=ofd_packets/00057076 [20:34:56]NVStorageDeleteData [20:34:57]Write to MH i2c: 01 00 00 40 10 50 [20:34:57]Write i2c OK [20:34:57]MH_I2C_Read... [20:34:57]Read from MH i2c: 01 [20:34:57]MH_I2C_Read... [20:34:57]Read from MH i2c: 01 07 00 [20:34:57]MH_I2C_Read... [20:34:57]Read from MH i2c: 01 07 00 40 10 00 00 00 00 00 9D 0C 00 [20:34:57]RasterBufferAndPrint [20:34:57]line [20:34:57]line [20:34:57]line [20:34:57]line [20:34:57]line [20:34:57]written 0, free lines is 3236 [20:34:57]MH_Cut [20:34:57]Write to MH i2c: D1 01 00 47 10 01 29 [20:34:57]Write i2c OK [20:34:57]MH_I2C_Read... [20:34:57]Read from MH i2c: D1 [20:34:57]MH_I2C_Read... [20:34:57]Read from MH i2c: D1 01 00 [20:34:57]MH_I2C_Read... [20:34:57]Read from MH i2c: D1 01 00 47 10 00 28 [20:34:57]Write to MH i2c: 01 00 00 48 10 58 [20:34:57]Write i2c OK [20:34:57]MH_I2C_Read... [20:34:57]OFD Sender: No OFD packet to send [20:34:57]*** Cut start [20:34:57]*** Partial cut [20:34:57]*** CUTSNS_PIN = 1 [20:34:57]*** CUTSNS_PIN = 0 [20:34:58]*** Brake cut motor [20:34:58]Read from MH i2c: 01 [20:34:58]MH_I2C_Read... [20:34:58]*** Stop cut motor [20:34:58]*** Cut end [20:34:58]Read from MH i2c: 01 07 00 [20:34:58]MH_I2C_Read... [20:34:58]Read from MH i2c: 01 07 00 48 10 00 00 00 00 00 FF 0F 6D [20:34:58]process_action close_receipt done [20:34:58]requested_data is exist [20:34:58]produce_requested_data [20:34:58]requested_item fm.sn is exist - process it [20:34:58]wFMCommunicate request_size=4 [20:34:58]MH_SAM_APDU [20:34:58]CAPDU: 80 11 00 00 [20:34:58]Write to MH i2c: E2 08 00 49 10 80 11 00 00 00 00 00 00 D3 [20:34:58]Write i2c OK [20:34:58]MH_I2C_Read... [20:34:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:34:58]Read from MH i2c: E2 [20:34:58]MH_I2C_Read... [20:34:58]Read from MH i2c: E2 17 00 [20:34:58]MH_I2C_Read... [20:34:58]Read from MH i2c: E2 17 00 49 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2D [20:34:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:34:58]wFMCommunicate OK [20:34:58]requested_item fd.num is exist - process it [20:34:58]SAM_PROTO_GetFieldsCounters [20:34:58]wFMCommunicate request_size=4 [20:34:58]MH_SAM_APDU [20:34:58]CAPDU: 80 13 00 00 [20:34:58]Write to MH i2c: E2 08 00 4A 10 80 13 00 00 00 00 00 00 D6 [20:34:58]Write i2c OK [20:34:58]MH_I2C_Read... [20:34:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:34:58]Read from MH i2c: E2 [20:34:58]MH_I2C_Read... [20:34:58]Read from MH i2c: E2 62 00 [20:34:58]MH_I2C_Read... [20:34:58]Read from MH i2c: E2 62 00 4A 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F4 DE 00 00 0E 04 04 00 F0 01 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 D3 [20:34:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F4 DE 00 00 0E 04 04 00 F0 01 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 [20:34:58]wFMCommunicate OK [20:34:58]SAM_PROTO_GetFieldsCounters done [20:34:58]requested_item shift.num is exist - process it [20:34:58]requested_item shift.opened is exist - process it [20:34:58]req_shift_opened [20:34:58]FM_GetShiftState [20:34:58]SAM_PROTO_GetShiftState [20:34:58]wFMCommunicate request_size=4 [20:34:58]MH_SAM_APDU [20:34:58]CAPDU: 80 13 01 00 [20:34:58]Write to MH i2c: E2 08 00 4B 10 80 13 01 00 00 00 00 00 D8 [20:34:58]Write i2c OK [20:34:58]MH_I2C_Read... [20:34:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:34:58]Read from MH i2c: E2 [20:34:58]MH_I2C_Read... [20:34:58]Read from MH i2c: E2 0E 00 [20:34:58]MH_I2C_Read... [20:34:58]Read from MH i2c: E2 0E 00 4B 10 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 7F [20:34:58]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:34:58]wFMCommunicate OK [20:34:58]SAM_PROTO_GetShiftState done [20:34:58]FM_GetShiftState done [20:34:58]req_shift_opened done [20:34:58]requested_item shift.open_date is exist - process it [20:34:58]req_shift_open_date [20:34:58]req_shift_open_date done [20:34:58]requested_item shift.sale.total is exist - process it [20:34:58]SAM_PROTO_GetShiftData [20:34:58]wFMCommunicate request_size=4 [20:34:58]MH_SAM_APDU [20:34:58]CAPDU: 80 13 02 00 [20:34:58]Write to MH i2c: E2 08 00 4C 10 80 13 02 00 00 00 00 00 DA [20:34:58]Write i2c OK [20:34:58]MH_I2C_Read... [20:34:59]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:34:59]Read from MH i2c: E2 [20:34:59]MH_I2C_Read... [20:34:59]Read from MH i2c: E2 FD 00 [20:34:59]MH_I2C_Read... [20:34:59]Read from MH i2c: E2 FD 00 4C 10 00 BB 04 AA 04 B7 04 6E 04 04 00 5D 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 70 55 30 70 04 03 00 D8 88 26 72 04 03 00 98 CC 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0F 22 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 76 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 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 0C [20:34:59]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 5D 00 00 00 69 04 9B 00 6F 04 04 00 5B 00 00 00 B1 04 03 00 70 55 30 70 04 03 00 D8 88 26 72 04 03 00 98 CC 09 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0F 22 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 76 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 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:34:59]wFMCommunicate OK [20:34:59]wFMCommunicate request_size=4 [20:34:59]MH_SAM_APDU [20:34:59]CAPDU: 80 17 00 00 [20:34:59]Write to MH i2c: E2 08 00 4D 10 80 17 00 00 00 00 00 00 DD [20:34:59]Write i2c OK [20:34:59]MH_I2C_Read... [20:34:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:34:59]Read from MH i2c: E2 [20:34:59]MH_I2C_Read... [20:34:59]Read from MH i2c: E2 FD 00 [20:34:59]MH_I2C_Read... [20:34:59]Read from MH i2c: E2 FD 00 4D 10 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 70 [20:34:59]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:34:59]wFMCommunicate OK [20:34:59]wFMCommunicate request_size=4 [20:34:59]MH_SAM_APDU [20:34:59]CAPDU: 80 17 00 00 [20:34:59]Write to MH i2c: E2 08 00 4E 10 80 17 00 00 00 00 00 00 DE [20:34:59]Write i2c OK [20:34:59]MH_I2C_Read... [20:34:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:34:59]Read from MH i2c: E2 [20:34:59]MH_I2C_Read... [20:34:59]Read from MH i2c: E2 FD 00 [20:34:59]MH_I2C_Read... [20:34:59]Read from MH i2c: E2 FD 00 4E 10 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0A [20:34:59]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:34:59]wFMCommunicate OK [20:34:59]wFMCommunicate request_size=4 [20:34:59]MH_SAM_APDU [20:34:59]CAPDU: 80 17 00 00 [20:34:59]Write to MH i2c: E2 08 00 4F 10 80 17 00 00 00 00 00 00 DF [20:34:59]Write i2c OK [20:34:59]MH_I2C_Read... [20:35:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:35:00]Read from MH i2c: E2 [20:35:00]MH_I2C_Read... [20:35:00]Read from MH i2c: E2 FD 00 [20:35:00]MH_I2C_Read... [20:35:00]Read from MH i2c: E2 FD 00 4F 10 00 00 00 EF 03 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 90 00 54 [20:35:00]RAPDU: 00 00 EF 03 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 90 00 [20:35:00]wFMCommunicate OK [20:35:00]wFMCommunicate request_size=4 [20:35:00]MH_SAM_APDU [20:35:00]CAPDU: 80 17 00 00 [20:35:00]Write to MH i2c: E2 08 00 50 10 80 17 00 00 00 00 00 00 E0 [20:35:00]Write i2c OK [20:35:00]MH_I2C_Read... [20:35:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:35:00]Read from MH i2c: E2 [20:35:00]MH_I2C_Read... [20:35:00]Read from MH i2c: E2 D8 00 [20:35:00]MH_I2C_Read... [20:35:00]Read from MH i2c: E2 D8 00 50 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 C7 [20:35:00]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:35:00]wFMCommunicate OK [20:35:00]SAM_PROTO_GetShiftData done [20:35:00]requested_item shift.sale.total_cash is exist - process it [20:35:00]requested_item shift.sale_refund.total is exist - process it [20:35:00]requested_item shift.sale_refund.total_cash is exist - process it [20:35:00]produce_requested_data done [20:35:00]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57076,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31676.00,"shift.sale.total_cash":25254.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:35:00]process_action_free close_receipt [20:35:00]json_value_free [20:35:00]json_value_free done [20:35:00]process_json_proto returns [20:35:00]Send response to host [20:35:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57076,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31676.00,"shift.sale.total_cash":25254.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:35:00]free response buf [20:35:00]execute_script done [20:35:00]execute_script returns [20:35:00]free content buf [20:35:00]Sock 7.Close socket [20:35:00]Sock 7.Thread stoped [20:35:02]OFD Sender: No OFD packet to send [20:35:07]OFD Sender: No OFD packet to send [20:35:12]OFD Sender: No OFD packet to send [20:35:17]OFD Sender: No OFD packet to send [20:35:22]OFD Sender: No OFD packet to send [20:35:27]OFD Sender: No OFD packet to send [20:35:32]OFD Sender: No OFD packet to send [20:35:37]OFD Sender: No OFD packet to send [20:35:42]OFD Sender: No OFD packet to send [20:35:47]OFD Sender: No OFD packet to send [20:35:52]OFD Sender: No OFD packet to send [20:35:57]OFD Sender: No OFD packet to send [20:36:02]OFD Sender: No OFD packet to send [20:36:07]OFD Sender: No OFD packet to send [20:36:12]OFD Sender: No OFD packet to send [20:36:17]OFD Sender: No OFD packet to send [20:36:22]OFD Sender: No OFD packet to send [20:36:27]OFD Sender: No OFD packet to send [20:36:32]OFD Sender: No OFD packet to send [20:36:37]OFD Sender: No OFD packet to send [20:36:42]OFD Sender: No OFD packet to send [20:36:47]OFD Sender: No OFD packet to send [20:36:52]OFD Sender: No OFD packet to send [20:36:57]OFD Sender: No OFD packet to send [20:37:02]OFD Sender: No OFD packet to send [20:37:07]OFD Sender: No OFD packet to send [20:37:12]OFD Sender: No OFD packet to send [20:37:17]OFD Sender: No OFD packet to send [20:37:22]OFD Sender: No OFD packet to send [20:37:27]OFD Sender: No OFD packet to send [20:37:32]OFD Sender: No OFD packet to send [20:37:37]OFD Sender: No OFD packet to send [20:37:42]OFD Sender: No OFD packet to send [20:37:45]accept exits with 9 [20:37:45]New connection [20:37:45]New thread 3067448676 created [20:37:45]Thread 3067592036 joined [20:37:45]Waiting for new connection... [20:37:45] Sock 9.Parse request [20:37:45]Sock 9.Check first char [20:37:45]Sock 9.First char is OK [20:37:45]request: POST /json_proto HTTP/1.0 [20:37:45]Method: POST [20:37:45]URL: /json_proto [20:37:45]Method is POST - this is cgi request [20:37:45]url: /json_proto [20:37:45]query_string will be loaded in cgi processing [20:37:45]execute_cgi json_proto POST (null) [20:37:45]execute_cgi path=json_proto method=POST [20:37:45]POST find Content-Length [20:37:45]Host: 172.17.39.4:8080 [20:37:45]Content-Length: 736 [20:37:45]Content-Type: application/json [20:37:45] [20:37:45]POST finish read [20:37:45]Found Content-Length = 736 [20:37:45]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129538", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:37:45]execute_script... [20:37: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)129538", "tax_sys" : 0, "items" : [ { "code": "4700000160211", "name": "\u0412\u043E\u0434\u0430 \u041B\u0435\u0433\u0435\u043D\u0434\u0430 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:37:45]POST & json_proto [20:37:45]process_json_proto [20:37:45]json parsed OK: [20:37:45]protocol is kg_v1.0 [20:37:45]action value=close_receipt [20:37:45]process_action close_receipt [20:37:45]cmd_close_receipt [20:37:45]MH_GetDate [20:37:45]Write to MH i2c: F0 00 00 51 10 50 [20:37:45]Write i2c OK [20:37:45]MH_I2C_Read... [20:37:45]Read from MH i2c: F0 [20:37:45]MH_I2C_Read... [20:37:45]Read from MH i2c: F0 09 00 [20:37:45]MH_I2C_Read... [20:37:45]Read from MH i2c: F0 09 00 51 10 00 1C 37 94 66 2D 25 5D 64 B9 [20:37:45]GetLastDocTimeStamp 1720989297 [20:37:45]current date 1720989468 [20:37:45]FM_GetShiftState [20:37:45]SAM_PROTO_GetShiftState [20:37:45]wFMCommunicate request_size=4 [20:37:45]MH_SAM_APDU [20:37:45]CAPDU: 80 13 01 00 [20:37:45]Write to MH i2c: E2 08 00 52 10 80 13 01 00 00 00 00 00 DF [20:37:45]Write i2c OK [20:37:45]MH_I2C_Read... [20:37:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:45]Read from MH i2c: E2 [20:37:45]MH_I2C_Read... [20:37:45]Read from MH i2c: E2 0E 00 [20:37:45]MH_I2C_Read... [20:37:45]Read from MH i2c: E2 0E 00 52 10 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 86 [20:37:45]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:37:45]wFMCommunicate OK [20:37:45]SAM_PROTO_GetShiftState done [20:37:45]FM_GetShiftState done [20:37:45]opened in 1720917126 [20:37:45]opened+sec_in_day 1721003526 [20:37:45]quantity*price = 4000 [20:37:45]sum+1 = 4001 [20:37:45]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 94 14.07.2024 20:37 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57077 ФПД: 155188608891910 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T203748&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57077&fm=155188608891910&tin=02508201610067®Number=0000000000091208&sum=4000 0 [20:37:46]StoreToDocumentArchive [20:37:46]shift 496 fd 57077 [20:37:46]save to /storage/0496/doc_00057077 [20:37:46]save last doc name /storage/0496/doc_00057077 to /storage/kkm_last_doc_name [20:37:46]save OK [20:37:46]Clear old archive folders... [20:37:46]ProcessDocumentItem done err = 0, tmpTLVsize=271 [20:37:46]tlvbuf is 00FB38B0 [20:37:46]SAM_PROTO_ClearQueue [20:37:46]wFMCommunicate request_size=4 [20:37:46]MH_SAM_APDU [20:37:46]CAPDU: 80 09 00 00 [20:37:46]Write to MH i2c: E2 08 00 5F 10 80 09 00 00 00 00 00 00 E1 [20:37:46]Write i2c OK [20:37:46]MH_I2C_Read... [20:37:46]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:37:46]Read from MH i2c: E2 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 03 00 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 03 00 5F 10 00 90 00 E3 [20:37:46]RAPDU: 90 00 [20:37:46]wFMCommunicate OK [20:37:46]SAM_PROTO_ClearQueue done [20:37:46]KKMCreateOFDPacket [20:37:46]OFDProtocolAddRootSTLVToBuf [20:37:46]FM_MakeSignedData [20:37:46]FM_MakeSignedData [20:37:46]SAM_PROTO_SignData [20:37:46]wFMCommunicate request_size=4 [20:37:46]MH_SAM_APDU [20:37:46]CAPDU: 80 0D 01 02 [20:37:46]Write to MH i2c: E2 08 00 60 10 80 0D 01 02 00 00 00 00 E9 [20:37:46]Write i2c OK [20:37:46]MH_I2C_Read... [20:37:46]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:37:46]Read from MH i2c: E2 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 03 00 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 03 00 60 10 00 90 00 E4 [20:37:46]RAPDU: 90 00 [20:37:46]wFMCommunicate OK [20:37:46]wFMCommunicate request_size=255 [20:37:46]MH_SAM_APDU [20:37:46]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 1C 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [20:37:46]Write to MH i2c: E2 02 01 61 10 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 1C 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 65 [20:37:46]Write i2c OK [20:37:46]MH_I2C_Read... [20:37:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:37:46]Read from MH i2c: E2 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 03 00 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 03 00 61 10 00 90 00 E5 [20:37:46]RAPDU: 90 00 [20:37:46]wFMCommunicate OK [20:37:46]wFMCommunicate request_size=30 [20:37:46]MH_SAM_APDU [20:37:46]CAPDU: 80 0D 02 02 19 30 38 37 34 38 35 37 10 04 04 00 F5 DE 00 00 35 04 06 00 8D 24 A9 E7 FC 06 [20:37:46]Write to MH i2c: E2 21 00 62 10 80 0D 02 02 19 00 30 38 37 34 38 35 37 10 04 04 00 F5 DE 00 00 35 04 06 00 8D 24 A9 E7 FC 06 00 00 02 [20:37:46]Write i2c OK [20:37:46]MH_I2C_Read... [20:37:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:37:46]Read from MH i2c: E2 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 03 00 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 03 00 62 10 00 90 00 E6 [20:37:46]RAPDU: 90 00 [20:37:46]wFMCommunicate OK [20:37:46]wFMCommunicate request_size=4 [20:37:46]MH_SAM_APDU [20:37:46]CAPDU: 80 0D 03 02 [20:37:46]Write to MH i2c: E2 08 00 63 10 80 0D 03 02 00 00 00 00 EE [20:37:46]Write i2c OK [20:37:46]MH_I2C_Read... [20:37:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:37:46]Read from MH i2c: E2 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 0B 00 [20:37:46]MH_I2C_Read... [20:37:46]Read from MH i2c: E2 0B 00 63 10 00 E9 5B B4 72 74 DF 46 17 90 00 09 [20:37:46]RAPDU: E9 5B B4 72 74 DF 46 17 90 00 [20:37:46]wFMCommunicate OK [20:37:46]SAM_PROTO_SignData done [20:37:46]FM_MakeSignedData done [20:37:46]CreateOFDProtocolMessage [20:37:46]wFMCommunicate request_size=4 [20:37:46]MH_SAM_APDU [20:37:46]CAPDU: 80 11 00 00 [20:37:46]Write to MH i2c: E2 08 00 64 10 80 11 00 00 00 00 00 00 EE [20:37:46]Write i2c OK [20:37:46]MH_I2C_Read... [20:37:47]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:37:47]Read from MH i2c: E2 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: E2 17 00 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: E2 17 00 64 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 48 [20:37:47]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:37:47]wFMCommunicate OK [20:37:47]CreateOFDProtocolMessage done [20:37:47]OFDSenderStorePacket 57077 [20:37:47]StoreOFDPacket docnum=57077 [20:37:47]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 CA 18 1B 01 46 9C 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 1C 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F5 DE 00 00 35 04 06 00 8D 24 A9 E7 FC 06 E9 5B B4 72 74 DF 46 17 [20:37:47]CheckFolder [20:37:47]dirname=/storage/ofd_packets [20:37:47]CheckFolder done [20:37:47]ProducePacketName [20:37:47]name=ofd_packets/00057077 [20:37:47]NVStorageSaveData ofd_packets/00057077 [20:37:47]File name is /storage/ofd_packets/00057077 [20:37:47]Write 321 bytes [20:37:47]NVStorageSaveData done [20:37:47]OFDSenderStorePacket done [20:37:47]KKMCreateOFDPacket done [20:37:47]NVStorageSaveData kkm_last_timestamp [20:37:47]File name is /storage/kkm_last_timestamp [20:37:47]Write 4 bytes [20:37:47]NVStorageSaveData done [20:37:47]ExternCall_PrintAddStr [20:37:47]wPrintStart [20:37:47]Write to MH i2c: 01 00 00 65 10 75 [20:37:47]Write i2c OK [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: 01 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: 01 07 00 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: 01 07 00 65 10 00 00 00 00 00 FF 0F 8A [20:37:47]RasterBufferAndPrint [20:37:47]line Счет N : (3)129538 [20:37:47]line ИНН: 02508201610067 [20:37:47]line Контрольно-Кассовый Чек [20:37:47]line ПРОДАЖА [20:37:47]line Товар: 4700000160211 [20:37:47]line Вода Легенда 0,5л [20:37:47]line 1.000 * 40.00 [20:37:47]line = 40.00 [20:37:47]line НДС 12% НСП 1% [20:37:47]line > о реализуемом товаре [20:37:47]line ИТОГО: 40.00 [20:37:47]line НСП 1% : 0.35 [20:37:47]line НДС 12% : 4.25 [20:37:47]line Наличными: 40.00 [20:37:47]line Безнал.: 0.00 [20:37:47]line Место: АЗС № 132 "Партнер Нефть" [20:37:47]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:37:47]line СНО: Общий режим [20:37:47]line Чек 94 14.07.2024 20:37 [20:37:47]line Смена: 496 ФФД: 1.0 [20:37:47]line ЗНМ: 0300000132 [20:37:47]line РНМ: 0000000000091208 [20:37:47]line Версия ККМ: 001 [20:37:47]line ФМ: 0000000000874857 [20:37:47]line ФД: 57077 [20:37:47]line ФПД: 155188608891910 [20:37:47]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T203748&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57077&fm=155188608891910&tin=02508201610067®Number=0000000000091208&sum=4000 [20:37:47]line 0 [20:37:47]written 0, free lines is 4095 [20:37:47]OFD Sender: Processing packet 57077 [packets to send 38, broken 37] [20:37:47]ProducePacketName [20:37:47]name=ofd_packets/00057077 [20:37:47]OFD Sender: To server: pG, [20:37:47]CommunicateWithHost lk.salyk.kg:30040 [20:37:47]ConnectInit lk.salyk.kg [20:37:47]Write to MH i2c: 01 00 00 8D 10 9D [20:37:47]Write i2c OK [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: 01 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: 01 07 00 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: 01 07 00 8D 10 00 00 00 00 00 FC 0C AC [20:37:47]RasterBufferAndPrint [20:37:47]line [20:37:47]line [20:37:47]line [20:37:47]line [20:37:47]line [20:37:47]written 0, free lines is 3330 [20:37:47]Connected sock=10 [20:37:47]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 CA 18 1B 01 46 9C 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 31 31 06 04 1D 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 9B D0 B5 D0 B3 D0 B5 D0 BD D0 B4 D0 B0 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 5E 00 00 00 F4 03 04 00 1C 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F5 DE 00 00 35 04 06 00 8D 24 A9 E7 FC 06 E9 5B B4 72 74 DF 46 17 [20:37:47]MH_Cut [20:37:47]Write to MH i2c: D1 01 00 94 10 01 76 [20:37:47]Write i2c OK [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: D1 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: D1 01 00 [20:37:47]MH_I2C_Read... [20:37:47]Read from MH i2c: D1 01 00 94 10 00 75 [20:37:47]Write to MH i2c: 01 00 00 95 10 A5 [20:37:47]Write i2c OK [20:37:47]MH_I2C_Read... [20:37:47]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 27 10 47 00 49 B0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F5 DE 00 00 F4 03 04 00 6C DD 93 66 B6 04 01 00 00 01 77 A9 7C 6C 66 A0 62 [20:37:47]CommunicateWithHost err = 0 [20:37:47]CheckOFDResponse [20:37:47]1017 (14) - 77093643461234 [20:37:47]1041 (16) - 0000000000874857 [20:37:47]1040 (4) - 57077 [20:37:47]1012 (4) - 14.07.2024 14:15 [20:37:47]1206 (1) - 0 [20:37:47]OFD Sender: Remove packet 57077 [20:37:47]ProducePacketName [20:37:47]name=ofd_packets/00057077 [20:37:47]NVStorageDeleteData [20:37:48]*** Cut start [20:37:48]*** Partial cut [20:37:48]*** CUTSNS_PIN = 1 [20:37:48]OFD Sender: No OFD packet to send [20:37:48]*** CUTSNS_PIN = 0 [20:37:48]*** Brake cut motor [20:37:48]Read from MH i2c: 01 [20:37:48]MH_I2C_Read... [20:37:48]*** Stop cut motor [20:37:48]*** Cut end [20:37:48]Read from MH i2c: 01 07 00 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: 01 07 00 95 10 00 00 00 00 00 FF 0F BA [20:37:48]process_action close_receipt done [20:37:48]requested_data is exist [20:37:48]produce_requested_data [20:37:48]requested_item fm.sn is exist - process it [20:37:48]wFMCommunicate request_size=4 [20:37:48]MH_SAM_APDU [20:37:48]CAPDU: 80 11 00 00 [20:37:48]Write to MH i2c: E2 08 00 96 10 80 11 00 00 00 00 00 00 20 [20:37:48]Write i2c OK [20:37:48]MH_I2C_Read... [20:37:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:37:48]Read from MH i2c: E2 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 17 00 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 17 00 96 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7A [20:37:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:37:48]wFMCommunicate OK [20:37:48]requested_item fd.num is exist - process it [20:37:48]SAM_PROTO_GetFieldsCounters [20:37:48]wFMCommunicate request_size=4 [20:37:48]MH_SAM_APDU [20:37:48]CAPDU: 80 13 00 00 [20:37:48]Write to MH i2c: E2 08 00 97 10 80 13 00 00 00 00 00 00 23 [20:37:48]Write i2c OK [20:37:48]MH_I2C_Read... [20:37:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:37:48]Read from MH i2c: E2 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 62 00 [20:37:48]MH_I2C_Read... [20:37:48]Read from MH i2c: E2 62 00 97 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F5 DE 00 00 0E 04 04 00 F0 01 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 24 [20:37:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F5 DE 00 00 0E 04 04 00 F0 01 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 [20:37:48]wFMCommunicate OK [20:37:48]SAM_PROTO_GetFieldsCounters done [20:37:48]requested_item shift.num is exist - process it [20:37:48]requested_item shift.opened is exist - process it [20:37:48]req_shift_opened [20:37:48]FM_GetShiftState [20:37:48]SAM_PROTO_GetShiftState [20:37:48]wFMCommunicate request_size=4 [20:37:48]MH_SAM_APDU [20:37:48]CAPDU: 80 13 01 00 [20:37:48]Write to MH i2c: E2 08 00 98 10 80 13 01 00 00 00 00 00 25 [20:37:48]Write i2c OK [20:37:48]MH_I2C_Read... [20:37:49]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:37:49]Read from MH i2c: E2 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 0E 00 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 0E 00 98 10 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 CC [20:37:49]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:37:49]wFMCommunicate OK [20:37:49]SAM_PROTO_GetShiftState done [20:37:49]FM_GetShiftState done [20:37:49]req_shift_opened done [20:37:49]requested_item shift.open_date is exist - process it [20:37:49]req_shift_open_date [20:37:49]req_shift_open_date done [20:37:49]requested_item shift.sale.total is exist - process it [20:37:49]SAM_PROTO_GetShiftData [20:37:49]wFMCommunicate request_size=4 [20:37:49]MH_SAM_APDU [20:37:49]CAPDU: 80 13 02 00 [20:37:49]Write to MH i2c: E2 08 00 99 10 80 13 02 00 00 00 00 00 27 [20:37:49]Write i2c OK [20:37:49]MH_I2C_Read... [20:37:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:37:49]Read from MH i2c: E2 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 FD 00 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 FD 00 99 10 00 BB 04 AA 04 B7 04 6E 04 04 00 5E 00 00 00 69 04 9B 00 6F 04 04 00 5C 00 00 00 B1 04 03 00 10 65 30 70 04 03 00 78 98 26 72 04 03 00 98 CC 09 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 B8 23 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 99 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 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 88 [20:37:49]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 5E 00 00 00 69 04 9B 00 6F 04 04 00 5C 00 00 00 B1 04 03 00 10 65 30 70 04 03 00 78 98 26 72 04 03 00 98 CC 09 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 B8 23 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 99 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 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:37:49]wFMCommunicate OK [20:37:49]wFMCommunicate request_size=4 [20:37:49]MH_SAM_APDU [20:37:49]CAPDU: 80 17 00 00 [20:37:49]Write to MH i2c: E2 08 00 9A 10 80 17 00 00 00 00 00 00 2A [20:37:49]Write i2c OK [20:37:49]MH_I2C_Read... [20:37:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:37:49]Read from MH i2c: E2 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 FD 00 [20:37:49]MH_I2C_Read... [20:37:49]Read from MH i2c: E2 FD 00 9A 10 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BD [20:37:49]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:37:49]wFMCommunicate OK [20:37:49]wFMCommunicate request_size=4 [20:37:49]MH_SAM_APDU [20:37:49]CAPDU: 80 17 00 00 [20:37:49]Write to MH i2c: E2 08 00 9B 10 80 17 00 00 00 00 00 00 2B [20:37:49]Write i2c OK [20:37:49]MH_I2C_Read... [20:37:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:37:50]Read from MH i2c: E2 [20:37:50]MH_I2C_Read... [20:37:50]Read from MH i2c: E2 FD 00 [20:37:50]MH_I2C_Read... [20:37:50]Read from MH i2c: E2 FD 00 9B 10 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 57 [20:37:50]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:37:50]wFMCommunicate OK [20:37:50]wFMCommunicate request_size=4 [20:37:50]MH_SAM_APDU [20:37:50]CAPDU: 80 17 00 00 [20:37:50]Write to MH i2c: E2 08 00 9C 10 80 17 00 00 00 00 00 00 2C [20:37:50]Write i2c OK [20:37:50]MH_I2C_Read... [20:37:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:37:50]Read from MH i2c: E2 [20:37:50]MH_I2C_Read... [20:37:50]Read from MH i2c: E2 FD 00 [20:37:50]MH_I2C_Read... [20:37:50]Read from MH i2c: E2 FD 00 9C 10 00 00 00 EF 03 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 90 00 A1 [20:37:50]RAPDU: 00 00 EF 03 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 90 00 [20:37:50]wFMCommunicate OK [20:37:50]wFMCommunicate request_size=4 [20:37:50]MH_SAM_APDU [20:37:50]CAPDU: 80 17 00 00 [20:37:50]Write to MH i2c: E2 08 00 9D 10 80 17 00 00 00 00 00 00 2D [20:37:50]Write i2c OK [20:37:50]MH_I2C_Read... [20:37:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:37:50]Read from MH i2c: E2 [20:37:50]MH_I2C_Read... [20:37:50]Read from MH i2c: E2 D8 00 [20:37:50]MH_I2C_Read... [20:37:50]Read from MH i2c: E2 D8 00 9D 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:37:50]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:37:50]wFMCommunicate OK [20:37:50]SAM_PROTO_GetShiftData done [20:37:50]requested_item shift.sale.total_cash is exist - process it [20:37:50]requested_item shift.sale_refund.total is exist - process it [20:37:50]requested_item shift.sale_refund.total_cash is exist - process it [20:37:50]produce_requested_data done [20:37:50]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57077,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31716.00,"shift.sale.total_cash":25294.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:37:50]process_action_free close_receipt [20:37:50]json_value_free [20:37:50]json_value_free done [20:37:50]process_json_proto returns [20:37:50]Send response to host [20:37:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57077,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31716.00,"shift.sale.total_cash":25294.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:37:50]free response buf [20:37:50]execute_script done [20:37:50]execute_script returns [20:37:50]free content buf [20:37:50]Sock 9.Close socket [20:37:50]Sock 9.Thread stoped [20:37:53]OFD Sender: No OFD packet to send [20:37:58]OFD Sender: No OFD packet to send [20:38:03]OFD Sender: No OFD packet to send [20:38:08]OFD Sender: No OFD packet to send [20:38:13]OFD Sender: No OFD packet to send [20:38:18]OFD Sender: No OFD packet to send [20:38:23]OFD Sender: No OFD packet to send [20:38:28]OFD Sender: No OFD packet to send [20:38:33]OFD Sender: No OFD packet to send [20:38:38]OFD Sender: No OFD packet to send [20:38:43]OFD Sender: No OFD packet to send [20:38:48]OFD Sender: No OFD packet to send [20:38:53]OFD Sender: No OFD packet to send [20:38:58]OFD Sender: No OFD packet to send [20:39:03]OFD Sender: No OFD packet to send [20:39:08]OFD Sender: No OFD packet to send [20:39:13]OFD Sender: No OFD packet to send [20:39:18]OFD Sender: No OFD packet to send [20:39:23]OFD Sender: No OFD packet to send [20:39:28]OFD Sender: No OFD packet to send [20:39:33]OFD Sender: No OFD packet to send [20:39:38]OFD Sender: No OFD packet to send [20:39:43]OFD Sender: No OFD packet to send [20:39:48]OFD Sender: No OFD packet to send [20:39:50]accept exits with 7 [20:39:50]New connection [20:39:50]New thread 3067592036 created [20:39:50]Thread 3067448676 joined [20:39:50]Waiting for new connection... [20:39:50] Sock 7.Parse request [20:39:50]Sock 7.Check first char [20:39:50]Sock 7.First char is OK [20:39:50]request: POST /json_proto HTTP/1.0 [20:39:50]Method: POST [20:39:50]URL: /json_proto [20:39:50]Method is POST - this is cgi request [20:39:50]url: /json_proto [20:39:50]query_string will be loaded in cgi processing [20:39:50]execute_cgi json_proto POST (null) [20:39:50]execute_cgi path=json_proto method=POST [20:39:50]POST find Content-Length [20:39:50]Host: 172.17.39.4:8080 [20:39:50]Content-Length: 778 [20:39:50]Content-Type: application/json [20:39:50] [20:39:50]POST finish read [20:39:50]Found Content-Length = 778 [20:39:50]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855550", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 2.210, "sum" : 160.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 160.00, "total" : 160.00, "payments": [ { "type": 0, "sum" : 160.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:39:50]execute_script... [20:39:50]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855550", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 2.210, "sum" : 160.45, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "deposit" : 160.00, "total" : 160.00, "payments": [ { "type": 0, "sum" : 160.00 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:39:50]POST & json_proto [20:39:50]process_json_proto [20:39:50]json parsed OK: [20:39:50]protocol is kg_v1.0 [20:39:50]action value=close_receipt [20:39:50]process_action close_receipt [20:39:50]cmd_close_receipt [20:39:50]MH_GetDate [20:39:50]Write to MH i2c: F0 00 00 9E 10 9D [20:39:50]Write i2c OK [20:39:50]MH_I2C_Read... [20:39:50]Read from MH i2c: F0 [20:39:50]MH_I2C_Read... [20:39:50]Read from MH i2c: F0 09 00 [20:39:50]MH_I2C_Read... [20:39:50]Read from MH i2c: F0 09 00 9E 10 00 99 37 94 66 2D 25 5D 64 83 [20:39:50]GetLastDocTimeStamp 1720989468 [20:39:50]current date 1720989593 [20:39:50]FM_GetShiftState [20:39:50]SAM_PROTO_GetShiftState [20:39:50]wFMCommunicate request_size=4 [20:39:50]MH_SAM_APDU [20:39:50]CAPDU: 80 13 01 00 [20:39:50]Write to MH i2c: E2 08 00 9F 10 80 13 01 00 00 00 00 00 2C [20:39:50]Write i2c OK [20:39:50]MH_I2C_Read... [20:39:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:39:50]Read from MH i2c: E2 [20:39:50]MH_I2C_Read... [20:39:50]Read from MH i2c: E2 0E 00 [20:39:50]MH_I2C_Read... [20:39:50]Read from MH i2c: E2 0E 00 9F 10 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 D3 [20:39:50]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:39:50]wFMCommunicate OK [20:39:50]SAM_PROTO_GetShiftState done [20:39:50]FM_GetShiftState done [20:39:50]opened in 1720917126 [20:39:50]opened+sec_in_day 1721003526 [20:39:50]quantity*price = 16044 [20:39:50]sum+1 = 16046 [20:39:50]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.45 ИТОГО: 160.00 Внесено: 160.00 СДАЧА: 0.00 НСП 1% : 1.42 НДС 12% : 17.04 Наличными: 160.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 95 14.07.2024 20:39 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57078 ФПД: 53359468163459 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T203953&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57078&fm=53359468163459&tin=02508201610067®Number=0000000000091208&sum=16000 [20:39:52]StoreToDocumentArchive [20:39:52]shift 496 fd 57078 [20:39:52]save to /storage/0496/doc_00057078 [20:39:52]save last doc name /storage/0496/doc_00057078 to /storage/kkm_last_doc_name [20:39:52]save OK [20:39:52]Clear old archive folders... [20:39:52]ProcessDocumentItem done err = 0, tmpTLVsize=248 [20:39:52]tlvbuf is 00FA1CC0 [20:39:52]SAM_PROTO_ClearQueue [20:39:52]wFMCommunicate request_size=4 [20:39:52]MH_SAM_APDU [20:39:52]CAPDU: 80 09 00 00 [20:39:52]Write to MH i2c: E2 08 00 AC 10 80 09 00 00 00 00 00 00 2E [20:39:52]Write i2c OK [20:39:52]MH_I2C_Read... [20:39:52]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:39:52]Read from MH i2c: E2 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 03 00 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 03 00 AC 10 00 90 00 30 [20:39:52]RAPDU: 90 00 [20:39:52]wFMCommunicate OK [20:39:52]SAM_PROTO_ClearQueue done [20:39:52]KKMCreateOFDPacket [20:39:52]OFDProtocolAddRootSTLVToBuf [20:39:52]FM_MakeSignedData [20:39:52]FM_MakeSignedData [20:39:52]SAM_PROTO_SignData [20:39:52]wFMCommunicate request_size=4 [20:39:52]MH_SAM_APDU [20:39:52]CAPDU: 80 0D 01 02 [20:39:52]Write to MH i2c: E2 08 00 AD 10 80 0D 01 02 00 00 00 00 36 [20:39:52]Write i2c OK [20:39:52]MH_I2C_Read... [20:39:52]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:39:52]Read from MH i2c: E2 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 03 00 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 03 00 AD 10 00 90 00 31 [20:39:52]RAPDU: 90 00 [20:39:52]wFMCommunicate OK [20:39:52]wFMCommunicate request_size=255 [20:39:52]MH_SAM_APDU [20:39:52]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 A2 08 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 AD 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 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 5F 00 00 00 F4 03 04 00 99 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DE 00 00 35 04 06 00 30 87 B8 25 [20:39:52]Write to MH i2c: E2 02 01 AE 10 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 A2 08 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 AD 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 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 5F 00 00 00 F4 03 04 00 99 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DE 00 00 35 04 06 00 30 87 B8 25 00 00 DC [20:39:52]Write i2c OK [20:39:52]MH_I2C_Read... [20:39:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:39:52]Read from MH i2c: E2 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 03 00 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 03 00 AE 10 00 90 00 32 [20:39:52]RAPDU: 90 00 [20:39:52]wFMCommunicate OK [20:39:52]wFMCommunicate request_size=7 [20:39:52]MH_SAM_APDU [20:39:52]CAPDU: 80 0D 02 02 02 31 83 [20:39:52]Write to MH i2c: E2 0A 00 AF 10 80 0D 02 02 02 00 31 83 00 00 F1 [20:39:52]Write i2c OK [20:39:52]MH_I2C_Read... [20:39:52]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:39:52]Read from MH i2c: E2 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 03 00 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 03 00 AF 10 00 90 00 33 [20:39:52]RAPDU: 90 00 [20:39:52]wFMCommunicate OK [20:39:52]wFMCommunicate request_size=4 [20:39:52]MH_SAM_APDU [20:39:52]CAPDU: 80 0D 03 02 [20:39:52]Write to MH i2c: E2 08 00 B0 10 80 0D 03 02 00 00 00 00 3B [20:39:52]Write i2c OK [20:39:52]MH_I2C_Read... [20:39:52]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:39:52]Read from MH i2c: E2 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 0B 00 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 0B 00 B0 10 00 F8 FB 36 E1 29 A4 E7 AC 90 00 A6 [20:39:52]RAPDU: F8 FB 36 E1 29 A4 E7 AC 90 00 [20:39:52]wFMCommunicate OK [20:39:52]SAM_PROTO_SignData done [20:39:52]FM_MakeSignedData done [20:39:52]CreateOFDProtocolMessage [20:39:52]wFMCommunicate request_size=4 [20:39:52]MH_SAM_APDU [20:39:52]CAPDU: 80 11 00 00 [20:39:52]Write to MH i2c: E2 08 00 B1 10 80 11 00 00 00 00 00 00 3B [20:39:52]Write i2c OK [20:39:52]MH_I2C_Read... [20:39:52]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:39:52]Read from MH i2c: E2 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 17 00 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: E2 17 00 B1 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 95 [20:39:52]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:39:52]wFMCommunicate OK [20:39:52]CreateOFDProtocolMessage done [20:39:52]OFDSenderStorePacket 57078 [20:39:52]StoreOFDPacket docnum=57078 [20:39:52]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 2B 2C 04 01 5D 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 A2 08 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 AD 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 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 5F 00 00 00 F4 03 04 00 99 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DE 00 00 35 04 06 00 30 87 B8 25 31 83 F8 FB 36 E1 29 A4 E7 AC [20:39:52]CheckFolder [20:39:52]dirname=/storage/ofd_packets [20:39:52]CheckFolder done [20:39:52]ProducePacketName [20:39:52]name=ofd_packets/00057078 [20:39:52]NVStorageSaveData ofd_packets/00057078 [20:39:52]File name is /storage/ofd_packets/00057078 [20:39:52]Write 298 bytes [20:39:52]NVStorageSaveData done [20:39:52]OFDSenderStorePacket done [20:39:52]KKMCreateOFDPacket done [20:39:52]NVStorageSaveData kkm_last_timestamp [20:39:52]File name is /storage/kkm_last_timestamp [20:39:52]Write 4 bytes [20:39:52]NVStorageSaveData done [20:39:52]ExternCall_PrintAddStr [20:39:52]wPrintStart [20:39:52]Write to MH i2c: 01 00 00 B2 10 C2 [20:39:52]Write i2c OK [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: 01 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: 01 07 00 [20:39:52]MH_I2C_Read... [20:39:52]Read from MH i2c: 01 07 00 B2 10 00 00 00 00 00 FF 0F D7 [20:39:52]RasterBufferAndPrint [20:39:52]line Счет N : (1)855550 [20:39:52]line ИНН: 02508201610067 [20:39:52]line Контрольно-Кассовый Чек [20:39:52]line ПРОДАЖА [20:39:52]line ТРК (МРК, ГНК) : 51 [20:39:52]line Товар: 2710194210 [20:39:52]line ДТ-К-5 [20:39:52]line 2.210 * 72.60 [20:39:52]line = 160.45 [20:39:52]line НДС 12% НСП 1% [20:39:52]line > о реализуемом товаре [20:39:52]line ОКРУГЛЕНИЕ: -0.45 [20:39:52]line ИТОГО: 160.00 [20:39:52]line Внесено: 160.00 [20:39:52]line СДАЧА: 0.00 [20:39:52]line НСП 1% : 1.42 [20:39:52]line НДС 12% : 17.04 [20:39:52]line Наличными: 160.00 [20:39:52]line Безнал.: 0.00 [20:39:52]line Место: АЗС № 132 "Партнер Нефть" [20:39:52]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:39:52]line СНО: Общий режим [20:39:52]line Чек 95 14.07.2024 20:39 [20:39:52]line Смена: 496 ФФД: 1.0 [20:39:52]line ЗНМ: 0300000132 [20:39:52]line РНМ: 0000000000091208 [20:39:52]line Версия ККМ: 001 [20:39:52]line ФМ: 0000000000874857 [20:39:52]line ФД: 57078 [20:39:52]line ФПД: 53359468163459 [20:39:52]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T203953&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57078&fm=53359468163459&tin=02508201610067®Number=0000000000091208&sum=16000 [20:39:52]OFD Sender: Processing packet 57078 [packets to send 38, broken 37] [20:39:52]ProducePacketName [20:39:52]name=ofd_packets/00057078 [20:39:52]OFD Sender: To server: pG, [20:39:52]CommunicateWithHost lk.salyk.kg:30040 [20:39:52]ConnectInit lk.salyk.kg [20:39:52]written 0, free lines is 4095 [20:39:53]Connected sock=10 [20:39:53]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 2B 2C 04 01 5D 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 A2 08 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 AD 3E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 80 3E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A8 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 5F 00 00 00 F4 03 04 00 99 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DE 00 00 35 04 06 00 30 87 B8 25 31 83 F8 FB 36 E1 29 A4 E7 AC [20:39:53]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 91 11 47 00 63 70 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F6 DE 00 00 F4 03 04 00 EA DD 93 66 B6 04 01 00 00 53 C8 3E D3 1F 45 B3 A4 [20:39:53]CommunicateWithHost err = 0 [20:39:53]CheckOFDResponse [20:39:53]1017 (14) - 77093643461234 [20:39:53]1041 (16) - 0000000000874857 [20:39:53]1040 (4) - 57078 [20:39:53]1012 (4) - 14.07.2024 14:17 [20:39:53]1206 (1) - 0 [20:39:53]OFD Sender: Remove packet 57078 [20:39:53]ProducePacketName [20:39:53]name=ofd_packets/00057078 [20:39:53]NVStorageDeleteData [20:39:53]Write to MH i2c: 01 00 00 DD 10 ED [20:39:53]Write i2c OK [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: 01 [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: 01 07 00 [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: 01 07 00 DD 10 00 00 00 00 00 F2 0C F2 [20:39:53]RasterBufferAndPrint [20:39:53]line [20:39:53]line [20:39:53]line [20:39:53]line [20:39:53]line [20:39:53]written 0, free lines is 3320 [20:39:53]MH_Cut [20:39:53]Write to MH i2c: D1 01 00 E4 10 01 C6 [20:39:53]Write i2c OK [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: D1 [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: D1 01 00 [20:39:53]MH_I2C_Read... [20:39:53]Read from MH i2c: D1 01 00 E4 10 00 C5 [20:39:53]Write to MH i2c: 01 00 00 E5 10 F5 [20:39:53]Write i2c OK [20:39:53]MH_I2C_Read... [20:39:53]OFD Sender: No OFD packet to send [20:39:54]*** Cut start [20:39:54]*** Partial cut [20:39:54]*** CUTSNS_PIN = 1 [20:39:54]*** CUTSNS_PIN = 0 [20:39:54]*** Brake cut motor [20:39:54]Read from MH i2c: 01 [20:39:54]MH_I2C_Read... [20:39:54]*** Stop cut motor [20:39:54]*** Cut end [20:39:54]Read from MH i2c: 01 07 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: 01 07 00 E5 10 00 00 00 00 00 FF 0F 0A [20:39:54]process_action close_receipt done [20:39:54]requested_data is exist [20:39:54]produce_requested_data [20:39:54]requested_item fm.sn is exist - process it [20:39:54]wFMCommunicate request_size=4 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 11 00 00 [20:39:54]Write to MH i2c: E2 08 00 E6 10 80 11 00 00 00 00 00 00 70 [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:39:54]Read from MH i2c: E2 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 17 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 17 00 E6 10 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CA [20:39:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:39:54]wFMCommunicate OK [20:39:54]requested_item fd.num is exist - process it [20:39:54]SAM_PROTO_GetFieldsCounters [20:39:54]wFMCommunicate request_size=4 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 13 00 00 [20:39:54]Write to MH i2c: E2 08 00 E7 10 80 13 00 00 00 00 00 00 73 [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:39:54]Read from MH i2c: E2 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 62 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 62 00 E7 10 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F6 DE 00 00 0E 04 04 00 F0 01 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 78 [20:39:54]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F6 DE 00 00 0E 04 04 00 F0 01 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 [20:39:54]wFMCommunicate OK [20:39:54]SAM_PROTO_GetFieldsCounters done [20:39:54]requested_item shift.num is exist - process it [20:39:54]requested_item shift.opened is exist - process it [20:39:54]req_shift_opened [20:39:54]FM_GetShiftState [20:39:54]SAM_PROTO_GetShiftState [20:39:54]wFMCommunicate request_size=4 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 13 01 00 [20:39:54]Write to MH i2c: E2 08 00 E8 10 80 13 01 00 00 00 00 00 75 [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:39:54]Read from MH i2c: E2 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 0E 00 [20:39:54]MH_I2C_Read... [20:39:54]Read from MH i2c: E2 0E 00 E8 10 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 1C [20:39:54]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:39:54]wFMCommunicate OK [20:39:54]SAM_PROTO_GetShiftState done [20:39:54]FM_GetShiftState done [20:39:54]req_shift_opened done [20:39:54]requested_item shift.open_date is exist - process it [20:39:54]req_shift_open_date [20:39:54]req_shift_open_date done [20:39:54]requested_item shift.sale.total is exist - process it [20:39:54]SAM_PROTO_GetShiftData [20:39:54]wFMCommunicate request_size=4 [20:39:54]MH_SAM_APDU [20:39:54]CAPDU: 80 13 02 00 [20:39:54]Write to MH i2c: E2 08 00 E9 10 80 13 02 00 00 00 00 00 77 [20:39:54]Write i2c OK [20:39:54]MH_I2C_Read... [20:39:55]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:39:55]Read from MH i2c: E2 [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: E2 FD 00 [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: E2 FD 00 E9 10 00 BB 04 AA 04 B7 04 6E 04 04 00 5F 00 00 00 69 04 9B 00 6F 04 04 00 5D 00 00 00 B1 04 03 00 90 A3 30 70 04 03 00 F8 D6 26 72 04 03 00 98 CC 09 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 60 2A 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 27 6E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 94 [20:39:55]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 5F 00 00 00 69 04 9B 00 6F 04 04 00 5D 00 00 00 B1 04 03 00 90 A3 30 70 04 03 00 F8 D6 26 72 04 03 00 98 CC 09 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 60 2A 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 27 6E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:39:55]wFMCommunicate OK [20:39:55]wFMCommunicate request_size=4 [20:39:55]MH_SAM_APDU [20:39:55]CAPDU: 80 17 00 00 [20:39:55]Write to MH i2c: E2 08 00 EA 10 80 17 00 00 00 00 00 00 7A [20:39:55]Write i2c OK [20:39:55]MH_I2C_Read... [20:39:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:39:55]Read from MH i2c: E2 [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: E2 FD 00 [20:39:55]MH_I2C_Read... [20:39:55]Read from MH i2c: E2 FD 00 EA 10 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0D [20:39:55]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:39:55]wFMCommunicate OK [20:39:55]wFMCommunicate request_size=4 [20:39:55]MH_SAM_APDU [20:39:55]CAPDU: 80 17 00 00 [20:39:55]Write to MH i2c: E2 08 00 EB 10 80 17 00 00 00 00 00 00 7B [20:39:55]Write i2c OK [20:39:55]MH_I2C_Read... [20:39:55]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:39:56]Read from MH i2c: E2 [20:39:56]MH_I2C_Read... [20:39:56]Read from MH i2c: E2 FD 00 [20:39:56]MH_I2C_Read... [20:39:56]Read from MH i2c: E2 FD 00 EB 10 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A7 [20:39:56]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:39:56]wFMCommunicate OK [20:39:56]wFMCommunicate request_size=4 [20:39:56]MH_SAM_APDU [20:39:56]CAPDU: 80 17 00 00 [20:39:56]Write to MH i2c: E2 08 00 EC 10 80 17 00 00 00 00 00 00 7C [20:39:56]Write i2c OK [20:39:56]MH_I2C_Read... [20:39:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:39:56]Read from MH i2c: E2 [20:39:56]MH_I2C_Read... [20:39:56]Read from MH i2c: E2 FD 00 [20:39:56]MH_I2C_Read... [20:39:56]Read from MH i2c: E2 FD 00 EC 10 00 00 00 EF 03 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 90 00 F1 [20:39:56]RAPDU: 00 00 EF 03 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 90 00 [20:39:56]wFMCommunicate OK [20:39:56]wFMCommunicate request_size=4 [20:39:56]MH_SAM_APDU [20:39:56]CAPDU: 80 17 00 00 [20:39:56]Write to MH i2c: E2 08 00 ED 10 80 17 00 00 00 00 00 00 7D [20:39:56]Write i2c OK [20:39:56]MH_I2C_Read... [20:39:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:39:56]Read from MH i2c: E2 [20:39:56]MH_I2C_Read... [20:39:56]Read from MH i2c: E2 D8 00 [20:39:56]MH_I2C_Read... [20:39:56]Read from MH i2c: E2 D8 00 ED 10 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 64 [20:39:56]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:39:56]wFMCommunicate OK [20:39:56]SAM_PROTO_GetShiftData done [20:39:56]requested_item shift.sale.total_cash is exist - process it [20:39:56]requested_item shift.sale_refund.total is exist - process it [20:39:56]requested_item shift.sale_refund.total_cash is exist - process it [20:39:56]produce_requested_data done [20:39:56]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57078,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31876.00,"shift.sale.total_cash":25454.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:39:56]process_action_free close_receipt [20:39:56]json_value_free [20:39:56]json_value_free done [20:39:56]process_json_proto returns [20:39:56]Send response to host [20:39:56]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57078,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":31876.00,"shift.sale.total_cash":25454.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:39:56]free response buf [20:39:56]execute_script done [20:39:56]execute_script returns [20:39:56]free content buf [20:39:56]Sock 7.Close socket [20:39:56]Sock 7.Thread stoped [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:52]accept exits with 9 [20:40:52]New connection [20:40:52]New thread 3067448676 created [20:40:52]Thread 3067592036 joined [20:40:52]Waiting for new connection... [20:40:52] Sock 9.Parse request [20:40:52]Sock 9.Check first char [20:40:52]Sock 9.First char is OK [20:40:52]request: POST /json_proto HTTP/1.0 [20:40:52]Method: POST [20:40:52]URL: /json_proto [20:40:52]Method is POST - this is cgi request [20:40:52]url: /json_proto [20:40:52]query_string will be loaded in cgi processing [20:40:52]execute_cgi json_proto POST (null) [20:40:52]execute_cgi path=json_proto method=POST [20:40:52]POST find Content-Length [20:40:52]Host: 172.17.39.4:8080 [20:40:52]Content-Length: 964 [20:40:52]Content-Type: application/json [20:40:52] [20:40:52]POST finish read [20:40:52]Found Content-Length = 964 [20:40:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129539", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:40:52]execute_script... [20:40: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)129539", "tax_sys" : 0, "items" : [ { "code": "48743587", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Silver", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:40:52]POST & json_proto [20:40:52]process_json_proto [20:40:52]json parsed OK: [20:40:52]protocol is kg_v1.0 [20:40:52]action value=close_receipt [20:40:52]process_action close_receipt [20:40:52]cmd_close_receipt [20:40:52]MH_GetDate [20:40:52]Write to MH i2c: F0 00 00 EE 10 ED [20:40:52]Write i2c OK [20:40:52]MH_I2C_Read... [20:40:52]Read from MH i2c: F0 [20:40:52]MH_I2C_Read... [20:40:52]Read from MH i2c: F0 09 00 [20:40:52]MH_I2C_Read... [20:40:52]Read from MH i2c: F0 09 00 EE 10 00 D7 37 94 66 2D 25 5D 64 11 [20:40:52]GetLastDocTimeStamp 1720989593 [20:40:52]current date 1720989655 [20:40:52]FM_GetShiftState [20:40:52]SAM_PROTO_GetShiftState [20:40:52]wFMCommunicate request_size=4 [20:40:52]MH_SAM_APDU [20:40:52]CAPDU: 80 13 01 00 [20:40:52]Write to MH i2c: E2 08 00 EF 10 80 13 01 00 00 00 00 00 7C [20:40:52]Write i2c OK [20:40:52]MH_I2C_Read... [20:40:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:40:52]Read from MH i2c: E2 [20:40:52]MH_I2C_Read... [20:40:52]Read from MH i2c: E2 0E 00 [20:40:52]MH_I2C_Read... [20:40:52]Read from MH i2c: E2 0E 00 EF 10 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 23 [20:40:52]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:40:52]wFMCommunicate OK [20:40:52]SAM_PROTO_GetShiftState done [20:40:52]FM_GetShiftState done [20:40:52]opened in 1720917126 [20:40:52]opened+sec_in_day 1721003526 [20:40:52]quantity*price = 14000 [20:40:52]sum+1 = 14001 [20:40:52]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48747059 Сигареты Winston Legend Blue 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 280.00 НСП 1% : 2.48 НДС 12% : 29.74 Наличными: 280.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 96 14.07.2024 20:40 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57079 ФПД: 95071426055593 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204055&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57079&fm=95071426055593&tin=02508201610067®Number=0000000000091208&sum=28000 0 [20:40:53]StoreToDocumentArchive [20:40:53]shift 496 fd 57079 [20:40:53]save to /storage/0496/doc_00057079 [20:40:53]save last doc name /storage/0496/doc_00057079 to /storage/kkm_last_doc_name [20:40:53]save OK [20:40:53]Clear old archive folders... [20:40:53]ProcessDocumentItem done err = 0, tmpTLVsize=378 [20:40:53]tlvbuf is 00FA2180 [20:40:53]SAM_PROTO_ClearQueue [20:40:53]wFMCommunicate request_size=4 [20:40:53]MH_SAM_APDU [20:40:53]CAPDU: 80 09 00 00 [20:40:53]Write to MH i2c: E2 08 00 FC 10 80 09 00 00 00 00 00 00 7E [20:40:53]Write i2c OK [20:40:53]MH_I2C_Read... [20:40:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:40:53]Read from MH i2c: E2 [20:40:53]MH_I2C_Read... [20:40:53]Read from MH i2c: E2 03 00 [20:40:53]MH_I2C_Read... [20:40:53]Read from MH i2c: E2 03 00 FC 10 00 90 00 80 [20:40:53]RAPDU: 90 00 [20:40:53]wFMCommunicate OK [20:40:53]SAM_PROTO_ClearQueue done [20:40:53]KKMCreateOFDPacket [20:40:53]OFDProtocolAddRootSTLVToBuf [20:40:53]FM_MakeSignedData [20:40:53]FM_MakeSignedData [20:40:53]SAM_PROTO_SignData [20:40:53]wFMCommunicate request_size=4 [20:40:53]MH_SAM_APDU [20:40:53]CAPDU: 80 0D 01 02 [20:40:53]Write to MH i2c: E2 08 00 FD 10 80 0D 01 02 00 00 00 00 86 [20:40:53]Write i2c OK [20:40:53]MH_I2C_Read... [20:40:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:40:54]Read from MH i2c: E2 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 03 00 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 03 00 FD 10 00 90 00 81 [20:40:54]RAPDU: 90 00 [20:40:54]wFMCommunicate OK [20:40:54]wFMCommunicate request_size=255 [20:40:54]MH_SAM_APDU [20:40:54]CAPDU: 80 0D 02 02 FA 03 00 7A 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 [20:40:54]Write to MH i2c: E2 02 01 FE 10 80 0D 02 02 FA 00 03 00 7A 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 00 00 FA [20:40:54]Write i2c OK [20:40:54]MH_I2C_Read... [20:40:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:40:54]Read from MH i2c: E2 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 03 00 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 03 00 FE 10 00 90 00 82 [20:40:54]RAPDU: 90 00 [20:40:54]wFMCommunicate OK [20:40:54]wFMCommunicate request_size=137 [20:40:54]MH_SAM_APDU [20:40:54]CAPDU: 80 0D 02 02 84 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 60 6D 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 D7 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F7 DE 00 00 35 04 06 00 56 77 8A 94 0D A9 [20:40:54]Write to MH i2c: E2 8C 00 FF 10 80 0D 02 02 84 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 60 6D 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 D7 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F7 DE 00 00 35 04 06 00 56 77 8A 94 0D A9 00 00 05 [20:40:54]Write i2c OK [20:40:54]MH_I2C_Read... [20:40:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:40:54]Read from MH i2c: E2 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 03 00 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 03 00 FF 10 00 90 00 83 [20:40:54]RAPDU: 90 00 [20:40:54]wFMCommunicate OK [20:40:54]wFMCommunicate request_size=4 [20:40:54]MH_SAM_APDU [20:40:54]CAPDU: 80 0D 03 02 [20:40:54]Write to MH i2c: E2 08 00 00 11 80 0D 03 02 00 00 00 00 8C [20:40:54]Write i2c OK [20:40:54]MH_I2C_Read... [20:40:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:40:54]Read from MH i2c: E2 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 0B 00 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 0B 00 00 11 00 2A FF 32 A7 C6 0C 67 EF 90 00 B7 [20:40:54]RAPDU: 2A FF 32 A7 C6 0C 67 EF 90 00 [20:40:54]wFMCommunicate OK [20:40:54]SAM_PROTO_SignData done [20:40:54]FM_MakeSignedData done [20:40:54]CreateOFDProtocolMessage [20:40:54]wFMCommunicate request_size=4 [20:40:54]MH_SAM_APDU [20:40:54]CAPDU: 80 11 00 00 [20:40:54]Write to MH i2c: E2 08 00 01 11 80 11 00 00 00 00 00 00 8C [20:40:54]Write i2c OK [20:40:54]MH_I2C_Read... [20:40:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:40:54]Read from MH i2c: E2 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 17 00 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: E2 17 00 01 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E6 [20:40:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:40:54]wFMCommunicate OK [20:40:54]CreateOFDProtocolMessage done [20:40:54]OFDSenderStorePacket 57079 [20:40:54]StoreOFDPacket docnum=57079 [20:40:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 8E 01 00 00 96 AE 86 01 83 89 5A 03 01 00 03 00 7A 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 60 6D 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 D7 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F7 DE 00 00 35 04 06 00 56 77 8A 94 0D A9 2A FF 32 A7 C6 0C 67 EF [20:40:54]CheckFolder [20:40:54]dirname=/storage/ofd_packets [20:40:54]CheckFolder done [20:40:54]ProducePacketName [20:40:54]name=ofd_packets/00057079 [20:40:54]NVStorageSaveData ofd_packets/00057079 [20:40:54]File name is /storage/ofd_packets/00057079 [20:40:54]Write 428 bytes [20:40:54]NVStorageSaveData done [20:40:54]OFDSenderStorePacket done [20:40:54]KKMCreateOFDPacket done [20:40:54]NVStorageSaveData kkm_last_timestamp [20:40:54]File name is /storage/kkm_last_timestamp [20:40:54]Write 4 bytes [20:40:54]NVStorageSaveData done [20:40:54]ExternCall_PrintAddStr [20:40:54]wPrintStart [20:40:54]Write to MH i2c: 01 00 00 02 11 13 [20:40:54]Write i2c OK [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: 01 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: 01 07 00 [20:40:54]MH_I2C_Read... [20:40:54]Read from MH i2c: 01 07 00 02 11 00 00 00 00 00 FF 0F 28 [20:40:54]RasterBufferAndPrint [20:40:54]line Счет N : (3)129539 [20:40:54]line ИНН: 02508201610067 [20:40:54]line Контрольно-Кассовый Чек [20:40:54]line ПРОДАЖА [20:40:54]line Товар: 48743587 [20:40:54]line Сигареты Winston XStyle Silver [20:40:54]line 1.000 * 140.00 [20:40:54]line = 140.00 [20:40:54]line НДС 12% НСП 1% [20:40:54]line > о реализуемом товаре [20:40:54]line Товар: 48747059 [20:40:54]line Сигареты Winston Legend Blue [20:40:54]line 1.000 * 140.00 [20:40:54]line = 140.00 [20:40:54]line НДС 12% НСП 1% [20:40:54]line > о реализуемом товаре [20:40:54]line ИТОГО: 280.00 [20:40:54]line НСП 1% : 2.48 [20:40:54]line НДС 12% : 29.74 [20:40:54]line Наличными: 280.00 [20:40:54]line Безнал.: 0.00 [20:40:54]line Место: АЗС № 132 "Партнер Нефть" [20:40:54]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:40:54]line СНО: Общий режим [20:40:54]line Чек 96 14.07.2024 20:40 [20:40:54]line Смена: 496 ФФД: 1.0 [20:40:54]line ЗНМ: 0300000132 [20:40:54]line РНМ: 0000000000091208 [20:40:54]line Версия ККМ: 001 [20:40:54]line ФМ: 0000000000874857 [20:40:54]line ФД: 57079 [20:40:54]line ФПД: 95071426055593 [20:40:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204055&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57079&fm=95071426055593&tin=02508201610067®Number=0000000000091208&sum=28000 [20:40:54]line 0 [20:40:54]OFD Sender: Processing packet 57079 [packets to send 38, broken 37] [20:40:54]ProducePacketName [20:40:54]name=ofd_packets/00057079 [20:40:54]OFD Sender: To server: pG, [20:40:54]CommunicateWithHost lk.salyk.kg:30040 [20:40:54]ConnectInit lk.salyk.kg [20:40:54]written 0, free lines is 4095 [20:40:55]Connected sock=10 [20:40:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 8E 01 00 00 96 AE 86 01 83 89 5A 03 01 00 03 00 7A 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9E 0B 00 00 00 00 07 04 06 00 60 6D 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 D7 37 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F7 DE 00 00 35 04 06 00 56 77 8A 94 0D A9 2A FF 32 A7 C6 0C 67 EF [20:40:55]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 1A 1E 47 00 7A 1A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F7 DE 00 00 F4 03 04 00 28 DE 93 66 B6 04 01 00 00 AD 86 1C 98 45 96 D2 E0 [20:40:55]CommunicateWithHost err = 0 [20:40:55]CheckOFDResponse [20:40:55]1017 (14) - 77093643461234 [20:40:55]1041 (16) - 0000000000874857 [20:40:55]1040 (4) - 57079 [20:40:55]1012 (4) - 14.07.2024 14:18 [20:40:55]1206 (1) - 0 [20:40:55]OFD Sender: Remove packet 57079 [20:40:55]ProducePacketName [20:40:55]name=ofd_packets/00057079 [20:40:55]NVStorageDeleteData [20:40:55]Write to MH i2c: 01 00 00 32 11 43 [20:40:55]Write i2c OK [20:40:55]MH_I2C_Read... [20:40:55]Read from MH i2c: 01 [20:40:55]MH_I2C_Read... [20:40:55]Read from MH i2c: 01 07 00 [20:40:55]MH_I2C_Read... [20:40:55]Read from MH i2c: 01 07 00 32 11 00 00 00 00 00 7F 0C D5 [20:40:55]RasterBufferAndPrint [20:40:55]line [20:40:55]line [20:40:55]line [20:40:55]line [20:40:55]line [20:40:55]written 0, free lines is 3205 [20:40:55]MH_Cut [20:40:55]Write to MH i2c: D1 01 00 39 11 01 1C [20:40:55]Write i2c OK [20:40:55]MH_I2C_Read... [20:40:55]Read from MH i2c: D1 [20:40:55]MH_I2C_Read... [20:40:55]Read from MH i2c: D1 01 00 [20:40:55]MH_I2C_Read... [20:40:55]Read from MH i2c: D1 01 00 39 11 00 1B [20:40:55]Write to MH i2c: 01 00 00 3A 11 4B [20:40:55]Write i2c OK [20:40:55]MH_I2C_Read... [20:40:55]OFD Sender: No OFD packet to send [20:40:56]*** Cut start [20:40:56]*** Partial cut [20:40:56]*** CUTSNS_PIN = 1 [20:40:56]*** CUTSNS_PIN = 0 [20:40:56]*** Brake cut motor [20:40:56]Read from MH i2c: 01 [20:40:56]MH_I2C_Read... [20:40:56]*** Stop cut motor [20:40:56]*** Cut end [20:40:56]Read from MH i2c: 01 07 00 [20:40:56]MH_I2C_Read... [20:40:56]Read from MH i2c: 01 07 00 3A 11 00 00 00 00 00 FF 0F 60 [20:40:56]process_action close_receipt done [20:40:56]requested_data is exist [20:40:56]produce_requested_data [20:40:56]requested_item fm.sn is exist - process it [20:40:56]wFMCommunicate request_size=4 [20:40:56]MH_SAM_APDU [20:40:56]CAPDU: 80 11 00 00 [20:40:56]Write to MH i2c: E2 08 00 3B 11 80 11 00 00 00 00 00 00 C6 [20:40:56]Write i2c OK [20:40:56]MH_I2C_Read... [20:40:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:40:56]Read from MH i2c: E2 [20:40:56]MH_I2C_Read... [20:40:56]Read from MH i2c: E2 17 00 [20:40:56]MH_I2C_Read... [20:40:56]Read from MH i2c: E2 17 00 3B 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 20 [20:40:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:40:56]wFMCommunicate OK [20:40:56]requested_item fd.num is exist - process it [20:40:56]SAM_PROTO_GetFieldsCounters [20:40:56]wFMCommunicate request_size=4 [20:40:56]MH_SAM_APDU [20:40:56]CAPDU: 80 13 00 00 [20:40:56]Write to MH i2c: E2 08 00 3C 11 80 13 00 00 00 00 00 00 C9 [20:40:56]Write i2c OK [20:40:56]MH_I2C_Read... [20:40:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:40:57]Read from MH i2c: E2 [20:40:57]MH_I2C_Read... [20:40:57]Read from MH i2c: E2 62 00 [20:40:57]MH_I2C_Read... [20:40:57]Read from MH i2c: E2 62 00 3C 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F7 DE 00 00 0E 04 04 00 F0 01 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 D2 [20:40:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F7 DE 00 00 0E 04 04 00 F0 01 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 [20:40:57]wFMCommunicate OK [20:40:57]SAM_PROTO_GetFieldsCounters done [20:40:57]requested_item shift.num is exist - process it [20:40:57]requested_item shift.opened is exist - process it [20:40:57]req_shift_opened [20:40:57]FM_GetShiftState [20:40:57]SAM_PROTO_GetShiftState [20:40:57]wFMCommunicate request_size=4 [20:40:57]MH_SAM_APDU [20:40:57]CAPDU: 80 13 01 00 [20:40:57]Write to MH i2c: E2 08 00 3D 11 80 13 01 00 00 00 00 00 CB [20:40:57]Write i2c OK [20:40:57]MH_I2C_Read... [20:40:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:40:57]Read from MH i2c: E2 [20:40:57]MH_I2C_Read... [20:40:57]Read from MH i2c: E2 0E 00 [20:40:57]MH_I2C_Read... [20:40:57]Read from MH i2c: E2 0E 00 3D 11 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 72 [20:40:57]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:40:57]wFMCommunicate OK [20:40:57]SAM_PROTO_GetShiftState done [20:40:57]FM_GetShiftState done [20:40:57]req_shift_opened done [20:40:57]requested_item shift.open_date is exist - process it [20:40:57]req_shift_open_date [20:40:57]req_shift_open_date done [20:40:57]requested_item shift.sale.total is exist - process it [20:40:57]SAM_PROTO_GetShiftData [20:40:57]wFMCommunicate request_size=4 [20:40:57]MH_SAM_APDU [20:40:57]CAPDU: 80 13 02 00 [20:40:57]Write to MH i2c: E2 08 00 3E 11 80 13 02 00 00 00 00 00 CD [20:40:57]Write i2c OK [20:40:57]MH_I2C_Read... [20:40:57]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:40:57]Read from MH i2c: E2 [20:40:57]MH_I2C_Read... [20:40:57]Read from MH i2c: E2 FD 00 [20:40:57]MH_I2C_Read... [20:40:57]Read from MH i2c: E2 FD 00 3E 11 00 BB 04 AA 04 B7 04 6E 04 04 00 60 00 00 00 69 04 9B 00 6F 04 04 00 5E 00 00 00 B1 04 03 00 F0 10 31 70 04 03 00 58 44 27 72 04 03 00 98 CC 09 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 FE 35 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 1F 6F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 2B [20:40:57]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 60 00 00 00 69 04 9B 00 6F 04 04 00 5E 00 00 00 B1 04 03 00 F0 10 31 70 04 03 00 58 44 27 72 04 03 00 98 CC 09 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 FE 35 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 1F 6F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:40:57]wFMCommunicate OK [20:40:57]wFMCommunicate request_size=4 [20:40:57]MH_SAM_APDU [20:40:57]CAPDU: 80 17 00 00 [20:40:57]Write to MH i2c: E2 08 00 3F 11 80 17 00 00 00 00 00 00 D0 [20:40:57]Write i2c OK [20:40:57]MH_I2C_Read... [20:40:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:40:57]Read from MH i2c: E2 [20:40:57]MH_I2C_Read... [20:40:57]Read from MH i2c: E2 FD 00 [20:40:57]MH_I2C_Read... [20:40:57]Read from MH i2c: E2 FD 00 3F 11 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 63 [20:40:57]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:40:57]wFMCommunicate OK [20:40:57]wFMCommunicate request_size=4 [20:40:57]MH_SAM_APDU [20:40:57]CAPDU: 80 17 00 00 [20:40:57]Write to MH i2c: E2 08 00 40 11 80 17 00 00 00 00 00 00 D1 [20:40:57]Write i2c OK [20:40:57]MH_I2C_Read... [20:40:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:40:58]Read from MH i2c: E2 [20:40:58]MH_I2C_Read... [20:40:58]Read from MH i2c: E2 FD 00 [20:40:58]MH_I2C_Read... [20:40:58]Read from MH i2c: E2 FD 00 40 11 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 FD [20:40:58]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:40:58]wFMCommunicate OK [20:40:58]wFMCommunicate request_size=4 [20:40:58]MH_SAM_APDU [20:40:58]CAPDU: 80 17 00 00 [20:40:58]Write to MH i2c: E2 08 00 41 11 80 17 00 00 00 00 00 00 D2 [20:40:58]Write i2c OK [20:40:58]MH_I2C_Read... [20:40:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:40:58]Read from MH i2c: E2 [20:40:58]MH_I2C_Read... [20:40:58]Read from MH i2c: E2 FD 00 [20:40:58]MH_I2C_Read... [20:40:58]Read from MH i2c: E2 FD 00 41 11 00 00 00 EF 03 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 90 00 47 [20:40:58]RAPDU: 00 00 EF 03 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 90 00 [20:40:58]wFMCommunicate OK [20:40:58]wFMCommunicate request_size=4 [20:40:58]MH_SAM_APDU [20:40:58]CAPDU: 80 17 00 00 [20:40:58]Write to MH i2c: E2 08 00 42 11 80 17 00 00 00 00 00 00 D3 [20:40:58]Write i2c OK [20:40:58]MH_I2C_Read... [20:40:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:40:58]Read from MH i2c: E2 [20:40:58]MH_I2C_Read... [20:40:58]Read from MH i2c: E2 D8 00 [20:40:58]MH_I2C_Read... [20:40:58]Read from MH i2c: E2 D8 00 42 11 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 BA [20:40:58]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:40:58]wFMCommunicate OK [20:40:58]SAM_PROTO_GetShiftData done [20:40:58]requested_item shift.sale.total_cash is exist - process it [20:40:58]requested_item shift.sale_refund.total is exist - process it [20:40:58]requested_item shift.sale_refund.total_cash is exist - process it [20:40:58]produce_requested_data done [20:40:58]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57079,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32156.00,"shift.sale.total_cash":25734.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:40:58]process_action_free close_receipt [20:40:58]json_value_free [20:40:58]json_value_free done [20:40:58]process_json_proto returns [20:40:58]Send response to host [20:40:58]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57079,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32156.00,"shift.sale.total_cash":25734.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:40:58]free response buf [20:40:58]execute_script done [20:40:58]execute_script returns [20:40:58]free content buf [20:40:58]Sock 9.Close socket [20:40:58]Sock 9.Thread stoped [20:41:00]OFD Sender: No OFD packet to send [20:41:05]OFD Sender: No OFD packet to send [20:41:10]OFD Sender: No OFD packet to send [20:41:15]OFD Sender: No OFD packet to send [20:41:20]OFD Sender: No OFD packet to send [20:41:25]OFD Sender: No OFD packet to send [20:41:30]OFD Sender: No OFD packet to send [20:41:35]OFD Sender: No OFD packet to send [20:41:40]OFD Sender: No OFD packet to send [20:41:44]accept exits with 7 [20:41:44]New connection [20:41:44]New thread 3067592036 created [20:41:44]Thread 3067448676 joined [20:41:44]Waiting for new connection... [20:41:44] Sock 7.Parse request [20:41:44]Sock 7.Check first char [20:41:44]Sock 7.First char is OK [20:41:44]request: POST /json_proto HTTP/1.0 [20:41:44]Method: POST [20:41:44]URL: /json_proto [20:41:44]Method is POST - this is cgi request [20:41:44]url: /json_proto [20:41:44]query_string will be loaded in cgi processing [20:41:44]execute_cgi json_proto POST (null) [20:41:44]execute_cgi path=json_proto method=POST [20:41:44]POST find Content-Length [20:41:44]Host: 172.17.39.4:8080 [20:41:44]Content-Length: 1060 [20:41:44]Content-Type: application/json [20:41:44] [20:41:44]POST finish read [20:41:44]Found Content-Length = 1060 [20:41:44]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129540", "tax_sys" : 0, "items" : [ { "code": "6921211114420", "name": "\u041A\u0430\u0440\u0430\u043C\u0435\u043B\u044C \u0427\u0427 3D \u0412-\u0420\u041E\u0420 \u0422\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 8*45", "price" : 41.00, "quantity" : 1.000, "sum" : 41.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" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 192.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:41:44]execute_script... [20:41: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)129540", "tax_sys" : 0, "items" : [ { "code": "6921211114420", "name": "\u041A\u0430\u0440\u0430\u043C\u0435\u043B\u044C \u0427\u0427 3D \u0412-\u0420\u041E\u0420 \u0422\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 8*45", "price" : 41.00, "quantity" : 1.000, "sum" : 41.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" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 192.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:41:44]POST & json_proto [20:41:44]process_json_proto [20:41:44]json parsed OK: [20:41:44]protocol is kg_v1.0 [20:41:44]action value=close_receipt [20:41:44]process_action close_receipt [20:41:44]cmd_close_receipt [20:41:44]MH_GetDate [20:41:44]Write to MH i2c: F0 00 00 43 11 43 [20:41:44]Write i2c OK [20:41:44]MH_I2C_Read... [20:41:44]Read from MH i2c: F0 [20:41:44]MH_I2C_Read... [20:41:44]Read from MH i2c: F0 09 00 [20:41:44]MH_I2C_Read... [20:41:44]Read from MH i2c: F0 09 00 43 11 00 0B 38 94 66 2D 25 5D 64 9C [20:41:44]GetLastDocTimeStamp 1720989655 [20:41:44]current date 1720989707 [20:41:44]FM_GetShiftState [20:41:44]SAM_PROTO_GetShiftState [20:41:44]wFMCommunicate request_size=4 [20:41:44]MH_SAM_APDU [20:41:44]CAPDU: 80 13 01 00 [20:41:44]Write to MH i2c: E2 08 00 44 11 80 13 01 00 00 00 00 00 D2 [20:41:44]Write i2c OK [20:41:44]MH_I2C_Read... [20:41:44]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:41:44]Read from MH i2c: E2 [20:41:44]MH_I2C_Read... [20:41:44]Read from MH i2c: E2 0E 00 [20:41:44]MH_I2C_Read... [20:41:44]Read from MH i2c: E2 0E 00 44 11 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 79 [20:41:44]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:41:44]wFMCommunicate OK [20:41:44]SAM_PROTO_GetShiftState done [20:41:44]FM_GetShiftState done [20:41:44]opened in 1720917126 [20:41:44]opened+sec_in_day 1721003526 [20:41:44]quantity*price = 4100 [20:41:44]sum+1 = 4101 [20:41:44]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 48741958 Сигареты Parliament Aqua Blue 1.000 * 151.00 = 151.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 192.00 НСП 1% : 1.70 НДС 12% : 20.38 Наличными: 192.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 97 14.07.2024 20:41 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57080 ФПД: 191140017935391 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204147&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57080&fm=191140017935391&tin=02508201610067®Number=0000000000091208&sum=19200 0 [20:41:45]StoreToDocumentArchive [20:41:45]shift 496 fd 57080 [20:41:45]save to /storage/0496/doc_00057080 [20:41:45]save last doc name /storage/0496/doc_00057080 to /storage/kkm_last_doc_name [20:41:45]save OK [20:41:45]Clear old archive folders... [20:41:45]ProcessDocumentItem done err = 0, tmpTLVsize=408 [20:41:45]tlvbuf is 00FC6330 [20:41:45]SAM_PROTO_ClearQueue [20:41:45]wFMCommunicate request_size=4 [20:41:45]MH_SAM_APDU [20:41:45]CAPDU: 80 09 00 00 [20:41:45]Write to MH i2c: E2 08 00 51 11 80 09 00 00 00 00 00 00 D4 [20:41:45]Write i2c OK [20:41:45]MH_I2C_Read... [20:41:45]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:41:45]Read from MH i2c: E2 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 03 00 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 03 00 51 11 00 90 00 D6 [20:41:45]RAPDU: 90 00 [20:41:45]wFMCommunicate OK [20:41:45]SAM_PROTO_ClearQueue done [20:41:45]KKMCreateOFDPacket [20:41:45]OFDProtocolAddRootSTLVToBuf [20:41:45]FM_MakeSignedData [20:41:45]FM_MakeSignedData [20:41:45]SAM_PROTO_SignData [20:41:45]wFMCommunicate request_size=4 [20:41:45]MH_SAM_APDU [20:41:45]CAPDU: 80 0D 01 02 [20:41:45]Write to MH i2c: E2 08 00 52 11 80 0D 01 02 00 00 00 00 DC [20:41:45]Write i2c OK [20:41:45]MH_I2C_Read... [20:41:45]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:41:45]Read from MH i2c: E2 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 03 00 [20:41:45]MH_I2C_Read... [20:41:45]Read from MH i2c: E2 03 00 52 11 00 90 00 D7 [20:41:45]RAPDU: 90 00 [20:41:45]wFMCommunicate OK [20:41:45]wFMCommunicate request_size=255 [20:41:45]MH_SAM_APDU [20:41:45]CAPDU: 80 0D 02 02 FA 03 00 98 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 36 39 32 31 32 31 31 31 31 34 34 32 30 06 04 3E 00 D0 9A D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 D0 A7 D0 A7 20 33 44 20 D0 92 2D D0 A0 D0 9E D0 A0 20 D0 A2 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 38 2A 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 [20:41:45]Write to MH i2c: E2 02 01 53 11 80 0D 02 02 FA 00 03 00 98 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 36 39 32 31 32 31 31 31 31 34 34 32 30 06 04 3E 00 D0 9A D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 D0 A7 D0 A7 20 33 44 20 D0 92 2D D0 A0 D0 9E D0 A0 20 D0 A2 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 38 2A 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 ED [20:41:45]Write i2c OK [20:41:45]MH_I2C_Read... [20:41:45]OFD Sender: No OFD packet to send [20:41:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:41:46]Read from MH i2c: E2 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 03 00 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 03 00 53 11 00 90 00 D8 [20:41:46]RAPDU: 90 00 [20:41:46]wFMCommunicate OK [20:41:46]wFMCommunicate request_size=167 [20:41:46]MH_SAM_APDU [20:41:46]CAPDU: 80 0D 02 02 A2 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 07 00 00 00 00 07 04 06 00 00 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 61 00 00 00 F4 03 04 00 0B 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F8 DE 00 00 35 04 06 00 AD D7 40 DF 14 1F [20:41:46]Write to MH i2c: E2 AA 00 54 11 80 0D 02 02 A2 00 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 07 00 00 00 00 07 04 06 00 00 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 61 00 00 00 F4 03 04 00 0B 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F8 DE 00 00 35 04 06 00 AD D7 40 DF 14 1F 00 00 DA [20:41:46]Write i2c OK [20:41:46]MH_I2C_Read... [20:41:46]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:41:46]Read from MH i2c: E2 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 03 00 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 03 00 54 11 00 90 00 D9 [20:41:46]RAPDU: 90 00 [20:41:46]wFMCommunicate OK [20:41:46]wFMCommunicate request_size=4 [20:41:46]MH_SAM_APDU [20:41:46]CAPDU: 80 0D 03 02 [20:41:46]Write to MH i2c: E2 08 00 55 11 80 0D 03 02 00 00 00 00 E1 [20:41:46]Write i2c OK [20:41:46]MH_I2C_Read... [20:41:46]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:41:46]Read from MH i2c: E2 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 0B 00 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 0B 00 55 11 00 A5 AC 3F B7 B8 64 03 BB 90 00 03 [20:41:46]RAPDU: A5 AC 3F B7 B8 64 03 BB 90 00 [20:41:46]wFMCommunicate OK [20:41:46]SAM_PROTO_SignData done [20:41:46]FM_MakeSignedData done [20:41:46]CreateOFDProtocolMessage [20:41:46]wFMCommunicate request_size=4 [20:41:46]MH_SAM_APDU [20:41:46]CAPDU: 80 11 00 00 [20:41:46]Write to MH i2c: E2 08 00 56 11 80 11 00 00 00 00 00 00 E1 [20:41:46]Write i2c OK [20:41:46]MH_I2C_Read... [20:41:46]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:41:46]Read from MH i2c: E2 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 17 00 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: E2 17 00 56 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3B [20:41:46]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:41:46]wFMCommunicate OK [20:41:46]CreateOFDProtocolMessage done [20:41:46]OFDSenderStorePacket 57080 [20:41:46]StoreOFDPacket docnum=57080 [20:41:46]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 AC 01 00 00 E6 99 A4 01 96 8D 5A 03 01 00 03 00 98 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 36 39 32 31 32 31 31 31 31 34 34 32 30 06 04 3E 00 D0 9A D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 D0 A7 D0 A7 20 33 44 20 D0 92 2D D0 A0 D0 9E D0 A0 20 D0 A2 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 38 2A 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 07 00 00 00 00 07 04 06 00 00 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 61 00 00 00 F4 03 04 00 0B 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F8 DE 00 00 35 04 06 00 AD D7 40 DF 14 1F A5 AC 3F B7 B8 64 03 BB [20:41:46]CheckFolder [20:41:46]dirname=/storage/ofd_packets [20:41:46]CheckFolder done [20:41:46]ProducePacketName [20:41:46]name=ofd_packets/00057080 [20:41:46]NVStorageSaveData ofd_packets/00057080 [20:41:46]File name is /storage/ofd_packets/00057080 [20:41:46]Write 458 bytes [20:41:46]NVStorageSaveData done [20:41:46]OFDSenderStorePacket done [20:41:46]KKMCreateOFDPacket done [20:41:46]NVStorageSaveData kkm_last_timestamp [20:41:46]File name is /storage/kkm_last_timestamp [20:41:46]Write 4 bytes [20:41:46]NVStorageSaveData done [20:41:46]ExternCall_PrintAddStr [20:41:46]wPrintStart [20:41:46]Write to MH i2c: 01 00 00 57 11 68 [20:41:46]OFD Sender: Processing packet 57080 [packets to send 38, broken 37] [20:41:46]ProducePacketName [20:41:46]name=ofd_packets/00057080 [20:41:46]OFD Sender: To server: pG, [20:41:46]CommunicateWithHost lk.salyk.kg:30040 [20:41:46]ConnectInit lk.salyk.kg [20:41:46]Write i2c OK [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: 01 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: 01 07 00 [20:41:46]MH_I2C_Read... [20:41:46]Read from MH i2c: 01 07 00 57 11 00 00 00 00 00 FF 0F 7D [20:41:46]RasterBufferAndPrint [20:41:46]line Счет N : (3)129540 [20:41:46]line ИНН: 02508201610067 [20:41:46]line Контрольно-Кассовый Чек [20:41:46]line ПРОДАЖА [20:41:46]line Товар: 6921211114420 [20:41:46]line Карамель ЧЧ 3D В-РОР Тропический 8*45 [20:41:46]line 1.000 * 41.00 [20:41:46]line = 41.00 [20:41:46]line НДС 12% НСП 1% [20:41:46]line > о реализуемом товаре [20:41:46]line Товар: 48741958 [20:41:46]line Сигареты Parliament Aqua Blue [20:41:46]line 1.000 * 151.00 [20:41:46]line = 151.00 [20:41:46]line НДС 12% НСП 1% [20:41:46]line > о реализуемом товаре [20:41:46]line ИТОГО: 192.00 [20:41:46]line НСП 1% : 1.70 [20:41:46]line НДС 12% : 20.38 [20:41:46]line Наличными: 192.00 [20:41:46]line Безнал.: 0.00 [20:41:46]line Место: АЗС № 132 "Партнер Нефть" [20:41:46]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:41:46]line СНО: Общий режим [20:41:46]line Чек 97 14.07.2024 20:41 [20:41:46]line Смена: 496 ФФД: 1.0 [20:41:46]line ЗНМ: 0300000132 [20:41:46]line РНМ: 0000000000091208 [20:41:46]line Версия ККМ: 001 [20:41:46]line ФМ: 0000000000874857 [20:41:46]line ФД: 57080 [20:41:46]line ФПД: 191140017935391 [20:41:46]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204147&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57080&fm=191140017935391&tin=02508201610067®Number=0000000000091208&sum=19200 [20:41:46]line 0 [20:41:46]written 0, free lines is 4095 [20:41:46]Connected sock=10 [20:41:46]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 AC 01 00 00 E6 99 A4 01 96 8D 5A 03 01 00 03 00 98 01 1E 04 01 00 01 23 04 82 00 8A 04 0D 00 36 39 32 31 32 31 31 31 31 34 34 32 30 06 04 3E 00 D0 9A D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 D0 A7 D0 A7 20 33 44 20 D0 92 2D D0 A0 D0 9E D0 A0 20 D0 A2 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 38 2A 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 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 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 4B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F6 07 00 00 00 00 07 04 06 00 00 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 61 00 00 00 F4 03 04 00 0B 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F8 DE 00 00 35 04 06 00 AD D7 40 DF 14 1F A5 AC 3F B7 B8 64 03 BB [20:41:46]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 7D C2 47 00 06 7E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F8 DE 00 00 F4 03 04 00 5B DE 93 66 B6 04 01 00 00 A5 4E 71 B6 DA 0A A6 85 [20:41:46]CommunicateWithHost err = 0 [20:41:46]CheckOFDResponse [20:41:46]1017 (14) - 77093643461234 [20:41:46]1041 (16) - 0000000000874857 [20:41:46]1040 (4) - 57080 [20:41:46]1012 (4) - 14.07.2024 14:19 [20:41:46]1206 (1) - 0 [20:41:46]OFD Sender: Remove packet 57080 [20:41:46]ProducePacketName [20:41:46]name=ofd_packets/00057080 [20:41:46]NVStorageDeleteData [20:41:47]Write to MH i2c: 01 00 00 87 11 98 [20:41:47]Write i2c OK [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: 01 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: 01 07 00 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: 01 07 00 87 11 00 00 00 00 00 82 0C 2D [20:41:47]RasterBufferAndPrint [20:41:47]line [20:41:47]line [20:41:47]line [20:41:47]line [20:41:47]line [20:41:47]written 0, free lines is 3207 [20:41:47]MH_Cut [20:41:47]Write to MH i2c: D1 01 00 8E 11 01 71 [20:41:47]Write i2c OK [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: D1 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: D1 01 00 [20:41:47]MH_I2C_Read... [20:41:47]Read from MH i2c: D1 01 00 8E 11 00 70 [20:41:47]Write to MH i2c: 01 00 00 8F 11 A0 [20:41:47]Write i2c OK [20:41:47]MH_I2C_Read... [20:41:47]OFD Sender: No OFD packet to send [20:41:47]*** Cut start [20:41:47]*** Partial cut [20:41:47]*** CUTSNS_PIN = 1 [20:41:48]*** CUTSNS_PIN = 0 [20:41:48]*** Brake cut motor [20:41:48]Read from MH i2c: 01 [20:41:48]MH_I2C_Read... [20:41:48]*** Stop cut motor [20:41:48]*** Cut end [20:41:48]Read from MH i2c: 01 07 00 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: 01 07 00 8F 11 00 00 00 00 00 FF 0F B5 [20:41:48]process_action close_receipt done [20:41:48]requested_data is exist [20:41:48]produce_requested_data [20:41:48]requested_item fm.sn is exist - process it [20:41:48]wFMCommunicate request_size=4 [20:41:48]MH_SAM_APDU [20:41:48]CAPDU: 80 11 00 00 [20:41:48]Write to MH i2c: E2 08 00 90 11 80 11 00 00 00 00 00 00 1B [20:41:48]Write i2c OK [20:41:48]MH_I2C_Read... [20:41:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:41:48]Read from MH i2c: E2 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: E2 17 00 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: E2 17 00 90 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 75 [20:41:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:41:48]wFMCommunicate OK [20:41:48]requested_item fd.num is exist - process it [20:41:48]SAM_PROTO_GetFieldsCounters [20:41:48]wFMCommunicate request_size=4 [20:41:48]MH_SAM_APDU [20:41:48]CAPDU: 80 13 00 00 [20:41:48]Write to MH i2c: E2 08 00 91 11 80 13 00 00 00 00 00 00 1E [20:41:48]Write i2c OK [20:41:48]MH_I2C_Read... [20:41:48]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:41:48]Read from MH i2c: E2 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: E2 62 00 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: E2 62 00 91 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F8 DE 00 00 0E 04 04 00 F0 01 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 2B [20:41:48]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F8 DE 00 00 0E 04 04 00 F0 01 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 [20:41:48]wFMCommunicate OK [20:41:48]SAM_PROTO_GetFieldsCounters done [20:41:48]requested_item shift.num is exist - process it [20:41:48]requested_item shift.opened is exist - process it [20:41:48]req_shift_opened [20:41:48]FM_GetShiftState [20:41:48]SAM_PROTO_GetShiftState [20:41:48]wFMCommunicate request_size=4 [20:41:48]MH_SAM_APDU [20:41:48]CAPDU: 80 13 01 00 [20:41:48]Write to MH i2c: E2 08 00 92 11 80 13 01 00 00 00 00 00 20 [20:41:48]Write i2c OK [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: E2 [20:41:48]MH_I2C_Read... [20:41:48]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:41:48]Read from MH i2c: E2 0E 00 [20:41:48]MH_I2C_Read... [20:41:48]Read from MH i2c: E2 0E 00 92 11 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C7 [20:41:48]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:41:48]wFMCommunicate OK [20:41:48]SAM_PROTO_GetShiftState done [20:41:48]FM_GetShiftState done [20:41:48]req_shift_opened done [20:41:48]requested_item shift.open_date is exist - process it [20:41:48]req_shift_open_date [20:41:48]req_shift_open_date done [20:41:48]requested_item shift.sale.total is exist - process it [20:41:48]SAM_PROTO_GetShiftData [20:41:48]wFMCommunicate request_size=4 [20:41:48]MH_SAM_APDU [20:41:48]CAPDU: 80 13 02 00 [20:41:48]Write to MH i2c: E2 08 00 93 11 80 13 02 00 00 00 00 00 22 [20:41:48]Write i2c OK [20:41:48]MH_I2C_Read... [20:41:49]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:41:49]Read from MH i2c: E2 [20:41:49]MH_I2C_Read... [20:41:49]Read from MH i2c: E2 FD 00 [20:41:49]MH_I2C_Read... [20:41:49]Read from MH i2c: E2 FD 00 93 11 00 BB 04 AA 04 B7 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 5F 00 00 00 B1 04 03 00 F0 5B 31 70 04 03 00 58 8F 27 72 04 03 00 98 CC 09 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 F4 3D 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 C9 6F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 C0 [20:41:49]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 61 00 00 00 69 04 9B 00 6F 04 04 00 5F 00 00 00 B1 04 03 00 F0 5B 31 70 04 03 00 58 8F 27 72 04 03 00 98 CC 09 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 F4 3D 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 C9 6F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:41:49]wFMCommunicate OK [20:41:49]wFMCommunicate request_size=4 [20:41:49]MH_SAM_APDU [20:41:49]CAPDU: 80 17 00 00 [20:41:49]Write to MH i2c: E2 08 00 94 11 80 17 00 00 00 00 00 00 25 [20:41:49]Write i2c OK [20:41:49]MH_I2C_Read... [20:41:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:41:49]Read from MH i2c: E2 [20:41:49]MH_I2C_Read... [20:41:49]Read from MH i2c: E2 FD 00 [20:41:49]MH_I2C_Read... [20:41:49]Read from MH i2c: E2 FD 00 94 11 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B8 [20:41:49]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:41:49]wFMCommunicate OK [20:41:49]wFMCommunicate request_size=4 [20:41:49]MH_SAM_APDU [20:41:49]CAPDU: 80 17 00 00 [20:41:49]Write to MH i2c: E2 08 00 95 11 80 17 00 00 00 00 00 00 26 [20:41:49]Write i2c OK [20:41:49]MH_I2C_Read... [20:41:49]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:41:49]Read from MH i2c: E2 [20:41:49]MH_I2C_Read... [20:41:49]Read from MH i2c: E2 FD 00 [20:41:49]MH_I2C_Read... [20:41:49]Read from MH i2c: E2 FD 00 95 11 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 52 [20:41:49]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:41:49]wFMCommunicate OK [20:41:49]wFMCommunicate request_size=4 [20:41:49]MH_SAM_APDU [20:41:49]CAPDU: 80 17 00 00 [20:41:49]Write to MH i2c: E2 08 00 96 11 80 17 00 00 00 00 00 00 27 [20:41:49]Write i2c OK [20:41:49]MH_I2C_Read... [20:41:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:41:50]Read from MH i2c: E2 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 FD 00 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 FD 00 96 11 00 00 00 EF 03 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 90 00 9C [20:41:50]RAPDU: 00 00 EF 03 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 90 00 [20:41:50]wFMCommunicate OK [20:41:50]wFMCommunicate request_size=4 [20:41:50]MH_SAM_APDU [20:41:50]CAPDU: 80 17 00 00 [20:41:50]Write to MH i2c: E2 08 00 97 11 80 17 00 00 00 00 00 00 28 [20:41:50]Write i2c OK [20:41:50]MH_I2C_Read... [20:41:50]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:41:50]Read from MH i2c: E2 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 D8 00 [20:41:50]MH_I2C_Read... [20:41:50]Read from MH i2c: E2 D8 00 97 11 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 0F [20:41:50]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:41:50]wFMCommunicate OK [20:41:50]SAM_PROTO_GetShiftData done [20:41:50]requested_item shift.sale.total_cash is exist - process it [20:41:50]requested_item shift.sale_refund.total is exist - process it [20:41:50]requested_item shift.sale_refund.total_cash is exist - process it [20:41:50]produce_requested_data done [20:41:50]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57080,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32348.00,"shift.sale.total_cash":25926.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:41:50]process_action_free close_receipt [20:41:50]json_value_free [20:41:50]json_value_free done [20:41:50]process_json_proto returns [20:41:50]Send response to host [20:41:50]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57080,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32348.00,"shift.sale.total_cash":25926.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:41:50]free response buf [20:41:50]execute_script done [20:41:50]execute_script returns [20:41:50]free content buf [20:41:50]Sock 7.Close socket [20:41:50]Sock 7.Thread stoped [20:41:52]OFD Sender: No OFD packet to send [20:41:57]OFD Sender: No OFD packet to send [20:42:02]OFD Sender: No OFD packet to send [20:42:07]OFD Sender: No OFD packet to send [20:42:12]accept exits with 9 [20:42:12]New connection [20:42:12]New thread 3067448676 created [20:42:12]Thread 3067592036 joined [20:42:12]Waiting for new connection... [20:42:12] Sock 9.Parse request [20:42:12]Sock 9.Check first char [20:42:12]Sock 9.First char is OK [20:42:12]request: POST /json_proto HTTP/1.0 [20:42:12]Method: POST [20:42:12]URL: /json_proto [20:42:12]Method is POST - this is cgi request [20:42:12]url: /json_proto [20:42:12]query_string will be loaded in cgi processing [20:42:12]execute_cgi json_proto POST (null) [20:42:12]execute_cgi path=json_proto method=POST [20:42:12]POST find Content-Length [20:42:12]Host: 172.17.39.4:8080 [20:42:12]Content-Length: 745 [20:42:12]Content-Type: application/json [20:42:12] [20:42:12]POST finish read [20:42:12]Found Content-Length = 745 [20:42:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129541", "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" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:42:12]execute_script... [20:42:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129541", "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" : 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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:42:12]POST & json_proto [20:42:12]process_json_proto [20:42:12]json parsed OK: [20:42:12]protocol is kg_v1.0 [20:42:12]action value=close_receipt [20:42:12]process_action close_receipt [20:42:12]cmd_close_receipt [20:42:12]MH_GetDate [20:42:12]Write to MH i2c: F0 00 00 98 11 98 [20:42:12]Write i2c OK [20:42:12]MH_I2C_Read... [20:42:12]Read from MH i2c: F0 [20:42:12]MH_I2C_Read... [20:42:12]Read from MH i2c: F0 09 00 [20:42:12]MH_I2C_Read... [20:42:12]Read from MH i2c: F0 09 00 98 11 00 27 38 94 66 2D 25 5D 64 0D [20:42:12]GetLastDocTimeStamp 1720989707 [20:42:12]current date 1720989735 [20:42:12]FM_GetShiftState [20:42:12]SAM_PROTO_GetShiftState [20:42:12]wFMCommunicate request_size=4 [20:42:12]MH_SAM_APDU [20:42:12]CAPDU: 80 13 01 00 [20:42:12]Write to MH i2c: E2 08 00 99 11 80 13 01 00 00 00 00 00 27 [20:42:12]Write i2c OK [20:42:12]MH_I2C_Read... [20:42:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:12]Read from MH i2c: E2 [20:42:12]MH_I2C_Read... [20:42:12]Read from MH i2c: E2 0E 00 [20:42:12]MH_I2C_Read... [20:42:12]Read from MH i2c: E2 0E 00 99 11 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 CE [20:42:12]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:42:12]wFMCommunicate OK [20:42:12]SAM_PROTO_GetShiftState done [20:42:12]FM_GetShiftState done [20:42:12]opened in 1720917126 [20:42:12]opened+sec_in_day 1721003526 [20:42:12]quantity*price = 8000 [20:42:12]sum+1 = 8001 [20:42:12]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.71 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 98 14.07.2024 20:42 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57081 ФПД: 162678544894894 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204215&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57081&fm=162678544894894&tin=02508201610067®Number=0000000000091208&sum=8000 0 [20:42:13]StoreToDocumentArchive [20:42:13]shift 496 fd 57081 [20:42:13]save to /storage/0496/doc_00057081 [20:42:13]save last doc name /storage/0496/doc_00057081 to /storage/kkm_last_doc_name [20:42:13]save OK [20:42:13]Clear old archive folders... [20:42:13]ProcessDocumentItem done err = 0, tmpTLVsize=272 [20:42:13]tlvbuf is 00FD8460 [20:42:13]SAM_PROTO_ClearQueue [20:42:13]wFMCommunicate request_size=4 [20:42:13]MH_SAM_APDU [20:42:13]CAPDU: 80 09 00 00 [20:42:13]Write to MH i2c: E2 08 00 A6 11 80 09 00 00 00 00 00 00 29 [20:42:13]Write i2c OK [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 [20:42:13]MH_I2C_Read... [20:42:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:42:13]Read from MH i2c: E2 03 00 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 03 00 A6 11 00 90 00 2B [20:42:13]RAPDU: 90 00 [20:42:13]wFMCommunicate OK [20:42:13]SAM_PROTO_ClearQueue done [20:42:13]KKMCreateOFDPacket [20:42:13]OFDProtocolAddRootSTLVToBuf [20:42:13]FM_MakeSignedData [20:42:13]FM_MakeSignedData [20:42:13]SAM_PROTO_SignData [20:42:13]wFMCommunicate request_size=4 [20:42:13]MH_SAM_APDU [20:42:13]CAPDU: 80 0D 01 02 [20:42:13]Write to MH i2c: E2 08 00 A7 11 80 0D 01 02 00 00 00 00 31 [20:42:13]Write i2c OK [20:42:13]MH_I2C_Read... [20:42:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:42:13]Read from MH i2c: E2 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 03 00 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 03 00 A7 11 00 90 00 2C [20:42:13]RAPDU: 90 00 [20:42:13]wFMCommunicate OK [20:42:13]wFMCommunicate request_size=255 [20:42:13]MH_SAM_APDU [20:42:13]CAPDU: 80 0D 02 02 FA 03 00 10 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 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 62 00 00 00 F4 03 04 00 27 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [20:42:13]Write to MH i2c: E2 02 01 A8 11 80 0D 02 02 FA 00 03 00 10 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 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 62 00 00 00 F4 03 04 00 27 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 C3 [20:42:13]Write i2c OK [20:42:13]MH_I2C_Read... [20:42:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:13]Read from MH i2c: E2 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 03 00 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 03 00 A8 11 00 90 00 2D [20:42:13]RAPDU: 90 00 [20:42:13]wFMCommunicate OK [20:42:13]wFMCommunicate request_size=31 [20:42:13]MH_SAM_APDU [20:42:13]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 F9 DE 00 00 35 04 06 00 93 F4 8C E1 8B AE [20:42:13]Write to MH i2c: E2 22 00 A9 11 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 F9 DE 00 00 35 04 06 00 93 F4 8C E1 8B AE 00 00 6A [20:42:13]Write i2c OK [20:42:13]MH_I2C_Read... [20:42:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:13]Read from MH i2c: E2 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 03 00 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 03 00 A9 11 00 90 00 2E [20:42:13]RAPDU: 90 00 [20:42:13]wFMCommunicate OK [20:42:13]wFMCommunicate request_size=4 [20:42:13]MH_SAM_APDU [20:42:13]CAPDU: 80 0D 03 02 [20:42:13]Write to MH i2c: E2 08 00 AA 11 80 0D 03 02 00 00 00 00 36 [20:42:13]Write i2c OK [20:42:13]MH_I2C_Read... [20:42:13]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:42:13]Read from MH i2c: E2 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 0B 00 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 0B 00 AA 11 00 78 BD 25 AA EC 43 E9 19 90 00 6C [20:42:13]RAPDU: 78 BD 25 AA EC 43 E9 19 90 00 [20:42:13]wFMCommunicate OK [20:42:13]SAM_PROTO_SignData done [20:42:13]FM_MakeSignedData done [20:42:13]CreateOFDProtocolMessage [20:42:13]wFMCommunicate request_size=4 [20:42:13]MH_SAM_APDU [20:42:13]CAPDU: 80 11 00 00 [20:42:13]Write to MH i2c: E2 08 00 AB 11 80 11 00 00 00 00 00 00 36 [20:42:13]Write i2c OK [20:42:13]MH_I2C_Read... [20:42:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:13]Read from MH i2c: E2 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 17 00 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: E2 17 00 AB 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 90 [20:42:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:42:13]wFMCommunicate OK [20:42:13]CreateOFDProtocolMessage done [20:42:13]OFDSenderStorePacket 57081 [20:42:13]StoreOFDPacket docnum=57081 [20:42:13]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 7F 28 1C 01 4B A9 5A 03 01 00 03 00 10 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 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 62 00 00 00 F4 03 04 00 27 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F9 DE 00 00 35 04 06 00 93 F4 8C E1 8B AE 78 BD 25 AA EC 43 E9 19 [20:42:13]CheckFolder [20:42:13]dirname=/storage/ofd_packets [20:42:13]CheckFolder done [20:42:13]ProducePacketName [20:42:13]name=ofd_packets/00057081 [20:42:13]NVStorageSaveData ofd_packets/00057081 [20:42:13]File name is /storage/ofd_packets/00057081 [20:42:13]Write 322 bytes [20:42:13]NVStorageSaveData done [20:42:13]OFDSenderStorePacket done [20:42:13]KKMCreateOFDPacket done [20:42:13]NVStorageSaveData kkm_last_timestamp [20:42:13]File name is /storage/kkm_last_timestamp [20:42:13]Write 4 bytes [20:42:13]NVStorageSaveData done [20:42:13]ExternCall_PrintAddStr [20:42:13]wPrintStart [20:42:13]Write to MH i2c: 01 00 00 AC 11 BD [20:42:13]Write i2c OK [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: 01 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: 01 07 00 [20:42:13]MH_I2C_Read... [20:42:13]Read from MH i2c: 01 07 00 AC 11 00 00 00 00 00 FF 0F D2 [20:42:13]RasterBufferAndPrint [20:42:13]line Счет N : (3)129541 [20:42:13]line ИНН: 02508201610067 [20:42:13]line Контрольно-Кассовый Чек [20:42:13]line ПРОДАЖА [20:42:13]line Товар: 40822426 [20:42:13]line Вода Бонаква 0,5л б/г [20:42:13]line 2.000 * 40.00 [20:42:13]line = 80.00 [20:42:13]line НДС 12% НСП 1% [20:42:13]line > о реализуемом товаре [20:42:13]line ИТОГО: 80.00 [20:42:13]line НСП 1% : 0.71 [20:42:13]line НДС 12% : 8.50 [20:42:13]line Наличными: 80.00 [20:42:13]line Безнал.: 0.00 [20:42:13]line Место: АЗС № 132 "Партнер Нефть" [20:42:13]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:42:13]line СНО: Общий режим [20:42:13]line Чек 98 14.07.2024 20:42 [20:42:13]line Смена: 496 ФФД: 1.0 [20:42:13]line ЗНМ: 0300000132 [20:42:13]line РНМ: 0000000000091208 [20:42:13]line Версия ККМ: 001 [20:42:13]line ФМ: 0000000000874857 [20:42:13]line ФД: 57081 [20:42:13]line ФПД: 162678544894894 [20:42:13]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204215&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57081&fm=162678544894894&tin=02508201610067®Number=0000000000091208&sum=8000 [20:42:13]line 0 [20:42:13]written 0, free lines is 4095 [20:42:13]OFD Sender: Processing packet 57081 [packets to send 38, broken 37] [20:42:13]ProducePacketName [20:42:13]name=ofd_packets/00057081 [20:42:13]OFD Sender: To server: pG, [20:42:13]CommunicateWithHost lk.salyk.kg:30040 [20:42:13]ConnectInit lk.salyk.kg [20:42:14]Connected sock=10 [20:42:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 7F 28 1C 01 4B A9 5A 03 01 00 03 00 10 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 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 62 00 00 00 F4 03 04 00 27 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F9 DE 00 00 35 04 06 00 93 F4 8C E1 8B AE 78 BD 25 AA EC 43 E9 19 [20:42:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B5 6A 47 00 3A ED A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 F9 DE 00 00 F4 03 04 00 77 DE 93 66 B6 04 01 00 00 C2 C8 85 AB 85 CB D1 EC [20:42:14]CommunicateWithHost err = 0 [20:42:14]CheckOFDResponse [20:42:14]1017 (14) - 77093643461234 [20:42:14]1041 (16) - 0000000000874857 [20:42:14]1040 (4) - 57081 [20:42:14]1012 (4) - 14.07.2024 14:19 [20:42:14]1206 (1) - 0 [20:42:14]OFD Sender: Remove packet 57081 [20:42:14]ProducePacketName [20:42:14]name=ofd_packets/00057081 [20:42:14]NVStorageDeleteData [20:42:14]Write to MH i2c: 01 00 00 D4 11 E5 [20:42:14]Write i2c OK [20:42:14]MH_I2C_Read... [20:42:14]Read from MH i2c: 01 [20:42:14]MH_I2C_Read... [20:42:14]Read from MH i2c: 01 07 00 [20:42:14]MH_I2C_Read... [20:42:14]Read from MH i2c: 01 07 00 D4 11 00 00 00 00 00 09 0D 02 [20:42:14]RasterBufferAndPrint [20:42:14]line [20:42:14]line [20:42:14]line [20:42:14]line [20:42:14]line [20:42:14]written 0, free lines is 3343 [20:42:14]MH_Cut [20:42:14]Write to MH i2c: D1 01 00 DB 11 01 BE [20:42:14]Write i2c OK [20:42:14]MH_I2C_Read... [20:42:14]Read from MH i2c: D1 [20:42:14]MH_I2C_Read... [20:42:14]Read from MH i2c: D1 01 00 [20:42:14]MH_I2C_Read... [20:42:14]Read from MH i2c: D1 01 00 DB 11 00 BD [20:42:14]Write to MH i2c: 01 00 00 DC 11 ED [20:42:14]Write i2c OK [20:42:14]MH_I2C_Read... [20:42:14]OFD Sender: No OFD packet to send [20:42:15]*** Cut start [20:42:15]*** Partial cut [20:42:15]*** CUTSNS_PIN = 1 [20:42:15]*** CUTSNS_PIN = 0 [20:42:15]*** Brake cut motor [20:42:15]Read from MH i2c: 01 [20:42:15]MH_I2C_Read... [20:42:15]*** Stop cut motor [20:42:15]*** Cut end [20:42:15]Read from MH i2c: 01 07 00 [20:42:15]MH_I2C_Read... [20:42:15]Read from MH i2c: 01 07 00 DC 11 00 00 00 00 00 FF 0F 02 [20:42:15]process_action close_receipt done [20:42:15]requested_data is exist [20:42:15]produce_requested_data [20:42:15]requested_item fm.sn is exist - process it [20:42:15]wFMCommunicate request_size=4 [20:42:15]MH_SAM_APDU [20:42:15]CAPDU: 80 11 00 00 [20:42:15]Write to MH i2c: E2 08 00 DD 11 80 11 00 00 00 00 00 00 68 [20:42:15]Write i2c OK [20:42:15]MH_I2C_Read... [20:42:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:15]Read from MH i2c: E2 [20:42:15]MH_I2C_Read... [20:42:15]Read from MH i2c: E2 17 00 [20:42:15]MH_I2C_Read... [20:42:15]Read from MH i2c: E2 17 00 DD 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C2 [20:42:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:42:15]wFMCommunicate OK [20:42:15]requested_item fd.num is exist - process it [20:42:15]SAM_PROTO_GetFieldsCounters [20:42:15]wFMCommunicate request_size=4 [20:42:15]MH_SAM_APDU [20:42:15]CAPDU: 80 13 00 00 [20:42:15]Write to MH i2c: E2 08 00 DE 11 80 13 00 00 00 00 00 00 6B [20:42:15]Write i2c OK [20:42:15]MH_I2C_Read... [20:42:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:42:15]Read from MH i2c: E2 [20:42:15]MH_I2C_Read... [20:42:15]Read from MH i2c: E2 62 00 [20:42:15]MH_I2C_Read... [20:42:15]Read from MH i2c: E2 62 00 DE 11 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F9 DE 00 00 0E 04 04 00 F0 01 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 7C [20:42:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 F9 DE 00 00 0E 04 04 00 F0 01 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 [20:42:15]wFMCommunicate OK [20:42:15]SAM_PROTO_GetFieldsCounters done [20:42:15]requested_item shift.num is exist - process it [20:42:15]requested_item shift.opened is exist - process it [20:42:15]req_shift_opened [20:42:15]FM_GetShiftState [20:42:15]SAM_PROTO_GetShiftState [20:42:15]wFMCommunicate request_size=4 [20:42:15]MH_SAM_APDU [20:42:15]CAPDU: 80 13 01 00 [20:42:15]Write to MH i2c: E2 08 00 DF 11 80 13 01 00 00 00 00 00 6D [20:42:15]Write i2c OK [20:42:15]MH_I2C_Read... [20:42:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:15]Read from MH i2c: E2 [20:42:15]MH_I2C_Read... [20:42:15]Read from MH i2c: E2 0E 00 [20:42:15]MH_I2C_Read... [20:42:15]Read from MH i2c: E2 0E 00 DF 11 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 14 [20:42:15]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:42:15]wFMCommunicate OK [20:42:15]SAM_PROTO_GetShiftState done [20:42:15]FM_GetShiftState done [20:42:15]req_shift_opened done [20:42:15]requested_item shift.open_date is exist - process it [20:42:15]req_shift_open_date [20:42:15]req_shift_open_date done [20:42:15]requested_item shift.sale.total is exist - process it [20:42:15]SAM_PROTO_GetShiftData [20:42:15]wFMCommunicate request_size=4 [20:42:15]MH_SAM_APDU [20:42:15]CAPDU: 80 13 02 00 [20:42:15]Write to MH i2c: E2 08 00 E0 11 80 13 02 00 00 00 00 00 6F [20:42:15]Write i2c OK [20:42:15]MH_I2C_Read... [20:42:16]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:42:16]Read from MH i2c: E2 [20:42:16]MH_I2C_Read... [20:42:16]Read from MH i2c: E2 FD 00 [20:42:16]MH_I2C_Read... [20:42:16]Read from MH i2c: E2 FD 00 E0 11 00 BB 04 AA 04 B7 04 6E 04 04 00 62 00 00 00 69 04 9B 00 6F 04 04 00 60 00 00 00 B1 04 03 00 30 7B 31 70 04 03 00 98 AE 27 72 04 03 00 98 CC 09 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 46 41 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 10 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 6C [20:42:16]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 62 00 00 00 69 04 9B 00 6F 04 04 00 60 00 00 00 B1 04 03 00 30 7B 31 70 04 03 00 98 AE 27 72 04 03 00 98 CC 09 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 46 41 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 10 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:42:16]wFMCommunicate OK [20:42:16]wFMCommunicate request_size=4 [20:42:16]MH_SAM_APDU [20:42:16]CAPDU: 80 17 00 00 [20:42:16]Write to MH i2c: E2 08 00 E1 11 80 17 00 00 00 00 00 00 72 [20:42:16]Write i2c OK [20:42:16]MH_I2C_Read... [20:42:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:42:16]Read from MH i2c: E2 [20:42:16]MH_I2C_Read... [20:42:16]Read from MH i2c: E2 FD 00 [20:42:16]MH_I2C_Read... [20:42:16]Read from MH i2c: E2 FD 00 E1 11 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 05 [20:42:16]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:42:16]wFMCommunicate OK [20:42:16]wFMCommunicate request_size=4 [20:42:16]MH_SAM_APDU [20:42:16]CAPDU: 80 17 00 00 [20:42:16]Write to MH i2c: E2 08 00 E2 11 80 17 00 00 00 00 00 00 73 [20:42:16]Write i2c OK [20:42:16]MH_I2C_Read... [20:42:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:42:16]Read from MH i2c: E2 [20:42:16]MH_I2C_Read... [20:42:16]Read from MH i2c: E2 FD 00 [20:42:16]MH_I2C_Read... [20:42:16]Read from MH i2c: E2 FD 00 E2 11 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9F [20:42:16]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:42:16]wFMCommunicate OK [20:42:16]wFMCommunicate request_size=4 [20:42:16]MH_SAM_APDU [20:42:16]CAPDU: 80 17 00 00 [20:42:16]Write to MH i2c: E2 08 00 E3 11 80 17 00 00 00 00 00 00 74 [20:42:16]Write i2c OK [20:42:16]MH_I2C_Read... [20:42:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:42:17]Read from MH i2c: E2 [20:42:17]MH_I2C_Read... [20:42:17]Read from MH i2c: E2 FD 00 [20:42:17]MH_I2C_Read... [20:42:17]Read from MH i2c: E2 FD 00 E3 11 00 00 00 EF 03 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 90 00 E9 [20:42:17]RAPDU: 00 00 EF 03 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 90 00 [20:42:17]wFMCommunicate OK [20:42:17]wFMCommunicate request_size=4 [20:42:17]MH_SAM_APDU [20:42:17]CAPDU: 80 17 00 00 [20:42:17]Write to MH i2c: E2 08 00 E4 11 80 17 00 00 00 00 00 00 75 [20:42:17]Write i2c OK [20:42:17]MH_I2C_Read... [20:42:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:42:17]Read from MH i2c: E2 [20:42:17]MH_I2C_Read... [20:42:17]Read from MH i2c: E2 D8 00 [20:42:17]MH_I2C_Read... [20:42:17]Read from MH i2c: E2 D8 00 E4 11 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 5C [20:42:17]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:42:17]wFMCommunicate OK [20:42:17]SAM_PROTO_GetShiftData done [20:42:17]requested_item shift.sale.total_cash is exist - process it [20:42:17]requested_item shift.sale_refund.total is exist - process it [20:42:17]requested_item shift.sale_refund.total_cash is exist - process it [20:42:17]produce_requested_data done [20:42:17]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57081,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32428.00,"shift.sale.total_cash":26006.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:42:17]process_action_free close_receipt [20:42:17]json_value_free [20:42:17]json_value_free done [20:42:17]process_json_proto returns [20:42:17]Send response to host [20:42:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57081,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32428.00,"shift.sale.total_cash":26006.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:42:17]free response buf [20:42:17]execute_script done [20:42:17]execute_script returns [20:42:17]free content buf [20:42:17]Sock 9.Close socket [20:42:17]Sock 9.Thread stoped [20:42:19]OFD Sender: No OFD packet to send [20:42:24]OFD Sender: No OFD packet to send [20:42:29]OFD Sender: No OFD packet to send [20:42:34]OFD Sender: No OFD packet to send [20:42:39]OFD Sender: No OFD packet to send [20:42:41]accept exits with 7 [20:42:41]New connection [20:42:41]New thread 3067592036 created [20:42:41]Thread 3067448676 joined [20:42:41]Waiting for new connection... [20:42:41] Sock 7.Parse request [20:42:41]Sock 7.Check first char [20:42:41]Sock 7.First char is OK [20:42:41]request: POST /json_proto HTTP/1.0 [20:42:41]Method: POST [20:42:41]URL: /json_proto [20:42:41]Method is POST - this is cgi request [20:42:41]url: /json_proto [20:42:41]query_string will be loaded in cgi processing [20:42:41]execute_cgi json_proto POST (null) [20:42:41]execute_cgi path=json_proto method=POST [20:42:41]POST find Content-Length [20:42:41]Host: 172.17.39.4:8080 [20:42:41]Content-Length: 941 [20:42:41]Content-Type: application/json [20:42:41] [20:42:41]POST finish read [20:42:41]Found Content-Length = 941 [20:42:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855552", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 3.450, "sum" : 250.47, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 250.47 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:42:41]execute_script... [20:42:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855552", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 51", "code": "2710194210", "name": "\u0414\u0422-\u041A-5", "price" : 72.60, "quantity" : 3.450, "sum" : 250.47, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 250.47 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:42:41]POST & json_proto [20:42:41]process_json_proto [20:42:41]json parsed OK: [20:42:41]protocol is kg_v1.0 [20:42:41]action value=close_receipt [20:42:41]process_action close_receipt [20:42:41]cmd_close_receipt [20:42:41]MH_GetDate [20:42:41]Write to MH i2c: F0 00 00 E5 11 E5 [20:42:41]Write i2c OK [20:42:41]MH_I2C_Read... [20:42:41]Read from MH i2c: F0 [20:42:41]MH_I2C_Read... [20:42:41]Read from MH i2c: F0 09 00 [20:42:41]MH_I2C_Read... [20:42:41]Read from MH i2c: F0 09 00 E5 11 00 44 38 94 66 2D 25 5D 64 77 [20:42:41]GetLastDocTimeStamp 1720989735 [20:42:41]current date 1720989764 [20:42:41]FM_GetShiftState [20:42:41]SAM_PROTO_GetShiftState [20:42:41]wFMCommunicate request_size=4 [20:42:41]MH_SAM_APDU [20:42:41]CAPDU: 80 13 01 00 [20:42:41]Write to MH i2c: E2 08 00 E6 11 80 13 01 00 00 00 00 00 74 [20:42:41]Write i2c OK [20:42:41]MH_I2C_Read... [20:42:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:41]Read from MH i2c: E2 [20:42:41]MH_I2C_Read... [20:42:41]Read from MH i2c: E2 0E 00 [20:42:41]MH_I2C_Read... [20:42:41]Read from MH i2c: E2 0E 00 E6 11 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 1B [20:42:41]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:42:41]wFMCommunicate OK [20:42:41]SAM_PROTO_GetShiftState done [20:42:41]FM_GetShiftState done [20:42:41]opened in 1720917126 [20:42:41]opened+sec_in_day 1721003526 [20:42:41]quantity*price = 25047 [20:42:41]sum+1 = 25048 [20:42:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 250.47 НСП 1% : 2.22 НДС 12% : 26.60 Наличными: 0.00 Безнал.: 250.47 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 99 14.07.2024 20:42 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57082 ФПД: 165297957631328 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204244&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57082&fm=165297957631328&tin=02508201610067®Number=0000000000091208&sum=25047 [20:42:42]StoreToDocumentArchive [20:42:42]shift 496 fd 57082 [20:42:42]save to /storage/0496/doc_00057082 [20:42:42]save last doc name /storage/0496/doc_00057082 to /storage/kkm_last_doc_name [20:42:42]save OK [20:42:42]Clear old archive folders... [20:42:42]ProcessDocumentItem done err = 0, tmpTLVsize=248 [20:42:42]tlvbuf is B6F5D8E0 [20:42:42]SAM_PROTO_ClearQueue [20:42:42]wFMCommunicate request_size=4 [20:42:42]MH_SAM_APDU [20:42:42]CAPDU: 80 09 00 00 [20:42:42]Write to MH i2c: E2 08 00 F3 11 80 09 00 00 00 00 00 00 76 [20:42:42]Write i2c OK [20:42:42]MH_I2C_Read... [20:42:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:42:42]Read from MH i2c: E2 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 03 00 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 03 00 F3 11 00 90 00 78 [20:42:42]RAPDU: 90 00 [20:42:42]wFMCommunicate OK [20:42:42]SAM_PROTO_ClearQueue done [20:42:42]KKMCreateOFDPacket [20:42:42]OFDProtocolAddRootSTLVToBuf [20:42:42]FM_MakeSignedData [20:42:42]FM_MakeSignedData [20:42:42]SAM_PROTO_SignData [20:42:42]wFMCommunicate request_size=4 [20:42:42]MH_SAM_APDU [20:42:42]CAPDU: 80 0D 01 02 [20:42:42]Write to MH i2c: E2 08 00 F4 11 80 0D 01 02 00 00 00 00 7E [20:42:42]Write i2c OK [20:42:42]MH_I2C_Read... [20:42:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:42:42]Read from MH i2c: E2 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 03 00 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 03 00 F4 11 00 90 00 79 [20:42:42]RAPDU: 90 00 [20:42:42]wFMCommunicate OK [20:42:42]wFMCommunicate request_size=255 [20:42:42]MH_SAM_APDU [20:42:42]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 7A 0D 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 D7 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D7 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D7 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 44 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DE 00 00 35 04 06 00 96 56 6E 0B [20:42:42]Write to MH i2c: E2 02 01 F5 11 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 7A 0D 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 D7 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D7 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D7 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 44 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DE 00 00 35 04 06 00 96 56 6E 0B 00 00 D7 [20:42:42]Write i2c OK [20:42:42]MH_I2C_Read... [20:42:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:42]Read from MH i2c: E2 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 03 00 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 03 00 F5 11 00 90 00 7A [20:42:42]RAPDU: 90 00 [20:42:42]wFMCommunicate OK [20:42:42]wFMCommunicate request_size=7 [20:42:42]MH_SAM_APDU [20:42:42]CAPDU: 80 0D 02 02 02 F5 60 [20:42:42]Write to MH i2c: E2 0A 00 F6 11 80 0D 02 02 02 00 F5 60 00 00 DA [20:42:42]Write i2c OK [20:42:42]MH_I2C_Read... [20:42:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:42:42]Read from MH i2c: E2 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 03 00 [20:42:42]MH_I2C_Read... [20:42:42]Read from MH i2c: E2 03 00 F6 11 00 90 00 7B [20:42:42]RAPDU: 90 00 [20:42:42]wFMCommunicate OK [20:42:42]wFMCommunicate request_size=4 [20:42:42]MH_SAM_APDU [20:42:42]CAPDU: 80 0D 03 02 [20:42:42]Write to MH i2c: E2 08 00 F7 11 80 0D 03 02 00 00 00 00 83 [20:42:42]Write i2c OK [20:42:42]MH_I2C_Read... [20:42:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:42:42]Read from MH i2c: E2 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 0B 00 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 0B 00 F7 11 00 85 3C CE 09 E3 01 C1 D6 90 00 97 [20:42:43]RAPDU: 85 3C CE 09 E3 01 C1 D6 90 00 [20:42:43]wFMCommunicate OK [20:42:43]SAM_PROTO_SignData done [20:42:43]FM_MakeSignedData done [20:42:43]CreateOFDProtocolMessage [20:42:43]wFMCommunicate request_size=4 [20:42:43]MH_SAM_APDU [20:42:43]CAPDU: 80 11 00 00 [20:42:43]Write to MH i2c: E2 08 00 F8 11 80 11 00 00 00 00 00 00 83 [20:42:43]Write i2c OK [20:42:43]MH_I2C_Read... [20:42:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:43]Read from MH i2c: E2 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 17 00 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: E2 17 00 F8 11 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DD [20:42:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:42:43]wFMCommunicate OK [20:42:43]CreateOFDProtocolMessage done [20:42:43]OFDSenderStorePacket 57082 [20:42:43]StoreOFDPacket docnum=57082 [20:42:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 86 21 04 01 3E 26 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 7A 0D 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 D7 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D7 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D7 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 44 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DE 00 00 35 04 06 00 96 56 6E 0B F5 60 85 3C CE 09 E3 01 C1 D6 [20:42:43]CheckFolder [20:42:43]dirname=/storage/ofd_packets [20:42:43]CheckFolder done [20:42:43]ProducePacketName [20:42:43]name=ofd_packets/00057082 [20:42:43]NVStorageSaveData ofd_packets/00057082 [20:42:43]File name is /storage/ofd_packets/00057082 [20:42:43]Write 298 bytes [20:42:43]NVStorageSaveData done [20:42:43]OFDSenderStorePacket done [20:42:43]KKMCreateOFDPacket done [20:42:43]NVStorageSaveData kkm_last_timestamp [20:42:43]File name is /storage/kkm_last_timestamp [20:42:43]Write 4 bytes [20:42:43]NVStorageSaveData done [20:42:43]ExternCall_PrintAddStr [20:42:43]wPrintStart [20:42:43]Write to MH i2c: 01 00 00 F9 11 0A [20:42:43]Write i2c OK [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: 01 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: 01 07 00 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: 01 07 00 F9 11 00 00 00 00 00 FF 0F 1F [20:42:43]RasterBufferAndPrint [20:42:43]line Счет N : (1)855552 [20:42:43]line ИНН: 02508201610067 [20:42:43]line Контрольно-Кассовый Чек [20:42:43]line ПРОДАЖА [20:42:43]line ТРК (МРК, ГНК) : 51 [20:42:43]line Товар: 2710194210 [20:42:43]line ДТ-К-5 [20:42:43]line 3.450 * 72.60 [20:42:43]line = 250.47 [20:42:43]line НДС 12% НСП 1% [20:42:43]line > о реализуемом товаре [20:42:43]line ИТОГО: 250.47 [20:42:43]line НСП 1% : 2.22 [20:42:43]line НДС 12% : 26.60 [20:42:43]line Наличными: 0.00 [20:42:43]line Безнал.: 250.47 [20:42:43]line Место: АЗС № 132 "Партнер Нефть" [20:42:43]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:42:43]line СНО: Общий режим [20:42:43]line Чек 99 14.07.2024 20:42 [20:42:43]line Смена: 496 ФФД: 1.0 [20:42:43]line ЗНМ: 0300000132 [20:42:43]line РНМ: 0000000000091208 [20:42:43]line Версия ККМ: 001 [20:42:43]line Платежная система: АКБ Кыргызстан [20:42:43]line ФМ: 0000000000874857 [20:42:43]line ФД: 57082 [20:42:43]line ФПД: 165297957631328 [20:42:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204244&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57082&fm=165297957631328&tin=02508201610067®Number=0000000000091208&sum=25047 [20:42:43]OFD Sender: Processing packet 57082 [packets to send 38, broken 37] [20:42:43]ProducePacketName [20:42:43]name=ofd_packets/00057082 [20:42:43]OFD Sender: To server: pG, [20:42:43]CommunicateWithHost lk.salyk.kg:30040 [20:42:43]ConnectInit lk.salyk.kg [20:42:43]written 0, free lines is 4095 [20:42:43]Connected sock=10 [20:42:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 86 21 04 01 3E 26 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 7A 0D 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 D7 61 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D7 61 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 DE 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 D7 61 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 63 00 00 00 F4 03 04 00 44 38 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DE 00 00 35 04 06 00 96 56 6E 0B F5 60 85 3C CE 09 E3 01 C1 D6 [20:42:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 37 5A 47 00 DD C8 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FA DE 00 00 F4 03 04 00 94 DE 93 66 B6 04 01 00 00 63 63 F5 43 DB 3F 2F 4F [20:42:43]CommunicateWithHost err = 0 [20:42:43]CheckOFDResponse [20:42:43]1017 (14) - 77093643461234 [20:42:43]1041 (16) - 0000000000874857 [20:42:43]1040 (4) - 57082 [20:42:43]1012 (4) - 14.07.2024 14:20 [20:42:43]1206 (1) - 0 [20:42:43]OFD Sender: Remove packet 57082 [20:42:43]ProducePacketName [20:42:43]name=ofd_packets/00057082 [20:42:43]NVStorageDeleteData [20:42:43]Write to MH i2c: 01 00 00 23 12 35 [20:42:43]Write i2c OK [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: 01 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: 01 07 00 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: 01 07 00 23 12 00 00 00 00 00 1D 0D 66 [20:42:43]RasterBufferAndPrint [20:42:43]line [20:42:43]line [20:42:43]line [20:42:43]line [20:42:43]line [20:42:43]written 0, free lines is 3363 [20:42:43]MH_Cut [20:42:43]Write to MH i2c: D1 01 00 2A 12 01 0E [20:42:43]Write i2c OK [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: D1 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: D1 01 00 [20:42:43]MH_I2C_Read... [20:42:43]Read from MH i2c: D1 01 00 2A 12 00 0D [20:42:43]Write to MH i2c: 01 00 00 2B 12 3D [20:42:43]Write i2c OK [20:42:43]MH_I2C_Read... [20:42:44]OFD Sender: No OFD packet to send [20:42:44]*** Cut start [20:42:44]*** Partial cut [20:42:44]*** CUTSNS_PIN = 1 [20:42:44]*** CUTSNS_PIN = 0 [20:42:44]*** Brake cut motor [20:42:45]Read from MH i2c: 01 [20:42:45]MH_I2C_Read... [20:42:45]*** Stop cut motor [20:42:45]*** Cut end [20:42:45]Read from MH i2c: 01 07 00 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: 01 07 00 2B 12 00 00 00 00 00 FF 0F 52 [20:42:45]process_action close_receipt done [20:42:45]requested_data is exist [20:42:45]produce_requested_data [20:42:45]requested_item fm.sn is exist - process it [20:42:45]wFMCommunicate request_size=4 [20:42:45]MH_SAM_APDU [20:42:45]CAPDU: 80 11 00 00 [20:42:45]Write to MH i2c: E2 08 00 2C 12 80 11 00 00 00 00 00 00 B8 [20:42:45]Write i2c OK [20:42:45]MH_I2C_Read... [20:42:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:42:45]Read from MH i2c: E2 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 17 00 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 17 00 2C 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 12 [20:42:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:42:45]wFMCommunicate OK [20:42:45]requested_item fd.num is exist - process it [20:42:45]SAM_PROTO_GetFieldsCounters [20:42:45]wFMCommunicate request_size=4 [20:42:45]MH_SAM_APDU [20:42:45]CAPDU: 80 13 00 00 [20:42:45]Write to MH i2c: E2 08 00 2D 12 80 13 00 00 00 00 00 00 BB [20:42:45]Write i2c OK [20:42:45]MH_I2C_Read... [20:42:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:42:45]Read from MH i2c: E2 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 62 00 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 62 00 2D 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FA DE 00 00 0E 04 04 00 F0 01 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 D0 [20:42:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FA DE 00 00 0E 04 04 00 F0 01 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 [20:42:45]wFMCommunicate OK [20:42:45]SAM_PROTO_GetFieldsCounters done [20:42:45]requested_item shift.num is exist - process it [20:42:45]requested_item shift.opened is exist - process it [20:42:45]req_shift_opened [20:42:45]FM_GetShiftState [20:42:45]SAM_PROTO_GetShiftState [20:42:45]wFMCommunicate request_size=4 [20:42:45]MH_SAM_APDU [20:42:45]CAPDU: 80 13 01 00 [20:42:45]Write to MH i2c: E2 08 00 2E 12 80 13 01 00 00 00 00 00 BD [20:42:45]Write i2c OK [20:42:45]MH_I2C_Read... [20:42:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:42:45]Read from MH i2c: E2 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 0E 00 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 0E 00 2E 12 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 64 [20:42:45]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:42:45]wFMCommunicate OK [20:42:45]SAM_PROTO_GetShiftState done [20:42:45]FM_GetShiftState done [20:42:45]req_shift_opened done [20:42:45]requested_item shift.open_date is exist - process it [20:42:45]req_shift_open_date [20:42:45]req_shift_open_date done [20:42:45]requested_item shift.sale.total is exist - process it [20:42:45]SAM_PROTO_GetShiftData [20:42:45]wFMCommunicate request_size=4 [20:42:45]MH_SAM_APDU [20:42:45]CAPDU: 80 13 02 00 [20:42:45]Write to MH i2c: E2 08 00 2F 12 80 13 02 00 00 00 00 00 BF [20:42:45]Write i2c OK [20:42:45]MH_I2C_Read... [20:42:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:42:45]Read from MH i2c: E2 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 FD 00 [20:42:45]MH_I2C_Read... [20:42:45]Read from MH i2c: E2 FD 00 2F 12 00 BB 04 AA 04 B7 04 6E 04 04 00 63 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 07 DD 31 70 04 03 00 98 AE 27 72 04 03 00 6F 2E 0A 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 AA 4B 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 EE 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 7D [20:42:45]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 63 00 00 00 69 04 9B 00 6F 04 04 00 61 00 00 00 B1 04 03 00 07 DD 31 70 04 03 00 98 AE 27 72 04 03 00 6F 2E 0A 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 AA 4B 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 EE 70 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:42:45]wFMCommunicate OK [20:42:45]wFMCommunicate request_size=4 [20:42:45]MH_SAM_APDU [20:42:45]CAPDU: 80 17 00 00 [20:42:45]Write to MH i2c: E2 08 00 30 12 80 17 00 00 00 00 00 00 C2 [20:42:45]Write i2c OK [20:42:45]MH_I2C_Read... [20:42:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:42:46]Read from MH i2c: E2 [20:42:46]MH_I2C_Read... [20:42:46]Read from MH i2c: E2 FD 00 [20:42:46]MH_I2C_Read... [20:42:46]Read from MH i2c: E2 FD 00 30 12 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 55 [20:42:46]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:42:46]wFMCommunicate OK [20:42:46]wFMCommunicate request_size=4 [20:42:46]MH_SAM_APDU [20:42:46]CAPDU: 80 17 00 00 [20:42:46]Write to MH i2c: E2 08 00 31 12 80 17 00 00 00 00 00 00 C3 [20:42:46]Write i2c OK [20:42:46]MH_I2C_Read... [20:42:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:42:46]Read from MH i2c: E2 [20:42:46]MH_I2C_Read... [20:42:46]Read from MH i2c: E2 FD 00 [20:42:46]MH_I2C_Read... [20:42:46]Read from MH i2c: E2 FD 00 31 12 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EF [20:42:46]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:42:46]wFMCommunicate OK [20:42:46]wFMCommunicate request_size=4 [20:42:46]MH_SAM_APDU [20:42:46]CAPDU: 80 17 00 00 [20:42:46]Write to MH i2c: E2 08 00 32 12 80 17 00 00 00 00 00 00 C4 [20:42:46]Write i2c OK [20:42:46]MH_I2C_Read... [20:42:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:42:46]Read from MH i2c: E2 [20:42:46]MH_I2C_Read... [20:42:46]Read from MH i2c: E2 FD 00 [20:42:46]MH_I2C_Read... [20:42:46]Read from MH i2c: E2 FD 00 32 12 00 00 00 EF 03 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 90 00 39 [20:42:46]RAPDU: 00 00 EF 03 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 90 00 [20:42:46]wFMCommunicate OK [20:42:46]wFMCommunicate request_size=4 [20:42:46]MH_SAM_APDU [20:42:46]CAPDU: 80 17 00 00 [20:42:46]Write to MH i2c: E2 08 00 33 12 80 17 00 00 00 00 00 00 C5 [20:42:46]Write i2c OK [20:42:46]MH_I2C_Read... [20:42:47]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:42:47]Read from MH i2c: E2 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 D8 00 [20:42:47]MH_I2C_Read... [20:42:47]Read from MH i2c: E2 D8 00 33 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 AC [20:42:47]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:42:47]wFMCommunicate OK [20:42:47]SAM_PROTO_GetShiftData done [20:42:47]requested_item shift.sale.total_cash is exist - process it [20:42:47]requested_item shift.sale_refund.total is exist - process it [20:42:47]requested_item shift.sale_refund.total_cash is exist - process it [20:42:47]produce_requested_data done [20:42:47]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57082,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32678.47,"shift.sale.total_cash":26006.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:42:47]process_action_free close_receipt [20:42:47]json_value_free [20:42:47]json_value_free done [20:42:47]process_json_proto returns [20:42:47]Send response to host [20:42:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57082,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32678.47,"shift.sale.total_cash":26006.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:42:47]free response buf [20:42:47]execute_script done [20:42:47]execute_script returns [20:42:47]free content buf [20:42:47]Sock 7.Close socket [20:42:47]Sock 7.Thread stoped [20:42:49]OFD Sender: No OFD packet to send [20:42:54]OFD Sender: No OFD packet to send [20:42:59]OFD Sender: No OFD packet to send [20:43:04]OFD Sender: No OFD packet to send [20:43:09]OFD Sender: No OFD packet to send [20:43:14]OFD Sender: No OFD packet to send [20:43:19]OFD Sender: No OFD packet to send [20:43:24]OFD Sender: No OFD packet to send [20:43:29]OFD Sender: No OFD packet to send [20:43:34]OFD Sender: No OFD packet to send [20:43:39]OFD Sender: No OFD packet to send [20:43:44]OFD Sender: No OFD packet to send [20:43:49]OFD Sender: No OFD packet to send [20:43:54]OFD Sender: No OFD packet to send [20:43:59]OFD Sender: No OFD packet to send [20:44:04]OFD Sender: No OFD packet to send [20:44:09]OFD Sender: No OFD packet to send [20:44:14]OFD Sender: No OFD packet to send [20:44:19]OFD Sender: No OFD packet to send [20:44:24]OFD Sender: No OFD packet to send [20:44:29]OFD Sender: No OFD packet to send [20:44:34]OFD Sender: No OFD packet to send [20:44:39]OFD Sender: No OFD packet to send [20:44:44]OFD Sender: No OFD packet to send [20:44:49]OFD Sender: No OFD packet to send [20:44:54]OFD Sender: No OFD packet to send [20:44:59]OFD Sender: No OFD packet to send [20:45:04]OFD Sender: No OFD packet to send [20:45:09]OFD Sender: No OFD packet to send [20:45:14]OFD Sender: No OFD packet to send [20:45:19]OFD Sender: No OFD packet to send [20:45:24]OFD Sender: No OFD packet to send [20:45:29]OFD Sender: No OFD packet to send [20:45:34]OFD Sender: No OFD packet to send [20:45:39]OFD Sender: No OFD packet to send [20:45:44]OFD Sender: No OFD packet to send [20:45:49]OFD Sender: No OFD packet to send [20:45:54]OFD Sender: No OFD packet to send [20:45:59]OFD Sender: No OFD packet to send [20:46:04]OFD Sender: No OFD packet to send [20:46:09]OFD Sender: No OFD packet to send [20:46:14]OFD Sender: No OFD packet to send [20:46:19]OFD Sender: No OFD packet to send [20:46:22]accept exits with 9 [20:46:22]New connection [20:46:22]New thread 3067448676 created [20:46:22]Thread 3067592036 joined [20:46:22]Waiting for new connection... [20:46:22] Sock 9.Parse request [20:46:22]Sock 9.Check first char [20:46:22]Sock 9.First char is OK [20:46:22]request: POST /json_proto HTTP/1.0 [20:46:22]Method: POST [20:46:22]URL: /json_proto [20:46:22]Method is POST - this is cgi request [20:46:22]url: /json_proto [20:46:22]query_string will be loaded in cgi processing [20:46:22]execute_cgi json_proto POST (null) [20:46:22]execute_cgi path=json_proto method=POST [20:46:22]POST find Content-Length [20:46:22]Host: 172.17.39.4:8080 [20:46:22]Content-Length: 1297 [20:46:22]Content-Type: application/json [20:46:22] [20:46:22]POST finish read [20:46:22]Found Content-Length = 1297 [20:46:22]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129542", "tax_sys" : 0, "items" : [ { "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:46:22]execute_script... [20:46:22]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129542", "tax_sys" : 0, "items" : [ { "code": "5449000189325", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002325113", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A PEPSI \u0433\u0430\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0439 \u0441\u0442 0,25\u043B", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 165.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [20:46:22]POST & json_proto [20:46:22]process_json_proto [20:46:22]json parsed OK: [20:46:22]protocol is kg_v1.0 [20:46:22]action value=close_receipt [20:46:22]process_action close_receipt [20:46:22]cmd_close_receipt [20:46:22]MH_GetDate [20:46:22]Write to MH i2c: F0 00 00 34 12 35 [20:46:22]Write i2c OK [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: F0 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: F0 09 00 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: F0 09 00 34 12 00 21 39 94 66 2D 25 5D 64 A5 [20:46:22]GetLastDocTimeStamp 1720989764 [20:46:22]current date 1720989985 [20:46:22]FM_GetShiftState [20:46:22]SAM_PROTO_GetShiftState [20:46:22]wFMCommunicate request_size=4 [20:46:22]MH_SAM_APDU [20:46:22]CAPDU: 80 13 01 00 [20:46:22]Write to MH i2c: E2 08 00 35 12 80 13 01 00 00 00 00 00 C4 [20:46:22]Write i2c OK [20:46:22]MH_I2C_Read... [20:46:22]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:46:22]Read from MH i2c: E2 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: E2 0E 00 [20:46:22]MH_I2C_Read... [20:46:22]Read from MH i2c: E2 0E 00 35 12 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 6B [20:46:22]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:46:22]wFMCommunicate OK [20:46:22]SAM_PROTO_GetShiftState done [20:46:22]FM_GetShiftState done [20:46:22]opened in 1720917126 [20:46:22]opened+sec_in_day 1721003526 [20:46:22]quantity*price = 7500 [20:46:22]sum+1 = 7501 [20:46:22]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002325113 Напиток PEPSI газированный ст 0,25л 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 165.00 НСП 1% : 1.46 НДС 12% : 17.52 Наличными: 0.00 Безнал.: 165.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 100 14.07.2024 20:46 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57083 ФПД: 129393045822061 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204625&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57083&fm=129393045822061&tin=02508201610067®Number=0000000000091208&sum=16500 0 [20:46:23]StoreToDocumentArchive [20:46:23]shift 496 fd 57083 [20:46:23]save to /storage/0496/doc_00057083 [20:46:23]save last doc name /storage/0496/doc_00057083 to /storage/kkm_last_doc_name [20:46:23]save OK [20:46:23]Clear old archive folders... [20:46:23]ProcessDocumentItem done err = 0, tmpTLVsize=418 [20:46:23]tlvbuf is 00FF8BE0 [20:46:23]SAM_PROTO_ClearQueue [20:46:23]wFMCommunicate request_size=4 [20:46:23]MH_SAM_APDU [20:46:23]CAPDU: 80 09 00 00 [20:46:23]Write to MH i2c: E2 08 00 42 12 80 09 00 00 00 00 00 00 C6 [20:46:23]Write i2c OK [20:46:23]MH_I2C_Read... [20:46:23]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [20:46:23]Read from MH i2c: E2 [20:46:23]MH_I2C_Read... [20:46:23]Read from MH i2c: E2 03 00 [20:46:23]MH_I2C_Read... [20:46:23]Read from MH i2c: E2 03 00 42 12 00 90 00 C8 [20:46:23]RAPDU: 90 00 [20:46:23]wFMCommunicate OK [20:46:23]SAM_PROTO_ClearQueue done [20:46:23]KKMCreateOFDPacket [20:46:23]OFDProtocolAddRootSTLVToBuf [20:46:23]FM_MakeSignedData [20:46:23]FM_MakeSignedData [20:46:23]SAM_PROTO_SignData [20:46:23]wFMCommunicate request_size=4 [20:46:23]MH_SAM_APDU [20:46:23]CAPDU: 80 0D 01 02 [20:46:23]Write to MH i2c: E2 08 00 43 12 80 0D 01 02 00 00 00 00 CE [20:46:23]Write i2c OK [20:46:23]MH_I2C_Read... [20:46:23]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [20:46:23]Read from MH i2c: E2 [20:46:23]MH_I2C_Read... [20:46:23]Read from MH i2c: E2 03 00 [20:46:23]MH_I2C_Read... [20:46:23]Read from MH i2c: E2 03 00 43 12 00 90 00 C9 [20:46:23]RAPDU: 90 00 [20:46:23]wFMCommunicate OK [20:46:23]wFMCommunicate request_size=255 [20:46:23]MH_SAM_APDU [20:46:23]CAPDU: 80 0D 02 02 FA 03 00 A2 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 [20:46:23]Write to MH i2c: E2 02 01 44 12 80 0D 02 02 FA 00 03 00 A2 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 00 2E [20:46:23]Write i2c OK [20:46:23]MH_I2C_Read... [20:46:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:46:24]Read from MH i2c: E2 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: E2 03 00 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: E2 03 00 44 12 00 90 00 CA [20:46:24]RAPDU: 90 00 [20:46:24]wFMCommunicate OK [20:46:24]wFMCommunicate request_size=177 [20:46:24]MH_SAM_APDU [20:46:24]CAPDU: 80 0D 02 02 AC 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 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 21 39 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DE 00 00 35 04 06 00 75 AE AA 88 5A 6D [20:46:24]Write to MH i2c: E2 B4 00 45 12 80 0D 02 02 AC 00 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 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 21 39 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DE 00 00 35 04 06 00 75 AE AA 88 5A 6D 00 00 A6 [20:46:24]Write i2c OK [20:46:24]MH_I2C_Read... [20:46:24]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [20:46:24]Read from MH i2c: E2 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: E2 03 00 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: E2 03 00 45 12 00 90 00 CB [20:46:24]RAPDU: 90 00 [20:46:24]wFMCommunicate OK [20:46:24]wFMCommunicate request_size=4 [20:46:24]MH_SAM_APDU [20:46:24]CAPDU: 80 0D 03 02 [20:46:24]Write to MH i2c: E2 08 00 46 12 80 0D 03 02 00 00 00 00 D3 [20:46:24]Write i2c OK [20:46:24]MH_I2C_Read... [20:46:24]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [20:46:24]Read from MH i2c: E2 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: E2 0B 00 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: E2 0B 00 46 12 00 75 8F 52 C0 A2 F2 B5 09 90 00 3C [20:46:24]RAPDU: 75 8F 52 C0 A2 F2 B5 09 90 00 [20:46:24]wFMCommunicate OK [20:46:24]SAM_PROTO_SignData done [20:46:24]FM_MakeSignedData done [20:46:24]CreateOFDProtocolMessage [20:46:24]wFMCommunicate request_size=4 [20:46:24]MH_SAM_APDU [20:46:24]CAPDU: 80 11 00 00 [20:46:24]Write to MH i2c: E2 08 00 47 12 80 11 00 00 00 00 00 00 D3 [20:46:24]Write i2c OK [20:46:24]MH_I2C_Read... [20:46:24]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:46:24]Read from MH i2c: E2 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: E2 17 00 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: E2 17 00 47 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2D [20:46:24]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:46:24]wFMCommunicate OK [20:46:24]CreateOFDProtocolMessage done [20:46:24]OFDSenderStorePacket 57083 [20:46:24]StoreOFDPacket docnum=57083 [20:46:24]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B6 01 00 00 19 64 AE 01 4A 67 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 21 39 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DE 00 00 35 04 06 00 75 AE AA 88 5A 6D 75 8F 52 C0 A2 F2 B5 09 [20:46:24]CheckFolder [20:46:24]dirname=/storage/ofd_packets [20:46:24]CheckFolder done [20:46:24]ProducePacketName [20:46:24]name=ofd_packets/00057083 [20:46:24]NVStorageSaveData ofd_packets/00057083 [20:46:24]File name is /storage/ofd_packets/00057083 [20:46:24]Write 468 bytes [20:46:24]NVStorageSaveData done [20:46:24]OFDSenderStorePacket done [20:46:24]KKMCreateOFDPacket done [20:46:24]NVStorageSaveData kkm_last_timestamp [20:46:24]File name is /storage/kkm_last_timestamp [20:46:24]Write 4 bytes [20:46:24]NVStorageSaveData done [20:46:24]ExternCall_PrintAddStr [20:46:24]wPrintStart [20:46:24]Write to MH i2c: 01 00 00 48 12 5A [20:46:24]Write i2c OK [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: 01 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: 01 07 00 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: 01 07 00 48 12 00 00 00 00 00 FF 0F 6F [20:46:24]RasterBufferAndPrint [20:46:24]line Счет N : (3)129542 [20:46:24]line ИНН: 02508201610067 [20:46:24]line Контрольно-Кассовый Чек [20:46:24]line ПРОДАЖА [20:46:24]line Товар: 5449000189325 [20:46:24]line Холодный чай Fuse персик 0,5л [20:46:24]line 1.000 * 75.00 [20:46:24]line = 75.00 [20:46:24]line НДС 12% НСП 1% [20:46:24]line > о реализуемом товаре [20:46:24]line Товар: 4870002325113 [20:46:24]line Напиток PEPSI газированный ст 0,25л [20:46:24]line 1.000 * 90.00 [20:46:24]line = 90.00 [20:46:24]line НДС 12% НСП 1% [20:46:24]line > о реализуемом товаре [20:46:24]line ИТОГО: 165.00 [20:46:24]line НСП 1% : 1.46 [20:46:24]line НДС 12% : 17.52 [20:46:24]line Наличными: 0.00 [20:46:24]line Безнал.: 165.00 [20:46:24]line Место: АЗС № 132 "Партнер Нефть" [20:46:24]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [20:46:24]line СНО: Общий режим [20:46:24]line Чек 100 14.07.2024 20:46 [20:46:24]line Смена: 496 ФФД: 1.0 [20:46:24]line ЗНМ: 0300000132 [20:46:24]line РНМ: 0000000000091208 [20:46:24]line Версия ККМ: 001 [20:46:24]line Платежная система: АКБ Кыргызстан [20:46:24]line ФМ: 0000000000874857 [20:46:24]line ФД: 57083 [20:46:24]line ФПД: 129393045822061 [20:46:24]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T204625&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57083&fm=129393045822061&tin=02508201610067®Number=0000000000091208&sum=16500 [20:46:24]line 0 [20:46:24]written 0, free lines is 4095 [20:46:24]OFD Sender: Processing packet 57083 [packets to send 38, broken 37] [20:46:24]ProducePacketName [20:46:24]name=ofd_packets/00057083 [20:46:24]OFD Sender: To server: pG, [20:46:24]CommunicateWithHost lk.salyk.kg:30040 [20:46:24]ConnectInit lk.salyk.kg [20:46:24]Connected sock=10 [20:46:24]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B6 01 00 00 19 64 AE 01 4A 67 5A 03 01 00 03 00 A2 01 1E 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 32 35 06 04 2F 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 35 31 31 33 06 04 39 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 45 50 53 49 20 D0 B3 D0 B0 D0 B7 D0 B8 D1 80 D0 BE D0 B2 D0 B0 D0 BD D0 BD D1 8B D0 B9 20 D1 81 D1 82 20 30 2C 32 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 13 04 06 00 28 23 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 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 00 00 00 00 00 00 39 04 06 00 74 40 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 64 00 00 00 F4 03 04 00 21 39 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DE 00 00 35 04 06 00 75 AE AA 88 5A 6D 75 8F 52 C0 A2 F2 B5 09 [20:46:24]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 09 4C 47 00 3A 03 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FB DE 00 00 F4 03 04 00 71 DF 93 66 B6 04 01 00 00 CE 49 94 52 3A 26 2B 17 [20:46:24]CommunicateWithHost err = 0 [20:46:24]CheckOFDResponse [20:46:24]1017 (14) - 77093643461234 [20:46:24]1041 (16) - 0000000000874857 [20:46:24]1040 (4) - 57083 [20:46:24]1012 (4) - 14.07.2024 14:23 [20:46:24]1206 (1) - 0 [20:46:24]OFD Sender: Remove packet 57083 [20:46:24]ProducePacketName [20:46:24]name=ofd_packets/00057083 [20:46:24]NVStorageDeleteData [20:46:24]Write to MH i2c: 01 00 00 7A 12 8C [20:46:24]Write i2c OK [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: 01 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: 01 07 00 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: 01 07 00 7A 12 00 00 00 00 00 6F 0C 0E [20:46:24]RasterBufferAndPrint [20:46:24]line [20:46:24]line [20:46:24]line [20:46:24]line [20:46:24]line [20:46:24]written 0, free lines is 3189 [20:46:24]MH_Cut [20:46:24]Write to MH i2c: D1 01 00 81 12 01 65 [20:46:24]Write i2c OK [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: D1 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: D1 01 00 [20:46:24]MH_I2C_Read... [20:46:24]Read from MH i2c: D1 01 00 81 12 00 64 [20:46:24]Write to MH i2c: 01 00 00 82 12 94 [20:46:24]Write i2c OK [20:46:24]MH_I2C_Read... [20:46:25]OFD Sender: No OFD packet to send [20:46:25]*** Cut start [20:46:25]*** Partial cut [20:46:25]*** CUTSNS_PIN = 1 [20:46:25]*** CUTSNS_PIN = 0 [20:46:25]*** Brake cut motor [20:46:26]Read from MH i2c: 01 [20:46:26]MH_I2C_Read... [20:46:26]*** Stop cut motor [20:46:26]*** Cut end [20:46:26]Read from MH i2c: 01 07 00 [20:46:26]MH_I2C_Read... [20:46:26]Read from MH i2c: 01 07 00 82 12 00 00 00 00 00 FF 0F A9 [20:46:26]process_action close_receipt done [20:46:26]requested_data is exist [20:46:26]produce_requested_data [20:46:26]requested_item fm.sn is exist - process it [20:46:26]wFMCommunicate request_size=4 [20:46:26]MH_SAM_APDU [20:46:26]CAPDU: 80 11 00 00 [20:46:26]Write to MH i2c: E2 08 00 83 12 80 11 00 00 00 00 00 00 0F [20:46:26]Write i2c OK [20:46:26]MH_I2C_Read... [20:46:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [20:46:26]Read from MH i2c: E2 [20:46:26]MH_I2C_Read... [20:46:26]Read from MH i2c: E2 17 00 [20:46:26]MH_I2C_Read... [20:46:26]Read from MH i2c: E2 17 00 83 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 69 [20:46:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [20:46:26]wFMCommunicate OK [20:46:26]requested_item fd.num is exist - process it [20:46:26]SAM_PROTO_GetFieldsCounters [20:46:26]wFMCommunicate request_size=4 [20:46:26]MH_SAM_APDU [20:46:26]CAPDU: 80 13 00 00 [20:46:26]Write to MH i2c: E2 08 00 84 12 80 13 00 00 00 00 00 00 12 [20:46:26]Write i2c OK [20:46:26]MH_I2C_Read... [20:46:26]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [20:46:26]Read from MH i2c: E2 [20:46:26]MH_I2C_Read... [20:46:26]Read from MH i2c: E2 62 00 [20:46:26]MH_I2C_Read... [20:46:26]Read from MH i2c: E2 62 00 84 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FB DE 00 00 0E 04 04 00 F0 01 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 2B [20:46:26]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FB DE 00 00 0E 04 04 00 F0 01 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 [20:46:26]wFMCommunicate OK [20:46:26]SAM_PROTO_GetFieldsCounters done [20:46:26]requested_item shift.num is exist - process it [20:46:26]requested_item shift.opened is exist - process it [20:46:26]req_shift_opened [20:46:26]FM_GetShiftState [20:46:26]SAM_PROTO_GetShiftState [20:46:26]wFMCommunicate request_size=4 [20:46:26]MH_SAM_APDU [20:46:26]CAPDU: 80 13 01 00 [20:46:26]Write to MH i2c: E2 08 00 85 12 80 13 01 00 00 00 00 00 14 [20:46:26]Write i2c OK [20:46:26]MH_I2C_Read... [20:46:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [20:46:26]Read from MH i2c: E2 [20:46:26]MH_I2C_Read... [20:46:26]Read from MH i2c: E2 0E 00 [20:46:26]MH_I2C_Read... [20:46:26]Read from MH i2c: E2 0E 00 85 12 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 BB [20:46:26]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [20:46:26]wFMCommunicate OK [20:46:26]SAM_PROTO_GetShiftState done [20:46:26]FM_GetShiftState done [20:46:26]req_shift_opened done [20:46:26]requested_item shift.open_date is exist - process it [20:46:26]req_shift_open_date [20:46:26]req_shift_open_date done [20:46:26]requested_item shift.sale.total is exist - process it [20:46:26]SAM_PROTO_GetShiftData [20:46:26]wFMCommunicate request_size=4 [20:46:26]MH_SAM_APDU [20:46:26]CAPDU: 80 13 02 00 [20:46:26]Write to MH i2c: E2 08 00 86 12 80 13 02 00 00 00 00 00 16 [20:46:26]Write i2c OK [20:46:26]MH_I2C_Read... [20:46:27]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [20:46:27]Read from MH i2c: E2 [20:46:27]MH_I2C_Read... [20:46:27]Read from MH i2c: E2 FD 00 [20:46:27]MH_I2C_Read... [20:46:27]Read from MH i2c: E2 FD 00 86 12 00 BB 04 AA 04 B7 04 6E 04 04 00 64 00 00 00 69 04 9B 00 6F 04 04 00 62 00 00 00 B1 04 03 00 7B 1D 32 70 04 03 00 98 AE 27 72 04 03 00 E3 6E 0A 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 82 52 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 80 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 B1 [20:46:27]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 64 00 00 00 69 04 9B 00 6F 04 04 00 62 00 00 00 B1 04 03 00 7B 1D 32 70 04 03 00 98 AE 27 72 04 03 00 E3 6E 0A 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 82 52 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 80 71 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [20:46:27]wFMCommunicate OK [20:46:27]wFMCommunicate request_size=4 [20:46:27]MH_SAM_APDU [20:46:27]CAPDU: 80 17 00 00 [20:46:27]Write to MH i2c: E2 08 00 87 12 80 17 00 00 00 00 00 00 19 [20:46:27]Write i2c OK [20:46:27]MH_I2C_Read... [20:46:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:46:27]Read from MH i2c: E2 [20:46:27]MH_I2C_Read... [20:46:27]Read from MH i2c: E2 FD 00 [20:46:27]MH_I2C_Read... [20:46:27]Read from MH i2c: E2 FD 00 87 12 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AC [20:46:27]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:46:27]wFMCommunicate OK [20:46:27]wFMCommunicate request_size=4 [20:46:27]MH_SAM_APDU [20:46:27]CAPDU: 80 17 00 00 [20:46:27]Write to MH i2c: E2 08 00 88 12 80 17 00 00 00 00 00 00 1A [20:46:27]Write i2c OK [20:46:27]MH_I2C_Read... [20:46:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:46:27]Read from MH i2c: E2 [20:46:27]MH_I2C_Read... [20:46:27]Read from MH i2c: E2 FD 00 [20:46:27]MH_I2C_Read... [20:46:27]Read from MH i2c: E2 FD 00 88 12 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 46 [20:46:27]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [20:46:27]wFMCommunicate OK [20:46:27]wFMCommunicate request_size=4 [20:46:27]MH_SAM_APDU [20:46:27]CAPDU: 80 17 00 00 [20:46:27]Write to MH i2c: E2 08 00 89 12 80 17 00 00 00 00 00 00 1B [20:46:27]Write i2c OK [20:46:27]MH_I2C_Read... [20:46:27]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [20:46:27]Read from MH i2c: E2 [20:46:27]MH_I2C_Read... [20:46:27]Read from MH i2c: E2 FD 00 [20:46:27]MH_I2C_Read... [20:46:27]Read from MH i2c: E2 FD 00 89 12 00 00 00 EF 03 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 90 00 90 [20:46:27]RAPDU: 00 00 EF 03 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 90 00 [20:46:28]wFMCommunicate OK [20:46:28]wFMCommunicate request_size=4 [20:46:28]MH_SAM_APDU [20:46:28]CAPDU: 80 17 00 00 [20:46:28]Write to MH i2c: E2 08 00 8A 12 80 17 00 00 00 00 00 00 1C [20:46:28]Write i2c OK [20:46:28]MH_I2C_Read... [20:46:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [20:46:28]Read from MH i2c: E2 [20:46:28]MH_I2C_Read... [20:46:28]Read from MH i2c: E2 D8 00 [20:46:28]MH_I2C_Read... [20:46:28]Read from MH i2c: E2 D8 00 8A 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 03 [20:46:28]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [20:46:28]wFMCommunicate OK [20:46:28]SAM_PROTO_GetShiftData done [20:46:28]requested_item shift.sale.total_cash is exist - process it [20:46:28]requested_item shift.sale_refund.total is exist - process it [20:46:28]requested_item shift.sale_refund.total_cash is exist - process it [20:46:28]produce_requested_data done [20:46:28]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57083,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32843.47,"shift.sale.total_cash":26006.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [20:46:28]process_action_free close_receipt [20:46:28]json_value_free [20:46:28]json_value_free done [20:46:28]process_json_proto returns [20:46:28]Send response to host [20:46:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57083,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":32843.47,"shift.sale.total_cash":26006.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [20:46:28]free response buf [20:46:28]execute_script done [20:46:28]execute_script returns [20:46:28]free content buf [20:46:28]Sock 9.Close socket [20:46:28]Sock 9.Thread stoped [20:46:30]OFD Sender: No OFD packet to send [20:46:35]OFD Sender: No OFD packet to send [20:46:40]OFD Sender: No OFD packet to send [20:46:45]OFD Sender: No OFD packet to send [20:46:50]OFD Sender: No OFD packet to send [20:46:55]OFD Sender: No OFD packet to send [20:47:00]OFD Sender: No OFD packet to send [20:47:05]OFD Sender: No OFD packet to send [20:47:10]OFD Sender: No OFD packet to send [20:47:15]OFD Sender: No OFD packet to send [20:47:20]OFD Sender: No OFD packet to send [20:47:25]OFD Sender: No OFD packet to send [20:47:30]OFD Sender: No OFD packet to send [20:47:35]OFD Sender: No OFD packet to send [20:47:40]OFD Sender: No OFD packet to send [20:47:45]OFD Sender: No OFD packet to send [20:47:50]OFD Sender: No OFD packet to send [20:47:55]OFD Sender: No OFD packet to send [20:48:00]OFD Sender: No OFD packet to send [20:48:05]OFD Sender: No OFD packet to send [20:48:10]OFD Sender: No OFD packet to send [20:48:15]OFD Sender: No OFD packet to send [20:48:20]OFD Sender: No OFD packet to send [20:48:25]OFD Sender: No OFD packet to send [20:48:30]OFD Sender: No OFD packet to send [20:48:35]OFD Sender: No OFD packet to send [20:48:40]OFD Sender: No OFD packet to send [20:48:45]OFD Sender: No OFD packet to send [20:48:50]OFD Sender: No OFD packet to send [20:48:55]OFD Sender: No OFD packet to send [20:49:00]OFD Sender: No OFD packet to send [20:49:05]OFD Sender: No OFD packet to send [20:49:10]OFD Sender: No OFD packet to send [20:49:15]OFD Sender: No OFD packet to send [20:49:20]OFD Sender: No OFD packet to send [20:49:25]OFD Sender: No OFD packet to send [20:49:30]OFD Sender: No OFD packet to send [20:49:35]OFD Sender: No OFD packet to send [20:49:40]OFD Sender: No OFD packet to send [20:49:45]OFD Sender: No OFD packet to send [20:49:50]OFD Sender: No OFD packet to send [20:49:55]OFD Sender: No OFD packet to send [20:50:00]OFD Sender: No OFD packet to send [20:50:05]OFD Sender: No OFD packet to send [20:50:10]OFD Sender: No OFD packet to send [20:50:15]OFD Sender: No OFD packet to send [20:50:20]OFD Sender: No OFD packet to send [20:50:25]OFD Sender: No OFD packet to send [20:50:30]OFD Sender: No OFD packet to send [20:50:35]OFD Sender: No OFD packet to send [20:50:40]OFD Sender: No OFD packet to send [20:50:45]OFD Sender: No OFD packet to send [20:50:50]OFD Sender: No OFD packet to send [20:50:55]OFD Sender: No OFD packet to send [20:51:00]OFD Sender: No OFD packet to send [20:51:05]OFD Sender: No OFD packet to send [20:51:10]OFD Sender: No OFD packet to send [20:51:15]OFD Sender: No OFD packet to send [20:51:20]OFD Sender: No OFD packet to send [20:51:25]OFD Sender: No OFD packet to send [20:51:30]OFD Sender: No OFD packet to send [20:51:35]OFD Sender: No OFD packet to send [20:51:40]OFD Sender: No OFD packet to send [20:51:45]OFD Sender: No OFD packet to send [20:51:50]OFD Sender: No OFD packet to send [20:51:55]OFD Sender: No OFD packet to send [20:52:00]OFD Sender: No OFD packet to send [20:52:05]OFD Sender: No OFD packet to send [20:52:10]OFD Sender: No OFD packet to send [20:52:15]OFD Sender: No OFD packet to send [20:52:20]OFD Sender: No OFD packet to send [20:52:25]OFD Sender: No OFD packet to send [20:52:30]OFD Sender: No OFD packet to send [20:52:35]OFD Sender: No OFD packet to send [20:52:40]OFD Sender: No OFD packet to send [20:52:45]OFD Sender: No OFD packet to send [20:52:50]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:10]OFD Sender: No OFD packet to send [20:53:15]OFD Sender: No OFD packet to send [20:53:20]OFD Sender: No OFD packet to send [20:53:25]OFD Sender: No OFD packet to send [20:53:30]OFD Sender: No OFD packet to send [20:53:35]OFD Sender: No OFD packet to send [20:53:40]OFD Sender: No OFD packet to send [20:53:45]OFD Sender: No OFD packet to send [20:53:50]OFD Sender: No OFD packet to send [20:53:55]OFD Sender: No OFD packet to send [20:54:00]OFD Sender: No OFD packet to send [20:54:05]OFD Sender: No OFD packet to send [20:54:10]OFD Sender: No OFD packet to send [20:54:15]OFD Sender: No OFD packet to send [20:54:20]OFD Sender: No OFD packet to send [20:54:25]OFD Sender: No OFD packet to send [20:54:30]OFD Sender: No OFD packet to send [20:54:35]OFD Sender: No OFD packet to send [20:54:40]OFD Sender: No OFD packet to send [20:54:45]OFD Sender: No OFD packet to send [20:54:50]OFD Sender: No OFD packet to send [20:54:55]OFD Sender: No OFD packet to send [20:55:00]OFD Sender: No OFD packet to send [20:55:05]OFD Sender: No OFD packet to send [20:55:10]OFD Sender: No OFD packet to send [20:55:15]OFD Sender: No OFD packet to send [20:55:20]OFD Sender: No OFD packet to send [20:55:25]OFD Sender: No OFD packet to send [20:55:30]OFD Sender: No OFD packet to send [20:55:35]OFD Sender: No OFD packet to send [20:55:40]OFD Sender: No OFD packet to send [20:55:45]OFD Sender: No OFD packet to send [20:55:50]OFD Sender: No OFD packet to send [20:55:55]OFD Sender: No OFD packet to send [20:56:00]OFD Sender: No OFD packet to send [20:56:05]OFD Sender: No OFD packet to send [20:56:10]OFD Sender: No OFD packet to send [20:56:15]OFD Sender: No OFD packet to send [20:56:20]OFD Sender: No OFD packet to send [20:56:25]OFD Sender: No OFD packet to send [20:56:30]OFD Sender: No OFD packet to send [20:56:35]OFD Sender: No OFD packet to send [20:56:40]OFD Sender: No OFD packet to send [20:56:45]OFD Sender: No OFD packet to send [20:56:50]OFD Sender: No OFD packet to send [20:56:55]OFD Sender: No OFD packet to send [20:57:00]OFD Sender: No OFD packet to send [20:57:05]OFD Sender: No OFD packet to send [20:57:10]OFD Sender: No OFD packet to send [20:57:15]OFD Sender: No OFD packet to send [20:57:20]OFD Sender: No OFD packet to send [20:57:25]OFD Sender: No OFD packet to send [20:57:30]OFD Sender: No OFD packet to send [20:57:35]OFD Sender: No OFD packet to send [20:57:40]OFD Sender: No OFD packet to send [20:57:45]OFD Sender: No OFD packet to send [20:57:50]OFD Sender: No OFD packet to send [20:57:55]OFD Sender: No OFD packet to send [20:58:00]OFD Sender: No OFD packet to send [20:58:05]OFD Sender: No OFD packet to send [20:58:10]OFD Sender: No OFD packet to send [20:58:15]OFD Sender: No OFD packet to send [20:58:20]OFD Sender: No OFD packet to send [20:58:25]OFD Sender: No OFD packet to send [20:58:30]OFD Sender: No OFD packet to send [20:58:35]OFD Sender: No OFD packet to send [20:58:40]OFD Sender: No OFD packet to send [20:58:45]OFD Sender: No OFD packet to send [20:58:50]OFD Sender: No OFD packet to send [20:58:55]OFD Sender: No OFD packet to send [20:59:00]OFD Sender: No OFD packet to send [20:59:05]OFD Sender: No OFD packet to send [20:59:10]OFD Sender: No OFD packet to send [20:59:15]OFD Sender: No OFD packet to send [20:59:20]OFD Sender: No OFD packet to send [20:59:25]OFD Sender: No OFD packet to send [20:59:30]OFD Sender: No OFD packet to send [20:59:35]OFD Sender: No OFD packet to send [20:59:40]OFD Sender: No OFD packet to send [20:59:45]OFD Sender: No OFD packet to send [20:59:50]OFD Sender: No OFD packet to send [20:59:55]OFD Sender: No OFD packet to send [21:00:00]OFD Sender: No OFD packet to send [21:00:05]OFD Sender: No OFD packet to send [21:00:10]OFD Sender: No OFD packet to send [21:00:15]OFD Sender: No OFD packet to send [21:00:20]OFD Sender: No OFD packet to send [21:00:25]OFD Sender: No OFD packet to send [21:00:31]OFD Sender: No OFD packet to send [21:00:36]OFD Sender: No OFD packet to send [21:00:41]OFD Sender: No OFD packet to send [21:00:46]OFD Sender: No OFD packet to send [21:00:51]OFD Sender: No OFD packet to send [21:00:56]OFD Sender: No OFD packet to send [21:01:01]OFD Sender: No OFD packet to send [21:01:06]OFD Sender: No OFD packet to send [21:01:11]OFD Sender: No OFD packet to send [21:01:16]OFD Sender: No OFD packet to send [21:01:21]OFD Sender: No OFD packet to send [21:01:26]OFD Sender: No OFD packet to send [21:01:31]OFD Sender: No OFD packet to send [21:01:36]OFD Sender: No OFD packet to send [21:01:41]OFD Sender: No OFD packet to send [21:01:46]OFD Sender: No OFD packet to send [21:01:51]OFD Sender: No OFD packet to send [21:01:56]OFD Sender: No OFD packet to send [21:02:01]OFD Sender: No OFD packet to send [21:02:06]OFD Sender: No OFD packet to send [21:02:11]OFD Sender: No OFD packet to send [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:46]OFD Sender: No OFD packet to send [21:03:51]OFD Sender: No OFD packet to send [21:03:56]OFD Sender: No OFD packet to send [21:04:01]OFD Sender: No OFD packet to send [21:04:06]OFD Sender: No OFD packet to send [21:04:11]OFD Sender: No OFD packet to send [21:04:16]OFD Sender: No OFD packet to send [21:04:21]OFD Sender: No OFD packet to send [21:04:26]OFD Sender: No OFD packet to send [21:04:31]OFD Sender: No OFD packet to send [21:04:36]OFD Sender: No OFD packet to send [21:04:41]OFD Sender: No OFD packet to send [21:04:46]OFD Sender: No OFD packet to send [21:04:51]OFD Sender: No OFD packet to send [21:04:56]OFD Sender: No OFD packet to send [21:05:01]OFD Sender: No OFD packet to send [21:05:06]OFD Sender: No OFD packet to send [21:05:11]OFD Sender: No OFD packet to send [21:05:16]OFD Sender: No OFD packet to send [21:05:21]OFD Sender: No OFD packet to send [21:05:26]OFD Sender: No OFD packet to send [21:05:31]OFD Sender: No OFD packet to send [21:05:36]OFD Sender: No OFD packet to send [21:05:41]OFD Sender: No OFD packet to send [21:05:46]OFD Sender: No OFD packet to send [21:05:51]OFD Sender: No OFD packet to send [21:05:56]OFD Sender: No OFD packet to send [21:06:01]OFD Sender: No OFD packet to send [21:06:06]OFD Sender: No OFD packet to send [21:06:11]OFD Sender: No OFD packet to send [21:06:15]accept exits with 7 [21:06:15]New connection [21:06:15]New thread 3067592036 created [21:06:15]Thread 3067448676 joined [21:06:15]Waiting for new connection... [21:06:15] Sock 7.Parse request [21:06:15]Sock 7.Check first char [21:06:15]Sock 7.First char is OK [21:06:15]request: POST /json_proto HTTP/1.0 [21:06:15]Method: POST [21:06:15]URL: /json_proto [21:06:15]Method is POST - this is cgi request [21:06:15]url: /json_proto [21:06:15]query_string will be loaded in cgi processing [21:06:15]execute_cgi json_proto POST (null) [21:06:15]execute_cgi path=json_proto method=POST [21:06:15]POST find Content-Length [21:06:15]Host: 172.17.39.4:8080 [21:06:15]Content-Length: 771 [21:06:15]Content-Type: application/json [21:06:15] [21:06:15]POST finish read [21:06:15]Found Content-Length = 771 [21:06:15]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129543", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:06:15]execute_script... [21:06:15]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129543", "tax_sys" : 0, "items" : [ { "code": "4700002086281", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:06:15]POST & json_proto [21:06:15]process_json_proto [21:06:15]json parsed OK: [21:06:15]protocol is kg_v1.0 [21:06:15]action value=close_receipt [21:06:15]process_action close_receipt [21:06:15]cmd_close_receipt [21:06:15]MH_GetDate [21:06:15]Write to MH i2c: F0 00 00 8B 12 8C [21:06:15]Write i2c OK [21:06:15]MH_I2C_Read... [21:06:15]Read from MH i2c: F0 [21:06:15]MH_I2C_Read... [21:06:15]Read from MH i2c: F0 09 00 [21:06:15]MH_I2C_Read... [21:06:15]Read from MH i2c: F0 09 00 8B 12 00 CA 3D 94 66 2D 25 5D 64 A9 [21:06:15]GetLastDocTimeStamp 1720989985 [21:06:15]current date 1720991178 [21:06:15]FM_GetShiftState [21:06:15]SAM_PROTO_GetShiftState [21:06:15]wFMCommunicate request_size=4 [21:06:15]MH_SAM_APDU [21:06:15]CAPDU: 80 13 01 00 [21:06:15]Write to MH i2c: E2 08 00 8C 12 80 13 01 00 00 00 00 00 1B [21:06:15]Write i2c OK [21:06:15]MH_I2C_Read... [21:06:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:15]Read from MH i2c: E2 [21:06:15]MH_I2C_Read... [21:06:15]Read from MH i2c: E2 0E 00 [21:06:15]MH_I2C_Read... [21:06:15]Read from MH i2c: E2 0E 00 8C 12 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C2 [21:06:15]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:06:15]wFMCommunicate OK [21:06:15]SAM_PROTO_GetShiftState done [21:06:15]FM_GetShiftState done [21:06:15]opened in 1720917126 [21:06:15]opened+sec_in_day 1721003526 [21:06:15]quantity*price = 20000 [21:06:15]sum+1 = 20001 [21:06:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 200.00 НСП 1% : 1.77 НДС 12% : 21.24 Наличными: 200.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 101 14.07.2024 21:06 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57084 ФПД: 52603002059412 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T210618&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57084&fm=52603002059412&tin=02508201610067®Number=0000000000091208&sum=20000 0 [21:06:16]StoreToDocumentArchive [21:06:16]shift 496 fd 57084 [21:06:16]save to /storage/0496/doc_00057084 [21:06:16]save last doc name /storage/0496/doc_00057084 to /storage/kkm_last_doc_name [21:06:16]save OK [21:06:16]Clear old archive folders... [21:06:16]ProcessDocumentItem done err = 0, tmpTLVsize=283 [21:06:16]tlvbuf is B6F44A10 [21:06:16]SAM_PROTO_ClearQueue [21:06:16]wFMCommunicate request_size=4 [21:06:16]MH_SAM_APDU [21:06:16]CAPDU: 80 09 00 00 [21:06:16]Write to MH i2c: E2 08 00 99 12 80 09 00 00 00 00 00 00 1D [21:06:16]Write i2c OK [21:06:16]MH_I2C_Read... [21:06:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:06:16]Read from MH i2c: E2 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 03 00 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 03 00 99 12 00 90 00 1F [21:06:16]RAPDU: 90 00 [21:06:16]wFMCommunicate OK [21:06:16]SAM_PROTO_ClearQueue done [21:06:16]KKMCreateOFDPacket [21:06:16]OFDProtocolAddRootSTLVToBuf [21:06:16]FM_MakeSignedData [21:06:16]FM_MakeSignedData [21:06:16]SAM_PROTO_SignData [21:06:16]wFMCommunicate request_size=4 [21:06:16]MH_SAM_APDU [21:06:16]CAPDU: 80 0D 01 02 [21:06:16]Write to MH i2c: E2 08 00 9A 12 80 0D 01 02 00 00 00 00 25 [21:06:16]Write i2c OK [21:06:16]MH_I2C_Read... [21:06:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:06:16]Read from MH i2c: E2 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 03 00 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 03 00 9A 12 00 90 00 20 [21:06:16]RAPDU: 90 00 [21:06:16]wFMCommunicate OK [21:06:16]wFMCommunicate request_size=255 [21:06:16]MH_SAM_APDU [21:06:16]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 36 32 38 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 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 65 00 00 00 F4 03 04 00 CA 3D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 [21:06:16]Write to MH i2c: E2 02 01 9B 12 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 36 32 38 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 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 65 00 00 00 F4 03 04 00 CA 3D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 00 00 E5 [21:06:16]Write i2c OK [21:06:16]MH_I2C_Read... [21:06:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:16]Read from MH i2c: E2 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 03 00 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 03 00 9B 12 00 90 00 21 [21:06:16]RAPDU: 90 00 [21:06:16]wFMCommunicate OK [21:06:16]wFMCommunicate request_size=42 [21:06:16]MH_SAM_APDU [21:06:16]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FC DE 00 00 35 04 06 00 2F D7 97 40 7A 94 [21:06:16]Write to MH i2c: E2 2D 00 9C 12 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FC DE 00 00 35 04 06 00 2F D7 97 40 7A 94 00 00 C9 [21:06:16]Write i2c OK [21:06:16]MH_I2C_Read... [21:06:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:06:16]Read from MH i2c: E2 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 03 00 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 03 00 9C 12 00 90 00 22 [21:06:16]RAPDU: 90 00 [21:06:16]wFMCommunicate OK [21:06:16]wFMCommunicate request_size=4 [21:06:16]MH_SAM_APDU [21:06:16]CAPDU: 80 0D 03 02 [21:06:16]Write to MH i2c: E2 08 00 9D 12 80 0D 03 02 00 00 00 00 2A [21:06:16]Write i2c OK [21:06:16]MH_I2C_Read... [21:06:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:06:16]Read from MH i2c: E2 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 0B 00 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 0B 00 9D 12 00 0E 1E CC 4D 7B A0 7D 37 90 00 3F [21:06:16]RAPDU: 0E 1E CC 4D 7B A0 7D 37 90 00 [21:06:16]wFMCommunicate OK [21:06:16]SAM_PROTO_SignData done [21:06:16]FM_MakeSignedData done [21:06:16]CreateOFDProtocolMessage [21:06:16]wFMCommunicate request_size=4 [21:06:16]MH_SAM_APDU [21:06:16]CAPDU: 80 11 00 00 [21:06:16]Write to MH i2c: E2 08 00 9E 12 80 11 00 00 00 00 00 00 2A [21:06:16]Write i2c OK [21:06:16]MH_I2C_Read... [21:06:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:16]Read from MH i2c: E2 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 17 00 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: E2 17 00 9E 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 84 [21:06:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:06:16]wFMCommunicate OK [21:06:16]CreateOFDProtocolMessage done [21:06:16]OFDSenderStorePacket 57084 [21:06:16]StoreOFDPacket docnum=57084 [21:06:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 F4 31 27 01 5A D4 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 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 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 65 00 00 00 F4 03 04 00 CA 3D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FC DE 00 00 35 04 06 00 2F D7 97 40 7A 94 0E 1E CC 4D 7B A0 7D 37 [21:06:16]CheckFolder [21:06:16]dirname=/storage/ofd_packets [21:06:16]CheckFolder done [21:06:16]ProducePacketName [21:06:16]name=ofd_packets/00057084 [21:06:16]NVStorageSaveData ofd_packets/00057084 [21:06:16]File name is /storage/ofd_packets/00057084 [21:06:16]Write 333 bytes [21:06:16]NVStorageSaveData done [21:06:16]OFDSenderStorePacket done [21:06:16]KKMCreateOFDPacket done [21:06:16]NVStorageSaveData kkm_last_timestamp [21:06:16]File name is /storage/kkm_last_timestamp [21:06:16]Write 4 bytes [21:06:16]NVStorageSaveData done [21:06:16]ExternCall_PrintAddStr [21:06:16]wPrintStart [21:06:16]Write to MH i2c: 01 00 00 9F 12 B1 [21:06:16]Write i2c OK [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: 01 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: 01 07 00 [21:06:16]MH_I2C_Read... [21:06:16]Read from MH i2c: 01 07 00 9F 12 00 00 00 00 00 FF 0F C6 [21:06:16]RasterBufferAndPrint [21:06:16]line Счет N : (3)129543 [21:06:16]line ИНН: 02508201610067 [21:06:16]line Контрольно-Кассовый Чек [21:06:16]line ПРОДАЖА [21:06:16]line Товар: 4700002086281 [21:06:16]line Водка Белое золото 0,24л [21:06:16]line 1.000 * 200.00 [21:06:16]line = 200.00 [21:06:16]line НДС 12% НСП 1% [21:06:16]line > о реализуемом товаре [21:06:16]line ИТОГО: 200.00 [21:06:16]line НСП 1% : 1.77 [21:06:16]line НДС 12% : 21.24 [21:06:16]line Наличными: 200.00 [21:06:16]line Безнал.: 0.00 [21:06:16]line Место: АЗС № 132 "Партнер Нефть" [21:06:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:06:16]line СНО: Общий режим [21:06:16]line Чек 101 14.07.2024 21:06 [21:06:16]line Смена: 496 ФФД: 1.0 [21:06:16]line ЗНМ: 0300000132 [21:06:16]line РНМ: 0000000000091208 [21:06:16]line Версия ККМ: 001 [21:06:16]line ФМ: 0000000000874857 [21:06:16]line ФД: 57084 [21:06:16]line ФПД: 52603002059412 [21:06:17]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T210618&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57084&fm=52603002059412&tin=02508201610067®Number=0000000000091208&sum=20000 [21:06:17]line 0 [21:06:17]OFD Sender: Processing packet 57084 [packets to send 38, broken 37] [21:06:17]ProducePacketName [21:06:17]name=ofd_packets/00057084 [21:06:17]OFD Sender: To server: pG, [21:06:17]CommunicateWithHost lk.salyk.kg:30040 [21:06:17]ConnectInit lk.salyk.kg [21:06:17]written 0, free lines is 4095 [21:06:17]Connected sock=11 [21:06:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 F4 31 27 01 5A D4 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 36 32 38 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 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 65 00 00 00 F4 03 04 00 CA 3D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FC DE 00 00 35 04 06 00 2F D7 97 40 7A 94 0E 1E CC 4D 7B A0 7D 37 [21:06:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E3 0C 47 00 E7 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FC DE 00 00 F4 03 04 00 1A E4 93 66 B6 04 01 00 00 AF B8 0D 7B CC 63 68 82 [21:06:17]CommunicateWithHost err = 0 [21:06:17]CheckOFDResponse [21:06:17]1017 (14) - 77093643461234 [21:06:17]1041 (16) - 0000000000874857 [21:06:17]1040 (4) - 57084 [21:06:17]1012 (4) - 14.07.2024 14:43 [21:06:17]1206 (1) - 0 [21:06:17]OFD Sender: Remove packet 57084 [21:06:17]ProducePacketName [21:06:17]name=ofd_packets/00057084 [21:06:17]NVStorageDeleteData [21:06:17]Write to MH i2c: 01 00 00 C7 12 D9 [21:06:17]Write i2c OK [21:06:17]MH_I2C_Read... [21:06:17]Read from MH i2c: 01 [21:06:17]MH_I2C_Read... [21:06:17]Read from MH i2c: 01 07 00 [21:06:17]MH_I2C_Read... [21:06:17]Read from MH i2c: 01 07 00 C7 12 00 00 00 00 00 09 0D F6 [21:06:17]RasterBufferAndPrint [21:06:17]line [21:06:17]line [21:06:17]line [21:06:17]line [21:06:17]line [21:06:17]written 0, free lines is 3343 [21:06:17]MH_Cut [21:06:17]Write to MH i2c: D1 01 00 CE 12 01 B2 [21:06:17]Write i2c OK [21:06:17]MH_I2C_Read... [21:06:17]Read from MH i2c: D1 [21:06:17]MH_I2C_Read... [21:06:17]Read from MH i2c: D1 01 00 [21:06:17]MH_I2C_Read... [21:06:17]Read from MH i2c: D1 01 00 CE 12 00 B1 [21:06:17]Write to MH i2c: 01 00 00 CF 12 E1 [21:06:17]Write i2c OK [21:06:17]MH_I2C_Read... [21:06:18]OFD Sender: No OFD packet to send [21:06:18]*** Cut start [21:06:18]*** Partial cut [21:06:18]*** CUTSNS_PIN = 1 [21:06:18]*** CUTSNS_PIN = 0 [21:06:18]*** Brake cut motor [21:06:18]Read from MH i2c: 01 [21:06:18]MH_I2C_Read... [21:06:18]*** Stop cut motor [21:06:19]*** Cut end [21:06:19]Read from MH i2c: 01 07 00 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: 01 07 00 CF 12 00 00 00 00 00 FF 0F F6 [21:06:19]process_action close_receipt done [21:06:19]requested_data is exist [21:06:19]produce_requested_data [21:06:19]requested_item fm.sn is exist - process it [21:06:19]wFMCommunicate request_size=4 [21:06:19]MH_SAM_APDU [21:06:19]CAPDU: 80 11 00 00 [21:06:19]Write to MH i2c: E2 08 00 D0 12 80 11 00 00 00 00 00 00 5C [21:06:19]Write i2c OK [21:06:19]MH_I2C_Read... [21:06:19]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:06:19]Read from MH i2c: E2 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 17 00 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 17 00 D0 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 B6 [21:06:19]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:06:19]wFMCommunicate OK [21:06:19]requested_item fd.num is exist - process it [21:06:19]SAM_PROTO_GetFieldsCounters [21:06:19]wFMCommunicate request_size=4 [21:06:19]MH_SAM_APDU [21:06:19]CAPDU: 80 13 00 00 [21:06:19]Write to MH i2c: E2 08 00 D1 12 80 13 00 00 00 00 00 00 5F [21:06:19]Write i2c OK [21:06:19]MH_I2C_Read... [21:06:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:06:19]Read from MH i2c: E2 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 62 00 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 62 00 D1 12 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FC DE 00 00 0E 04 04 00 F0 01 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 7C [21:06:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FC DE 00 00 0E 04 04 00 F0 01 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 [21:06:19]wFMCommunicate OK [21:06:19]SAM_PROTO_GetFieldsCounters done [21:06:19]requested_item shift.num is exist - process it [21:06:19]requested_item shift.opened is exist - process it [21:06:19]req_shift_opened [21:06:19]FM_GetShiftState [21:06:19]SAM_PROTO_GetShiftState [21:06:19]wFMCommunicate request_size=4 [21:06:19]MH_SAM_APDU [21:06:19]CAPDU: 80 13 01 00 [21:06:19]Write to MH i2c: E2 08 00 D2 12 80 13 01 00 00 00 00 00 61 [21:06:19]Write i2c OK [21:06:19]MH_I2C_Read... [21:06:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:06:19]Read from MH i2c: E2 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 0E 00 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 0E 00 D2 12 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 08 [21:06:19]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:06:19]wFMCommunicate OK [21:06:19]SAM_PROTO_GetShiftState done [21:06:19]FM_GetShiftState done [21:06:19]req_shift_opened done [21:06:19]requested_item shift.open_date is exist - process it [21:06:19]req_shift_open_date [21:06:19]req_shift_open_date done [21:06:19]requested_item shift.sale.total is exist - process it [21:06:19]SAM_PROTO_GetShiftData [21:06:19]wFMCommunicate request_size=4 [21:06:19]MH_SAM_APDU [21:06:19]CAPDU: 80 13 02 00 [21:06:19]Write to MH i2c: E2 08 00 D3 12 80 13 02 00 00 00 00 00 63 [21:06:19]Write i2c OK [21:06:19]MH_I2C_Read... [21:06:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:06:19]Read from MH i2c: E2 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 FD 00 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 FD 00 D3 12 00 BB 04 AA 04 B7 04 6E 04 04 00 65 00 00 00 69 04 9B 00 6F 04 04 00 63 00 00 00 B1 04 03 00 9B 6B 32 70 04 03 00 B8 FC 27 72 04 03 00 E3 6E 0A 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 CE 5A 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 31 72 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 E2 [21:06:19]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 65 00 00 00 69 04 9B 00 6F 04 04 00 63 00 00 00 B1 04 03 00 9B 6B 32 70 04 03 00 B8 FC 27 72 04 03 00 E3 6E 0A 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 CE 5A 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 31 72 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [21:06:19]wFMCommunicate OK [21:06:19]wFMCommunicate request_size=4 [21:06:19]MH_SAM_APDU [21:06:19]CAPDU: 80 17 00 00 [21:06:19]Write to MH i2c: E2 08 00 D4 12 80 17 00 00 00 00 00 00 66 [21:06:19]Write i2c OK [21:06:19]MH_I2C_Read... [21:06:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:06:19]Read from MH i2c: E2 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 FD 00 [21:06:19]MH_I2C_Read... [21:06:19]Read from MH i2c: E2 FD 00 D4 12 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F9 [21:06:20]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:06:20]wFMCommunicate OK [21:06:20]wFMCommunicate request_size=4 [21:06:20]MH_SAM_APDU [21:06:20]CAPDU: 80 17 00 00 [21:06:20]Write to MH i2c: E2 08 00 D5 12 80 17 00 00 00 00 00 00 67 [21:06:20]Write i2c OK [21:06:20]MH_I2C_Read... [21:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:06:20]Read from MH i2c: E2 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: E2 FD 00 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: E2 FD 00 D5 12 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 93 [21:06:20]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:06:20]wFMCommunicate OK [21:06:20]wFMCommunicate request_size=4 [21:06:20]MH_SAM_APDU [21:06:20]CAPDU: 80 17 00 00 [21:06:20]Write to MH i2c: E2 08 00 D6 12 80 17 00 00 00 00 00 00 68 [21:06:20]Write i2c OK [21:06:20]MH_I2C_Read... [21:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:06:20]Read from MH i2c: E2 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: E2 FD 00 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: E2 FD 00 D6 12 00 00 00 EF 03 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 90 00 DD [21:06:20]RAPDU: 00 00 EF 03 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 90 00 [21:06:20]wFMCommunicate OK [21:06:20]wFMCommunicate request_size=4 [21:06:20]MH_SAM_APDU [21:06:20]CAPDU: 80 17 00 00 [21:06:20]Write to MH i2c: E2 08 00 D7 12 80 17 00 00 00 00 00 00 69 [21:06:20]Write i2c OK [21:06:20]MH_I2C_Read... [21:06:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [21:06:20]Read from MH i2c: E2 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: E2 D8 00 [21:06:20]MH_I2C_Read... [21:06:20]Read from MH i2c: E2 D8 00 D7 12 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 50 [21:06:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:06:20]wFMCommunicate OK [21:06:20]SAM_PROTO_GetShiftData done [21:06:20]requested_item shift.sale.total_cash is exist - process it [21:06:20]requested_item shift.sale_refund.total is exist - process it [21:06:20]requested_item shift.sale_refund.total_cash is exist - process it [21:06:20]produce_requested_data done [21:06:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57084,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33043.47,"shift.sale.total_cash":26206.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [21:06:20]process_action_free close_receipt [21:06:20]json_value_free [21:06:20]json_value_free done [21:06:20]process_json_proto returns [21:06:20]Send response to host [21:06:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57084,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33043.47,"shift.sale.total_cash":26206.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [21:06:20]free response buf [21:06:20]execute_script done [21:06:20]execute_script returns [21:06:20]free content buf [21:06:20]Sock 7.Close socket [21:06:20]Sock 7.Thread stoped [21:06:23]OFD Sender: No OFD packet to send [21:06:28]OFD Sender: No OFD packet to send [21:06:33]OFD Sender: No OFD packet to send [21:06:38]OFD Sender: No OFD packet to send [21:06:43]OFD Sender: No OFD packet to send [21:06:48]OFD Sender: No OFD packet to send [21:06:53]OFD Sender: No OFD packet to send [21:06:58]OFD Sender: No OFD packet to send [21:07:03]OFD Sender: No OFD packet to send [21:07:08]OFD Sender: No OFD packet to send [21:07:13]OFD Sender: No OFD packet to send [21:07:18]OFD Sender: No OFD packet to send [21:07:23]OFD Sender: No OFD packet to send [21:07:28]OFD Sender: No OFD packet to send [21:07:33]OFD Sender: No OFD packet to send [21:07:38]OFD Sender: No OFD packet to send [21:07:43]OFD Sender: No OFD packet to send [21:07:48]OFD Sender: No OFD packet to send [21:07:53]OFD Sender: No OFD packet to send [21:07:58]OFD Sender: No OFD packet to send [21:08:03]OFD Sender: No OFD packet to send [21:08:08]OFD Sender: No OFD packet to send [21:08:13]OFD Sender: No OFD packet to send [21:08:18]OFD Sender: No OFD packet to send [21:08:23]OFD Sender: No OFD packet to send [21:08:28]OFD Sender: No OFD packet to send [21:08:29]accept exits with 9 [21:08:29]New connection [21:08:29]New thread 3067448676 created [21:08:29]Thread 3067592036 joined [21:08:29]Waiting for new connection... [21:08:29] Sock 9.Parse request [21:08:29]Sock 9.Check first char [21:08:29]Sock 9.First char is OK [21:08:29]request: POST /json_proto HTTP/1.0 [21:08:29]Method: POST [21:08:29]URL: /json_proto [21:08:29]Method is POST - this is cgi request [21:08:29]url: /json_proto [21:08:29]query_string will be loaded in cgi processing [21:08:29]execute_cgi json_proto POST (null) [21:08:29]execute_cgi path=json_proto method=POST [21:08:29]POST find Content-Length [21:08:29]Host: 172.17.39.4:8080 [21:08:29]Content-Length: 2229 [21:08:29]Content-Type: application/json [21:08:29] [21:08:29]POST finish read [21:08:29]Found Content-Length = 2229 [21:08:29]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129544", "tax_sys" : 0, "items" : [ { "code": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6921211114420", "name": "\u041A\u0430\u0440\u0430\u043C\u0435\u043B\u044C \u0427\u0427 3D \u0412-\u0420\u041E\u0420 \u0422\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 8*45", "price" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328602", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u0430\u043F,\u043B\u0435\u043C\u043E\u043D\u0433\u0440\u0430\u0441 \u041F\u042D\u0422 1\u043B", "price" : 142.00, "quantity" : 1.000, "sum" : 142.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4771173208758", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Jega \u0441\u044B\u0440,\u043B\u0443\u043A 200\u0433", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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" : 553.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:08:29]execute_script... [21:08: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)129544", "tax_sys" : 0, "items" : [ { "code": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "6921211114420", "name": "\u041A\u0430\u0440\u0430\u043C\u0435\u043B\u044C \u0427\u0427 3D \u0412-\u0420\u041E\u0420 \u0422\u0440\u043E\u043F\u0438\u0447\u0435\u0441\u043A\u0438\u0439 8*45", "price" : 41.00, "quantity" : 1.000, "sum" : 41.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000996", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 0,33\u043B", "price" : 85.00, "quantity" : 1.000, "sum" : 85.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002328602", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A DADA \u0430\u043F,\u043B\u0435\u043C\u043E\u043D\u0433\u0440\u0430\u0441 \u041F\u042D\u0422 1\u043B", "price" : 142.00, "quantity" : 1.000, "sum" : 142.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4771173208758", "name": "\u0410\u0440\u0430\u0445\u0438\u0441 Jega \u0441\u044B\u0440,\u043B\u0443\u043A 200\u0433", "price" : 245.00, "quantity" : 1.000, "sum" : 245.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "2587136579566", "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" : 553.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:08:29]POST & json_proto [21:08:29]process_json_proto [21:08:29]json parsed OK: [21:08:29]protocol is kg_v1.0 [21:08:29]action value=close_receipt [21:08:29]process_action close_receipt [21:08:29]cmd_close_receipt [21:08:29]MH_GetDate [21:08:29]Write to MH i2c: F0 00 00 D8 12 D9 [21:08:29]Write i2c OK [21:08:29]MH_I2C_Read... [21:08:29]Read from MH i2c: F0 [21:08:29]MH_I2C_Read... [21:08:29]Read from MH i2c: F0 09 00 [21:08:29]MH_I2C_Read... [21:08:29]Read from MH i2c: F0 09 00 D8 12 00 50 3E 94 66 2D 25 5D 64 7D [21:08:29]GetLastDocTimeStamp 1720991178 [21:08:29]current date 1720991312 [21:08:29]FM_GetShiftState [21:08:29]SAM_PROTO_GetShiftState [21:08:29]wFMCommunicate request_size=4 [21:08:29]MH_SAM_APDU [21:08:29]CAPDU: 80 13 01 00 [21:08:29]Write to MH i2c: E2 08 00 D9 12 80 13 01 00 00 00 00 00 68 [21:08:29]Write i2c OK [21:08:29]MH_I2C_Read... [21:08:29]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:29]Read from MH i2c: E2 [21:08:29]MH_I2C_Read... [21:08:29]Read from MH i2c: E2 0E 00 [21:08:29]MH_I2C_Read... [21:08:29]Read from MH i2c: E2 0E 00 D9 12 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 0F [21:08:29]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:08:29]wFMCommunicate OK [21:08:29]SAM_PROTO_GetShiftState done [21:08:29]FM_GetShiftState done [21:08:29]opened in 1720917126 [21:08:29]opened+sec_in_day 1721003526 [21:08:29]quantity*price = 3600 [21:08:29]sum+1 = 3601 [21:08:29]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 6921211114420 Карамель ЧЧ 3D В-РОР Тропический 8*45 1.000 * 41.00 = 41.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000000996 Напиток Кока-Кола 0,33л 1.000 * 85.00 = 85.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870002328602 Напиток DADA ап,лемонграс ПЭТ 1л 1.000 * 142.00 = 142.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4771173208758 Арахис Jega сыр,лук 200г 1.000 * 245.00 = 245.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 2587136579566 Пакет Партнер Нефть 1.000 * 4.00 = 4.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 553.00 НСП 1% : 4.89 НДС 12% : 58.72 Наличными: 553.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 102 14.07.2024 21:08 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57085 ФПД: 223136262110185 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T210832&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57085&fm=223136262110185&tin=02508201610067®Number=0000000000091208&sum=55300 0 [21:08:31]StoreToDocumentArchive [21:08:31]shift 496 fd 57085 [21:08:31]save to /storage/0496/doc_00057085 [21:08:31]save last doc name /storage/0496/doc_00057085 to /storage/kkm_last_doc_name [21:08:31]save OK [21:08:31]Clear old archive folders... [21:08:31]ProcessDocumentItem done err = 0, tmpTLVsize=869 [21:08:31]tlvbuf is 00FD5440 [21:08:31]SAM_PROTO_ClearQueue [21:08:31]wFMCommunicate request_size=4 [21:08:31]MH_SAM_APDU [21:08:31]CAPDU: 80 09 00 00 [21:08:31]Write to MH i2c: E2 08 00 E6 12 80 09 00 00 00 00 00 00 6A [21:08:31]Write i2c OK [21:08:31]MH_I2C_Read... [21:08:31]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:08:31]Read from MH i2c: E2 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: E2 03 00 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: E2 03 00 E6 12 00 90 00 6C [21:08:31]RAPDU: 90 00 [21:08:31]wFMCommunicate OK [21:08:31]SAM_PROTO_ClearQueue done [21:08:31]KKMCreateOFDPacket [21:08:31]OFDProtocolAddRootSTLVToBuf [21:08:31]FM_MakeSignedData [21:08:31]FM_MakeSignedData [21:08:31]SAM_PROTO_SignData [21:08:31]wFMCommunicate request_size=4 [21:08:31]MH_SAM_APDU [21:08:31]CAPDU: 80 0D 01 02 [21:08:31]Write to MH i2c: E2 08 00 E7 12 80 0D 01 02 00 00 00 00 72 [21:08:31]Write i2c OK [21:08:31]MH_I2C_Read... [21:08:31]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:08:31]Read from MH i2c: E2 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: E2 03 00 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: E2 03 00 E7 12 00 90 00 6D [21:08:31]RAPDU: 90 00 [21:08:31]wFMCommunicate OK [21:08:31]wFMCommunicate request_size=255 [21:08:31]MH_SAM_APDU [21:08:31]CAPDU: 80 0D 02 02 FA 03 00 65 03 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 36 39 32 31 32 31 31 31 31 34 34 32 30 06 04 3E 00 D0 9A D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 D0 A7 D0 A7 20 33 44 20 D0 92 2D D0 A0 D0 9E D0 A0 20 D0 A2 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 38 2A 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC [21:08:31]Write to MH i2c: E2 02 01 E8 12 80 0D 02 02 FA 00 03 00 65 03 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 36 39 32 31 32 31 31 31 31 34 34 32 30 06 04 3E 00 D0 9A D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 D0 A7 D0 A7 20 33 44 20 D0 92 2D D0 A0 D0 9E D0 A0 20 D0 A2 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 38 2A 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 00 00 DF [21:08:31]Write i2c OK [21:08:31]MH_I2C_Read... [21:08:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:31]Read from MH i2c: E2 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: E2 03 00 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: E2 03 00 E8 12 00 90 00 6E [21:08:31]RAPDU: 90 00 [21:08:31]wFMCommunicate OK [21:08:31]wFMCommunicate request_size=255 [21:08:31]MH_SAM_APDU [21:08:31]CAPDU: 80 0D 02 02 FA 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 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 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 36 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D0 B0 D0 BF 2C D0 BB D0 B5 D0 BC D0 BE D0 BD D0 B3 D1 80 D0 B0 D1 81 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 78 37 00 00 00 00 13 04 06 00 78 37 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 [21:08:31]Write to MH i2c: E2 02 01 E9 12 80 0D 02 02 FA 00 04 01 00 01 23 04 6B 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 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 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 36 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D0 B0 D0 BF 2C D0 BB D0 B5 D0 BC D0 BE D0 BD D0 B3 D1 80 D0 B0 D1 81 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 78 37 00 00 00 00 13 04 06 00 78 37 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 00 00 D6 [21:08:31]Write i2c OK [21:08:31]MH_I2C_Read... [21:08:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:31]Read from MH i2c: E2 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: E2 03 00 [21:08:31]MH_I2C_Read... [21:08:31]Read from MH i2c: E2 03 00 E9 12 00 90 00 6F [21:08:31]RAPDU: 90 00 [21:08:31]wFMCommunicate OK [21:08:31]wFMCommunicate request_size=255 [21:08:31]MH_SAM_APDU [21:08:31]CAPDU: 80 0D 02 02 FA 37 37 31 31 37 33 32 30 38 37 35 38 06 04 25 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D1 81 D1 8B D1 80 2C D0 BB D1 83 D0 BA 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 04 D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 [21:08:31]Write to MH i2c: E2 02 01 EA 12 80 0D 02 02 FA 00 37 37 31 31 37 33 32 30 38 37 35 38 06 04 25 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D1 81 D1 8B D1 80 2C D0 BB D1 83 D0 BA 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 04 D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 00 00 AD [21:08:31]Write i2c OK [21:08:31]MH_I2C_Read... [21:08:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:32]Read from MH i2c: E2 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 03 00 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 03 00 EA 12 00 90 00 70 [21:08:32]RAPDU: 90 00 [21:08:32]wFMCommunicate OK [21:08:32]wFMCommunicate request_size=128 [21:08:32]MH_SAM_APDU [21:08:32]CAPDU: 80 0D 02 02 7B F3 03 06 00 F0 16 00 00 00 00 07 04 06 00 04 D8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 50 3E 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DE 00 00 35 04 06 00 CA F0 F5 A3 BB E9 [21:08:32]Write to MH i2c: E2 83 00 EB 12 80 0D 02 02 7B 00 F3 03 06 00 F0 16 00 00 00 00 07 04 06 00 04 D8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 50 3E 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DE 00 00 35 04 06 00 CA F0 F5 A3 BB E9 00 00 37 [21:08:32]Write i2c OK [21:08:32]MH_I2C_Read... [21:08:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:08:32]Read from MH i2c: E2 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 03 00 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 03 00 EB 12 00 90 00 71 [21:08:32]RAPDU: 90 00 [21:08:32]wFMCommunicate OK [21:08:32]wFMCommunicate request_size=4 [21:08:32]MH_SAM_APDU [21:08:32]CAPDU: 80 0D 03 02 [21:08:32]Write to MH i2c: E2 08 00 EC 12 80 0D 03 02 00 00 00 00 79 [21:08:32]Write i2c OK [21:08:32]MH_I2C_Read... [21:08:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:08:32]Read from MH i2c: E2 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 0B 00 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 0B 00 EC 12 00 E4 9D DF FF AE 9F 7B 66 90 00 07 [21:08:32]RAPDU: E4 9D DF FF AE 9F 7B 66 90 00 [21:08:32]wFMCommunicate OK [21:08:32]SAM_PROTO_SignData done [21:08:32]FM_MakeSignedData done [21:08:32]CreateOFDProtocolMessage [21:08:32]wFMCommunicate request_size=4 [21:08:32]MH_SAM_APDU [21:08:32]CAPDU: 80 11 00 00 [21:08:32]Write to MH i2c: E2 08 00 ED 12 80 11 00 00 00 00 00 00 79 [21:08:32]Write i2c OK [21:08:32]MH_I2C_Read... [21:08:32]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:32]Read from MH i2c: E2 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 17 00 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: E2 17 00 ED 12 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D3 [21:08:32]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:08:32]wFMCommunicate OK [21:08:32]CreateOFDProtocolMessage done [21:08:32]OFDSenderStorePacket 57085 [21:08:32]StoreOFDPacket docnum=57085 [21:08:32]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 79 03 00 00 30 F2 71 03 B3 B5 5A 03 01 00 03 00 65 03 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 36 39 32 31 32 31 31 31 31 34 34 32 30 06 04 3E 00 D0 9A D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 D0 A7 D0 A7 20 33 44 20 D0 92 2D D0 A0 D0 9E D0 A0 20 D0 A2 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 38 2A 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 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 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 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 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 36 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D0 B0 D0 BF 2C D0 BB D0 B5 D0 BC D0 BE D0 BD D0 B3 D1 80 D0 B0 D1 81 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 78 37 00 00 00 00 13 04 06 00 78 37 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 37 37 31 31 37 33 32 30 38 37 35 38 06 04 25 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D1 81 D1 8B D1 80 2C D0 BB D1 83 D0 BA 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 04 D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 16 00 00 00 00 07 04 06 00 04 D8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 50 3E 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DE 00 00 35 04 06 00 CA F0 F5 A3 BB E9 E4 9D DF FF AE 9F 7B 66 [21:08:32]CheckFolder [21:08:32]dirname=/storage/ofd_packets [21:08:32]CheckFolder done [21:08:32]ProducePacketName [21:08:32]name=ofd_packets/00057085 [21:08:32]NVStorageSaveData ofd_packets/00057085 [21:08:32]File name is /storage/ofd_packets/00057085 [21:08:32]Write 919 bytes [21:08:32]NVStorageSaveData done [21:08:32]OFDSenderStorePacket done [21:08:32]KKMCreateOFDPacket done [21:08:32]NVStorageSaveData kkm_last_timestamp [21:08:32]File name is /storage/kkm_last_timestamp [21:08:32]Write 4 bytes [21:08:32]NVStorageSaveData done [21:08:32]ExternCall_PrintAddStr [21:08:32]wPrintStart [21:08:32]Write to MH i2c: 01 00 00 EE 12 00 [21:08:32]OFD Sender: Processing packet 57085 [packets to send 38, broken 37] [21:08:32]ProducePacketName [21:08:32]name=ofd_packets/00057085 [21:08:32]Write i2c OK [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: 01 [21:08:32]MH_I2C_Read... [21:08:32]OFD Sender: To server: pG, [21:08:32]CommunicateWithHost lk.salyk.kg:30040 [21:08:32]ConnectInit lk.salyk.kg [21:08:32]Read from MH i2c: 01 07 00 [21:08:32]MH_I2C_Read... [21:08:32]Read from MH i2c: 01 07 00 EE 12 00 00 00 00 00 FF 0F 15 [21:08:32]RasterBufferAndPrint [21:08:32]line Счет N : (3)129544 [21:08:32]line ИНН: 02508201610067 [21:08:32]line Контрольно-Кассовый Чек [21:08:32]line ПРОДАЖА [21:08:32]line Товар: 4607120858977 [21:08:32]line Чипсы Чипсоны краб 40г [21:08:32]line 1.000 * 36.00 [21:08:32]line = 36.00 [21:08:32]line НДС 12% НСП 1% [21:08:32]line > о реализуемом товаре [21:08:32]line Товар: 6921211114420 [21:08:32]line Карамель ЧЧ 3D В-РОР Тропический 8*45 [21:08:32]line 1.000 * 41.00 [21:08:32]line = 41.00 [21:08:32]line НДС 12% НСП 1% [21:08:32]line > о реализуемом товаре [21:08:32]line Товар: 5449000000996 [21:08:32]line Напиток Кока-Кола 0,33л [21:08:32]line 1.000 * 85.00 [21:08:32]line = 85.00 [21:08:32]line НДС 12% НСП 1% [21:08:32]line > о реализуемом товаре [21:08:32]line Товар: 4870002328602 [21:08:32]line Напиток DADA ап,лемонграс ПЭТ 1л [21:08:32]line 1.000 * 142.00 [21:08:32]line = 142.00 [21:08:32]line НДС 12% НСП 1% [21:08:32]line > о реализуемом товаре [21:08:32]line Товар: 4771173208758 [21:08:32]line Арахис Jega сыр,лук 200г [21:08:32]line 1.000 * 245.00 [21:08:32]line = 245.00 [21:08:32]line НДС 12% НСП 1% [21:08:32]line > о реализуемом товаре [21:08:32]line Товар: 2587136579566 [21:08:32]line Пакет Партнер Нефть [21:08:32]line 1.000 * 4.00 [21:08:32]line = 4.00 [21:08:32]line НДС 12% НСП 1% [21:08:32]line > о реализуемом товаре [21:08:32]line ИТОГО: 553.00 [21:08:32]line НСП 1% : 4.89 [21:08:32]line НДС 12% : 58.72 [21:08:32]line Наличными: 553.00 [21:08:32]line Безнал.: 0.00 [21:08:32]line Место: АЗС № 132 "Партнер Нефть" [21:08:32]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:08:32]line СНО: Общий режим [21:08:32]line Чек 102 14.07.2024 21:08 [21:08:32]line Смена: 496 ФФД: 1.0 [21:08:32]line ЗНМ: 0300000132 [21:08:32]line РНМ: 0000000000091208 [21:08:32]line Версия ККМ: 001 [21:08:32]line ФМ: 0000000000874857 [21:08:32]line ФД: 57085 [21:08:32]line ФПД: 223136262110185 [21:08:32]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T210832&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57085&fm=223136262110185&tin=02508201610067®Number=0000000000091208&sum=55300 [21:08:32]line 0 [21:08:32]written 0, free lines is 4095 [21:08:32]Connected sock=10 [21:08:32]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 79 03 00 00 30 F2 71 03 B3 B5 5A 03 01 00 03 00 65 03 1E 04 01 00 01 23 04 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 82 00 8A 04 0D 00 36 39 32 31 32 31 31 31 31 34 34 32 30 06 04 3E 00 D0 9A D0 B0 D1 80 D0 B0 D0 BC D0 B5 D0 BB D1 8C 20 D0 A7 D0 A7 20 33 44 20 D0 92 2D D0 A0 D0 9E D0 A0 20 D0 A2 D1 80 D0 BE D0 BF D0 B8 D1 87 D0 B5 D1 81 D0 BA D0 B8 D0 B9 20 38 2A 34 35 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 10 00 00 00 00 13 04 06 00 04 10 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 35 34 34 39 30 30 30 30 30 30 39 39 36 06 04 27 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 30 2C 33 33 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 7A 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 38 36 30 32 06 04 36 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 44 41 44 41 20 D0 B0 D0 BF 2C D0 BB D0 B5 D0 BC D0 BE D0 BD D0 B3 D1 80 D0 B0 D1 81 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 78 37 00 00 00 00 13 04 06 00 78 37 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 37 37 31 31 37 33 32 30 38 37 35 38 06 04 25 00 D0 90 D1 80 D0 B0 D1 85 D0 B8 D1 81 20 4A 65 67 61 20 D1 81 D1 8B D1 80 2C D0 BB D1 83 D0 BA 20 32 30 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 B4 5F 00 00 00 00 13 04 06 00 B4 5F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 68 00 8A 04 0D 00 32 35 38 37 31 33 36 35 37 39 35 36 36 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 04 D8 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 E9 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 F0 16 00 00 00 00 07 04 06 00 04 D8 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 66 00 00 00 F4 03 04 00 50 3E 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DE 00 00 35 04 06 00 CA F0 F5 A3 BB E9 E4 9D DF FF AE 9F 7B 66 [21:08:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 FF C2 47 00 AE 66 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FD DE 00 00 F4 03 04 00 A1 E4 93 66 B6 04 01 00 00 57 29 41 69 E4 CA 17 12 [21:08:33]CommunicateWithHost err = 0 [21:08:33]CheckOFDResponse [21:08:33]1017 (14) - 77093643461234 [21:08:33]1041 (16) - 0000000000874857 [21:08:33]1040 (4) - 57085 [21:08:33]1012 (4) - 14.07.2024 14:45 [21:08:33]1206 (1) - 0 [21:08:33]OFD Sender: Remove packet 57085 [21:08:33]ProducePacketName [21:08:33]name=ofd_packets/00057085 [21:08:33]NVStorageDeleteData [21:08:33]Write to MH i2c: 01 00 00 36 13 49 [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: 01 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: 01 07 00 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: 01 07 00 36 13 00 00 00 00 00 30 0B 8B [21:08:33]RasterBufferAndPrint [21:08:33]line [21:08:33]line [21:08:33]line [21:08:33]line [21:08:33]line [21:08:33]written 0, free lines is 2876 [21:08:33]MH_Cut [21:08:33]Write to MH i2c: D1 01 00 3D 13 01 22 [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: D1 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: D1 01 00 [21:08:33]MH_I2C_Read... [21:08:33]Read from MH i2c: D1 01 00 3D 13 00 21 [21:08:33]Write to MH i2c: 01 00 00 3E 13 51 [21:08:33]Write i2c OK [21:08:33]MH_I2C_Read... [21:08:33]OFD Sender: No OFD packet to send [21:08:34]*** Cut start [21:08:34]*** Partial cut [21:08:34]*** CUTSNS_PIN = 1 [21:08:34]*** CUTSNS_PIN = 0 [21:08:34]*** Brake cut motor [21:08:35]Read from MH i2c: 01 [21:08:35]MH_I2C_Read... [21:08:35]*** Stop cut motor [21:08:35]*** Cut end [21:08:35]Read from MH i2c: 01 07 00 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: 01 07 00 3E 13 00 00 00 00 00 FF 0F 66 [21:08:35]process_action close_receipt done [21:08:35]requested_data is exist [21:08:35]produce_requested_data [21:08:35]requested_item fm.sn is exist - process it [21:08:35]wFMCommunicate request_size=4 [21:08:35]MH_SAM_APDU [21:08:35]CAPDU: 80 11 00 00 [21:08:35]Write to MH i2c: E2 08 00 3F 13 80 11 00 00 00 00 00 00 CC [21:08:35]Write i2c OK [21:08:35]MH_I2C_Read... [21:08:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:08:35]Read from MH i2c: E2 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: E2 17 00 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: E2 17 00 3F 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 26 [21:08:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:08:35]wFMCommunicate OK [21:08:35]requested_item fd.num is exist - process it [21:08:35]SAM_PROTO_GetFieldsCounters [21:08:35]wFMCommunicate request_size=4 [21:08:35]MH_SAM_APDU [21:08:35]CAPDU: 80 13 00 00 [21:08:35]Write to MH i2c: E2 08 00 40 13 80 13 00 00 00 00 00 00 CF [21:08:35]Write i2c OK [21:08:35]MH_I2C_Read... [21:08:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:08:35]Read from MH i2c: E2 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: E2 62 00 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: E2 62 00 40 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FD DE 00 00 0E 04 04 00 F0 01 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 F0 [21:08:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FD DE 00 00 0E 04 04 00 F0 01 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 [21:08:35]wFMCommunicate OK [21:08:35]SAM_PROTO_GetFieldsCounters done [21:08:35]requested_item shift.num is exist - process it [21:08:35]requested_item shift.opened is exist - process it [21:08:35]req_shift_opened [21:08:35]FM_GetShiftState [21:08:35]SAM_PROTO_GetShiftState [21:08:35]wFMCommunicate request_size=4 [21:08:35]MH_SAM_APDU [21:08:35]CAPDU: 80 13 01 00 [21:08:35]Write to MH i2c: E2 08 00 41 13 80 13 01 00 00 00 00 00 D1 [21:08:35]Write i2c OK [21:08:35]MH_I2C_Read... [21:08:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:08:35]Read from MH i2c: E2 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: E2 0E 00 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: E2 0E 00 41 13 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 78 [21:08:35]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:08:35]wFMCommunicate OK [21:08:35]SAM_PROTO_GetShiftState done [21:08:35]FM_GetShiftState done [21:08:35]req_shift_opened done [21:08:35]requested_item shift.open_date is exist - process it [21:08:35]req_shift_open_date [21:08:35]req_shift_open_date done [21:08:35]requested_item shift.sale.total is exist - process it [21:08:35]SAM_PROTO_GetShiftData [21:08:35]wFMCommunicate request_size=4 [21:08:35]MH_SAM_APDU [21:08:35]CAPDU: 80 13 02 00 [21:08:35]Write to MH i2c: E2 08 00 42 13 80 13 02 00 00 00 00 00 D3 [21:08:35]Write i2c OK [21:08:35]MH_I2C_Read... [21:08:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:08:35]Read from MH i2c: E2 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: E2 FD 00 [21:08:35]MH_I2C_Read... [21:08:35]Read from MH i2c: E2 FD 00 42 13 00 BB 04 AA 04 B7 04 6E 04 04 00 66 00 00 00 69 04 9B 00 6F 04 04 00 64 00 00 00 B1 04 03 00 9F 43 33 70 04 03 00 BC D4 28 72 04 03 00 E3 6E 0A 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 BE 71 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 1A 74 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 00 [21:08:35]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 66 00 00 00 69 04 9B 00 6F 04 04 00 64 00 00 00 B1 04 03 00 9F 43 33 70 04 03 00 BC D4 28 72 04 03 00 E3 6E 0A 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 BE 71 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 1A 74 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [21:08:35]wFMCommunicate OK [21:08:35]wFMCommunicate request_size=4 [21:08:35]MH_SAM_APDU [21:08:35]CAPDU: 80 17 00 00 [21:08:35]Write to MH i2c: E2 08 00 43 13 80 17 00 00 00 00 00 00 D6 [21:08:35]Write i2c OK [21:08:35]MH_I2C_Read... [21:08:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:08:36]Read from MH i2c: E2 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 FD 00 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 FD 00 43 13 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 69 [21:08:36]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:08:36]wFMCommunicate OK [21:08:36]wFMCommunicate request_size=4 [21:08:36]MH_SAM_APDU [21:08:36]CAPDU: 80 17 00 00 [21:08:36]Write to MH i2c: E2 08 00 44 13 80 17 00 00 00 00 00 00 D7 [21:08:36]Write i2c OK [21:08:36]MH_I2C_Read... [21:08:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:08:36]Read from MH i2c: E2 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 FD 00 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 FD 00 44 13 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 03 [21:08:36]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:08:36]wFMCommunicate OK [21:08:36]wFMCommunicate request_size=4 [21:08:36]MH_SAM_APDU [21:08:36]CAPDU: 80 17 00 00 [21:08:36]Write to MH i2c: E2 08 00 45 13 80 17 00 00 00 00 00 00 D8 [21:08:36]Write i2c OK [21:08:36]MH_I2C_Read... [21:08:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:08:36]Read from MH i2c: E2 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 FD 00 [21:08:36]MH_I2C_Read... [21:08:36]Read from MH i2c: E2 FD 00 45 13 00 00 00 EF 03 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 90 00 4D [21:08:37]RAPDU: 00 00 EF 03 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 90 00 [21:08:37]wFMCommunicate OK [21:08:37]wFMCommunicate request_size=4 [21:08:37]MH_SAM_APDU [21:08:37]CAPDU: 80 17 00 00 [21:08:37]Write to MH i2c: E2 08 00 46 13 80 17 00 00 00 00 00 00 D9 [21:08:37]Write i2c OK [21:08:37]MH_I2C_Read... [21:08:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [21:08:37]Read from MH i2c: E2 [21:08:37]MH_I2C_Read... [21:08:37]Read from MH i2c: E2 D8 00 [21:08:37]MH_I2C_Read... [21:08:37]Read from MH i2c: E2 D8 00 46 13 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 C0 [21:08:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:08:37]wFMCommunicate OK [21:08:37]SAM_PROTO_GetShiftData done [21:08:37]requested_item shift.sale.total_cash is exist - process it [21:08:37]requested_item shift.sale_refund.total is exist - process it [21:08:37]requested_item shift.sale_refund.total_cash is exist - process it [21:08:37]produce_requested_data done [21:08:37]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57085,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33596.47,"shift.sale.total_cash":26759.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [21:08:37]process_action_free close_receipt [21:08:37]json_value_free [21:08:37]json_value_free done [21:08:37]process_json_proto returns [21:08:37]Send response to host [21:08:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57085,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33596.47,"shift.sale.total_cash":26759.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [21:08:37]free response buf [21:08:37]execute_script done [21:08:37]execute_script returns [21:08:37]free content buf [21:08:37]Sock 9.Close socket [21:08:37]Sock 9.Thread stoped [21:08:38]OFD Sender: No OFD packet to send [21:08:43]OFD Sender: No OFD packet to send [21:08:48]OFD Sender: No OFD packet to send [21:08:53]OFD Sender: No OFD packet to send [21:08:58]OFD Sender: No OFD packet to send [21:09:03]OFD Sender: No OFD packet to send [21:09:08]OFD Sender: No OFD packet to send [21:09:13]OFD Sender: No OFD packet to send [21:09:18]OFD Sender: No OFD packet to send [21:09:23]OFD Sender: No OFD packet to send [21:09:28]OFD Sender: No OFD packet to send [21:09:33]OFD Sender: No OFD packet to send [21:09:38]OFD Sender: No OFD packet to send [21:09:43]OFD Sender: No OFD packet to send [21:09:48]OFD Sender: No OFD packet to send [21:09:53]OFD Sender: No OFD packet to send [21:09:58]OFD Sender: No OFD packet to send [21:10:03]OFD Sender: No OFD packet to send [21:10:08]OFD Sender: No OFD packet to send [21:10:13]OFD Sender: No OFD packet to send [21:10:18]OFD Sender: No OFD packet to send [21:10:23]OFD Sender: No OFD packet to send [21:10:28]OFD Sender: No OFD packet to send [21:10:33]OFD Sender: No OFD packet to send [21:10:38]OFD Sender: No OFD packet to send [21:10:43]OFD Sender: No OFD packet to send [21:10:48]OFD Sender: No OFD packet to send [21:10:53]OFD Sender: No OFD packet to send [21:10:58]OFD Sender: No OFD packet to send [21:11:03]OFD Sender: No OFD packet to send [21:11:08]OFD Sender: No OFD packet to send [21:11:13]OFD Sender: No OFD packet to send [21:11:18]OFD Sender: No OFD packet to send [21:11:23]OFD Sender: No OFD packet to send [21:11:28]OFD Sender: No OFD packet to send [21:11:33]OFD Sender: No OFD packet to send [21:11:38]OFD Sender: No OFD packet to send [21:11:43]OFD Sender: No OFD packet to send [21:11:48]OFD Sender: No OFD packet to send [21:11:53]OFD Sender: No OFD packet to send [21:11:58]OFD Sender: No OFD packet to send [21:12:03]OFD Sender: No OFD packet to send [21:12:08]OFD Sender: No OFD packet to send [21:12:13]OFD Sender: No OFD packet to send [21:12:18]OFD Sender: No OFD packet to send [21:12:23]OFD Sender: No OFD packet to send [21:12:28]OFD Sender: No OFD packet to send [21:12:33]OFD Sender: No OFD packet to send [21:12:38]OFD Sender: No OFD packet to send [21:12:43]OFD Sender: No OFD packet to send [21:12:48]OFD Sender: No OFD packet to send [21:12:53]OFD Sender: No OFD packet to send [21:12:58]OFD Sender: No OFD packet to send [21:13:03]OFD Sender: No OFD packet to send [21:13:08]OFD Sender: No OFD packet to send [21:13:13]OFD Sender: No OFD packet to send [21:13:18]OFD Sender: No OFD packet to send [21:13:23]OFD Sender: No OFD packet to send [21:13:28]OFD Sender: No OFD packet to send [21:13:33]OFD Sender: No OFD packet to send [21:13:38]OFD Sender: No OFD packet to send [21:13:43]OFD Sender: No OFD packet to send [21:13:48]OFD Sender: No OFD packet to send [21:13:53]OFD Sender: No OFD packet to send [21:13:58]OFD Sender: No OFD packet to send [21:14:03]OFD Sender: No OFD packet to send [21:14:08]OFD Sender: No OFD packet to send [21:14:13]OFD Sender: No OFD packet to send [21:14:18]OFD Sender: No OFD packet to send [21:14:23]OFD Sender: No OFD packet to send [21:14:28]OFD Sender: No OFD packet to send [21:14:33]OFD Sender: No OFD packet to send [21:14:38]OFD Sender: No OFD packet to send [21:14:43]OFD Sender: No OFD packet to send [21:14:48]OFD Sender: No OFD packet to send [21:14:53]OFD Sender: No OFD packet to send [21:14:58]OFD Sender: No OFD packet to send [21:15:03]OFD Sender: No OFD packet to send [21:15:08]OFD Sender: No OFD packet to send [21:15:13]OFD Sender: No OFD packet to send [21:15:18]OFD Sender: No OFD packet to send [21:15:23]OFD Sender: No OFD packet to send [21:15:28]OFD Sender: No OFD packet to send [21:15:34]OFD Sender: No OFD packet to send [21:15:39]OFD Sender: No OFD packet to send [21:15:44]OFD Sender: No OFD packet to send [21:15:49]OFD Sender: No OFD packet to send [21:15:54]OFD Sender: No OFD packet to send [21:15:59]OFD Sender: No OFD packet to send [21:16:04]OFD Sender: No OFD packet to send [21:16:09]OFD Sender: No OFD packet to send [21:16:14]OFD Sender: No OFD packet to send [21:16:19]OFD Sender: No OFD packet to send [21:16:24]OFD Sender: No OFD packet to send [21:16:29]OFD Sender: No OFD packet to send [21:16:34]OFD Sender: No OFD packet to send [21:16:39]OFD Sender: No OFD packet to send [21:16:44]OFD Sender: No OFD packet to send [21:16:49]OFD Sender: No OFD packet to send [21:16:54]OFD Sender: No OFD packet to send [21:16:59]OFD Sender: No OFD packet to send [21:17:04]OFD Sender: No OFD packet to send [21:17:09]OFD Sender: No OFD packet to send [21:17:14]OFD Sender: No OFD packet to send [21:17:19]OFD Sender: No OFD packet to send [21:17:24]OFD Sender: No OFD packet to send [21:17:29]OFD Sender: No OFD packet to send [21:17:34]OFD Sender: No OFD packet to send [21:17:39]OFD Sender: No OFD packet to send [21:17:44]OFD Sender: No OFD packet to send [21:17:49]OFD Sender: No OFD packet to send [21:17:54]OFD Sender: No OFD packet to send [21:17:59]OFD Sender: No OFD packet to send [21:18:04]OFD Sender: No OFD packet to send [21:18:09]OFD Sender: No OFD packet to send [21:18:14]OFD Sender: No OFD packet to send [21:18:19]OFD Sender: No OFD packet to send [21:18:24]OFD Sender: No OFD packet to send [21:18:29]OFD Sender: No OFD packet to send [21:18:34]OFD Sender: No OFD packet to send [21:18:39]OFD Sender: No OFD packet to send [21:18:44]OFD Sender: No OFD packet to send [21:18:49]OFD Sender: No OFD packet to send [21:18:54]OFD Sender: No OFD packet to send [21:18:59]OFD Sender: No OFD packet to send [21:19:04]OFD Sender: No OFD packet to send [21:19:09]OFD Sender: No OFD packet to send [21:19:14]OFD Sender: No OFD packet to send [21:19:19]OFD Sender: No OFD packet to send [21:19:24]OFD Sender: No OFD packet to send [21:19:29]OFD Sender: No OFD packet to send [21:19:34]OFD Sender: No OFD packet to send [21:19:39]OFD Sender: No OFD packet to send [21:19:44]OFD Sender: No OFD packet to send [21:19:49]OFD Sender: No OFD packet to send [21:19:54]OFD Sender: No OFD packet to send [21:19:59]OFD Sender: No OFD packet to send [21:20:04]OFD Sender: No OFD packet to send [21:20:09]OFD Sender: No OFD packet to send [21:20:14]OFD Sender: No OFD packet to send [21:20:19]OFD Sender: No OFD packet to send [21:20:24]OFD Sender: No OFD packet to send [21:20:29]OFD Sender: No OFD packet to send [21:20:34]OFD Sender: No OFD packet to send [21:20:39]OFD Sender: No OFD packet to send [21:20:44]OFD Sender: No OFD packet to send [21:20:49]OFD Sender: No OFD packet to send [21:20:54]OFD Sender: No OFD packet to send [21:20:59]OFD Sender: No OFD packet to send [21:21:04]OFD Sender: No OFD packet to send [21:21:09]OFD Sender: No OFD packet to send [21:21:14]OFD Sender: No OFD packet to send [21:21:19]OFD Sender: No OFD packet to send [21:21:24]OFD Sender: No OFD packet to send [21:21:29]OFD Sender: No OFD packet to send [21:21:34]OFD Sender: No OFD packet to send [21:21:39]OFD Sender: No OFD packet to send [21:21:44]OFD Sender: No OFD packet to send [21:21:49]OFD Sender: No OFD packet to send [21:21:54]OFD Sender: No OFD packet to send [21:21:59]OFD Sender: No OFD packet to send [21:22:04]OFD Sender: No OFD packet to send [21:22:09]OFD Sender: No OFD packet to send [21:22:14]OFD Sender: No OFD packet to send [21:22:19]OFD Sender: No OFD packet to send [21:22:24]OFD Sender: No OFD packet to send [21:22:29]OFD Sender: No OFD packet to send [21:22:34]OFD Sender: No OFD packet to send [21:22:39]OFD Sender: No OFD packet to send [21:22:44]OFD Sender: No OFD packet to send [21:22:49]OFD Sender: No OFD packet to send [21:22:54]OFD Sender: No OFD packet to send [21:22:59]OFD Sender: No OFD packet to send [21:23:04]OFD Sender: No OFD packet to send [21:23:09]OFD Sender: No OFD packet to send [21:23:12]accept exits with 7 [21:23:12]New connection [21:23:12]New thread 3067592036 created [21:23:12]Thread 3067448676 joined [21:23:12]Waiting for new connection... [21:23:12] Sock 7.Parse request [21:23:12]Sock 7.Check first char [21:23:12]Sock 7.First char is OK [21:23:12]request: POST /json_proto HTTP/1.0 [21:23:12]Method: POST [21:23:12]URL: /json_proto [21:23:12]Method is POST - this is cgi request [21:23:12]url: /json_proto [21:23:12]query_string will be loaded in cgi processing [21:23:12]execute_cgi json_proto POST (null) [21:23:12]execute_cgi path=json_proto method=POST [21:23:12]POST find Content-Length [21:23:12]Host: 172.17.39.4:8080 [21:23:12]Content-Length: 979 [21:23:12]Content-Type: application/json [21:23:12] [21:23:12]POST finish read [21:23:12]Found Content-Length = 979 [21:23:12]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129545", "tax_sys" : 0, "items" : [ { "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": "4700000160198", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:23:12]execute_script... [21:23:12]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129545", "tax_sys" : 0, "items" : [ { "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": "4700000160198", "name": "\u0412\u043E\u0434\u0430 \u0411\u0430\u0439\u0442\u0438\u043A 0,5\u043B", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 80.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:23:12]POST & json_proto [21:23:12]process_json_proto [21:23:12]json parsed OK: [21:23:12]protocol is kg_v1.0 [21:23:12]action value=close_receipt [21:23:12]process_action close_receipt [21:23:12]cmd_close_receipt [21:23:12]MH_GetDate [21:23:12]Write to MH i2c: F0 00 00 47 13 49 [21:23:12]Write i2c OK [21:23:12]MH_I2C_Read... [21:23:12]Read from MH i2c: F0 [21:23:12]MH_I2C_Read... [21:23:12]Read from MH i2c: F0 09 00 [21:23:12]MH_I2C_Read... [21:23:12]Read from MH i2c: F0 09 00 47 13 00 C3 41 94 66 2D 25 5D 64 63 [21:23:12]GetLastDocTimeStamp 1720991312 [21:23:12]current date 1720992195 [21:23:12]FM_GetShiftState [21:23:12]SAM_PROTO_GetShiftState [21:23:12]wFMCommunicate request_size=4 [21:23:12]MH_SAM_APDU [21:23:12]CAPDU: 80 13 01 00 [21:23:12]Write to MH i2c: E2 08 00 48 13 80 13 01 00 00 00 00 00 D8 [21:23:12]Write i2c OK [21:23:12]MH_I2C_Read... [21:23:12]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:12]Read from MH i2c: E2 [21:23:12]MH_I2C_Read... [21:23:12]Read from MH i2c: E2 0E 00 [21:23:12]MH_I2C_Read... [21:23:12]Read from MH i2c: E2 0E 00 48 13 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 7F [21:23:12]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:23:12]wFMCommunicate OK [21:23:12]SAM_PROTO_GetShiftState done [21:23:12]FM_GetShiftState done [21:23:12]opened in 1720917126 [21:23:12]opened+sec_in_day 1721003526 [21:23:12]quantity*price = 4000 [21:23:12]sum+1 = 4001 [21:23:12]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4700000160198 Вода Байтик 0,5л 1.000 * 40.00 = 40.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 80.00 НСП 1% : 0.70 НДС 12% : 8.50 Наличными: 80.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 103 14.07.2024 21:23 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57086 ФПД: 274037104704271 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T212315&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57086&fm=274037104704271&tin=02508201610067®Number=0000000000091208&sum=8000 0 [21:23:13]StoreToDocumentArchive [21:23:13]shift 496 fd 57086 [21:23:13]save to /storage/0496/doc_00057086 [21:23:13]save last doc name /storage/0496/doc_00057086 to /storage/kkm_last_doc_name [21:23:13]save OK [21:23:13]Clear old archive folders... [21:23:13]ProcessDocumentItem done err = 0, tmpTLVsize=370 [21:23:13]tlvbuf is 00FEE4F0 [21:23:13]SAM_PROTO_ClearQueue [21:23:13]wFMCommunicate request_size=4 [21:23:13]MH_SAM_APDU [21:23:13]CAPDU: 80 09 00 00 [21:23:13]Write to MH i2c: E2 08 00 55 13 80 09 00 00 00 00 00 00 DA [21:23:13]Write i2c OK [21:23:13]MH_I2C_Read... [21:23:13]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:23:13]Read from MH i2c: E2 [21:23:13]MH_I2C_Read... [21:23:13]Read from MH i2c: E2 03 00 [21:23:13]MH_I2C_Read... [21:23:13]Read from MH i2c: E2 03 00 55 13 00 90 00 DC [21:23:13]RAPDU: 90 00 [21:23:13]wFMCommunicate OK [21:23:13]SAM_PROTO_ClearQueue done [21:23:13]KKMCreateOFDPacket [21:23:13]OFDProtocolAddRootSTLVToBuf [21:23:13]FM_MakeSignedData [21:23:13]FM_MakeSignedData [21:23:13]SAM_PROTO_SignData [21:23:13]wFMCommunicate request_size=4 [21:23:13]MH_SAM_APDU [21:23:13]CAPDU: 80 0D 01 02 [21:23:13]Write to MH i2c: E2 08 00 56 13 80 0D 01 02 00 00 00 00 E2 [21:23:13]Write i2c OK [21:23:13]MH_I2C_Read... [21:23:13]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:23:13]Read from MH i2c: E2 [21:23:13]MH_I2C_Read... [21:23:13]Read from MH i2c: E2 03 00 [21:23:13]MH_I2C_Read... [21:23:13]Read from MH i2c: E2 03 00 56 13 00 90 00 DD [21:23:13]RAPDU: 90 00 [21:23:13]wFMCommunicate OK [21:23:13]wFMCommunicate request_size=255 [21:23:13]MH_SAM_APDU [21:23:13]CAPDU: 80 0D 02 02 FA 03 00 72 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 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 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 [21:23:13]Write to MH i2c: E2 02 01 57 13 80 0D 02 02 FA 00 03 00 72 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 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 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 00 00 95 [21:23:13]Write i2c OK [21:23:13]MH_I2C_Read... [21:23:13]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:13]Read from MH i2c: E2 [21:23:13]MH_I2C_Read... [21:23:13]Read from MH i2c: E2 03 00 [21:23:13]MH_I2C_Read... [21:23:13]Read from MH i2c: E2 03 00 57 13 00 90 00 DE [21:23:13]RAPDU: 90 00 [21:23:13]wFMCommunicate OK [21:23:13]wFMCommunicate request_size=129 [21:23:13]MH_SAM_APDU [21:23:13]CAPDU: 80 0D 02 02 7C 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 67 00 00 00 F4 03 04 00 C3 41 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FE DE 00 00 35 04 06 00 F9 3C 3C 47 FB 0F [21:23:13]Write to MH i2c: E2 84 00 58 13 80 0D 02 02 7C 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 67 00 00 00 F4 03 04 00 C3 41 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FE DE 00 00 35 04 06 00 F9 3C 3C 47 FB 0F 00 00 BE [21:23:13]Write i2c OK [21:23:13]MH_I2C_Read... [21:23:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:23:14]Read from MH i2c: E2 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: E2 03 00 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: E2 03 00 58 13 00 90 00 DF [21:23:14]RAPDU: 90 00 [21:23:14]wFMCommunicate OK [21:23:14]wFMCommunicate request_size=4 [21:23:14]MH_SAM_APDU [21:23:14]CAPDU: 80 0D 03 02 [21:23:14]Write to MH i2c: E2 08 00 59 13 80 0D 03 02 00 00 00 00 E7 [21:23:14]Write i2c OK [21:23:14]MH_I2C_Read... [21:23:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:23:14]Read from MH i2c: E2 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: E2 0B 00 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: E2 0B 00 59 13 00 58 D0 9C DA D9 1F 1E 90 90 00 2C [21:23:14]RAPDU: 58 D0 9C DA D9 1F 1E 90 90 00 [21:23:14]wFMCommunicate OK [21:23:14]SAM_PROTO_SignData done [21:23:14]FM_MakeSignedData done [21:23:14]CreateOFDProtocolMessage [21:23:14]wFMCommunicate request_size=4 [21:23:14]MH_SAM_APDU [21:23:14]CAPDU: 80 11 00 00 [21:23:14]Write to MH i2c: E2 08 00 5A 13 80 11 00 00 00 00 00 00 E7 [21:23:14]Write i2c OK [21:23:14]MH_I2C_Read... [21:23:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:14]Read from MH i2c: E2 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: E2 17 00 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: E2 17 00 5A 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 41 [21:23:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:23:14]wFMCommunicate OK [21:23:14]CreateOFDProtocolMessage done [21:23:14]OFDSenderStorePacket 57086 [21:23:14]StoreOFDPacket docnum=57086 [21:23:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 86 01 00 00 5E F4 7E 01 C0 F6 5A 03 01 00 03 00 72 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 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 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 C3 41 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FE DE 00 00 35 04 06 00 F9 3C 3C 47 FB 0F 58 D0 9C DA D9 1F 1E 90 [21:23:14]CheckFolder [21:23:14]dirname=/storage/ofd_packets [21:23:14]CheckFolder done [21:23:14]ProducePacketName [21:23:14]name=ofd_packets/00057086 [21:23:14]NVStorageSaveData ofd_packets/00057086 [21:23:14]File name is /storage/ofd_packets/00057086 [21:23:14]Write 420 bytes [21:23:14]NVStorageSaveData done [21:23:14]OFDSenderStorePacket done [21:23:14]KKMCreateOFDPacket done [21:23:14]NVStorageSaveData kkm_last_timestamp [21:23:14]File name is /storage/kkm_last_timestamp [21:23:14]Write 4 bytes [21:23:14]NVStorageSaveData done [21:23:14]ExternCall_PrintAddStr [21:23:14]wPrintStart [21:23:14]Write to MH i2c: 01 00 00 5B 13 6E [21:23:14]Write i2c OK [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: 01 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: 01 07 00 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: 01 07 00 5B 13 00 00 00 00 00 FF 0F 83 [21:23:14]RasterBufferAndPrint [21:23:14]line Счет N : (3)129545 [21:23:14]line ИНН: 02508201610067 [21:23:14]line Контрольно-Кассовый Чек [21:23:14]line ПРОДАЖА [21:23:14]line Товар: 4700000160211 [21:23:14]line Вода Легенда 0,5л [21:23:14]line 1.000 * 40.00 [21:23:14]line = 40.00 [21:23:14]line НДС 12% НСП 1% [21:23:14]line > о реализуемом товаре [21:23:14]line Товар: 4700000160198 [21:23:14]line Вода Байтик 0,5л [21:23:14]line 1.000 * 40.00 [21:23:14]line = 40.00 [21:23:14]line НДС 12% НСП 1% [21:23:14]line > о реализуемом товаре [21:23:14]line ИТОГО: 80.00 [21:23:14]line НСП 1% : 0.70 [21:23:14]line НДС 12% : 8.50 [21:23:14]line Наличными: 80.00 [21:23:14]line Безнал.: 0.00 [21:23:14]line Место: АЗС № 132 "Партнер Нефть" [21:23:14]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:23:14]line СНО: Общий режим [21:23:14]line Чек 103 14.07.2024 21:23 [21:23:14]line Смена: 496 ФФД: 1.0 [21:23:14]line ЗНМ: 0300000132 [21:23:14]line РНМ: 0000000000091208 [21:23:14]line Версия ККМ: 001 [21:23:14]line ФМ: 0000000000874857 [21:23:14]line ФД: 57086 [21:23:14]line ФПД: 274037104704271 [21:23:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T212315&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57086&fm=274037104704271&tin=02508201610067®Number=0000000000091208&sum=8000 [21:23:14]line 0 [21:23:14]OFD Sender: Processing packet 57086 [packets to send 38, broken 37] [21:23:14]ProducePacketName [21:23:14]name=ofd_packets/00057086 [21:23:14]OFD Sender: To server: pG, [21:23:14]CommunicateWithHost lk.salyk.kg:30040 [21:23:14]ConnectInit lk.salyk.kg [21:23:14]written 0, free lines is 4095 [21:23:14]Connected sock=10 [21:23:14]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 86 01 00 00 5E F4 7E 01 C0 F6 5A 03 01 00 03 00 72 01 1E 04 01 00 01 23 04 61 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 32 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 5F 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 31 39 38 06 04 1B 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 91 D0 B0 D0 B9 D1 82 D0 B8 D0 BA 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 40 1F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 46 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 52 03 00 00 00 00 07 04 06 00 40 1F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 67 00 00 00 F4 03 04 00 C3 41 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FE DE 00 00 35 04 06 00 F9 3C 3C 47 FB 0F 58 D0 9C DA D9 1F 1E 90 [21:23:14]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 17 25 47 00 02 8B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FE DE 00 00 F4 03 04 00 13 E8 93 66 B6 04 01 00 00 5F 31 B4 31 9A 5B 29 A3 [21:23:14]CommunicateWithHost err = 0 [21:23:14]CheckOFDResponse [21:23:14]1017 (14) - 77093643461234 [21:23:14]1041 (16) - 0000000000874857 [21:23:14]1040 (4) - 57086 [21:23:14]1012 (4) - 14.07.2024 15:00 [21:23:14]1206 (1) - 0 [21:23:14]OFD Sender: Remove packet 57086 [21:23:14]ProducePacketName [21:23:14]name=ofd_packets/00057086 [21:23:14]NVStorageDeleteData [21:23:14]Write to MH i2c: 01 00 00 89 13 9C [21:23:14]Write i2c OK [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: 01 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: 01 07 00 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: 01 07 00 89 13 00 00 00 00 00 A5 0C 54 [21:23:14]RasterBufferAndPrint [21:23:14]line [21:23:14]line [21:23:14]line [21:23:14]line [21:23:14]line [21:23:14]written 0, free lines is 3244 [21:23:14]MH_Cut [21:23:14]Write to MH i2c: D1 01 00 90 13 01 75 [21:23:14]Write i2c OK [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: D1 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: D1 01 00 [21:23:14]MH_I2C_Read... [21:23:14]Read from MH i2c: D1 01 00 90 13 00 74 [21:23:14]Write to MH i2c: 01 00 00 91 13 A4 [21:23:14]Write i2c OK [21:23:14]MH_I2C_Read... [21:23:15]OFD Sender: No OFD packet to send [21:23:15]*** Cut start [21:23:15]*** Partial cut [21:23:15]*** CUTSNS_PIN = 1 [21:23:15]*** CUTSNS_PIN = 0 [21:23:16]*** Brake cut motor [21:23:16]Read from MH i2c: 01 [21:23:16]MH_I2C_Read... [21:23:16]*** Stop cut motor [21:23:16]*** Cut end [21:23:16]Read from MH i2c: 01 07 00 [21:23:16]MH_I2C_Read... [21:23:16]Read from MH i2c: 01 07 00 91 13 00 00 00 00 00 FF 0F B9 [21:23:16]process_action close_receipt done [21:23:16]requested_data is exist [21:23:16]produce_requested_data [21:23:16]requested_item fm.sn is exist - process it [21:23:16]wFMCommunicate request_size=4 [21:23:16]MH_SAM_APDU [21:23:16]CAPDU: 80 11 00 00 [21:23:16]Write to MH i2c: E2 08 00 92 13 80 11 00 00 00 00 00 00 1F [21:23:16]Write i2c OK [21:23:16]MH_I2C_Read... [21:23:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:23:16]Read from MH i2c: E2 [21:23:16]MH_I2C_Read... [21:23:16]Read from MH i2c: E2 17 00 [21:23:16]MH_I2C_Read... [21:23:16]Read from MH i2c: E2 17 00 92 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 79 [21:23:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:23:16]wFMCommunicate OK [21:23:16]requested_item fd.num is exist - process it [21:23:16]SAM_PROTO_GetFieldsCounters [21:23:16]wFMCommunicate request_size=4 [21:23:16]MH_SAM_APDU [21:23:16]CAPDU: 80 13 00 00 [21:23:16]Write to MH i2c: E2 08 00 93 13 80 13 00 00 00 00 00 00 22 [21:23:16]Write i2c OK [21:23:16]MH_I2C_Read... [21:23:16]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:23:16]Read from MH i2c: E2 [21:23:16]MH_I2C_Read... [21:23:16]Read from MH i2c: E2 62 00 [21:23:16]MH_I2C_Read... [21:23:16]Read from MH i2c: E2 62 00 93 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FE DE 00 00 0E 04 04 00 F0 01 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 47 [21:23:16]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FE DE 00 00 0E 04 04 00 F0 01 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 [21:23:16]wFMCommunicate OK [21:23:16]SAM_PROTO_GetFieldsCounters done [21:23:16]requested_item shift.num is exist - process it [21:23:16]requested_item shift.opened is exist - process it [21:23:16]req_shift_opened [21:23:16]FM_GetShiftState [21:23:16]SAM_PROTO_GetShiftState [21:23:16]wFMCommunicate request_size=4 [21:23:16]MH_SAM_APDU [21:23:16]CAPDU: 80 13 01 00 [21:23:16]Write to MH i2c: E2 08 00 94 13 80 13 01 00 00 00 00 00 24 [21:23:16]Write i2c OK [21:23:16]MH_I2C_Read... [21:23:16]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:23:16]Read from MH i2c: E2 [21:23:16]MH_I2C_Read... [21:23:16]Read from MH i2c: E2 0E 00 [21:23:16]MH_I2C_Read... [21:23:16]Read from MH i2c: E2 0E 00 94 13 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 CB [21:23:16]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:23:16]wFMCommunicate OK [21:23:16]SAM_PROTO_GetShiftState done [21:23:16]FM_GetShiftState done [21:23:16]req_shift_opened done [21:23:16]requested_item shift.open_date is exist - process it [21:23:16]req_shift_open_date [21:23:16]req_shift_open_date done [21:23:16]requested_item shift.sale.total is exist - process it [21:23:16]SAM_PROTO_GetShiftData [21:23:16]wFMCommunicate request_size=4 [21:23:16]MH_SAM_APDU [21:23:16]CAPDU: 80 13 02 00 [21:23:16]Write to MH i2c: E2 08 00 95 13 80 13 02 00 00 00 00 00 26 [21:23:16]Write i2c OK [21:23:16]MH_I2C_Read... [21:23:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:23:17]Read from MH i2c: E2 [21:23:17]MH_I2C_Read... [21:23:17]Read from MH i2c: E2 FD 00 [21:23:17]MH_I2C_Read... [21:23:17]Read from MH i2c: E2 FD 00 95 13 00 BB 04 AA 04 B7 04 6E 04 04 00 67 00 00 00 69 04 9B 00 6F 04 04 00 65 00 00 00 B1 04 03 00 DF 62 33 70 04 03 00 FC F3 28 72 04 03 00 E3 6E 0A 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 10 75 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 60 74 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 AF [21:23:17]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 67 00 00 00 69 04 9B 00 6F 04 04 00 65 00 00 00 B1 04 03 00 DF 62 33 70 04 03 00 FC F3 28 72 04 03 00 E3 6E 0A 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 10 75 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 60 74 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [21:23:17]wFMCommunicate OK [21:23:17]wFMCommunicate request_size=4 [21:23:17]MH_SAM_APDU [21:23:17]CAPDU: 80 17 00 00 [21:23:17]Write to MH i2c: E2 08 00 96 13 80 17 00 00 00 00 00 00 29 [21:23:17]Write i2c OK [21:23:17]MH_I2C_Read... [21:23:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:23:17]Read from MH i2c: E2 [21:23:17]MH_I2C_Read... [21:23:17]Read from MH i2c: E2 FD 00 [21:23:17]MH_I2C_Read... [21:23:17]Read from MH i2c: E2 FD 00 96 13 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BC [21:23:17]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:23:17]wFMCommunicate OK [21:23:17]wFMCommunicate request_size=4 [21:23:17]MH_SAM_APDU [21:23:17]CAPDU: 80 17 00 00 [21:23:17]Write to MH i2c: E2 08 00 97 13 80 17 00 00 00 00 00 00 2A [21:23:17]Write i2c OK [21:23:17]MH_I2C_Read... [21:23:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:23:17]Read from MH i2c: E2 [21:23:17]MH_I2C_Read... [21:23:17]Read from MH i2c: E2 FD 00 [21:23:17]MH_I2C_Read... [21:23:17]Read from MH i2c: E2 FD 00 97 13 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 56 [21:23:17]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:23:17]wFMCommunicate OK [21:23:17]wFMCommunicate request_size=4 [21:23:17]MH_SAM_APDU [21:23:17]CAPDU: 80 17 00 00 [21:23:17]Write to MH i2c: E2 08 00 98 13 80 17 00 00 00 00 00 00 2B [21:23:17]Write i2c OK [21:23:17]MH_I2C_Read... [21:23:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:23:17]Read from MH i2c: E2 [21:23:17]MH_I2C_Read... [21:23:17]Read from MH i2c: E2 FD 00 [21:23:17]MH_I2C_Read... [21:23:17]Read from MH i2c: E2 FD 00 98 13 00 00 00 EF 03 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 90 00 A0 [21:23:17]RAPDU: 00 00 EF 03 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 90 00 [21:23:18]wFMCommunicate OK [21:23:18]wFMCommunicate request_size=4 [21:23:18]MH_SAM_APDU [21:23:18]CAPDU: 80 17 00 00 [21:23:18]Write to MH i2c: E2 08 00 99 13 80 17 00 00 00 00 00 00 2C [21:23:18]Write i2c OK [21:23:18]MH_I2C_Read... [21:23:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [21:23:18]Read from MH i2c: E2 [21:23:18]MH_I2C_Read... [21:23:18]Read from MH i2c: E2 D8 00 [21:23:18]MH_I2C_Read... [21:23:18]Read from MH i2c: E2 D8 00 99 13 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 13 [21:23:18]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:23:18]wFMCommunicate OK [21:23:18]SAM_PROTO_GetShiftData done [21:23:18]requested_item shift.sale.total_cash is exist - process it [21:23:18]requested_item shift.sale_refund.total is exist - process it [21:23:18]requested_item shift.sale_refund.total_cash is exist - process it [21:23:18]produce_requested_data done [21:23:18]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57086,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33676.47,"shift.sale.total_cash":26839.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [21:23:18]process_action_free close_receipt [21:23:18]json_value_free [21:23:18]json_value_free done [21:23:18]process_json_proto returns [21:23:18]Send response to host [21:23:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57086,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33676.47,"shift.sale.total_cash":26839.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [21:23:18]free response buf [21:23:18]execute_script done [21:23:18]execute_script returns [21:23:18]free content buf [21:23:18]Sock 7.Close socket [21:23:18]Sock 7.Thread stoped [21:23:20]OFD Sender: No OFD packet to send [21:23:25]OFD Sender: No OFD packet to send [21:23:30]OFD Sender: No OFD packet to send [21:23:35]OFD Sender: No OFD packet to send [21:23:40]OFD Sender: No OFD packet to send [21:23:45]OFD Sender: No OFD packet to send [21:23:50]OFD Sender: No OFD packet to send [21:23:55]OFD Sender: No OFD packet to send [21:24:00]OFD Sender: No OFD packet to send [21:24:05]OFD Sender: No OFD packet to send [21:24:10]OFD Sender: No OFD packet to send [21:24:15]OFD Sender: No OFD packet to send [21:24:20]OFD Sender: No OFD packet to send [21:24:25]OFD Sender: No OFD packet to send [21:24:30]OFD Sender: No OFD packet to send [21:24:35]OFD Sender: No OFD packet to send [21:24:40]OFD Sender: No OFD packet to send [21:24:45]OFD Sender: No OFD packet to send [21:24:50]OFD Sender: No OFD packet to send [21:24:55]OFD Sender: No OFD packet to send [21:25:00]OFD Sender: No OFD packet to send [21:25:05]OFD Sender: No OFD packet to send [21:25:10]OFD Sender: No OFD packet to send [21:25:15]OFD Sender: No OFD packet to send [21:25:20]OFD Sender: No OFD packet to send [21:25:25]OFD Sender: No OFD packet to send [21:25:30]OFD Sender: No OFD packet to send [21:25:35]OFD Sender: No OFD packet to send [21:25:40]OFD Sender: No OFD packet to send [21:25:45]OFD Sender: No OFD packet to send [21:25:50]OFD Sender: No OFD packet to send [21:25:55]OFD Sender: No OFD packet to send [21:26:00]OFD Sender: No OFD packet to send [21:26:05]OFD Sender: No OFD packet to send [21:26:10]OFD Sender: No OFD packet to send [21:26:15]OFD Sender: No OFD packet to send [21:26:20]OFD Sender: No OFD packet to send [21:26:25]OFD Sender: No OFD packet to send [21:26:30]OFD Sender: No OFD packet to send [21:26:35]OFD Sender: No OFD packet to send [21:26:40]OFD Sender: No OFD packet to send [21:26:45]OFD Sender: No OFD packet to send [21:26:50]OFD Sender: No OFD packet to send [21:26:55]OFD Sender: No OFD packet to send [21:27:00]OFD Sender: No OFD packet to send [21:27:05]OFD Sender: No OFD packet to send [21:27:10]OFD Sender: No OFD packet to send [21:27:15]OFD Sender: No OFD packet to send [21:27:20]OFD Sender: No OFD packet to send [21:27:25]OFD Sender: No OFD packet to send [21:27:30]OFD Sender: No OFD packet to send [21:27:35]OFD Sender: No OFD packet to send [21:27:40]OFD Sender: No OFD packet to send [21:27:45]OFD Sender: No OFD packet to send [21:27:50]OFD Sender: No OFD packet to send [21:27:55]OFD Sender: No OFD packet to send [21:28:00]OFD Sender: No OFD packet to send [21:28:05]OFD Sender: No OFD packet to send [21:28:10]OFD Sender: No OFD packet to send [21:28:15]OFD Sender: No OFD packet to send [21:28:20]OFD Sender: No OFD packet to send [21:28:25]OFD Sender: No OFD packet to send [21:28:30]OFD Sender: No OFD packet to send [21:28:35]OFD Sender: No OFD packet to send [21:28:40]OFD Sender: No OFD packet to send [21:28:45]OFD Sender: No OFD packet to send [21:28:50]OFD Sender: No OFD packet to send [21:28:55]OFD Sender: No OFD packet to send [21:29:00]OFD Sender: No OFD packet to send [21:29:05]OFD Sender: No OFD packet to send [21:29:10]OFD Sender: No OFD packet to send [21:29:15]OFD Sender: No OFD packet to send [21:29:20]OFD Sender: No OFD packet to send [21:29:25]OFD Sender: No OFD packet to send [21:29:30]OFD Sender: No OFD packet to send [21:29:35]OFD Sender: No OFD packet to send [21:29:40]OFD Sender: No OFD packet to send [21:29:45]OFD Sender: No OFD packet to send [21:29:50]OFD Sender: No OFD packet to send [21:29:55]OFD Sender: No OFD packet to send [21:30:00]OFD Sender: No OFD packet to send [21:30:05]OFD Sender: No OFD packet to send [21:30:10]OFD Sender: No OFD packet to send [21:30:15]OFD Sender: No OFD packet to send [21:30:20]OFD Sender: No OFD packet to send [21:30:25]OFD Sender: No OFD packet to send [21:30:30]OFD Sender: No OFD packet to send [21:30:35]OFD Sender: No OFD packet to send [21:30:40]OFD Sender: No OFD packet to send [21:30:45]OFD Sender: No OFD packet to send [21:30:50]OFD Sender: No OFD packet to send [21:30:55]OFD Sender: No OFD packet to send [21:31:00]OFD Sender: No OFD packet to send [21:31:05]OFD Sender: No OFD packet to send [21:31:10]OFD Sender: No OFD packet to send [21:31:15]OFD Sender: No OFD packet to send [21:31:20]OFD Sender: No OFD packet to send [21:31:25]OFD Sender: No OFD packet to send [21:31:30]OFD Sender: No OFD packet to send [21:31:35]OFD Sender: No OFD packet to send [21:31:40]OFD Sender: No OFD packet to send [21:31:45]OFD Sender: No OFD packet to send [21:31:50]OFD Sender: No OFD packet to send [21:31:55]OFD Sender: No OFD packet to send [21:32:00]OFD Sender: No OFD packet to send [21:32:05]OFD Sender: No OFD packet to send [21:32:10]OFD Sender: No OFD packet to send [21:32:15]OFD Sender: No OFD packet to send [21:32:20]OFD Sender: No OFD packet to send [21:32:25]OFD Sender: No OFD packet to send [21:32:30]OFD Sender: No OFD packet to send [21:32:35]OFD Sender: No OFD packet to send [21:32:40]OFD Sender: No OFD packet to send [21:32:45]OFD Sender: No OFD packet to send [21:32:50]OFD Sender: No OFD packet to send [21:32:55]OFD Sender: No OFD packet to send [21:33:00]OFD Sender: No OFD packet to send [21:33:05]OFD Sender: No OFD packet to send [21:33:10]OFD Sender: No OFD packet to send [21:33:15]OFD Sender: No OFD packet to send [21:33:20]OFD Sender: No OFD packet to send [21:33:25]OFD Sender: No OFD packet to send [21:33:30]OFD Sender: No OFD packet to send [21:33:35]OFD Sender: No OFD packet to send [21:33:40]OFD Sender: No OFD packet to send [21:33:45]OFD Sender: No OFD packet to send [21:33:50]OFD Sender: No OFD packet to send [21:33:55]OFD Sender: No OFD packet to send [21:34:00]OFD Sender: No OFD packet to send [21:34:05]OFD Sender: No OFD packet to send [21:34:10]OFD Sender: No OFD packet to send [21:34:15]OFD Sender: No OFD packet to send [21:34:20]OFD Sender: No OFD packet to send [21:34:25]OFD Sender: No OFD packet to send [21:34:30]OFD Sender: No OFD packet to send [21:34:35]OFD Sender: No OFD packet to send [21:34:40]OFD Sender: No OFD packet to send [21:34:45]OFD Sender: No OFD packet to send [21:34:50]OFD Sender: No OFD packet to send [21:34:55]OFD Sender: No OFD packet to send [21:35:00]OFD Sender: No OFD packet to send [21:35:05]OFD Sender: No OFD packet to send [21:35:10]OFD Sender: No OFD packet to send [21:35:15]OFD Sender: No OFD packet to send [21:35:20]OFD Sender: No OFD packet to send [21:35:25]OFD Sender: No OFD packet to send [21:35:30]OFD Sender: No OFD packet to send [21:35:35]OFD Sender: No OFD packet to send [21:35:40]OFD Sender: No OFD packet to send [21:35:45]OFD Sender: No OFD packet to send [21:35:50]OFD Sender: No OFD packet to send [21:35:55]OFD Sender: No OFD packet to send [21:36:00]OFD Sender: No OFD packet to send [21:36:05]OFD Sender: No OFD packet to send [21:36:11]OFD Sender: No OFD packet to send [21:36:16]OFD Sender: No OFD packet to send [21:36:21]OFD Sender: No OFD packet to send [21:36:26]OFD Sender: No OFD packet to send [21:36:31]OFD Sender: No OFD packet to send [21:36:36]OFD Sender: No OFD packet to send [21:36:41]OFD Sender: No OFD packet to send [21:36:46]OFD Sender: No OFD packet to send [21:36:51]OFD Sender: No OFD packet to send [21:36:56]OFD Sender: No OFD packet to send [21:37:01]OFD Sender: No OFD packet to send [21:37:06]OFD Sender: No OFD packet to send [21:37:11]OFD Sender: No OFD packet to send [21:37:16]OFD Sender: No OFD packet to send [21:37:21]OFD Sender: No OFD packet to send [21:37:26]OFD Sender: No OFD packet to send [21:37:31]OFD Sender: No OFD packet to send [21:37:36]OFD Sender: No OFD packet to send [21:37:41]OFD Sender: No OFD packet to send [21:37:46]OFD Sender: No OFD packet to send [21:37:51]OFD Sender: No OFD packet to send [21:37:56]OFD Sender: No OFD packet to send [21:38:01]OFD Sender: No OFD packet to send [21:38:06]OFD Sender: No OFD packet to send [21:38:11]OFD Sender: No OFD packet to send [21:38:16]OFD Sender: No OFD packet to send [21:38:21]OFD Sender: No OFD packet to send [21:38:26]OFD Sender: No OFD packet to send [21:38:31]OFD Sender: No OFD packet to send [21:38:36]OFD Sender: No OFD packet to send [21:38:41]OFD Sender: No OFD packet to send [21:38:46]OFD Sender: No OFD packet to send [21:38:51]OFD Sender: No OFD packet to send [21:38:56]OFD Sender: No OFD packet to send [21:39:01]OFD Sender: No OFD packet to send [21:39:06]OFD Sender: No OFD packet to send [21:39:11]OFD Sender: No OFD packet to send [21:39:16]OFD Sender: No OFD packet to send [21:39:21]OFD Sender: No OFD packet to send [21:39:26]OFD Sender: No OFD packet to send [21:39:31]OFD Sender: No OFD packet to send [21:39:36]OFD Sender: No OFD packet to send [21:39:41]OFD Sender: No OFD packet to send [21:39:46]OFD Sender: No OFD packet to send [21:39:51]OFD Sender: No OFD packet to send [21:39:56]OFD Sender: No OFD packet to send [21:40:01]OFD Sender: No OFD packet to send [21:40:06]OFD Sender: No OFD packet to send [21:40:11]OFD Sender: No OFD packet to send [21:40:16]OFD Sender: No OFD packet to send [21:40:21]OFD Sender: No OFD packet to send [21:40:26]OFD Sender: No OFD packet to send [21:40:31]OFD Sender: No OFD packet to send [21:40:36]OFD Sender: No OFD packet to send [21:40:41]OFD Sender: No OFD packet to send [21:40:46]OFD Sender: No OFD packet to send [21:40:51]OFD Sender: No OFD packet to send [21:40:56]OFD Sender: No OFD packet to send [21:41:01]OFD Sender: No OFD packet to send [21:41:06]OFD Sender: No OFD packet to send [21:41:11]OFD Sender: No OFD packet to send [21:41:16]OFD Sender: No OFD packet to send [21:41:21]OFD Sender: No OFD packet to send [21:41:26]OFD Sender: No OFD packet to send [21:41:31]OFD Sender: No OFD packet to send [21:41:36]OFD Sender: No OFD packet to send [21:41:41]OFD Sender: No OFD packet to send [21:41:46]OFD Sender: No OFD packet to send [21:41:51]OFD Sender: No OFD packet to send [21:41:56]OFD Sender: No OFD packet to send [21:42:01]OFD Sender: No OFD packet to send [21:42:06]OFD Sender: No OFD packet to send [21:42:11]OFD Sender: No OFD packet to send [21:42:16]OFD Sender: No OFD packet to send [21:42:21]OFD Sender: No OFD packet to send [21:42:26]OFD Sender: No OFD packet to send [21:42:31]OFD Sender: No OFD packet to send [21:42:36]OFD Sender: No OFD packet to send [21:42:41]OFD Sender: No OFD packet to send [21:42:46]OFD Sender: No OFD packet to send [21:42:51]OFD Sender: No OFD packet to send [21:42:56]OFD Sender: No OFD packet to send [21:43:01]OFD Sender: No OFD packet to send [21:43:06]OFD Sender: No OFD packet to send [21:43:11]OFD Sender: No OFD packet to send [21:43:16]OFD Sender: No OFD packet to send [21:43:21]OFD Sender: No OFD packet to send [21:43:26]OFD Sender: No OFD packet to send [21:43:31]OFD Sender: No OFD packet to send [21:43:36]OFD Sender: No OFD packet to send [21:43:41]OFD Sender: No OFD packet to send [21:43:46]OFD Sender: No OFD packet to send [21:43:51]OFD Sender: No OFD packet to send [21:43:56]OFD Sender: No OFD packet to send [21:44:01]OFD Sender: No OFD packet to send [21:44:06]OFD Sender: No OFD packet to send [21:44:11]OFD Sender: No OFD packet to send [21:44:16]OFD Sender: No OFD packet to send [21:44:21]OFD Sender: No OFD packet to send [21:44:26]OFD Sender: No OFD packet to send [21:44:31]OFD Sender: No OFD packet to send [21:44:36]OFD Sender: No OFD packet to send [21:44:41]OFD Sender: No OFD packet to send [21:44:46]OFD Sender: No OFD packet to send [21:44:51]OFD Sender: No OFD packet to send [21:44:56]OFD Sender: No OFD packet to send [21:45:01]OFD Sender: No OFD packet to send [21:45:06]OFD Sender: No OFD packet to send [21:45:11]OFD Sender: No OFD packet to send [21:45:16]OFD Sender: No OFD packet to send [21:45:21]OFD Sender: No OFD packet to send [21:45:26]OFD Sender: No OFD packet to send [21:45:31]OFD Sender: No OFD packet to send [21:45:36]OFD Sender: No OFD packet to send [21:45:41]OFD Sender: No OFD packet to send [21:45:46]OFD Sender: No OFD packet to send [21:45:51]OFD Sender: No OFD packet to send [21:45:56]OFD Sender: No OFD packet to send [21:46:01]OFD Sender: No OFD packet to send [21:46:06]OFD Sender: No OFD packet to send [21:46:11]OFD Sender: No OFD packet to send [21:46:16]OFD Sender: No OFD packet to send [21:46:21]OFD Sender: No OFD packet to send [21:46:26]OFD Sender: No OFD packet to send [21:46:31]OFD Sender: No OFD packet to send [21:46:36]OFD Sender: No OFD packet to send [21:46:41]OFD Sender: No OFD packet to send [21:46:46]OFD Sender: No OFD packet to send [21:46:51]OFD Sender: No OFD packet to send [21:46:56]OFD Sender: No OFD packet to send [21:47:01]OFD Sender: No OFD packet to send [21:47:06]OFD Sender: No OFD packet to send [21:47:11]OFD Sender: No OFD packet to send [21:47:16]OFD Sender: No OFD packet to send [21:47:21]OFD Sender: No OFD packet to send [21:47:26]OFD Sender: No OFD packet to send [21:47:31]OFD Sender: No OFD packet to send [21:47:36]OFD Sender: No OFD packet to send [21:47:41]OFD Sender: No OFD packet to send [21:47:46]OFD Sender: No OFD packet to send [21:47:51]OFD Sender: No OFD packet to send [21:47:56]OFD Sender: No OFD packet to send [21:48:01]OFD Sender: No OFD packet to send [21:48:06]OFD Sender: No OFD packet to send [21:48:11]OFD Sender: No OFD packet to send [21:48:16]OFD Sender: No OFD packet to send [21:48:21]OFD Sender: No OFD packet to send [21:48:26]OFD Sender: No OFD packet to send [21:48:31]OFD Sender: No OFD packet to send [21:48:36]OFD Sender: No OFD packet to send [21:48:41]OFD Sender: No OFD packet to send [21:48:46]OFD Sender: No OFD packet to send [21:48:51]OFD Sender: No OFD packet to send [21:48:56]OFD Sender: No OFD packet to send [21:49:01]OFD Sender: No OFD packet to send [21:49:06]OFD Sender: No OFD packet to send [21:49:11]OFD Sender: No OFD packet to send [21:49:16]OFD Sender: No OFD packet to send [21:49:21]OFD Sender: No OFD packet to send [21:49:26]OFD Sender: No OFD packet to send [21:49:31]OFD Sender: No OFD packet to send [21:49:36]OFD Sender: No OFD packet to send [21:49:41]OFD Sender: No OFD packet to send [21:49:46]OFD Sender: No OFD packet to send [21:49:51]OFD Sender: No OFD packet to send [21:49:56]OFD Sender: No OFD packet to send [21:50:01]OFD Sender: No OFD packet to send [21:50:06]OFD Sender: No OFD packet to send [21:50:11]OFD Sender: No OFD packet to send [21:50:16]OFD Sender: No OFD packet to send [21:50:21]OFD Sender: No OFD packet to send [21:50:26]OFD Sender: No OFD packet to send [21:50:31]OFD Sender: No OFD packet to send [21:50:36]OFD Sender: No OFD packet to send [21:50:41]OFD Sender: No OFD packet to send [21:50:46]OFD Sender: No OFD packet to send [21:50:51]OFD Sender: No OFD packet to send [21:50:56]OFD Sender: No OFD packet to send [21:51:01]OFD Sender: No OFD packet to send [21:51:06]OFD Sender: No OFD packet to send [21:51:11]OFD Sender: No OFD packet to send [21:51:16]OFD Sender: No OFD packet to send [21:51:21]OFD Sender: No OFD packet to send [21:51:26]OFD Sender: No OFD packet to send [21:51:31]OFD Sender: No OFD packet to send [21:51:36]OFD Sender: No OFD packet to send [21:51:41]OFD Sender: No OFD packet to send [21:51:46]OFD Sender: No OFD packet to send [21:51:51]OFD Sender: No OFD packet to send [21:51:56]OFD Sender: No OFD packet to send [21:52:01]OFD Sender: No OFD packet to send [21:52:06]OFD Sender: No OFD packet to send [21:52:11]OFD Sender: No OFD packet to send [21:52:16]OFD Sender: No OFD packet to send [21:52:21]OFD Sender: No OFD packet to send [21:52:26]OFD Sender: No OFD packet to send [21:52:31]OFD Sender: No OFD packet to send [21:52:36]OFD Sender: No OFD packet to send [21:52:41]OFD Sender: No OFD packet to send [21:52:46]OFD Sender: No OFD packet to send [21:52:51]OFD Sender: No OFD packet to send [21:52:56]OFD Sender: No OFD packet to send [21:53:01]OFD Sender: No OFD packet to send [21:53:06]OFD Sender: No OFD packet to send [21:53:11]OFD Sender: No OFD packet to send [21:53:16]OFD Sender: No OFD packet to send [21:53:21]OFD Sender: No OFD packet to send [21:53:26]OFD Sender: No OFD packet to send [21:53:31]OFD Sender: No OFD packet to send [21:53:36]OFD Sender: No OFD packet to send [21:53:41]OFD Sender: No OFD packet to send [21:53:46]OFD Sender: No OFD packet to send [21:53:51]OFD Sender: No OFD packet to send [21:53:56]OFD Sender: No OFD packet to send [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]accept exits with 9 [21:54:26]New connection [21:54:26]New thread 3067448676 created [21:54:26]Thread 3067592036 joined [21:54:26]Waiting for new connection... [21:54:26] Sock 9.Parse request [21:54:26]Sock 9.Check first char [21:54:26]Sock 9.First char is OK [21:54:26]request: POST /json_proto HTTP/1.0 [21:54:26]Method: POST [21:54:26]URL: /json_proto [21:54:26]Method is POST - this is cgi request [21:54:26]url: /json_proto [21:54:26]query_string will be loaded in cgi processing [21:54:26]execute_cgi json_proto POST (null) [21:54:26]execute_cgi path=json_proto method=POST [21:54:26]POST find Content-Length [21:54:26]Host: 172.17.39.4:8080 [21:54:26]Content-Length: 726 [21:54:26]Content-Type: application/json [21:54:26] [21:54:26]POST finish read [21:54:26]Found Content-Length = 726 [21:54:26]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129546", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:54:26]execute_script... [21:54: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)129546", "tax_sys" : 0, "items" : [ { "code": "48741958", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Parliament Aqua Blue", "price" : 151.00, "quantity" : 1.000, "sum" : 151.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 151.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:54:26]POST & json_proto [21:54:26]process_json_proto [21:54:26]json parsed OK: [21:54:26]protocol is kg_v1.0 [21:54:26]action value=close_receipt [21:54:26]process_action close_receipt [21:54:26]cmd_close_receipt [21:54:26]MH_GetDate [21:54:26]Write to MH i2c: F0 00 00 9A 13 9C [21:54:26]Write i2c OK [21:54:26]MH_I2C_Read... [21:54:26]Read from MH i2c: F0 [21:54:26]MH_I2C_Read... [21:54:26]Read from MH i2c: F0 09 00 [21:54:26]MH_I2C_Read... [21:54:26]Read from MH i2c: F0 09 00 9A 13 00 15 49 94 66 2D 25 5D 64 10 [21:54:26]GetLastDocTimeStamp 1720992195 [21:54:26]current date 1720994069 [21:54:26]FM_GetShiftState [21:54:26]SAM_PROTO_GetShiftState [21:54:26]wFMCommunicate request_size=4 [21:54:26]MH_SAM_APDU [21:54:26]CAPDU: 80 13 01 00 [21:54:26]Write to MH i2c: E2 08 00 9B 13 80 13 01 00 00 00 00 00 2B [21:54:26]Write i2c OK [21:54:26]MH_I2C_Read... [21:54:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:26]Read from MH i2c: E2 [21:54:26]MH_I2C_Read... [21:54:26]Read from MH i2c: E2 0E 00 [21:54:26]MH_I2C_Read... [21:54:26]Read from MH i2c: E2 0E 00 9B 13 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 D2 [21:54:26]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:54:26]wFMCommunicate OK [21:54:26]SAM_PROTO_GetShiftState done [21:54:26]FM_GetShiftState done [21:54:26]opened in 1720917126 [21:54:26]opened+sec_in_day 1721003526 [21:54:26]quantity*price = 15100 [21:54:26]sum+1 = 15101 [21:54:26]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 151.00 НСП 1% : 1.34 НДС 12% : 16.03 Наличными: 151.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 104 14.07.2024 21:54 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57087 ФПД: 225321362257118 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T215429&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57087&fm=225321362257118&tin=02508201610067®Number=0000000000091208&sum=15100 0 [21:54:27]StoreToDocumentArchive [21:54:27]shift 496 fd 57087 [21:54:27]save to /storage/0496/doc_00057087 [21:54:27]save last doc name /storage/0496/doc_00057087 to /storage/kkm_last_doc_name [21:54:27]save OK [21:54:27]Clear old archive folders... [21:54:27]ProcessDocumentItem done err = 0, tmpTLVsize=274 [21:54:27]tlvbuf is B6F5DBC0 [21:54:27]SAM_PROTO_ClearQueue [21:54:27]wFMCommunicate request_size=4 [21:54:27]MH_SAM_APDU [21:54:27]CAPDU: 80 09 00 00 [21:54:27]Write to MH i2c: E2 08 00 A8 13 80 09 00 00 00 00 00 00 2D [21:54:27]Write i2c OK [21:54:27]MH_I2C_Read... [21:54:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:54:27]Read from MH i2c: E2 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 03 00 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 03 00 A8 13 00 90 00 2F [21:54:27]RAPDU: 90 00 [21:54:27]wFMCommunicate OK [21:54:27]SAM_PROTO_ClearQueue done [21:54:27]KKMCreateOFDPacket [21:54:27]OFDProtocolAddRootSTLVToBuf [21:54:27]FM_MakeSignedData [21:54:27]FM_MakeSignedData [21:54:27]SAM_PROTO_SignData [21:54:27]wFMCommunicate request_size=4 [21:54:27]MH_SAM_APDU [21:54:27]CAPDU: 80 0D 01 02 [21:54:27]Write to MH i2c: E2 08 00 A9 13 80 0D 01 02 00 00 00 00 35 [21:54:27]Write i2c OK [21:54:27]MH_I2C_Read... [21:54:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:54:27]Read from MH i2c: E2 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 03 00 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 03 00 A9 13 00 90 00 30 [21:54:27]RAPDU: 90 00 [21:54:27]wFMCommunicate OK [21:54:27]wFMCommunicate request_size=255 [21:54:27]MH_SAM_APDU [21:54:27]CAPDU: 80 0D 02 02 FA 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 15 49 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 [21:54:27]Write to MH i2c: E2 02 01 AA 13 80 0D 02 02 FA 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 15 49 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 00 00 AA [21:54:27]Write i2c OK [21:54:27]MH_I2C_Read... [21:54:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:27]Read from MH i2c: E2 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 03 00 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 03 00 AA 13 00 90 00 31 [21:54:27]RAPDU: 90 00 [21:54:27]wFMCommunicate OK [21:54:27]wFMCommunicate request_size=33 [21:54:27]MH_SAM_APDU [21:54:27]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FF DE 00 00 35 04 06 00 CC ED B7 C1 F4 DE [21:54:27]Write to MH i2c: E2 24 00 AB 13 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FF DE 00 00 35 04 06 00 CC ED B7 C1 F4 DE 00 00 AE [21:54:27]Write i2c OK [21:54:27]MH_I2C_Read... [21:54:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:27]Read from MH i2c: E2 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 03 00 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 03 00 AB 13 00 90 00 32 [21:54:27]RAPDU: 90 00 [21:54:27]wFMCommunicate OK [21:54:27]wFMCommunicate request_size=4 [21:54:27]MH_SAM_APDU [21:54:27]CAPDU: 80 0D 03 02 [21:54:27]Write to MH i2c: E2 08 00 AC 13 80 0D 03 02 00 00 00 00 3A [21:54:27]Write i2c OK [21:54:27]MH_I2C_Read... [21:54:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:54:27]Read from MH i2c: E2 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 0B 00 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 0B 00 AC 13 00 8D 47 AD 80 39 A2 B4 6E 90 00 39 [21:54:27]RAPDU: 8D 47 AD 80 39 A2 B4 6E 90 00 [21:54:27]wFMCommunicate OK [21:54:27]SAM_PROTO_SignData done [21:54:27]FM_MakeSignedData done [21:54:27]CreateOFDProtocolMessage [21:54:27]wFMCommunicate request_size=4 [21:54:27]MH_SAM_APDU [21:54:27]CAPDU: 80 11 00 00 [21:54:27]Write to MH i2c: E2 08 00 AD 13 80 11 00 00 00 00 00 00 3A [21:54:27]Write i2c OK [21:54:27]MH_I2C_Read... [21:54:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:27]Read from MH i2c: E2 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 17 00 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: E2 17 00 AD 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 94 [21:54:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:54:27]wFMCommunicate OK [21:54:27]CreateOFDProtocolMessage done [21:54:27]OFDSenderStorePacket 57087 [21:54:27]StoreOFDPacket docnum=57087 [21:54:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 60 41 1E 01 A0 7E 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 15 49 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FF DE 00 00 35 04 06 00 CC ED B7 C1 F4 DE 8D 47 AD 80 39 A2 B4 6E [21:54:27]CheckFolder [21:54:27]dirname=/storage/ofd_packets [21:54:27]CheckFolder done [21:54:27]ProducePacketName [21:54:27]name=ofd_packets/00057087 [21:54:27]NVStorageSaveData ofd_packets/00057087 [21:54:27]File name is /storage/ofd_packets/00057087 [21:54:27]Write 324 bytes [21:54:27]NVStorageSaveData done [21:54:27]OFDSenderStorePacket done [21:54:27]KKMCreateOFDPacket done [21:54:27]NVStorageSaveData kkm_last_timestamp [21:54:27]File name is /storage/kkm_last_timestamp [21:54:27]Write 4 bytes [21:54:27]NVStorageSaveData done [21:54:27]ExternCall_PrintAddStr [21:54:27]wPrintStart [21:54:27]Write to MH i2c: 01 00 00 AE 13 C1 [21:54:27]Write i2c OK [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: 01 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: 01 07 00 [21:54:27]MH_I2C_Read... [21:54:27]Read from MH i2c: 01 07 00 AE 13 00 00 00 00 00 FF 0F D6 [21:54:27]RasterBufferAndPrint [21:54:27]line Счет N : (3)129546 [21:54:27]line ИНН: 02508201610067 [21:54:27]line Контрольно-Кассовый Чек [21:54:27]line ПРОДАЖА [21:54:27]line Товар: 48741958 [21:54:27]line Сигареты Parliament Aqua Blue [21:54:27]line 1.000 * 151.00 [21:54:27]line = 151.00 [21:54:27]line НДС 12% НСП 1% [21:54:27]line > о реализуемом товаре [21:54:27]line ИТОГО: 151.00 [21:54:27]line НСП 1% : 1.34 [21:54:27]line НДС 12% : 16.03 [21:54:27]line Наличными: 151.00 [21:54:27]line Безнал.: 0.00 [21:54:27]line Место: АЗС № 132 "Партнер Нефть" [21:54:27]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:54:27]line СНО: Общий режим [21:54:27]line Чек 104 14.07.2024 21:54 [21:54:27]line Смена: 496 ФФД: 1.0 [21:54:27]line ЗНМ: 0300000132 [21:54:27]line РНМ: 0000000000091208 [21:54:27]line Версия ККМ: 001 [21:54:27]line ФМ: 0000000000874857 [21:54:27]line ФД: 57087 [21:54:27]line ФПД: 225321362257118 [21:54:27]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T215429&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57087&fm=225321362257118&tin=02508201610067®Number=0000000000091208&sum=15100 [21:54:27]line 0 [21:54:28]written 0, free lines is 4095 [21:54:28]OFD Sender: Processing packet 57087 [packets to send 38, broken 37] [21:54:28]ProducePacketName [21:54:28]name=ofd_packets/00057087 [21:54:28]OFD Sender: To server: pG, [21:54:28]CommunicateWithHost lk.salyk.kg:30040 [21:54:28]ConnectInit lk.salyk.kg [21:54:28]Connected sock=10 [21:54:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 60 41 1E 01 A0 7E 5A 03 01 00 03 00 12 01 1E 04 01 00 01 23 04 64 00 8A 04 08 00 34 38 37 34 31 39 35 38 06 04 25 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 50 61 72 6C 69 61 6D 65 6E 74 20 41 71 75 61 20 42 6C 75 65 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 FC 3A 00 00 00 00 13 04 06 00 FC 3A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 FC 3A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 86 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 43 06 00 00 00 00 07 04 06 00 FC 3A 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 68 00 00 00 F4 03 04 00 15 49 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FF DE 00 00 35 04 06 00 CC ED B7 C1 F4 DE 8D 47 AD 80 39 A2 B4 6E [21:54:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 35 68 47 00 97 60 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 FF DE 00 00 F4 03 04 00 65 EF 93 66 B6 04 01 00 00 E1 8A A7 F3 EB C6 17 E9 [21:54:28]CommunicateWithHost err = 0 [21:54:28]CheckOFDResponse [21:54:28]1017 (14) - 77093643461234 [21:54:28]1041 (16) - 0000000000874857 [21:54:28]1040 (4) - 57087 [21:54:28]1012 (4) - 14.07.2024 15:31 [21:54:28]1206 (1) - 0 [21:54:28]OFD Sender: Remove packet 57087 [21:54:28]ProducePacketName [21:54:28]name=ofd_packets/00057087 [21:54:28]NVStorageDeleteData [21:54:28]Write to MH i2c: 01 00 00 D7 13 EA [21:54:28]Write i2c OK [21:54:28]MH_I2C_Read... [21:54:28]Read from MH i2c: 01 [21:54:28]MH_I2C_Read... [21:54:28]Read from MH i2c: 01 07 00 [21:54:28]MH_I2C_Read... [21:54:28]Read from MH i2c: 01 07 00 D7 13 00 00 00 00 00 D1 0C CE [21:54:28]RasterBufferAndPrint [21:54:28]line [21:54:28]line [21:54:28]line [21:54:28]line [21:54:28]line [21:54:28]written 0, free lines is 3287 [21:54:28]MH_Cut [21:54:28]Write to MH i2c: D1 01 00 DE 13 01 C3 [21:54:28]Write i2c OK [21:54:28]MH_I2C_Read... [21:54:28]Read from MH i2c: D1 [21:54:28]MH_I2C_Read... [21:54:28]Read from MH i2c: D1 01 00 [21:54:28]MH_I2C_Read... [21:54:28]Read from MH i2c: D1 01 00 DE 13 00 C2 [21:54:28]Write to MH i2c: 01 00 00 DF 13 F2 [21:54:28]Write i2c OK [21:54:28]MH_I2C_Read... [21:54:29]OFD Sender: No OFD packet to send [21:54:29]*** Cut start [21:54:29]*** Partial cut [21:54:29]*** CUTSNS_PIN = 1 [21:54:29]*** CUTSNS_PIN = 0 [21:54:29]*** Brake cut motor [21:54:30]Read from MH i2c: 01 [21:54:30]MH_I2C_Read... [21:54:30]*** Stop cut motor [21:54:30]*** Cut end [21:54:30]Read from MH i2c: 01 07 00 [21:54:30]MH_I2C_Read... [21:54:30]Read from MH i2c: 01 07 00 DF 13 00 00 00 00 00 FF 0F 07 [21:54:30]process_action close_receipt done [21:54:30]requested_data is exist [21:54:30]produce_requested_data [21:54:30]requested_item fm.sn is exist - process it [21:54:30]wFMCommunicate request_size=4 [21:54:30]MH_SAM_APDU [21:54:30]CAPDU: 80 11 00 00 [21:54:30]Write to MH i2c: E2 08 00 E0 13 80 11 00 00 00 00 00 00 6D [21:54:30]Write i2c OK [21:54:30]MH_I2C_Read... [21:54:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:30]Read from MH i2c: E2 [21:54:30]MH_I2C_Read... [21:54:30]Read from MH i2c: E2 17 00 [21:54:30]MH_I2C_Read... [21:54:30]Read from MH i2c: E2 17 00 E0 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C7 [21:54:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:54:30]wFMCommunicate OK [21:54:30]requested_item fd.num is exist - process it [21:54:30]SAM_PROTO_GetFieldsCounters [21:54:30]wFMCommunicate request_size=4 [21:54:30]MH_SAM_APDU [21:54:30]CAPDU: 80 13 00 00 [21:54:30]Write to MH i2c: E2 08 00 E1 13 80 13 00 00 00 00 00 00 70 [21:54:30]Write i2c OK [21:54:30]MH_I2C_Read... [21:54:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:54:30]Read from MH i2c: E2 [21:54:30]MH_I2C_Read... [21:54:30]Read from MH i2c: E2 62 00 [21:54:30]MH_I2C_Read... [21:54:30]Read from MH i2c: E2 62 00 E1 13 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FF DE 00 00 0E 04 04 00 F0 01 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 99 [21:54:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 FF DE 00 00 0E 04 04 00 F0 01 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 [21:54:30]wFMCommunicate OK [21:54:30]SAM_PROTO_GetFieldsCounters done [21:54:30]requested_item shift.num is exist - process it [21:54:30]requested_item shift.opened is exist - process it [21:54:30]req_shift_opened [21:54:30]FM_GetShiftState [21:54:30]SAM_PROTO_GetShiftState [21:54:30]wFMCommunicate request_size=4 [21:54:30]MH_SAM_APDU [21:54:30]CAPDU: 80 13 01 00 [21:54:30]Write to MH i2c: E2 08 00 E2 13 80 13 01 00 00 00 00 00 72 [21:54:30]Write i2c OK [21:54:30]MH_I2C_Read... [21:54:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:30]Read from MH i2c: E2 [21:54:30]MH_I2C_Read... [21:54:30]Read from MH i2c: E2 0E 00 [21:54:30]MH_I2C_Read... [21:54:30]Read from MH i2c: E2 0E 00 E2 13 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 19 [21:54:30]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:54:30]wFMCommunicate OK [21:54:30]SAM_PROTO_GetShiftState done [21:54:30]FM_GetShiftState done [21:54:30]req_shift_opened done [21:54:30]requested_item shift.open_date is exist - process it [21:54:30]req_shift_open_date [21:54:30]req_shift_open_date done [21:54:30]requested_item shift.sale.total is exist - process it [21:54:30]SAM_PROTO_GetShiftData [21:54:30]wFMCommunicate request_size=4 [21:54:30]MH_SAM_APDU [21:54:30]CAPDU: 80 13 02 00 [21:54:30]Write to MH i2c: E2 08 00 E3 13 80 13 02 00 00 00 00 00 74 [21:54:30]Write i2c OK [21:54:30]MH_I2C_Read... [21:54:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:54:30]Read from MH i2c: E2 [21:54:30]MH_I2C_Read... [21:54:30]Read from MH i2c: E2 FD 00 [21:54:30]MH_I2C_Read... [21:54:30]Read from MH i2c: E2 FD 00 E3 13 00 BB 04 AA 04 B7 04 6E 04 04 00 68 00 00 00 69 04 9B 00 6F 04 04 00 66 00 00 00 B1 04 03 00 DB 9D 33 70 04 03 00 F8 2E 29 72 04 03 00 E3 6E 0A 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 53 7B 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 E6 74 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 3D [21:54:30]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 68 00 00 00 69 04 9B 00 6F 04 04 00 66 00 00 00 B1 04 03 00 DB 9D 33 70 04 03 00 F8 2E 29 72 04 03 00 E3 6E 0A 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 53 7B 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 E6 74 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [21:54:30]wFMCommunicate OK [21:54:30]wFMCommunicate request_size=4 [21:54:30]MH_SAM_APDU [21:54:30]CAPDU: 80 17 00 00 [21:54:30]Write to MH i2c: E2 08 00 E4 13 80 17 00 00 00 00 00 00 77 [21:54:30]Write i2c OK [21:54:30]MH_I2C_Read... [21:54:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:54:31]Read from MH i2c: E2 [21:54:31]MH_I2C_Read... [21:54:31]Read from MH i2c: E2 FD 00 [21:54:31]MH_I2C_Read... [21:54:31]Read from MH i2c: E2 FD 00 E4 13 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0A [21:54:31]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:54:31]wFMCommunicate OK [21:54:31]wFMCommunicate request_size=4 [21:54:31]MH_SAM_APDU [21:54:31]CAPDU: 80 17 00 00 [21:54:31]Write to MH i2c: E2 08 00 E5 13 80 17 00 00 00 00 00 00 78 [21:54:31]Write i2c OK [21:54:31]MH_I2C_Read... [21:54:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:54:31]Read from MH i2c: E2 [21:54:31]MH_I2C_Read... [21:54:31]Read from MH i2c: E2 FD 00 [21:54:31]MH_I2C_Read... [21:54:31]Read from MH i2c: E2 FD 00 E5 13 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A4 [21:54:31]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:54:31]wFMCommunicate OK [21:54:31]wFMCommunicate request_size=4 [21:54:31]MH_SAM_APDU [21:54:31]CAPDU: 80 17 00 00 [21:54:31]Write to MH i2c: E2 08 00 E6 13 80 17 00 00 00 00 00 00 79 [21:54:31]Write i2c OK [21:54:31]MH_I2C_Read... [21:54:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:54:31]Read from MH i2c: E2 [21:54:31]MH_I2C_Read... [21:54:31]Read from MH i2c: E2 FD 00 [21:54:31]MH_I2C_Read... [21:54:31]Read from MH i2c: E2 FD 00 E6 13 00 00 00 EF 03 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 90 00 EE [21:54:31]RAPDU: 00 00 EF 03 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 90 00 [21:54:31]wFMCommunicate OK [21:54:31]wFMCommunicate request_size=4 [21:54:31]MH_SAM_APDU [21:54:31]CAPDU: 80 17 00 00 [21:54:31]Write to MH i2c: E2 08 00 E7 13 80 17 00 00 00 00 00 00 7A [21:54:31]Write i2c OK [21:54:31]MH_I2C_Read... [21:54:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [21:54:31]Read from MH i2c: E2 [21:54:31]MH_I2C_Read... [21:54:31]Read from MH i2c: E2 D8 00 [21:54:31]MH_I2C_Read... [21:54:31]Read from MH i2c: E2 D8 00 E7 13 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 61 [21:54:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:54:31]wFMCommunicate OK [21:54:31]SAM_PROTO_GetShiftData done [21:54:31]requested_item shift.sale.total_cash is exist - process it [21:54:31]requested_item shift.sale_refund.total is exist - process it [21:54:31]requested_item shift.sale_refund.total_cash is exist - process it [21:54:31]produce_requested_data done [21:54:31]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57087,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33827.47,"shift.sale.total_cash":26990.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [21:54:31]process_action_free close_receipt [21:54:31]json_value_free [21:54:31]json_value_free done [21:54:31]process_json_proto returns [21:54:31]Send response to host [21:54:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57087,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33827.47,"shift.sale.total_cash":26990.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [21:54:31]free response buf [21:54:31]execute_script done [21:54:31]execute_script returns [21:54:31]free content buf [21:54:31]Sock 9.Close socket [21:54:31]Sock 9.Thread stoped [21:54:34]OFD Sender: No OFD packet to send [21:54:39]OFD Sender: No OFD packet to send [21:54:44]OFD Sender: No OFD packet to send [21:54:49]OFD Sender: No OFD packet to send [21:54:54]accept exits with 7 [21:54:54]New connection [21:54:54]New thread 3067592036 created [21:54:54]Thread 3067448676 joined [21:54:54]Waiting for new connection... [21:54:54] Sock 7.Parse request [21:54:54]Sock 7.Check first char [21:54:54]Sock 7.First char is OK [21:54:54]request: POST /json_proto HTTP/1.0 [21:54:54]Method: POST [21:54:54]URL: /json_proto [21:54:54]Method is POST - this is cgi request [21:54:54]url: /json_proto [21:54:54]query_string will be loaded in cgi processing [21:54:54]execute_cgi json_proto POST (null) [21:54:54]execute_cgi path=json_proto method=POST [21:54:54]POST find Content-Length [21:54:54]Host: 172.17.39.4:8080 [21:54:54]Content-Length: 728 [21:54:54]Content-Type: application/json [21:54:54] [21:54:54]POST finish read [21:54:54]Found Content-Length = 728 [21:54:54]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129547", "tax_sys" : 0, "items" : [ { "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:54:54]execute_script... [21:54: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)129547", "tax_sys" : 0, "items" : [ { "code": "46177872", "name": "\u0416\u0435\u0432 Orbit \u043F\u043E\u0434\u0443\u0448\u043A\u0438 Citrus", "price" : 40.00, "quantity" : 1.000, "sum" : 40.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 40.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [21:54:54]POST & json_proto [21:54:54]process_json_proto [21:54:54]json parsed OK: [21:54:54]protocol is kg_v1.0 [21:54:54]action value=close_receipt [21:54:54]process_action close_receipt [21:54:54]cmd_close_receipt [21:54:54]MH_GetDate [21:54:54]Write to MH i2c: F0 00 00 E8 13 EA [21:54:54]Write i2c OK [21:54:54]MH_I2C_Read... [21:54:54]Read from MH i2c: F0 [21:54:54]MH_I2C_Read... [21:54:54]Read from MH i2c: F0 09 00 [21:54:54]MH_I2C_Read... [21:54:54]Read from MH i2c: F0 09 00 E8 13 00 31 49 94 66 2D 25 5D 64 7A [21:54:54]GetLastDocTimeStamp 1720994069 [21:54:54]current date 1720994097 [21:54:54]FM_GetShiftState [21:54:54]SAM_PROTO_GetShiftState [21:54:54]wFMCommunicate request_size=4 [21:54:54]MH_SAM_APDU [21:54:54]CAPDU: 80 13 01 00 [21:54:54]Write to MH i2c: E2 08 00 E9 13 80 13 01 00 00 00 00 00 79 [21:54:54]Write i2c OK [21:54:54]MH_I2C_Read... [21:54:54]OFD Sender: No OFD packet to send [21:54:54]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:54]Read from MH i2c: E2 [21:54:54]MH_I2C_Read... [21:54:54]Read from MH i2c: E2 0E 00 [21:54:54]MH_I2C_Read... [21:54:54]Read from MH i2c: E2 0E 00 E9 13 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 20 [21:54:54]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:54:54]wFMCommunicate OK [21:54:54]SAM_PROTO_GetShiftState done [21:54:54]FM_GetShiftState done [21:54:54]opened in 1720917126 [21:54:54]opened+sec_in_day 1721003526 [21:54:54]quantity*price = 4000 [21:54:54]sum+1 = 4001 [21:54:54]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 40.00 НСП 1% : 0.35 НДС 12% : 4.25 Наличными: 40.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 105 14.07.2024 21:54 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57088 ФПД: 212521564901478 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T215457&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57088&fm=212521564901478&tin=02508201610067®Number=0000000000091208&sum=4000 0 [21:54:55]StoreToDocumentArchive [21:54:55]shift 496 fd 57088 [21:54:55]save to /storage/0496/doc_00057088 [21:54:55]save last doc name /storage/0496/doc_00057088 to /storage/kkm_last_doc_name [21:54:55]save OK [21:54:55]Clear old archive folders... [21:54:55]ProcessDocumentItem done err = 0, tmpTLVsize=271 [21:54:55]tlvbuf is B6F44EC0 [21:54:55]SAM_PROTO_ClearQueue [21:54:55]wFMCommunicate request_size=4 [21:54:55]MH_SAM_APDU [21:54:55]CAPDU: 80 09 00 00 [21:54:55]Write to MH i2c: E2 08 00 F6 13 80 09 00 00 00 00 00 00 7B [21:54:55]Write i2c OK [21:54:55]MH_I2C_Read... [21:54:55]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [21:54:55]Read from MH i2c: E2 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 03 00 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 03 00 F6 13 00 90 00 7D [21:54:55]RAPDU: 90 00 [21:54:55]wFMCommunicate OK [21:54:55]SAM_PROTO_ClearQueue done [21:54:55]KKMCreateOFDPacket [21:54:55]OFDProtocolAddRootSTLVToBuf [21:54:55]FM_MakeSignedData [21:54:55]FM_MakeSignedData [21:54:55]SAM_PROTO_SignData [21:54:55]wFMCommunicate request_size=4 [21:54:55]MH_SAM_APDU [21:54:55]CAPDU: 80 0D 01 02 [21:54:55]Write to MH i2c: E2 08 00 F7 13 80 0D 01 02 00 00 00 00 83 [21:54:55]Write i2c OK [21:54:55]MH_I2C_Read... [21:54:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [21:54:55]Read from MH i2c: E2 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 03 00 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 03 00 F7 13 00 90 00 7E [21:54:55]RAPDU: 90 00 [21:54:55]wFMCommunicate OK [21:54:55]wFMCommunicate request_size=255 [21:54:55]MH_SAM_APDU [21:54:55]CAPDU: 80 0D 02 02 FA 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 31 49 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 [21:54:55]Write to MH i2c: E2 02 01 F8 13 80 0D 02 02 FA 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 31 49 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 00 00 23 [21:54:55]Write i2c OK [21:54:55]MH_I2C_Read... [21:54:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:55]Read from MH i2c: E2 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 03 00 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 03 00 F8 13 00 90 00 7F [21:54:55]RAPDU: 90 00 [21:54:55]wFMCommunicate OK [21:54:55]wFMCommunicate request_size=30 [21:54:55]MH_SAM_APDU [21:54:55]CAPDU: 80 0D 02 02 19 30 38 37 34 38 35 37 10 04 04 00 00 DF 00 00 35 04 06 00 C1 49 88 62 10 66 [21:54:55]Write to MH i2c: E2 21 00 F9 13 80 0D 02 02 19 00 30 38 37 34 38 35 37 10 04 04 00 00 DF 00 00 35 04 06 00 C1 49 88 62 10 66 00 00 CF [21:54:55]Write i2c OK [21:54:55]MH_I2C_Read... [21:54:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [21:54:55]Read from MH i2c: E2 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 03 00 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 03 00 F9 13 00 90 00 80 [21:54:55]RAPDU: 90 00 [21:54:55]wFMCommunicate OK [21:54:55]wFMCommunicate request_size=4 [21:54:55]MH_SAM_APDU [21:54:55]CAPDU: 80 0D 03 02 [21:54:55]Write to MH i2c: E2 08 00 FA 13 80 0D 03 02 00 00 00 00 88 [21:54:55]Write i2c OK [21:54:55]MH_I2C_Read... [21:54:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [21:54:55]Read from MH i2c: E2 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 0B 00 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 0B 00 FA 13 00 D5 A7 E4 E9 BF F7 B5 70 90 00 AD [21:54:55]RAPDU: D5 A7 E4 E9 BF F7 B5 70 90 00 [21:54:55]wFMCommunicate OK [21:54:55]SAM_PROTO_SignData done [21:54:55]FM_MakeSignedData done [21:54:55]CreateOFDProtocolMessage [21:54:55]wFMCommunicate request_size=4 [21:54:55]MH_SAM_APDU [21:54:55]CAPDU: 80 11 00 00 [21:54:55]Write to MH i2c: E2 08 00 FB 13 80 11 00 00 00 00 00 00 88 [21:54:55]Write i2c OK [21:54:55]MH_I2C_Read... [21:54:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:55]Read from MH i2c: E2 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 17 00 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: E2 17 00 FB 13 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E2 [21:54:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:54:55]wFMCommunicate OK [21:54:55]CreateOFDProtocolMessage done [21:54:55]OFDSenderStorePacket 57088 [21:54:55]StoreOFDPacket docnum=57088 [21:54:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 12 C0 1B 01 89 F9 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 31 49 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 DF 00 00 35 04 06 00 C1 49 88 62 10 66 D5 A7 E4 E9 BF F7 B5 70 [21:54:55]CheckFolder [21:54:55]dirname=/storage/ofd_packets [21:54:55]CheckFolder done [21:54:55]ProducePacketName [21:54:55]name=ofd_packets/00057088 [21:54:55]NVStorageSaveData ofd_packets/00057088 [21:54:55]File name is /storage/ofd_packets/00057088 [21:54:55]Write 321 bytes [21:54:55]NVStorageSaveData done [21:54:55]OFDSenderStorePacket done [21:54:55]KKMCreateOFDPacket done [21:54:55]NVStorageSaveData kkm_last_timestamp [21:54:55]File name is /storage/kkm_last_timestamp [21:54:55]Write 4 bytes [21:54:55]NVStorageSaveData done [21:54:55]ExternCall_PrintAddStr [21:54:55]wPrintStart [21:54:55]Write to MH i2c: 01 00 00 FC 13 0F [21:54:55]Write i2c OK [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: 01 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: 01 07 00 [21:54:55]MH_I2C_Read... [21:54:55]Read from MH i2c: 01 07 00 FC 13 00 00 00 00 00 FF 0F 24 [21:54:55]RasterBufferAndPrint [21:54:55]line Счет N : (3)129547 [21:54:55]line ИНН: 02508201610067 [21:54:55]line Контрольно-Кассовый Чек [21:54:55]line ПРОДАЖА [21:54:55]line Товар: 46177872 [21:54:55]line Жев Orbit подушки Citrus [21:54:55]line 1.000 * 40.00 [21:54:55]line = 40.00 [21:54:55]line НДС 12% НСП 1% [21:54:55]line > о реализуемом товаре [21:54:55]line ИТОГО: 40.00 [21:54:55]line НСП 1% : 0.35 [21:54:55]line НДС 12% : 4.25 [21:54:55]line Наличными: 40.00 [21:54:55]line Безнал.: 0.00 [21:54:55]line Место: АЗС № 132 "Партнер Нефть" [21:54:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [21:54:55]line СНО: Общий режим [21:54:55]line Чек 105 14.07.2024 21:54 [21:54:55]line Смена: 496 ФФД: 1.0 [21:54:55]line ЗНМ: 0300000132 [21:54:55]line РНМ: 0000000000091208 [21:54:55]line Версия ККМ: 001 [21:54:55]line ФМ: 0000000000874857 [21:54:55]line ФД: 57088 [21:54:55]line ФПД: 212521564901478 [21:54:56]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T215457&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57088&fm=212521564901478&tin=02508201610067®Number=0000000000091208&sum=4000 [21:54:56]line 0 [21:54:56]OFD Sender: Processing packet 57088 [packets to send 38, broken 37] [21:54:56]ProducePacketName [21:54:56]name=ofd_packets/00057088 [21:54:56]OFD Sender: To server: pG, [21:54:56]CommunicateWithHost lk.salyk.kg:30040 [21:54:56]ConnectInit lk.salyk.kg [21:54:56]written 0, free lines is 4095 [21:54:56]Connected sock=10 [21:54:56]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 23 01 00 00 12 C0 1B 01 89 F9 5A 03 01 00 03 00 0F 01 1E 04 01 00 01 23 04 61 00 8A 04 08 00 34 36 31 37 37 38 37 32 06 04 22 00 D0 96 D0 B5 D0 B2 20 4F 72 62 69 74 20 D0 BF D0 BE D0 B4 D1 83 D1 88 D0 BA D0 B8 20 43 69 74 72 75 73 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 A0 0F 00 00 00 00 13 04 06 00 A0 0F 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A0 0F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 23 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A9 01 00 00 00 00 07 04 06 00 A0 0F 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 69 00 00 00 F4 03 04 00 31 49 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 DF 00 00 35 04 06 00 C1 49 88 62 10 66 D5 A7 E4 E9 BF F7 B5 70 [21:54:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 58 7D 47 00 A6 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 00 DF 00 00 F4 03 04 00 81 EF 93 66 B6 04 01 00 00 5A 6D 01 02 77 92 17 3B [21:54:56]CommunicateWithHost err = 0 [21:54:56]CheckOFDResponse [21:54:56]1017 (14) - 77093643461234 [21:54:56]1041 (16) - 0000000000874857 [21:54:56]1040 (4) - 57088 [21:54:56]1012 (4) - 14.07.2024 15:32 [21:54:56]1206 (1) - 0 [21:54:56]OFD Sender: Remove packet 57088 [21:54:56]ProducePacketName [21:54:56]name=ofd_packets/00057088 [21:54:56]NVStorageDeleteData [21:54:56]Write to MH i2c: 01 00 00 24 14 38 [21:54:56]Write i2c OK [21:54:56]MH_I2C_Read... [21:54:56]Read from MH i2c: 01 [21:54:56]MH_I2C_Read... [21:54:56]Read from MH i2c: 01 07 00 [21:54:56]MH_I2C_Read... [21:54:56]Read from MH i2c: 01 07 00 24 14 00 00 00 00 00 00 0D 4C [21:54:56]RasterBufferAndPrint [21:54:56]line [21:54:56]line [21:54:56]line [21:54:56]line [21:54:56]line [21:54:56]written 0, free lines is 3334 [21:54:56]MH_Cut [21:54:56]Write to MH i2c: D1 01 00 2B 14 01 11 [21:54:56]Write i2c OK [21:54:56]MH_I2C_Read... [21:54:56]Read from MH i2c: D1 [21:54:56]MH_I2C_Read... [21:54:56]Read from MH i2c: D1 01 00 [21:54:56]MH_I2C_Read... [21:54:56]Read from MH i2c: D1 01 00 2B 14 00 10 [21:54:56]Write to MH i2c: 01 00 00 2C 14 40 [21:54:56]Write i2c OK [21:54:56]MH_I2C_Read... [21:54:56]OFD Sender: No OFD packet to send [21:54:57]*** Cut start [21:54:57]*** Partial cut [21:54:57]*** CUTSNS_PIN = 1 [21:54:57]*** CUTSNS_PIN = 0 [21:54:57]*** Brake cut motor [21:54:57]Read from MH i2c: 01 [21:54:57]MH_I2C_Read... [21:54:57]*** Stop cut motor [21:54:57]*** Cut end [21:54:57]Read from MH i2c: 01 07 00 [21:54:57]MH_I2C_Read... [21:54:57]Read from MH i2c: 01 07 00 2C 14 00 00 00 00 00 FF 0F 55 [21:54:57]process_action close_receipt done [21:54:57]requested_data is exist [21:54:57]produce_requested_data [21:54:57]requested_item fm.sn is exist - process it [21:54:57]wFMCommunicate request_size=4 [21:54:57]MH_SAM_APDU [21:54:57]CAPDU: 80 11 00 00 [21:54:57]Write to MH i2c: E2 08 00 2D 14 80 11 00 00 00 00 00 00 BB [21:54:57]Write i2c OK [21:54:57]MH_I2C_Read... [21:54:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [21:54:58]Read from MH i2c: E2 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 17 00 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 17 00 2D 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 15 [21:54:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [21:54:58]wFMCommunicate OK [21:54:58]requested_item fd.num is exist - process it [21:54:58]SAM_PROTO_GetFieldsCounters [21:54:58]wFMCommunicate request_size=4 [21:54:58]MH_SAM_APDU [21:54:58]CAPDU: 80 13 00 00 [21:54:58]Write to MH i2c: E2 08 00 2E 14 80 13 00 00 00 00 00 00 BE [21:54:58]Write i2c OK [21:54:58]MH_I2C_Read... [21:54:58]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [21:54:58]Read from MH i2c: E2 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 62 00 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 62 00 2E 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 00 DF 00 00 0E 04 04 00 F0 01 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 EC [21:54:58]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 00 DF 00 00 0E 04 04 00 F0 01 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 [21:54:58]wFMCommunicate OK [21:54:58]SAM_PROTO_GetFieldsCounters done [21:54:58]requested_item shift.num is exist - process it [21:54:58]requested_item shift.opened is exist - process it [21:54:58]req_shift_opened [21:54:58]FM_GetShiftState [21:54:58]SAM_PROTO_GetShiftState [21:54:58]wFMCommunicate request_size=4 [21:54:58]MH_SAM_APDU [21:54:58]CAPDU: 80 13 01 00 [21:54:58]Write to MH i2c: E2 08 00 2F 14 80 13 01 00 00 00 00 00 C0 [21:54:58]Write i2c OK [21:54:58]MH_I2C_Read... [21:54:58]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [21:54:58]Read from MH i2c: E2 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 0E 00 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 0E 00 2F 14 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 67 [21:54:58]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [21:54:58]wFMCommunicate OK [21:54:58]SAM_PROTO_GetShiftState done [21:54:58]FM_GetShiftState done [21:54:58]req_shift_opened done [21:54:58]requested_item shift.open_date is exist - process it [21:54:58]req_shift_open_date [21:54:58]req_shift_open_date done [21:54:58]requested_item shift.sale.total is exist - process it [21:54:58]SAM_PROTO_GetShiftData [21:54:58]wFMCommunicate request_size=4 [21:54:58]MH_SAM_APDU [21:54:58]CAPDU: 80 13 02 00 [21:54:58]Write to MH i2c: E2 08 00 30 14 80 13 02 00 00 00 00 00 C2 [21:54:58]Write i2c OK [21:54:58]MH_I2C_Read... [21:54:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [21:54:58]Read from MH i2c: E2 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 FD 00 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 FD 00 30 14 00 BB 04 AA 04 B7 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 67 00 00 00 B1 04 03 00 7B AD 33 70 04 03 00 98 3E 29 72 04 03 00 E3 6E 0A 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 FC 7C 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 09 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 BB [21:54:58]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 69 00 00 00 69 04 9B 00 6F 04 04 00 67 00 00 00 B1 04 03 00 7B AD 33 70 04 03 00 98 3E 29 72 04 03 00 E3 6E 0A 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 FC 7C 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 09 75 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [21:54:58]wFMCommunicate OK [21:54:58]wFMCommunicate request_size=4 [21:54:58]MH_SAM_APDU [21:54:58]CAPDU: 80 17 00 00 [21:54:58]Write to MH i2c: E2 08 00 31 14 80 17 00 00 00 00 00 00 C5 [21:54:58]Write i2c OK [21:54:58]MH_I2C_Read... [21:54:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:54:58]Read from MH i2c: E2 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 FD 00 [21:54:58]MH_I2C_Read... [21:54:58]Read from MH i2c: E2 FD 00 31 14 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 58 [21:54:58]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:54:58]wFMCommunicate OK [21:54:58]wFMCommunicate request_size=4 [21:54:58]MH_SAM_APDU [21:54:58]CAPDU: 80 17 00 00 [21:54:58]Write to MH i2c: E2 08 00 32 14 80 17 00 00 00 00 00 00 C6 [21:54:58]Write i2c OK [21:54:58]MH_I2C_Read... [21:54:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:54:59]Read from MH i2c: E2 [21:54:59]MH_I2C_Read... [21:54:59]Read from MH i2c: E2 FD 00 [21:54:59]MH_I2C_Read... [21:54:59]Read from MH i2c: E2 FD 00 32 14 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F2 [21:54:59]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [21:54:59]wFMCommunicate OK [21:54:59]wFMCommunicate request_size=4 [21:54:59]MH_SAM_APDU [21:54:59]CAPDU: 80 17 00 00 [21:54:59]Write to MH i2c: E2 08 00 33 14 80 17 00 00 00 00 00 00 C7 [21:54:59]Write i2c OK [21:54:59]MH_I2C_Read... [21:54:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [21:54:59]Read from MH i2c: E2 [21:54:59]MH_I2C_Read... [21:54:59]Read from MH i2c: E2 FD 00 [21:54:59]MH_I2C_Read... [21:54:59]Read from MH i2c: E2 FD 00 33 14 00 00 00 EF 03 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 90 00 3C [21:54:59]RAPDU: 00 00 EF 03 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 90 00 [21:54:59]wFMCommunicate OK [21:54:59]wFMCommunicate request_size=4 [21:54:59]MH_SAM_APDU [21:54:59]CAPDU: 80 17 00 00 [21:54:59]Write to MH i2c: E2 08 00 34 14 80 17 00 00 00 00 00 00 C8 [21:54:59]Write i2c OK [21:54:59]MH_I2C_Read... [21:54:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [21:54:59]Read from MH i2c: E2 [21:54:59]MH_I2C_Read... [21:54:59]Read from MH i2c: E2 D8 00 [21:54:59]MH_I2C_Read... [21:54:59]Read from MH i2c: E2 D8 00 34 14 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 AF [21:54:59]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 [21:54:59]wFMCommunicate OK [21:54:59]SAM_PROTO_GetShiftData done [21:54:59]requested_item shift.sale.total_cash is exist - process it [21:54:59]requested_item shift.sale_refund.total is exist - process it [21:54:59]requested_item shift.sale_refund.total_cash is exist - process it [21:54:59]produce_requested_data done [21:54:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57088,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33867.47,"shift.sale.total_cash":27030.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [21:54:59]process_action_free close_receipt [21:54:59]json_value_free [21:54:59]json_value_free done [21:54:59]process_json_proto returns [21:54:59]Send response to host [21:54:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57088,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":33867.47,"shift.sale.total_cash":27030.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [21:54:59]free response buf [21:54:59]execute_script done [21:54:59]execute_script returns [21:54:59]free content buf [21:54:59]Sock 7.Close socket [21:54:59]Sock 7.Thread stoped [21:55:02]OFD Sender: No OFD packet to send [21:55:07]OFD Sender: No OFD packet to send [21:55:12]OFD Sender: No OFD packet to send [21:55:17]OFD Sender: No OFD packet to send [21:55:22]OFD Sender: No OFD packet to send [21:55:27]OFD Sender: No OFD packet to send [21:55:32]OFD Sender: No OFD packet to send [21:55:37]OFD Sender: No OFD packet to send [21:55:42]OFD Sender: No OFD packet to send [21:55:47]OFD Sender: No OFD packet to send [21:55:52]OFD Sender: No OFD packet to send [21:55:57]OFD Sender: No OFD packet to send [21:56:02]OFD Sender: No OFD packet to send [21:56:07]OFD Sender: No OFD packet to send [21:56:12]OFD Sender: No OFD packet to send [21:56:17]OFD Sender: No OFD packet to send [21:56:22]OFD Sender: No OFD packet to send [21:56:27]OFD Sender: No OFD packet to send [21:56:32]OFD Sender: No OFD packet to send [21:56:37]OFD Sender: No OFD packet to send [21:56: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:57:02]OFD Sender: No OFD packet to send [21:57:07]OFD Sender: No OFD packet to send [21:57:12]OFD Sender: No OFD packet to send [21:57:17]OFD Sender: No OFD packet to send [21:57:22]OFD Sender: No OFD packet to send [21:57:27]OFD Sender: No OFD packet to send [21:57:32]OFD Sender: No OFD packet to send [21:57:37]OFD Sender: No OFD packet to send [21:57:42]OFD Sender: No OFD packet to send [21:57:47]OFD Sender: No OFD packet to send [21:57:52]OFD Sender: No OFD packet to send [21:57:57]OFD Sender: No OFD packet to send [21:58:02]OFD Sender: No OFD packet to send [21:58:07]OFD Sender: No OFD packet to send [21:58:12]OFD Sender: No OFD packet to send [21:58:17]OFD Sender: No OFD packet to send [21:58:22]OFD Sender: No OFD packet to send [21:58:27]OFD Sender: No OFD packet to send [21:58:32]OFD Sender: No OFD packet to send [21:58:37]OFD Sender: No OFD packet to send [21:58:42]OFD Sender: No OFD packet to send [21:58:47]OFD Sender: No OFD packet to send [21:58:52]OFD Sender: No OFD packet to send [21:58:57]OFD Sender: No OFD packet to send [21:59:02]OFD Sender: No OFD packet to send [21:59:07]OFD Sender: No OFD packet to send [21:59:12]OFD Sender: No OFD packet to send [21:59:17]OFD Sender: No OFD packet to send [21:59:22]OFD Sender: No OFD packet to send [21:59:27]OFD Sender: No OFD packet to send [21:59:32]OFD Sender: No OFD packet to send [21:59:37]OFD Sender: No OFD packet to send [21:59:42]OFD Sender: No OFD packet to send [21:59:47]OFD Sender: No OFD packet to send [21:59:52]OFD Sender: No OFD packet to send [21:59:57]OFD Sender: No OFD packet to send [22:00:02]OFD Sender: No OFD packet to send [22:00:07]OFD Sender: No OFD packet to send [22:00:12]OFD Sender: No OFD packet to send [22:00:17]OFD Sender: No OFD packet to send [22:00:22]OFD Sender: No OFD packet to send [22:00:27]OFD Sender: No OFD packet to send [22:00:32]OFD Sender: No OFD packet to send [22:00:37]OFD Sender: No OFD packet to send [22:00:42]OFD Sender: No OFD packet to send [22:00:47]OFD Sender: No OFD packet to send [22:00:52]OFD Sender: No OFD packet to send [22:00:57]OFD Sender: No OFD packet to send [22:01:02]OFD Sender: No OFD packet to send [22:01:07]OFD Sender: No OFD packet to send [22:01:12]OFD Sender: No OFD packet to send [22:01:17]OFD Sender: No OFD packet to send [22:01:22]OFD Sender: No OFD packet to send [22:01:27]OFD Sender: No OFD packet to send [22:01:32]OFD Sender: No OFD packet to send [22:01:37]OFD Sender: No OFD packet to send [22:01:42]OFD Sender: No OFD packet to send [22:01:47]OFD Sender: No OFD packet to send [22:01:52]OFD Sender: No OFD packet to send [22:01:57]OFD Sender: No OFD packet to send [22:02:02]OFD Sender: No OFD packet to send [22:02:07]OFD Sender: No OFD packet to send [22:02:12]OFD Sender: No OFD packet to send [22:02:17]OFD Sender: No OFD packet to send [22:02:22]OFD Sender: No OFD packet to send [22:02:27]OFD Sender: No OFD packet to send [22:02:32]OFD Sender: No OFD packet to send [22:02:37]OFD Sender: No OFD packet to send [22:02:42]OFD Sender: No OFD packet to send [22:02:47]OFD Sender: No OFD packet to send [22:02:52]OFD Sender: No OFD packet to send [22:02:57]OFD Sender: No OFD packet to send [22:03:02]OFD Sender: No OFD packet to send [22:03:07]OFD Sender: No OFD packet to send [22:03:12]OFD Sender: No OFD packet to send [22:03:17]OFD Sender: No OFD packet to send [22:03:22]OFD Sender: No OFD packet to send [22:03:27]OFD Sender: No OFD packet to send [22:03:32]OFD Sender: No OFD packet to send [22:03:37]OFD Sender: No OFD packet to send [22:03:42]OFD Sender: No OFD packet to send [22:03:47]OFD Sender: No OFD packet to send [22:03:52]OFD Sender: No OFD packet to send [22:03:57]OFD Sender: No OFD packet to send [22:04:02]OFD Sender: No OFD packet to send [22:04:07]OFD Sender: No OFD packet to send [22:04:12]OFD Sender: No OFD packet to send [22:04:17]OFD Sender: No OFD packet to send [22:04:22]OFD Sender: No OFD packet to send [22:04:27]OFD Sender: No OFD packet to send [22:04:32]OFD Sender: No OFD packet to send [22:04:37]OFD Sender: No OFD packet to send [22:04:42]OFD Sender: No OFD packet to send [22:04:47]OFD Sender: No OFD packet to send [22:04:52]OFD Sender: No OFD packet to send [22:04:57]OFD Sender: No OFD packet to send [22:05:02]OFD Sender: No OFD packet to send [22:05:07]OFD Sender: No OFD packet to send [22:05:12]OFD Sender: No OFD packet to send [22:05:17]OFD Sender: No OFD packet to send [22:05:22]OFD Sender: No OFD packet to send [22:05:27]OFD Sender: No OFD packet to send [22:05:32]OFD Sender: No OFD packet to send [22:05:37]OFD Sender: No OFD packet to send [22:05:42]OFD Sender: No OFD packet to send [22:05:47]OFD Sender: No OFD packet to send [22:05:52]OFD Sender: No OFD packet to send [22:05:57]OFD Sender: No OFD packet to send [22:06:02]OFD Sender: No OFD packet to send [22:06:07]OFD Sender: No OFD packet to send [22:06:12]OFD Sender: No OFD packet to send [22:06:17]OFD Sender: No OFD packet to send [22:06:22]OFD Sender: No OFD packet to send [22:06:27]OFD Sender: No OFD packet to send [22:06:32]OFD Sender: No OFD packet to send [22:06:37]OFD Sender: No OFD packet to send [22:06:42]OFD Sender: No OFD packet to send [22:06:47]OFD Sender: No OFD packet to send [22:06:52]OFD Sender: No OFD packet to send [22:06:57]OFD Sender: No OFD packet to send [22:07:02]OFD Sender: No OFD packet to send [22:07:07]OFD Sender: No OFD packet to send [22:07:12]OFD Sender: No OFD packet to send [22:07:17]OFD Sender: No OFD packet to send [22:07:22]OFD Sender: No OFD packet to send [22:07:27]OFD Sender: No OFD packet to send [22:07:32]OFD Sender: No OFD packet to send [22:07:37]OFD Sender: No OFD packet to send [22:07:42]OFD Sender: No OFD packet to send [22:07:47]OFD Sender: No OFD packet to send [22:07:52]OFD Sender: No OFD packet to send [22:07:57]OFD Sender: No OFD packet to send [22:08:02]OFD Sender: No OFD packet to send [22:08:07]OFD Sender: No OFD packet to send [22:08:12]OFD Sender: No OFD packet to send [22:08:17]OFD Sender: No OFD packet to send [22:08:22]OFD Sender: No OFD packet to send [22:08:27]OFD Sender: No OFD packet to send [22:08:32]OFD Sender: No OFD packet to send [22:08:37]OFD Sender: No OFD packet to send [22:08:42]OFD Sender: No OFD packet to send [22:08:47]OFD Sender: No OFD packet to send [22:08:52]OFD Sender: No OFD packet to send [22:08:57]OFD Sender: No OFD packet to send [22:09:02]OFD Sender: No OFD packet to send [22:09:07]OFD Sender: No OFD packet to send [22:09:12]OFD Sender: No OFD packet to send [22:09:17]OFD Sender: No OFD packet to send [22:09:22]OFD Sender: No OFD packet to send [22:09:27]OFD Sender: No OFD packet to send [22:09:32]OFD Sender: No OFD packet to send [22:09:37]OFD Sender: No OFD packet to send [22:09:42]OFD Sender: No OFD packet to send [22:09:47]OFD Sender: No OFD packet to send [22:09:52]OFD Sender: No OFD packet to send [22:09:57]OFD Sender: No OFD packet to send [22:10:02]OFD Sender: No OFD packet to send [22:10:07]OFD Sender: No OFD packet to send [22:10:12]OFD Sender: No OFD packet to send [22:10:17]OFD Sender: No OFD packet to send [22:10:22]OFD Sender: No OFD packet to send [22:10:27]OFD Sender: No OFD packet to send [22:10:32]OFD Sender: No OFD packet to send [22:10:37]OFD Sender: No OFD packet to send [22:10:42]OFD Sender: No OFD packet to send [22:10:47]OFD Sender: No OFD packet to send [22:10:52]OFD Sender: No OFD packet to send [22:10:57]OFD Sender: No OFD packet to send [22:11:02]OFD Sender: No OFD packet to send [22:11:07]OFD Sender: No OFD packet to send [22:11:12]OFD Sender: No OFD packet to send [22:11:17]OFD Sender: No OFD packet to send [22:11:22]OFD Sender: No OFD packet to send [22:11:27]OFD Sender: No OFD packet to send [22:11:32]OFD Sender: No OFD packet to send [22:11:37]OFD Sender: No OFD packet to send [22:11:42]OFD Sender: No OFD packet to send [22:11:47]OFD Sender: No OFD packet to send [22:11:52]OFD Sender: No OFD packet to send [22:11:57]OFD Sender: No OFD packet to send [22:12:02]OFD Sender: No OFD packet to send [22:12:07]OFD Sender: No OFD packet to send [22:12:12]OFD Sender: No OFD packet to send [22:12:13]accept exits with 9 [22:12:13]New connection [22:12:13]New thread 3067448676 created [22:12:13]Thread 3067592036 joined [22:12:13]Waiting for new connection... [22:12:13] Sock 9.Parse request [22:12:13]Sock 9.Check first char [22:12:13]Sock 9.First char is OK [22:12:13]request: POST /json_proto HTTP/1.0 [22:12:13]Method: POST [22:12:13]URL: /json_proto [22:12:13]Method is POST - this is cgi request [22:12:13]url: /json_proto [22:12:13]query_string will be loaded in cgi processing [22:12:13]execute_cgi json_proto POST (null) [22:12:13]execute_cgi path=json_proto method=POST [22:12:13]POST find Content-Length [22:12:13]Host: 172.17.39.4:8080 [22:12:13]Content-Length: 1392 [22:12:13]Content-Type: application/json [22:12:13] [22:12:13]POST finish read [22:12:13]Found Content-Length = 1392 [22:12:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129548", "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" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681079", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u043B\u0430\u0434\u043A\u0438\u0439 \u0447\u0438\u043B\u0438 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 384.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:12:13]execute_script... [22: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)129548", "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" : 205.00, "quantity" : 1.000, "sum" : 205.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870235681079", "name": "Grizzly \u0432\u043E\u043B\u043D\u0438\u0441\u0442\u044B\u0435 \u0421\u043B\u0430\u0434\u043A\u0438\u0439 \u0447\u0438\u043B\u0438 55 \u0433\u0440", "price" : 90.00, "quantity" : 1.000, "sum" : 90.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" : 1.000, "sum" : 89.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 384.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:12:13]POST & json_proto [22:12:13]process_json_proto [22:12:13]json parsed OK: [22:12:13]protocol is kg_v1.0 [22:12:13]action value=close_receipt [22:12:13]process_action close_receipt [22:12:13]cmd_close_receipt [22:12:13]MH_GetDate [22:12:13]Write to MH i2c: F0 00 00 35 14 38 [22:12:13]Write i2c OK [22:12:13]MH_I2C_Read... [22:12:13]Read from MH i2c: F0 [22:12:13]MH_I2C_Read... [22:12:13]Read from MH i2c: F0 09 00 [22:12:13]MH_I2C_Read... [22:12:13]Read from MH i2c: F0 09 00 35 14 00 40 4D 94 66 2D 25 5D 64 DB [22:12:13]GetLastDocTimeStamp 1720994097 [22:12:13]current date 1720995136 [22:12:13]FM_GetShiftState [22:12:13]SAM_PROTO_GetShiftState [22:12:13]wFMCommunicate request_size=4 [22:12:13]MH_SAM_APDU [22:12:13]CAPDU: 80 13 01 00 [22:12:13]Write to MH i2c: E2 08 00 36 14 80 13 01 00 00 00 00 00 C7 [22:12:13]Write i2c OK [22:12:13]MH_I2C_Read... [22:12:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:12:13]Read from MH i2c: E2 [22:12:13]MH_I2C_Read... [22:12:13]Read from MH i2c: E2 0E 00 [22:12:13]MH_I2C_Read... [22:12:13]Read from MH i2c: E2 0E 00 36 14 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 6E [22:12:13]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:12:13]wFMCommunicate OK [22:12:13]SAM_PROTO_GetShiftState done [22:12:13]FM_GetShiftState done [22:12:13]opened in 1720917126 [22:12:13]opened+sec_in_day 1721003526 [22:12:13]quantity*price = 20500 [22:12:13]sum+1 = 20501 [22:12:13]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870235681079 Grizzly волнистые Сладкий чили 55 гр 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5000159381178 Шок Батончик Баунти Трио 82,5г 1.000 * 89.00 = 89.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 384.00 НСП 1% : 3.40 НДС 12% : 40.78 Наличными: 384.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 106 14.07.2024 22:12 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57089 ФПД: 84452307714936 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T221217&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57089&fm=84452307714936&tin=02508201610067®Number=0000000000091208&sum=38400 0 [22:12:14]StoreToDocumentArchive [22:12:14]shift 496 fd 57089 [22:12:14]save to /storage/0496/doc_00057089 [22:12:14]save last doc name /storage/0496/doc_00057089 to /storage/kkm_last_doc_name [22:12:14]save OK [22:12:14]Clear old archive folders... [22:12:14]ProcessDocumentItem done err = 0, tmpTLVsize=532 [22:12:14]tlvbuf is 00FB3810 [22:12:14]SAM_PROTO_ClearQueue [22:12:14]wFMCommunicate request_size=4 [22:12:14]MH_SAM_APDU [22:12:14]CAPDU: 80 09 00 00 [22:12:14]Write to MH i2c: E2 08 00 43 14 80 09 00 00 00 00 00 00 C9 [22:12:14]Write i2c OK [22:12:14]MH_I2C_Read... [22:12:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:12:14]Read from MH i2c: E2 [22:12:14]MH_I2C_Read... [22:12:14]Read from MH i2c: E2 03 00 [22:12:14]MH_I2C_Read... [22:12:14]Read from MH i2c: E2 03 00 43 14 00 90 00 CB [22:12:14]RAPDU: 90 00 [22:12:14]wFMCommunicate OK [22:12:14]SAM_PROTO_ClearQueue done [22:12:14]KKMCreateOFDPacket [22:12:14]OFDProtocolAddRootSTLVToBuf [22:12:14]FM_MakeSignedData [22:12:14]FM_MakeSignedData [22:12:14]SAM_PROTO_SignData [22:12:14]wFMCommunicate request_size=4 [22:12:14]MH_SAM_APDU [22:12:14]CAPDU: 80 0D 01 02 [22:12:14]Write to MH i2c: E2 08 00 44 14 80 0D 01 02 00 00 00 00 D1 [22:12:14]Write i2c OK [22:12:14]MH_I2C_Read... [22:12:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:12:14]Read from MH i2c: E2 [22:12:14]MH_I2C_Read... [22:12:14]Read from MH i2c: E2 03 00 [22:12:14]MH_I2C_Read... [22:12:14]Read from MH i2c: E2 03 00 44 14 00 90 00 CC [22:12:14]RAPDU: 90 00 [22:12:14]wFMCommunicate OK [22:12:14]wFMCommunicate request_size=255 [22:12:14]MH_SAM_APDU [22:12:14]CAPDU: 80 0D 02 02 FA 03 00 14 02 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 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 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 78 [22:12:15]Write to MH i2c: E2 02 01 45 14 80 0D 02 02 FA 00 03 00 14 02 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 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 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 78 00 00 6F [22:12:15]Write i2c OK [22:12:15]MH_I2C_Read... [22:12:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:12:15]Read from MH i2c: E2 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 03 00 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 03 00 45 14 00 90 00 CD [22:12:15]RAPDU: 90 00 [22:12:15]wFMCommunicate OK [22:12:15]wFMCommunicate request_size=255 [22:12:15]MH_SAM_APDU [22:12:15]CAPDU: 80 0D 02 02 FA 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 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0F 00 00 00 00 07 04 06 00 00 96 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 41 4D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [22:12:15]Write to MH i2c: E2 02 01 46 14 80 0D 02 02 FA 00 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 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0F 00 00 00 00 07 04 06 00 00 96 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 41 4D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 BC [22:12:15]Write i2c OK [22:12:15]MH_I2C_Read... [22:12:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:12:15]Read from MH i2c: E2 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 03 00 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 03 00 46 14 00 90 00 CE [22:12:15]RAPDU: 90 00 [22:12:15]wFMCommunicate OK [22:12:15]wFMCommunicate request_size=41 [22:12:15]MH_SAM_APDU [22:12:15]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 01 DF 00 00 35 04 06 00 4C CF 15 CD 43 78 [22:12:15]Write to MH i2c: E2 2C 00 47 14 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 01 DF 00 00 35 04 06 00 4C CF 15 CD 43 78 00 00 43 [22:12:15]Write i2c OK [22:12:15]MH_I2C_Read... [22:12:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:12:15]Read from MH i2c: E2 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 03 00 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 03 00 47 14 00 90 00 CF [22:12:15]RAPDU: 90 00 [22:12:15]wFMCommunicate OK [22:12:15]wFMCommunicate request_size=4 [22:12:15]MH_SAM_APDU [22:12:15]CAPDU: 80 0D 03 02 [22:12:15]Write to MH i2c: E2 08 00 48 14 80 0D 03 02 00 00 00 00 D7 [22:12:15]Write i2c OK [22:12:15]MH_I2C_Read... [22:12:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:12:15]Read from MH i2c: E2 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 0B 00 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 0B 00 48 14 00 0D 38 12 FA 96 45 42 EC 90 00 32 [22:12:15]RAPDU: 0D 38 12 FA 96 45 42 EC 90 00 [22:12:15]wFMCommunicate OK [22:12:15]SAM_PROTO_SignData done [22:12:15]FM_MakeSignedData done [22:12:15]CreateOFDProtocolMessage [22:12:15]wFMCommunicate request_size=4 [22:12:15]MH_SAM_APDU [22:12:15]CAPDU: 80 11 00 00 [22:12:15]Write to MH i2c: E2 08 00 49 14 80 11 00 00 00 00 00 00 D7 [22:12:15]Write i2c OK [22:12:15]MH_I2C_Read... [22:12:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:12:15]Read from MH i2c: E2 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 17 00 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: E2 17 00 49 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 31 [22:12:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:12:15]wFMCommunicate OK [22:12:15]CreateOFDProtocolMessage done [22:12:15]OFDSenderStorePacket 57089 [22:12:15]StoreOFDPacket docnum=57089 [22:12:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 28 02 00 00 C9 9E 20 02 9E 2D 5A 03 01 00 03 00 14 02 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 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 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 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 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0F 00 00 00 00 07 04 06 00 00 96 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 41 4D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 01 DF 00 00 35 04 06 00 4C CF 15 CD 43 78 0D 38 12 FA 96 45 42 EC [22:12:15]CheckFolder [22:12:15]dirname=/storage/ofd_packets [22:12:15]CheckFolder done [22:12:15]ProducePacketName [22:12:15]name=ofd_packets/00057089 [22:12:15]NVStorageSaveData ofd_packets/00057089 [22:12:15]File name is /storage/ofd_packets/00057089 [22:12:15]Write 582 bytes [22:12:15]NVStorageSaveData done [22:12:15]OFDSenderStorePacket done [22:12:15]KKMCreateOFDPacket done [22:12:15]NVStorageSaveData kkm_last_timestamp [22:12:15]File name is /storage/kkm_last_timestamp [22:12:15]Write 4 bytes [22:12:15]NVStorageSaveData done [22:12:15]ExternCall_PrintAddStr [22:12:15]wPrintStart [22:12:15]Write to MH i2c: 01 00 00 4A 14 5E [22:12:15]Write i2c OK [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: 01 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: 01 07 00 [22:12:15]MH_I2C_Read... [22:12:15]Read from MH i2c: 01 07 00 4A 14 00 00 00 00 00 FF 0F 73 [22:12:15]RasterBufferAndPrint [22:12:15]line Счет N : (3)129548 [22:12:15]line ИНН: 02508201610067 [22:12:15]line Контрольно-Кассовый Чек [22:12:15]line ПРОДАЖА [22:12:15]line Товар: 5449000000286 [22:12:15]line Напиток Кока-Кола 2л [22:12:15]line 1.000 * 205.00 [22:12:15]line = 205.00 [22:12:15]line НДС 12% НСП 1% [22:12:15]line > о реализуемом товаре [22:12:15]line Товар: 4870235681079 [22:12:15]line Grizzly волнистые Сладкий чили 55 гр [22:12:15]line 1.000 * 90.00 [22:12:15]line = 90.00 [22:12:15]line НДС 12% НСП 1% [22:12:15]line > о реализуемом товаре [22:12:15]line Товар: 5000159381178 [22:12:15]line Шок Батончик Баунти Трио 82,5г [22:12:15]line 1.000 * 89.00 [22:12:15]line = 89.00 [22:12:15]line НДС 12% НСП 1% [22:12:15]line > о реализуемом товаре [22:12:15]line ИТОГО: 384.00 [22:12:15]line НСП 1% : 3.40 [22:12:15]line НДС 12% : 40.78 [22:12:15]line Наличными: 384.00 [22:12:15]line Безнал.: 0.00 [22:12:15]line Место: АЗС № 132 "Партнер Нефть" [22:12:15]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:12:15]line СНО: Общий режим [22:12:15]line Чек 106 14.07.2024 22:12 [22:12:15]line Смена: 496 ФФД: 1.0 [22:12:15]line ЗНМ: 0300000132 [22:12:15]line РНМ: 0000000000091208 [22:12:15]line Версия ККМ: 001 [22:12:15]line ФМ: 0000000000874857 [22:12:15]line ФД: 57089 [22:12:15]line ФПД: 84452307714936 [22:12:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T221217&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57089&fm=84452307714936&tin=02508201610067®Number=0000000000091208&sum=38400 [22:12:16]line 0 [22:12:16]OFD Sender: Processing packet 57089 [packets to send 38, broken 37] [22:12:16]ProducePacketName [22:12:16]name=ofd_packets/00057089 [22:12:16]OFD Sender: To server: pG, [22:12:16]CommunicateWithHost lk.salyk.kg:30040 [22:12:16]ConnectInit lk.salyk.kg [22:12:16]written 0, free lines is 4095 [22:12:16]Connected sock=10 [22:12:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 28 02 00 00 C9 9E 20 02 9E 2D 5A 03 01 00 03 00 14 02 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 14 50 00 00 00 00 13 04 06 00 14 50 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 34 38 37 30 32 33 35 36 38 31 30 37 39 06 04 3A 00 47 72 69 7A 7A 6C 79 20 D0 B2 D0 BE D0 BB D0 BD D0 B8 D1 81 D1 82 D1 8B D0 B5 20 D0 A1 D0 BB D0 B0 D0 B4 D0 BA D0 B8 D0 B9 20 D1 87 D0 B8 D0 BB D0 B8 20 35 35 20 D0 B3 D1 80 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 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 E8 03 00 00 00 00 00 37 04 06 00 C4 22 00 00 00 00 13 04 06 00 C4 22 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 00 96 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 54 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EE 0F 00 00 00 00 07 04 06 00 00 96 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 41 4D 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 01 DF 00 00 35 04 06 00 4C CF 15 CD 43 78 0D 38 12 FA 96 45 42 EC [22:12:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 BB 25 47 00 30 0A A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 01 DF 00 00 F4 03 04 00 91 F3 93 66 B6 04 01 00 00 E8 EB A5 44 ED 5F 4A FB [22:12:16]CommunicateWithHost err = 0 [22:12:16]CheckOFDResponse [22:12:16]1017 (14) - 77093643461234 [22:12:16]1041 (16) - 0000000000874857 [22:12:16]1040 (4) - 57089 [22:12:16]1012 (4) - 14.07.2024 15:49 [22:12:16]1206 (1) - 0 [22:12:16]OFD Sender: Remove packet 57089 [22:12:16]ProducePacketName [22:12:16]name=ofd_packets/00057089 [22:12:16]NVStorageDeleteData [22:12:16]Write to MH i2c: 01 00 00 80 14 94 [22:12:16]Write i2c OK [22:12:16]MH_I2C_Read... [22:12:16]Read from MH i2c: 01 [22:12:16]MH_I2C_Read... [22:12:16]Read from MH i2c: 01 07 00 [22:12:16]MH_I2C_Read... [22:12:16]Read from MH i2c: 01 07 00 80 14 00 00 00 00 00 36 0C DD [22:12:16]RasterBufferAndPrint [22:12:16]line [22:12:16]line [22:12:16]line [22:12:16]line [22:12:16]line [22:12:16]written 0, free lines is 3134 [22:12:16]MH_Cut [22:12:16]Write to MH i2c: D1 01 00 87 14 01 6D [22:12:16]Write i2c OK [22:12:16]MH_I2C_Read... [22:12:16]Read from MH i2c: D1 [22:12:16]MH_I2C_Read... [22:12:16]Read from MH i2c: D1 01 00 [22:12:16]MH_I2C_Read... [22:12:16]Read from MH i2c: D1 01 00 87 14 00 6C [22:12:16]Write to MH i2c: 01 00 00 88 14 9C [22:12:16]Write i2c OK [22:12:16]MH_I2C_Read... [22:12:17]OFD Sender: No OFD packet to send [22:12:17]*** Cut start [22:12:17]*** Partial cut [22:12:17]*** CUTSNS_PIN = 1 [22:12:17]*** CUTSNS_PIN = 0 [22:12:17]*** Brake cut motor [22:12:18]Read from MH i2c: 01 [22:12:18]MH_I2C_Read... [22:12:18]*** Stop cut motor [22:12:18]*** Cut end [22:12:18]Read from MH i2c: 01 07 00 [22:12:18]MH_I2C_Read... [22:12:18]Read from MH i2c: 01 07 00 88 14 00 00 00 00 00 FF 0F B1 [22:12:18]process_action close_receipt done [22:12:18]requested_data is exist [22:12:18]produce_requested_data [22:12:18]requested_item fm.sn is exist - process it [22:12:18]wFMCommunicate request_size=4 [22:12:18]MH_SAM_APDU [22:12:18]CAPDU: 80 11 00 00 [22:12:18]Write to MH i2c: E2 08 00 89 14 80 11 00 00 00 00 00 00 17 [22:12:18]Write i2c OK [22:12:18]MH_I2C_Read... [22:12:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:12:18]Read from MH i2c: E2 [22:12:18]MH_I2C_Read... [22:12:18]Read from MH i2c: E2 17 00 [22:12:18]MH_I2C_Read... [22:12:18]Read from MH i2c: E2 17 00 89 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 71 [22:12:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:12:18]wFMCommunicate OK [22:12:18]requested_item fd.num is exist - process it [22:12:18]SAM_PROTO_GetFieldsCounters [22:12:18]wFMCommunicate request_size=4 [22:12:18]MH_SAM_APDU [22:12:18]CAPDU: 80 13 00 00 [22:12:18]Write to MH i2c: E2 08 00 8A 14 80 13 00 00 00 00 00 00 1A [22:12:18]Write i2c OK [22:12:18]MH_I2C_Read... [22:12:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:12:18]Read from MH i2c: E2 [22:12:18]MH_I2C_Read... [22:12:18]Read from MH i2c: E2 62 00 [22:12:18]MH_I2C_Read... [22:12:18]Read from MH i2c: E2 62 00 8A 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 01 DF 00 00 0E 04 04 00 F0 01 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 4C [22:12:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 01 DF 00 00 0E 04 04 00 F0 01 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 [22:12:18]wFMCommunicate OK [22:12:18]SAM_PROTO_GetFieldsCounters done [22:12:18]requested_item shift.num is exist - process it [22:12:18]requested_item shift.opened is exist - process it [22:12:18]req_shift_opened [22:12:18]FM_GetShiftState [22:12:18]SAM_PROTO_GetShiftState [22:12:18]wFMCommunicate request_size=4 [22:12:18]MH_SAM_APDU [22:12:18]CAPDU: 80 13 01 00 [22:12:18]Write to MH i2c: E2 08 00 8B 14 80 13 01 00 00 00 00 00 1C [22:12:18]Write i2c OK [22:12:18]MH_I2C_Read... [22:12:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:12:18]Read from MH i2c: E2 [22:12:18]MH_I2C_Read... [22:12:18]Read from MH i2c: E2 0E 00 [22:12:18]MH_I2C_Read... [22:12:18]Read from MH i2c: E2 0E 00 8B 14 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 C3 [22:12:18]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:12:18]wFMCommunicate OK [22:12:18]SAM_PROTO_GetShiftState done [22:12:18]FM_GetShiftState done [22:12:18]req_shift_opened done [22:12:18]requested_item shift.open_date is exist - process it [22:12:18]req_shift_open_date [22:12:18]req_shift_open_date done [22:12:18]requested_item shift.sale.total is exist - process it [22:12:18]SAM_PROTO_GetShiftData [22:12:18]wFMCommunicate request_size=4 [22:12:18]MH_SAM_APDU [22:12:18]CAPDU: 80 13 02 00 [22:12:18]Write to MH i2c: E2 08 00 8C 14 80 13 02 00 00 00 00 00 1E [22:12:18]Write i2c OK [22:12:18]MH_I2C_Read... [22:12:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:12:18]Read from MH i2c: E2 [22:12:18]MH_I2C_Read... [22:12:18]Read from MH i2c: E2 FD 00 [22:12:18]MH_I2C_Read... [22:12:18]Read from MH i2c: E2 FD 00 8C 14 00 BB 04 AA 04 B7 04 6E 04 04 00 6A 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 7B 43 34 70 04 03 00 98 D4 29 72 04 03 00 E3 6E 0A 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 EA 8C 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 5D 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 99 [22:12:18]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 6A 00 00 00 69 04 9B 00 6F 04 04 00 68 00 00 00 B1 04 03 00 7B 43 34 70 04 03 00 98 D4 29 72 04 03 00 E3 6E 0A 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 EA 8C 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 5D 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [22:12:18]wFMCommunicate OK [22:12:18]wFMCommunicate request_size=4 [22:12:18]MH_SAM_APDU [22:12:18]CAPDU: 80 17 00 00 [22:12:18]Write to MH i2c: E2 08 00 8D 14 80 17 00 00 00 00 00 00 21 [22:12:18]Write i2c OK [22:12:18]MH_I2C_Read... [22:12:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:12:19]Read from MH i2c: E2 [22:12:19]MH_I2C_Read... [22:12:19]Read from MH i2c: E2 FD 00 [22:12:19]MH_I2C_Read... [22:12:19]Read from MH i2c: E2 FD 00 8D 14 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B4 [22:12:19]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:12:19]wFMCommunicate OK [22:12:19]wFMCommunicate request_size=4 [22:12:19]MH_SAM_APDU [22:12:19]CAPDU: 80 17 00 00 [22:12:19]Write to MH i2c: E2 08 00 8E 14 80 17 00 00 00 00 00 00 22 [22:12:19]Write i2c OK [22:12:19]MH_I2C_Read... [22:12:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:12:19]Read from MH i2c: E2 [22:12:19]MH_I2C_Read... [22:12:19]Read from MH i2c: E2 FD 00 [22:12:19]MH_I2C_Read... [22:12:19]Read from MH i2c: E2 FD 00 8E 14 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4E [22:12:19]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:12:19]wFMCommunicate OK [22:12:19]wFMCommunicate request_size=4 [22:12:19]MH_SAM_APDU [22:12:19]CAPDU: 80 17 00 00 [22:12:19]Write to MH i2c: E2 08 00 8F 14 80 17 00 00 00 00 00 00 23 [22:12:19]Write i2c OK [22:12:19]MH_I2C_Read... [22:12:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:12:19]Read from MH i2c: E2 [22:12:19]MH_I2C_Read... [22:12:19]Read from MH i2c: E2 FD 00 [22:12:19]MH_I2C_Read... [22:12:19]Read from MH i2c: E2 FD 00 8F 14 00 00 00 EF 03 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 90 00 98 [22:12:19]RAPDU: 00 00 EF 03 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 90 00 [22:12:19]wFMCommunicate OK [22:12:19]wFMCommunicate request_size=4 [22:12:19]MH_SAM_APDU [22:12:19]CAPDU: 80 17 00 00 [22:12:19]Write to MH i2c: E2 08 00 90 14 80 17 00 00 00 00 00 00 24 [22:12:19]Write i2c OK [22:12:19]MH_I2C_Read... [22:12:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [22:12:20]Read from MH i2c: E2 [22:12:20]MH_I2C_Read... [22:12:20]Read from MH i2c: E2 D8 00 [22:12:20]MH_I2C_Read... [22:12:20]Read from MH i2c: E2 D8 00 90 14 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 0B [22:12:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:12:20]wFMCommunicate OK [22:12:20]SAM_PROTO_GetShiftData done [22:12:20]requested_item shift.sale.total_cash is exist - process it [22:12:20]requested_item shift.sale_refund.total is exist - process it [22:12:20]requested_item shift.sale_refund.total_cash is exist - process it [22:12:20]produce_requested_data done [22:12:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57089,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":34251.47,"shift.sale.total_cash":27414.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [22:12:20]process_action_free close_receipt [22:12:20]json_value_free [22:12:20]json_value_free done [22:12:20]process_json_proto returns [22:12:20]Send response to host [22:12:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57089,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":34251.47,"shift.sale.total_cash":27414.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [22:12:20]free response buf [22:12:20]execute_script done [22:12:20]execute_script returns [22:12:20]free content buf [22:12:20]Sock 9.Close socket [22:12:20]Sock 9.Thread stoped [22:12:22]OFD Sender: No OFD packet to send [22:12:27]OFD Sender: No OFD packet to send [22:12:32]OFD Sender: No OFD packet to send [22:12:37]OFD Sender: No OFD packet to send [22:12:42]OFD Sender: No OFD packet to send [22:12:47]OFD Sender: No OFD packet to send [22:12:52]OFD Sender: No OFD packet to send [22:12:57]OFD Sender: No OFD packet to send [22:13:02]OFD Sender: No OFD packet to send [22:13:07]OFD Sender: No OFD packet to send [22:13:12]OFD Sender: No OFD packet to send [22:13:17]OFD Sender: No OFD packet to send [22:13:22]OFD Sender: No OFD packet to send [22:13:27]OFD Sender: No OFD packet to send [22:13:32]OFD Sender: No OFD packet to send [22:13:37]OFD Sender: No OFD packet to send [22:13:42]OFD Sender: No OFD packet to send [22:13:47]OFD Sender: No OFD packet to send [22:13:52]OFD Sender: No OFD packet to send [22:13:57]OFD Sender: No OFD packet to send [22:14:02]OFD Sender: No OFD packet to send [22:14:07]OFD Sender: No OFD packet to send [22:14:12]OFD Sender: No OFD packet to send [22:14:17]OFD Sender: No OFD packet to send [22:14:22]OFD Sender: No OFD packet to send [22:14:27]OFD Sender: No OFD packet to send [22:14:32]OFD Sender: No OFD packet to send [22:14:37]OFD Sender: No OFD packet to send [22:14:42]OFD Sender: No OFD packet to send [22:14:47]OFD Sender: No OFD packet to send [22:14:52]OFD Sender: No OFD packet to send [22:14:57]OFD Sender: No OFD packet to send [22:15:02]OFD Sender: No OFD packet to send [22:15:07]OFD Sender: No OFD packet to send [22:15:12]OFD Sender: No OFD packet to send [22:15:17]OFD Sender: No OFD packet to send [22:15:22]OFD Sender: No OFD packet to send [22:15:27]OFD Sender: No OFD packet to send [22:15:32]OFD Sender: No OFD packet to send [22:15:37]OFD Sender: No OFD packet to send [22:15:42]OFD Sender: No OFD packet to send [22:15:47]OFD Sender: No OFD packet to send [22:15:52]OFD Sender: No OFD packet to send [22:15:57]OFD Sender: No OFD packet to send [22:16:02]OFD Sender: No OFD packet to send [22:16:07]OFD Sender: No OFD packet to send [22:16:12]OFD Sender: No OFD packet to send [22:16:17]OFD Sender: No OFD packet to send [22:16:22]OFD Sender: No OFD packet to send [22:16:27]OFD Sender: No OFD packet to send [22:16:32]OFD Sender: No OFD packet to send [22:16:37]OFD Sender: No OFD packet to send [22:16:42]OFD Sender: No OFD packet to send [22:16:47]OFD Sender: No OFD packet to send [22:16:52]OFD Sender: No OFD packet to send [22:16:57]OFD Sender: No OFD packet to send [22:17:02]OFD Sender: No OFD packet to send [22:17:07]OFD Sender: No OFD packet to send [22:17:12]OFD Sender: No OFD packet to send [22:17:17]OFD Sender: No OFD packet to send [22:17:22]OFD Sender: No OFD packet to send [22:17:27]OFD Sender: No OFD packet to send [22:17:32]OFD Sender: No OFD packet to send [22:17:37]OFD Sender: No OFD packet to send [22:17:42]OFD Sender: No OFD packet to send [22:17:47]OFD Sender: No OFD packet to send [22:17:52]OFD Sender: No OFD packet to send [22:17:57]OFD Sender: No OFD packet to send [22:18:02]OFD Sender: No OFD packet to send [22:18:07]OFD Sender: No OFD packet to send [22:18:12]OFD Sender: No OFD packet to send [22:18:17]OFD Sender: No OFD packet to send [22:18:22]OFD Sender: No OFD packet to send [22:18:27]OFD Sender: No OFD packet to send [22:18:32]OFD Sender: No OFD packet to send [22:18:37]OFD Sender: No OFD packet to send [22:18:42]OFD Sender: No OFD packet to send [22:18:47]OFD Sender: No OFD packet to send [22:18:52]OFD Sender: No OFD packet to send [22:18:57]OFD Sender: No OFD packet to send [22:19:02]OFD Sender: No OFD packet to send [22:19:07]OFD Sender: No OFD packet to send [22:19:12]OFD Sender: No OFD packet to send [22:19:17]OFD Sender: No OFD packet to send [22:19:22]OFD Sender: No OFD packet to send [22:19:27]OFD Sender: No OFD packet to send [22:19:32]OFD Sender: No OFD packet to send [22:19:37]OFD Sender: No OFD packet to send [22:19:42]OFD Sender: No OFD packet to send [22:19:47]OFD Sender: No OFD packet to send [22:19:52]OFD Sender: No OFD packet to send [22:19:57]OFD Sender: No OFD packet to send [22:20:02]OFD Sender: No OFD packet to send [22:20:07]OFD Sender: No OFD packet to send [22:20:12]OFD Sender: No OFD packet to send [22:20:17]OFD Sender: No OFD packet to send [22:20:22]OFD Sender: No OFD packet to send [22:20:27]OFD Sender: No OFD packet to send [22:20:32]OFD Sender: No OFD packet to send [22:20:37]OFD Sender: No OFD packet to send [22:20:42]OFD Sender: No OFD packet to send [22:20:47]OFD Sender: No OFD packet to send [22:20:52]OFD Sender: No OFD packet to send [22:20:57]OFD Sender: No OFD packet to send [22:21:00]accept exits with 7 [22:21:00]New connection [22:21:00]New thread 3067592036 created [22:21:00]Thread 3067448676 joined [22:21:00]Waiting for new connection... [22:21:00] Sock 7.Parse request [22:21:00]Sock 7.Check first char [22:21:00]Sock 7.First char is OK [22:21:00]request: POST /json_proto HTTP/1.0 [22:21:00]Method: POST [22:21:00]URL: /json_proto [22:21:00]Method is POST - this is cgi request [22:21:00]url: /json_proto [22:21:00]query_string will be loaded in cgi processing [22:21:00]execute_cgi json_proto POST (null) [22:21:00]execute_cgi path=json_proto method=POST [22:21:00]POST find Content-Length [22:21:00]Host: 172.17.39.4:8080 [22:21:00]Content-Length: 927 [22:21:00]Content-Type: application/json [22:21:00] [22:21:00]POST finish read [22:21:00]Found Content-Length = 927 [22:21:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129549", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:21:00]execute_script... [22:21: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)129549", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:21:01]POST & json_proto [22:21:01]process_json_proto [22:21:01]json parsed OK: [22:21:01]protocol is kg_v1.0 [22:21:01]action value=close_receipt [22:21:01]process_action close_receipt [22:21:01]cmd_close_receipt [22:21:01]MH_GetDate [22:21:01]Write to MH i2c: F0 00 00 91 14 94 [22:21:01]Write i2c OK [22:21:01]MH_I2C_Read... [22:21:01]Read from MH i2c: F0 [22:21:01]MH_I2C_Read... [22:21:01]Read from MH i2c: F0 09 00 [22:21:01]MH_I2C_Read... [22:21:01]Read from MH i2c: F0 09 00 91 14 00 50 4F 94 66 2D 25 5D 64 49 [22:21:01]GetLastDocTimeStamp 1720995137 [22:21:01]current date 1720995664 [22:21:01]FM_GetShiftState [22:21:01]SAM_PROTO_GetShiftState [22:21:01]wFMCommunicate request_size=4 [22:21:01]MH_SAM_APDU [22:21:01]CAPDU: 80 13 01 00 [22:21:01]Write to MH i2c: E2 08 00 92 14 80 13 01 00 00 00 00 00 23 [22:21:01]Write i2c OK [22:21:01]MH_I2C_Read... [22:21:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:21:01]Read from MH i2c: E2 [22:21:01]MH_I2C_Read... [22:21:01]Read from MH i2c: E2 0E 00 [22:21:01]MH_I2C_Read... [22:21:01]Read from MH i2c: E2 0E 00 92 14 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 CA [22:21:01]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:21:01]wFMCommunicate OK [22:21:01]SAM_PROTO_GetShiftState done [22:21:01]FM_GetShiftState done [22:21:01]opened in 1720917126 [22:21:01]opened+sec_in_day 1721003526 [22:21:01]quantity*price = 13800 [22:21:01]sum+1 = 13801 [22:21:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 0.00 Безнал.: 138.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 107 14.07.2024 22:21 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57090 ФПД: 8981142183715 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T222104&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57090&fm=8981142183715&tin=02508201610067®Number=0000000000091208&sum=13800 0 [22:21:02]StoreToDocumentArchive [22:21:02]shift 496 fd 57090 [22:21:02]save to /storage/0496/doc_00057090 [22:21:02]save last doc name /storage/0496/doc_00057090 to /storage/kkm_last_doc_name [22:21:02]save OK [22:21:02]Clear old archive folders... [22:21:02]ProcessDocumentItem done err = 0, tmpTLVsize=274 [22:21:02]tlvbuf is 00FEB600 [22:21:02]SAM_PROTO_ClearQueue [22:21:02]wFMCommunicate request_size=4 [22:21:02]MH_SAM_APDU [22:21:02]CAPDU: 80 09 00 00 [22:21:02]Write to MH i2c: E2 08 00 9F 14 80 09 00 00 00 00 00 00 25 [22:21:02]Write i2c OK [22:21:02]MH_I2C_Read... [22:21:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:21:02]Read from MH i2c: E2 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 03 00 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 03 00 9F 14 00 90 00 27 [22:21:02]RAPDU: 90 00 [22:21:02]wFMCommunicate OK [22:21:02]SAM_PROTO_ClearQueue done [22:21:02]KKMCreateOFDPacket [22:21:02]OFDProtocolAddRootSTLVToBuf [22:21:02]FM_MakeSignedData [22:21:02]FM_MakeSignedData [22:21:02]SAM_PROTO_SignData [22:21:02]wFMCommunicate request_size=4 [22:21:02]MH_SAM_APDU [22:21:02]CAPDU: 80 0D 01 02 [22:21:02]Write to MH i2c: E2 08 00 A0 14 80 0D 01 02 00 00 00 00 2D [22:21:02]Write i2c OK [22:21:02]MH_I2C_Read... [22:21:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:21:02]Read from MH i2c: E2 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 03 00 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 03 00 A0 14 00 90 00 28 [22:21:02]RAPDU: 90 00 [22:21:02]wFMCommunicate OK [22:21:02]wFMCommunicate request_size=255 [22:21:02]MH_SAM_APDU [22:21:02]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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 50 4F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 [22:21:02]Write to MH i2c: E2 02 01 A1 14 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 50 4F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 00 00 5A [22:21:02]Write i2c OK [22:21:02]MH_I2C_Read... [22:21:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:21:02]OFD Sender: No OFD packet to send [22:21:02]Read from MH i2c: E2 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 03 00 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 03 00 A1 14 00 90 00 29 [22:21:02]RAPDU: 90 00 [22:21:02]wFMCommunicate OK [22:21:02]wFMCommunicate request_size=33 [22:21:02]MH_SAM_APDU [22:21:02]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 02 DF 00 00 35 04 06 00 08 2B 15 CA 1F 23 [22:21:02]Write to MH i2c: E2 24 00 A2 14 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 02 DF 00 00 35 04 06 00 08 2B 15 CA 1F 23 00 00 FB [22:21:02]Write i2c OK [22:21:02]MH_I2C_Read... [22:21:02]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:21:02]Read from MH i2c: E2 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 03 00 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 03 00 A2 14 00 90 00 2A [22:21:02]RAPDU: 90 00 [22:21:02]wFMCommunicate OK [22:21:02]wFMCommunicate request_size=4 [22:21:02]MH_SAM_APDU [22:21:02]CAPDU: 80 0D 03 02 [22:21:02]Write to MH i2c: E2 08 00 A3 14 80 0D 03 02 00 00 00 00 32 [22:21:02]Write i2c OK [22:21:02]MH_I2C_Read... [22:21:02]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:21:02]Read from MH i2c: E2 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 0B 00 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 0B 00 A3 14 00 BE 10 D0 F1 E6 46 CA 98 90 00 50 [22:21:02]RAPDU: BE 10 D0 F1 E6 46 CA 98 90 00 [22:21:02]wFMCommunicate OK [22:21:02]SAM_PROTO_SignData done [22:21:02]FM_MakeSignedData done [22:21:02]CreateOFDProtocolMessage [22:21:02]wFMCommunicate request_size=4 [22:21:02]MH_SAM_APDU [22:21:02]CAPDU: 80 11 00 00 [22:21:02]Write to MH i2c: E2 08 00 A4 14 80 11 00 00 00 00 00 00 32 [22:21:02]Write i2c OK [22:21:02]MH_I2C_Read... [22:21:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:21:02]Read from MH i2c: E2 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 17 00 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: E2 17 00 A4 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8C [22:21:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:21:02]wFMCommunicate OK [22:21:02]CreateOFDProtocolMessage done [22:21:02]OFDSenderStorePacket 57090 [22:21:02]StoreOFDPacket docnum=57090 [22:21:02]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 0C AC 1E 01 87 B6 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 50 4F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 02 DF 00 00 35 04 06 00 08 2B 15 CA 1F 23 BE 10 D0 F1 E6 46 CA 98 [22:21:02]CheckFolder [22:21:02]dirname=/storage/ofd_packets [22:21:02]CheckFolder done [22:21:02]ProducePacketName [22:21:02]name=ofd_packets/00057090 [22:21:02]NVStorageSaveData ofd_packets/00057090 [22:21:02]File name is /storage/ofd_packets/00057090 [22:21:02]Write 324 bytes [22:21:02]NVStorageSaveData done [22:21:02]OFDSenderStorePacket done [22:21:02]KKMCreateOFDPacket done [22:21:02]NVStorageSaveData kkm_last_timestamp [22:21:02]File name is /storage/kkm_last_timestamp [22:21:02]Write 4 bytes [22:21:02]NVStorageSaveData done [22:21:02]ExternCall_PrintAddStr [22:21:02]wPrintStart [22:21:02]Write to MH i2c: 01 00 00 A5 14 B9 [22:21:02]Write i2c OK [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: 01 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: 01 07 00 [22:21:02]MH_I2C_Read... [22:21:02]Read from MH i2c: 01 07 00 A5 14 00 00 00 00 00 FF 0F CE [22:21:02]RasterBufferAndPrint [22:21:02]line Счет N : (3)129549 [22:21:02]line ИНН: 02508201610067 [22:21:02]line Контрольно-Кассовый Чек [22:21:02]line ПРОДАЖА [22:21:02]line Товар: 4640030091645 [22:21:02]line Сигареты ESSE Exchange M [22:21:02]line 1.000 * 138.00 [22:21:02]line = 138.00 [22:21:02]line НДС 12% НСП 1% [22:21:02]line > о реализуемом товаре [22:21:02]line ИТОГО: 138.00 [22:21:02]line НСП 1% : 1.22 [22:21:02]line НДС 12% : 14.65 [22:21:02]line Наличными: 0.00 [22:21:02]line Безнал.: 138.00 [22:21:02]line Место: АЗС № 132 "Партнер Нефть" [22:21:02]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:21:02]line СНО: Общий режим [22:21:02]line Чек 107 14.07.2024 22:21 [22:21:02]line Смена: 496 ФФД: 1.0 [22:21:02]line ЗНМ: 0300000132 [22:21:02]line РНМ: 0000000000091208 [22:21:02]line Версия ККМ: 001 [22:21:02]line Платежная система: АКБ Кыргызстан [22:21:02]line ФМ: 0000000000874857 [22:21:02]line ФД: 57090 [22:21:02]line ФПД: 8981142183715 [22:21:02]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T222104&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57090&fm=8981142183715&tin=02508201610067®Number=0000000000091208&sum=13800 [22:21:03]OFD Sender: Processing packet 57090 [packets to send 38, broken 37] [22:21:03]ProducePacketName [22:21:03]name=ofd_packets/00057090 [22:21:03]OFD Sender: To server: pG, [22:21:03]CommunicateWithHost lk.salyk.kg:30040 [22:21:03]ConnectInit lk.salyk.kg [22:21:03]line 0 [22:21:03]written 0, free lines is 4095 [22:21:03]Connected sock=10 [22:21:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 0C AC 1E 01 87 B6 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6B 00 00 00 F4 03 04 00 50 4F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 02 DF 00 00 35 04 06 00 08 2B 15 CA 1F 23 BE 10 D0 F1 E6 46 CA 98 [22:21:03]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 FC FE 47 00 7D 8D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 02 DF 00 00 F4 03 04 00 A0 F5 93 66 B6 04 01 00 00 CB B7 45 48 28 B5 B8 1E [22:21:03]CommunicateWithHost err = 0 [22:21:03]CheckOFDResponse [22:21:03]1017 (14) - 77093643461234 [22:21:03]1041 (16) - 0000000000874857 [22:21:03]1040 (4) - 57090 [22:21:03]1012 (4) - 14.07.2024 15:58 [22:21:03]1206 (1) - 0 [22:21:03]OFD Sender: Remove packet 57090 [22:21:03]ProducePacketName [22:21:03]name=ofd_packets/00057090 [22:21:03]NVStorageDeleteData [22:21:03]Write to MH i2c: 01 00 00 CF 14 E3 [22:21:03]Write i2c OK [22:21:03]MH_I2C_Read... [22:21:03]Read from MH i2c: 01 [22:21:03]MH_I2C_Read... [22:21:03]Read from MH i2c: 01 07 00 [22:21:03]MH_I2C_Read... [22:21:03]Read from MH i2c: 01 07 00 CF 14 00 00 00 00 00 E8 0C DE [22:21:03]RasterBufferAndPrint [22:21:03]line [22:21:03]line [22:21:03]line [22:21:03]line [22:21:03]line [22:21:03]written 0, free lines is 3310 [22:21:03]MH_Cut [22:21:03]Write to MH i2c: D1 01 00 D6 14 01 BC [22:21:03]Write i2c OK [22:21:03]MH_I2C_Read... [22:21:03]Read from MH i2c: D1 [22:21:03]MH_I2C_Read... [22:21:03]Read from MH i2c: D1 01 00 [22:21:03]MH_I2C_Read... [22:21:03]Read from MH i2c: D1 01 00 D6 14 00 BB [22:21:03]Write to MH i2c: 01 00 00 D7 14 EB [22:21:03]Write i2c OK [22:21:03]MH_I2C_Read... [22:21:03]OFD Sender: No OFD packet to send [22:21:04]*** Cut start [22:21:04]*** Partial cut [22:21:04]*** CUTSNS_PIN = 1 [22:21:04]*** CUTSNS_PIN = 0 [22:21:04]*** Brake cut motor [22:21:04]Read from MH i2c: 01 [22:21:04]MH_I2C_Read... [22:21:04]*** Stop cut motor [22:21:04]*** Cut end [22:21:04]Read from MH i2c: 01 07 00 [22:21:04]MH_I2C_Read... [22:21:04]Read from MH i2c: 01 07 00 D7 14 00 00 00 00 00 FF 0F 00 [22:21:04]process_action close_receipt done [22:21:04]requested_data is exist [22:21:04]produce_requested_data [22:21:04]requested_item fm.sn is exist - process it [22:21:04]wFMCommunicate request_size=4 [22:21:04]MH_SAM_APDU [22:21:04]CAPDU: 80 11 00 00 [22:21:04]Write to MH i2c: E2 08 00 D8 14 80 11 00 00 00 00 00 00 66 [22:21:04]Write i2c OK [22:21:04]MH_I2C_Read... [22:21:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:21:04]Read from MH i2c: E2 [22:21:04]MH_I2C_Read... [22:21:04]Read from MH i2c: E2 17 00 [22:21:04]MH_I2C_Read... [22:21:04]Read from MH i2c: E2 17 00 D8 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C0 [22:21:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:21:04]wFMCommunicate OK [22:21:04]requested_item fd.num is exist - process it [22:21:04]SAM_PROTO_GetFieldsCounters [22:21:04]wFMCommunicate request_size=4 [22:21:04]MH_SAM_APDU [22:21:04]CAPDU: 80 13 00 00 [22:21:04]Write to MH i2c: E2 08 00 D9 14 80 13 00 00 00 00 00 00 69 [22:21:04]Write i2c OK [22:21:04]MH_I2C_Read... [22:21:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:21:05]Read from MH i2c: E2 [22:21:05]MH_I2C_Read... [22:21:05]Read from MH i2c: E2 62 00 [22:21:05]MH_I2C_Read... [22:21:05]Read from MH i2c: E2 62 00 D9 14 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 02 DF 00 00 0E 04 04 00 F0 01 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 9F [22:21:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 02 DF 00 00 0E 04 04 00 F0 01 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 [22:21:05]wFMCommunicate OK [22:21:05]SAM_PROTO_GetFieldsCounters done [22:21:05]requested_item shift.num is exist - process it [22:21:05]requested_item shift.opened is exist - process it [22:21:05]req_shift_opened [22:21:05]FM_GetShiftState [22:21:05]SAM_PROTO_GetShiftState [22:21:05]wFMCommunicate request_size=4 [22:21:05]MH_SAM_APDU [22:21:05]CAPDU: 80 13 01 00 [22:21:05]Write to MH i2c: E2 08 00 DA 14 80 13 01 00 00 00 00 00 6B [22:21:05]Write i2c OK [22:21:05]MH_I2C_Read... [22:21:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:21:05]Read from MH i2c: E2 [22:21:05]MH_I2C_Read... [22:21:05]Read from MH i2c: E2 0E 00 [22:21:05]MH_I2C_Read... [22:21:05]Read from MH i2c: E2 0E 00 DA 14 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 12 [22:21:05]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:21:05]wFMCommunicate OK [22:21:05]SAM_PROTO_GetShiftState done [22:21:05]FM_GetShiftState done [22:21:05]req_shift_opened done [22:21:05]requested_item shift.open_date is exist - process it [22:21:05]req_shift_open_date [22:21:05]req_shift_open_date done [22:21:05]requested_item shift.sale.total is exist - process it [22:21:05]SAM_PROTO_GetShiftData [22:21:05]wFMCommunicate request_size=4 [22:21:05]MH_SAM_APDU [22:21:05]CAPDU: 80 13 02 00 [22:21:05]Write to MH i2c: E2 08 00 DB 14 80 13 02 00 00 00 00 00 6D [22:21:05]Write i2c OK [22:21:05]MH_I2C_Read... [22:21:05]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:21:05]Read from MH i2c: E2 [22:21:05]MH_I2C_Read... [22:21:05]Read from MH i2c: E2 FD 00 [22:21:05]MH_I2C_Read... [22:21:05]Read from MH i2c: E2 FD 00 DB 14 00 BB 04 AA 04 B7 04 6E 04 04 00 6B 00 00 00 69 04 9B 00 6F 04 04 00 69 00 00 00 B1 04 03 00 63 79 34 70 04 03 00 98 D4 29 72 04 03 00 CB A4 0A 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 A3 92 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 D7 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 5F [22:21:05]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 6B 00 00 00 69 04 9B 00 6F 04 04 00 69 00 00 00 B1 04 03 00 63 79 34 70 04 03 00 98 D4 29 72 04 03 00 CB A4 0A 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 A3 92 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 D7 76 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [22:21:05]wFMCommunicate OK [22:21:05]wFMCommunicate request_size=4 [22:21:05]MH_SAM_APDU [22:21:05]CAPDU: 80 17 00 00 [22:21:05]Write to MH i2c: E2 08 00 DC 14 80 17 00 00 00 00 00 00 70 [22:21:05]Write i2c OK [22:21:05]MH_I2C_Read... [22:21:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:21:05]Read from MH i2c: E2 [22:21:05]MH_I2C_Read... [22:21:05]Read from MH i2c: E2 FD 00 [22:21:05]MH_I2C_Read... [22:21:05]Read from MH i2c: E2 FD 00 DC 14 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 03 [22:21:05]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:21:05]wFMCommunicate OK [22:21:05]wFMCommunicate request_size=4 [22:21:05]MH_SAM_APDU [22:21:05]CAPDU: 80 17 00 00 [22:21:05]Write to MH i2c: E2 08 00 DD 14 80 17 00 00 00 00 00 00 71 [22:21:05]Write i2c OK [22:21:05]MH_I2C_Read... [22:21:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:21:06]Read from MH i2c: E2 [22:21:06]MH_I2C_Read... [22:21:06]Read from MH i2c: E2 FD 00 [22:21:06]MH_I2C_Read... [22:21:06]Read from MH i2c: E2 FD 00 DD 14 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9D [22:21:06]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:21:06]wFMCommunicate OK [22:21:06]wFMCommunicate request_size=4 [22:21:06]MH_SAM_APDU [22:21:06]CAPDU: 80 17 00 00 [22:21:06]Write to MH i2c: E2 08 00 DE 14 80 17 00 00 00 00 00 00 72 [22:21:06]Write i2c OK [22:21:06]MH_I2C_Read... [22:21:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:21:06]Read from MH i2c: E2 [22:21:06]MH_I2C_Read... [22:21:06]Read from MH i2c: E2 FD 00 [22:21:06]MH_I2C_Read... [22:21:06]Read from MH i2c: E2 FD 00 DE 14 00 00 00 EF 03 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 90 00 E7 [22:21:06]RAPDU: 00 00 EF 03 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 90 00 [22:21:06]wFMCommunicate OK [22:21:06]wFMCommunicate request_size=4 [22:21:06]MH_SAM_APDU [22:21:06]CAPDU: 80 17 00 00 [22:21:06]Write to MH i2c: E2 08 00 DF 14 80 17 00 00 00 00 00 00 73 [22:21:06]Write i2c OK [22:21:06]MH_I2C_Read... [22:21:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [22:21:06]Read from MH i2c: E2 [22:21:06]MH_I2C_Read... [22:21:06]Read from MH i2c: E2 D8 00 [22:21:06]MH_I2C_Read... [22:21:06]Read from MH i2c: E2 D8 00 DF 14 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 5A [22:21:06]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:21:06]wFMCommunicate OK [22:21:06]SAM_PROTO_GetShiftData done [22:21:06]requested_item shift.sale.total_cash is exist - process it [22:21:06]requested_item shift.sale_refund.total is exist - process it [22:21:06]requested_item shift.sale_refund.total_cash is exist - process it [22:21:06]produce_requested_data done [22:21:06]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57090,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":34389.47,"shift.sale.total_cash":27414.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [22:21:06]process_action_free close_receipt [22:21:06]json_value_free [22:21:06]json_value_free done [22:21:06]process_json_proto returns [22:21:06]Send response to host [22:21:06]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57090,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":34389.47,"shift.sale.total_cash":27414.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [22:21:06]free response buf [22:21:06]execute_script done [22:21:06]execute_script returns [22:21:06]free content buf [22:21:06]Sock 7.Close socket [22:21:06]Sock 7.Thread stoped [22:21:08]OFD Sender: No OFD packet to send [22:21:13]OFD Sender: No OFD packet to send [22:21:18]OFD Sender: No OFD packet to send [22:21:23]OFD Sender: No OFD packet to send [22:21:28]OFD Sender: No OFD packet to send [22:21:34]OFD Sender: No OFD packet to send [22:21:39]OFD Sender: No OFD packet to send [22:21:44]OFD Sender: No OFD packet to send [22:21:49]OFD Sender: No OFD packet to send [22:21:54]OFD Sender: No OFD packet to send [22:21:59]OFD Sender: No OFD packet to send [22:22:04]OFD Sender: No OFD packet to send [22:22:09]OFD Sender: No OFD packet to send [22:22:14]OFD Sender: No OFD packet to send [22:22:19]OFD Sender: No OFD packet to send [22:22:24]OFD Sender: No OFD packet to send [22:22:29]OFD Sender: No OFD packet to send [22:22:34]OFD Sender: No OFD packet to send [22:22:39]OFD Sender: No OFD packet to send [22:22:44]OFD Sender: No OFD packet to send [22:22:49]OFD Sender: No OFD packet to send [22:22:54]OFD Sender: No OFD packet to send [22:22:59]OFD Sender: No OFD packet to send [22:23:04]OFD Sender: No OFD packet to send [22:23:09]OFD Sender: No OFD packet to send [22:23:14]OFD Sender: No OFD packet to send [22:23:19]OFD Sender: No OFD packet to send [22:23:24]OFD Sender: No OFD packet to send [22:23:29]OFD Sender: No OFD packet to send [22:23:34]OFD Sender: No OFD packet to send [22:23:39]OFD Sender: No OFD packet to send [22:23:44]OFD Sender: No OFD packet to send [22:23:49]OFD Sender: No OFD packet to send [22:23:54]OFD Sender: No OFD packet to send [22:23:59]OFD Sender: No OFD packet to send [22:24:04]OFD Sender: No OFD packet to send [22:24:09]OFD Sender: No OFD packet to send [22:24:14]OFD Sender: No OFD packet to send [22:24:19]OFD Sender: No OFD packet to send [22:24:24]OFD Sender: No OFD packet to send [22:24:29]OFD Sender: No OFD packet to send [22:24:34]OFD Sender: No OFD packet to send [22:24:39]OFD Sender: No OFD packet to send [22:24:44]OFD Sender: No OFD packet to send [22:24:49]OFD Sender: No OFD packet to send [22:24:54]OFD Sender: No OFD packet to send [22:24:59]OFD Sender: No OFD packet to send [22:25:04]OFD Sender: No OFD packet to send [22:25:09]OFD Sender: No OFD packet to send [22:25:14]OFD Sender: No OFD packet to send [22:25:19]OFD Sender: No OFD packet to send [22:25:24]OFD Sender: No OFD packet to send [22:25:29]OFD Sender: No OFD packet to send [22:25:34]OFD Sender: No OFD packet to send [22:25:39]OFD Sender: No OFD packet to send [22:25:44]OFD Sender: No OFD packet to send [22:25:49]OFD Sender: No OFD packet to send [22:25:54]OFD Sender: No OFD packet to send [22:25:59]OFD Sender: No OFD packet to send [22:26:04]OFD Sender: No OFD packet to send [22:26:09]OFD Sender: No OFD packet to send [22:26:14]OFD Sender: No OFD packet to send [22:26:19]OFD Sender: No OFD packet to send [22:26:24]OFD Sender: No OFD packet to send [22:26:29]OFD Sender: No OFD packet to send [22:26:34]OFD Sender: No OFD packet to send [22:26:39]OFD Sender: No OFD packet to send [22:26:44]OFD Sender: No OFD packet to send [22:26:49]OFD Sender: No OFD packet to send [22:26:54]OFD Sender: No OFD packet to send [22:26:59]OFD Sender: No OFD packet to send [22:27:04]OFD Sender: No OFD packet to send [22:27:09]OFD Sender: No OFD packet to send [22:27:14]OFD Sender: No OFD packet to send [22:27:19]OFD Sender: No OFD packet to send [22:27:24]OFD Sender: No OFD packet to send [22:27:29]OFD Sender: No OFD packet to send [22:27:34]OFD Sender: No OFD packet to send [22:27:39]OFD Sender: No OFD packet to send [22:27:44]OFD Sender: No OFD packet to send [22:27:49]OFD Sender: No OFD packet to send [22:27:54]OFD Sender: No OFD packet to send [22:27:59]OFD Sender: No OFD packet to send [22:28:04]OFD Sender: No OFD packet to send [22:28:09]OFD Sender: No OFD packet to send [22:28:14]OFD Sender: No OFD packet to send [22:28:19]OFD Sender: No OFD packet to send [22:28:24]OFD Sender: No OFD packet to send [22:28:29]OFD Sender: No OFD packet to send [22:28:34]OFD Sender: No OFD packet to send [22:28:39]OFD Sender: No OFD packet to send [22:28:44]OFD Sender: No OFD packet to send [22:28:49]OFD Sender: No OFD packet to send [22:28:54]OFD Sender: No OFD packet to send [22:28:59]OFD Sender: No OFD packet to send [22:29:04]OFD Sender: No OFD packet to send [22:29:09]OFD Sender: No OFD packet to send [22:29:14]OFD Sender: No OFD packet to send [22:29:19]OFD Sender: No OFD packet to send [22:29:24]OFD Sender: No OFD packet to send [22:29:29]OFD Sender: No OFD packet to send [22:29:34]OFD Sender: No OFD packet to send [22:29:39]OFD Sender: No OFD packet to send [22:29:44]OFD Sender: No OFD packet to send [22:29:49]OFD Sender: No OFD packet to send [22:29:54]OFD Sender: No OFD packet to send [22:29:59]OFD Sender: No OFD packet to send [22:30:04]OFD Sender: No OFD packet to send [22:30:09]OFD Sender: No OFD packet to send [22:30:14]OFD Sender: No OFD packet to send [22:30:19]OFD Sender: No OFD packet to send [22:30:24]OFD Sender: No OFD packet to send [22:30:29]OFD Sender: No OFD packet to send [22:30:34]OFD Sender: No OFD packet to send [22:30:39]OFD Sender: No OFD packet to send [22:30:44]OFD Sender: No OFD packet to send [22:30:49]OFD Sender: No OFD packet to send [22:30:54]OFD Sender: No OFD packet to send [22:30:59]OFD Sender: No OFD packet to send [22:31:04]OFD Sender: No OFD packet to send [22:31:09]OFD Sender: No OFD packet to send [22:31:14]OFD Sender: No OFD packet to send [22:31:19]OFD Sender: No OFD packet to send [22:31:24]OFD Sender: No OFD packet to send [22:31:29]OFD Sender: No OFD packet to send [22:31:34]OFD Sender: No OFD packet to send [22:31:39]OFD Sender: No OFD packet to send [22:31:44]OFD Sender: No OFD packet to send [22:31:49]OFD Sender: No OFD packet to send [22:31:54]OFD Sender: No OFD packet to send [22:31:59]OFD Sender: No OFD packet to send [22:32:04]OFD Sender: No OFD packet to send [22:32:09]OFD Sender: No OFD packet to send [22:32:14]OFD Sender: No OFD packet to send [22:32:19]OFD Sender: No OFD packet to send [22:32:24]OFD Sender: No OFD packet to send [22:32:29]OFD Sender: No OFD packet to send [22:32:34]OFD Sender: No OFD packet to send [22:32:39]OFD Sender: No OFD packet to send [22:32:44]OFD Sender: No OFD packet to send [22:32:49]OFD Sender: No OFD packet to send [22:32:54]OFD Sender: No OFD packet to send [22:32:59]OFD Sender: No OFD packet to send [22:33:04]OFD Sender: No OFD packet to send [22:33:09]OFD Sender: No OFD packet to send [22:33:14]OFD Sender: No OFD packet to send [22:33:19]OFD Sender: No OFD packet to send [22:33:24]OFD Sender: No OFD packet to send [22:33:29]OFD Sender: No OFD packet to send [22:33:34]OFD Sender: No OFD packet to send [22:33:39]OFD Sender: No OFD packet to send [22:33:44]OFD Sender: No OFD packet to send [22:33:49]OFD Sender: No OFD packet to send [22:33:54]OFD Sender: No OFD packet to send [22:33:59]OFD Sender: No OFD packet to send [22:34:04]OFD Sender: No OFD packet to send [22:34:09]OFD Sender: No OFD packet to send [22:34:14]OFD Sender: No OFD packet to send [22:34:19]OFD Sender: No OFD packet to send [22:34:24]OFD Sender: No OFD packet to send [22:34:29]OFD Sender: No OFD packet to send [22:34:34]OFD Sender: No OFD packet to send [22:34:39]OFD Sender: No OFD packet to send [22:34:44]OFD Sender: No OFD packet to send [22:34:49]OFD Sender: No OFD packet to send [22:34:54]OFD Sender: No OFD packet to send [22:34:59]OFD Sender: No OFD packet to send [22:35:04]OFD Sender: No OFD packet to send [22:35:09]OFD Sender: No OFD packet to send [22:35:14]OFD Sender: No OFD packet to send [22:35:19]OFD Sender: No OFD packet to send [22:35:24]OFD Sender: No OFD packet to send [22:35:29]OFD Sender: No OFD packet to send [22:35:34]OFD Sender: No OFD packet to send [22:35:39]OFD Sender: No OFD packet to send [22:35:44]OFD Sender: No OFD packet to send [22:35:49]OFD Sender: No OFD packet to send [22:35:54]OFD Sender: No OFD packet to send [22:35:59]OFD Sender: No OFD packet to send [22:36:04]OFD Sender: No OFD packet to send [22:36:09]OFD Sender: No OFD packet to send [22:36:14]OFD Sender: No OFD packet to send [22:36:19]OFD Sender: No OFD packet to send [22:36:24]OFD Sender: No OFD packet to send [22:36:29]OFD Sender: No OFD packet to send [22:36:34]OFD Sender: No OFD packet to send [22:36:39]OFD Sender: No OFD packet to send [22:36:44]OFD Sender: No OFD packet to send [22:36:49]OFD Sender: No OFD packet to send [22:36:54]OFD Sender: No OFD packet to send [22:36:59]OFD Sender: No OFD packet to send [22:37:04]OFD Sender: No OFD packet to send [22:37:09]OFD Sender: No OFD packet to send [22:37:14]OFD Sender: No OFD packet to send [22:37:19]OFD Sender: No OFD packet to send [22:37:24]OFD Sender: No OFD packet to send [22:37:29]OFD Sender: No OFD packet to send [22:37:34]OFD Sender: No OFD packet to send [22:37:39]OFD Sender: No OFD packet to send [22:37:44]OFD Sender: No OFD packet to send [22:37:49]OFD Sender: No OFD packet to send [22:37:54]OFD Sender: No OFD packet to send [22:37:59]OFD Sender: No OFD packet to send [22:38:04]OFD Sender: No OFD packet to send [22:38:09]OFD Sender: No OFD packet to send [22:38:14]OFD Sender: No OFD packet to send [22:38:19]OFD Sender: No OFD packet to send [22:38:24]OFD Sender: No OFD packet to send [22:38:29]OFD Sender: No OFD packet to send [22:38:34]OFD Sender: No OFD packet to send [22:38:39]OFD Sender: No OFD packet to send [22:38:44]OFD Sender: No OFD packet to send [22:38:49]OFD Sender: No OFD packet to send [22:38:54]OFD Sender: No OFD packet to send [22:38:59]OFD Sender: No OFD packet to send [22:39:04]OFD Sender: No OFD packet to send [22:39:09]OFD Sender: No OFD packet to send [22:39:14]OFD Sender: No OFD packet to send [22:39:19]OFD Sender: No OFD packet to send [22:39:24]OFD Sender: No OFD packet to send [22:39:29]OFD Sender: No OFD packet to send [22:39:34]OFD Sender: No OFD packet to send [22:39:39]accept exits with 9 [22:39:39]New connection [22:39:39]New thread 3067448676 created [22:39:39]Thread 3067592036 joined [22:39:39]Waiting for new connection... [22:39:39] Sock 9.Parse request [22:39:39]Sock 9.Check first char [22:39:39]Sock 9.First char is OK [22:39:39]request: POST /json_proto HTTP/1.0 [22:39:39]Method: POST [22:39:39]URL: /json_proto [22:39:39]Method is POST - this is cgi request [22:39:39]url: /json_proto [22:39:39]query_string will be loaded in cgi processing [22:39:39]execute_cgi json_proto POST (null) [22:39:39]execute_cgi path=json_proto method=POST [22:39:39]POST find Content-Length [22:39:39]Host: 172.17.39.4:8080 [22:39:39]Content-Length: 725 [22:39:39]Content-Type: application/json [22:39:39] [22:39:39]POST finish read [22:39:39]Found Content-Length = 725 [22:39:39]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129550", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 3.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:39:39]execute_script... [22:39:39]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129550", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 3.000, "sum" : 420.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 420.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:39:39]POST & json_proto [22:39:39]process_json_proto [22:39:39]json parsed OK: [22:39:39]protocol is kg_v1.0 [22:39:39]action value=close_receipt [22:39:39]process_action close_receipt [22:39:39]cmd_close_receipt [22:39:39]MH_GetDate [22:39:39]Write to MH i2c: F0 00 00 E0 14 E3 [22:39:39]Write i2c OK [22:39:39]MH_I2C_Read... [22:39:39]Read from MH i2c: F0 [22:39:39]MH_I2C_Read... [22:39:39]Read from MH i2c: F0 09 00 [22:39:39]MH_I2C_Read... [22:39:39]Read from MH i2c: F0 09 00 E0 14 00 AE 53 94 66 2D 25 5D 64 FA [22:39:39]GetLastDocTimeStamp 1720995664 [22:39:39]current date 1720996782 [22:39:39]FM_GetShiftState [22:39:39]SAM_PROTO_GetShiftState [22:39:39]wFMCommunicate request_size=4 [22:39:39]MH_SAM_APDU [22:39:39]CAPDU: 80 13 01 00 [22:39:39]Write to MH i2c: E2 08 00 E1 14 80 13 01 00 00 00 00 00 72 [22:39:39]Write i2c OK [22:39:39]MH_I2C_Read... [22:39:39]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:39]Read from MH i2c: E2 [22:39:39]MH_I2C_Read... [22:39:39]Read from MH i2c: E2 0E 00 [22:39:39]MH_I2C_Read... [22:39:39]Read from MH i2c: E2 0E 00 E1 14 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 19 [22:39:39]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:39:39]wFMCommunicate OK [22:39:39]SAM_PROTO_GetShiftState done [22:39:39]FM_GetShiftState done [22:39:39]opened in 1720917126 [22:39:39]opened+sec_in_day 1721003526 [22:39:39]quantity*price = 42000 [22:39:39]sum+1 = 42001 [22:39:39]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 420.00 НСП 1% : 3.72 НДС 12% : 44.60 Наличными: 420.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 108 14.07.2024 22:39 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57091 ФПД: 908429736345 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T223942&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57091&fm=908429736345&tin=02508201610067®Number=0000000000091208&sum=42000 0 [22:39:40]StoreToDocumentArchive [22:39:40]shift 496 fd 57091 [22:39:40]save to /storage/0496/doc_00057091 [22:39:40]save last doc name /storage/0496/doc_00057091 to /storage/kkm_last_doc_name [22:39:40]save OK [22:39:40]Clear old archive folders... [22:39:40]ProcessDocumentItem done err = 0, tmpTLVsize=273 [22:39:40]tlvbuf is B6F441E0 [22:39:40]SAM_PROTO_ClearQueue [22:39:40]wFMCommunicate request_size=4 [22:39:40]MH_SAM_APDU [22:39:40]CAPDU: 80 09 00 00 [22:39:40]Write to MH i2c: E2 08 00 EE 14 80 09 00 00 00 00 00 00 74 [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:39:40]Read from MH i2c: E2 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 03 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 03 00 EE 14 00 90 00 76 [22:39:40]RAPDU: 90 00 [22:39:40]wFMCommunicate OK [22:39:40]SAM_PROTO_ClearQueue done [22:39:40]KKMCreateOFDPacket [22:39:40]OFDProtocolAddRootSTLVToBuf [22:39:40]FM_MakeSignedData [22:39:40]FM_MakeSignedData [22:39:40]SAM_PROTO_SignData [22:39:40]wFMCommunicate request_size=4 [22:39:40]MH_SAM_APDU [22:39:40]CAPDU: 80 0D 01 02 [22:39:40]Write to MH i2c: E2 08 00 EF 14 80 0D 01 02 00 00 00 00 7C [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:39:40]Read from MH i2c: E2 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 03 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 03 00 EF 14 00 90 00 77 [22:39:40]RAPDU: 90 00 [22:39:40]wFMCommunicate OK [22:39:40]wFMCommunicate request_size=255 [22:39:40]MH_SAM_APDU [22:39:40]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 AE 53 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [22:39:40]Write to MH i2c: E2 02 01 F0 14 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 AE 53 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 94 [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:40]Read from MH i2c: E2 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 03 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 03 00 F0 14 00 90 00 78 [22:39:40]RAPDU: 90 00 [22:39:40]wFMCommunicate OK [22:39:40]wFMCommunicate request_size=32 [22:39:40]MH_SAM_APDU [22:39:40]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DF 00 00 35 04 06 00 00 D3 82 A1 B9 99 [22:39:40]Write to MH i2c: E2 23 00 F1 14 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DF 00 00 35 04 06 00 00 D3 82 A1 B9 99 00 00 0D [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:39:40]Read from MH i2c: E2 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 03 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 03 00 F1 14 00 90 00 79 [22:39:40]RAPDU: 90 00 [22:39:40]wFMCommunicate OK [22:39:40]wFMCommunicate request_size=4 [22:39:40]MH_SAM_APDU [22:39:40]CAPDU: 80 0D 03 02 [22:39:40]Write to MH i2c: E2 08 00 F2 14 80 0D 03 02 00 00 00 00 81 [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:39:40]Read from MH i2c: E2 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 0B 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 0B 00 F2 14 00 FB 75 DD 96 2B 30 1A B3 90 00 8D [22:39:40]RAPDU: FB 75 DD 96 2B 30 1A B3 90 00 [22:39:40]wFMCommunicate OK [22:39:40]SAM_PROTO_SignData done [22:39:40]FM_MakeSignedData done [22:39:40]CreateOFDProtocolMessage [22:39:40]wFMCommunicate request_size=4 [22:39:40]MH_SAM_APDU [22:39:40]CAPDU: 80 11 00 00 [22:39:40]Write to MH i2c: E2 08 00 F3 14 80 11 00 00 00 00 00 00 81 [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:39:40]Read from MH i2c: E2 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 17 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: E2 17 00 F3 14 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DB [22:39:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:39:40]wFMCommunicate OK [22:39:40]CreateOFDProtocolMessage done [22:39:40]OFDSenderStorePacket 57091 [22:39:40]StoreOFDPacket docnum=57091 [22:39:40]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 A1 70 1D 01 CE D0 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 AE 53 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DF 00 00 35 04 06 00 00 D3 82 A1 B9 99 FB 75 DD 96 2B 30 1A B3 [22:39:40]CheckFolder [22:39:40]dirname=/storage/ofd_packets [22:39:40]CheckFolder done [22:39:40]ProducePacketName [22:39:40]name=ofd_packets/00057091 [22:39:40]NVStorageSaveData ofd_packets/00057091 [22:39:40]File name is /storage/ofd_packets/00057091 [22:39:40]Write 323 bytes [22:39:40]NVStorageSaveData done [22:39:40]OFDSenderStorePacket done [22:39:40]KKMCreateOFDPacket done [22:39:40]NVStorageSaveData kkm_last_timestamp [22:39:40]File name is /storage/kkm_last_timestamp [22:39:40]Write 4 bytes [22:39:40]NVStorageSaveData done [22:39:40]ExternCall_PrintAddStr [22:39:40]wPrintStart [22:39:40]Write to MH i2c: 01 00 00 F4 14 08 [22:39:40]Write i2c OK [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: 01 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: 01 07 00 [22:39:40]MH_I2C_Read... [22:39:40]Read from MH i2c: 01 07 00 F4 14 00 00 00 00 00 FF 0F 1D [22:39:40]RasterBufferAndPrint [22:39:40]line Счет N : (3)129550 [22:39:40]line ИНН: 02508201610067 [22:39:40]line Контрольно-Кассовый Чек [22:39:40]line ПРОДАЖА [22:39:40]line Товар: 48747059 [22:39:40]line Сигареты Winston Legend Blue [22:39:40]line 3.000 * 140.00 [22:39:40]line = 420.00 [22:39:40]line НДС 12% НСП 1% [22:39:40]line > о реализуемом товаре [22:39:40]line ИТОГО: 420.00 [22:39:40]line НСП 1% : 3.72 [22:39:40]line НДС 12% : 44.60 [22:39:40]line Наличными: 420.00 [22:39:40]line Безнал.: 0.00 [22:39:40]line Место: АЗС № 132 "Партнер Нефть" [22:39:40]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:39:40]line СНО: Общий режим [22:39:40]line Чек 108 14.07.2024 22:39 [22:39:40]line Смена: 496 ФФД: 1.0 [22:39:40]line ЗНМ: 0300000132 [22:39:40]line РНМ: 0000000000091208 [22:39:40]line Версия ККМ: 001 [22:39:40]line ФМ: 0000000000874857 [22:39:40]line ФД: 57091 [22:39:40]line ФПД: 908429736345 [22:39:40]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T223942&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57091&fm=908429736345&tin=02508201610067®Number=0000000000091208&sum=42000 [22:39:40]line 0 [22:39:40]written 0, free lines is 4095 [22:39:40]OFD Sender: Processing packet 57091 [packets to send 38, broken 37] [22:39:40]ProducePacketName [22:39:40]name=ofd_packets/00057091 [22:39:41]OFD Sender: To server: pG, [22:39:41]CommunicateWithHost lk.salyk.kg:30040 [22:39:41]ConnectInit lk.salyk.kg [22:39:41]Write to MH i2c: 01 00 00 1D 15 32 [22:39:41]Write i2c OK [22:39:41]MH_I2C_Read... [22:39:41]Read from MH i2c: 01 [22:39:41]MH_I2C_Read... [22:39:41]Read from MH i2c: 01 07 00 [22:39:41]MH_I2C_Read... [22:39:41]Read from MH i2c: 01 07 00 1D 15 00 00 00 00 00 CD 0C 12 [22:39:41]RasterBufferAndPrint [22:39:41]line [22:39:41]line [22:39:41]line [22:39:41]line [22:39:41]line [22:39:41]written 0, free lines is 3283 [22:39:41]MH_Cut [22:39:41]Write to MH i2c: D1 01 00 24 15 01 0B [22:39:41]Write i2c OK [22:39:41]MH_I2C_Read... [22:39:41]Read from MH i2c: D1 [22:39:41]MH_I2C_Read... [22:39:41]Read from MH i2c: D1 01 00 [22:39:41]MH_I2C_Read... [22:39:41]Read from MH i2c: D1 01 00 24 15 00 0A [22:39:41]Write to MH i2c: 01 00 00 25 15 3A [22:39:41]Write i2c OK [22:39:41]MH_I2C_Read... [22:39:41]Connected sock=10 [22:39:41]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 A1 70 1D 01 CE D0 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 10 A4 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 10 A4 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 74 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6C 11 00 00 00 00 07 04 06 00 10 A4 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6C 00 00 00 F4 03 04 00 AE 53 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DF 00 00 35 04 06 00 00 D3 82 A1 B9 99 FB 75 DD 96 2B 30 1A B3 [22:39:41]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 7F 05 47 00 8C 76 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 03 DF 00 00 F4 03 04 00 FE F9 93 66 B6 04 01 00 00 B4 F3 73 55 D5 73 4C 04 [22:39:41]CommunicateWithHost err = 0 [22:39:41]CheckOFDResponse [22:39:41]1017 (14) - 77093643461234 [22:39:41]1041 (16) - 0000000000874857 [22:39:41]1040 (4) - 57091 [22:39:41]1012 (4) - 14.07.2024 16:17 [22:39:41]1206 (1) - 0 [22:39:41]OFD Sender: Remove packet 57091 [22:39:41]ProducePacketName [22:39:41]name=ofd_packets/00057091 [22:39:41]NVStorageDeleteData [22:39:42]*** Cut start [22:39:42]*** Partial cut [22:39:42]*** CUTSNS_PIN = 1 [22:39:42]*** CUTSNS_PIN = 0 [22:39:42]OFD Sender: No OFD packet to send [22:39:42]*** Brake cut motor [22:39:42]Read from MH i2c: 01 [22:39:42]MH_I2C_Read... [22:39:42]*** Stop cut motor [22:39:42]*** Cut end [22:39:42]Read from MH i2c: 01 07 00 [22:39:42]MH_I2C_Read... [22:39:42]Read from MH i2c: 01 07 00 25 15 00 00 00 00 00 FF 0F 4F [22:39:42]process_action close_receipt done [22:39:42]requested_data is exist [22:39:42]produce_requested_data [22:39:42]requested_item fm.sn is exist - process it [22:39:42]wFMCommunicate request_size=4 [22:39:42]MH_SAM_APDU [22:39:42]CAPDU: 80 11 00 00 [22:39:42]Write to MH i2c: E2 08 00 26 15 80 11 00 00 00 00 00 00 B5 [22:39:42]Write i2c OK [22:39:42]MH_I2C_Read... [22:39:42]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:39:42]Read from MH i2c: E2 [22:39:42]MH_I2C_Read... [22:39:42]Read from MH i2c: E2 17 00 [22:39:42]MH_I2C_Read... [22:39:42]Read from MH i2c: E2 17 00 26 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0F [22:39:42]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:39:42]wFMCommunicate OK [22:39:42]requested_item fd.num is exist - process it [22:39:42]SAM_PROTO_GetFieldsCounters [22:39:42]wFMCommunicate request_size=4 [22:39:42]MH_SAM_APDU [22:39:42]CAPDU: 80 13 00 00 [22:39:42]Write to MH i2c: E2 08 00 27 15 80 13 00 00 00 00 00 00 B8 [22:39:42]Write i2c OK [22:39:42]MH_I2C_Read... [22:39:42]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:39:42]Read from MH i2c: E2 [22:39:42]MH_I2C_Read... [22:39:42]Read from MH i2c: E2 62 00 [22:39:42]MH_I2C_Read... [22:39:42]Read from MH i2c: E2 62 00 27 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 03 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 6C 00 00 00 5E 04 04 00 6C 00 00 00 57 04 04 00 6D 00 00 00 19 04 04 00 00 00 00 00 90 00 F2 [22:39:42]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 03 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 6C 00 00 00 5E 04 04 00 6C 00 00 00 57 04 04 00 6D 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:39:42]wFMCommunicate OK [22:39:42]SAM_PROTO_GetFieldsCounters done [22:39:42]requested_item shift.num is exist - process it [22:39:42]requested_item shift.opened is exist - process it [22:39:42]req_shift_opened [22:39:42]FM_GetShiftState [22:39:42]SAM_PROTO_GetShiftState [22:39:42]wFMCommunicate request_size=4 [22:39:42]MH_SAM_APDU [22:39:42]CAPDU: 80 13 01 00 [22:39:42]Write to MH i2c: E2 08 00 28 15 80 13 01 00 00 00 00 00 BA [22:39:42]Write i2c OK [22:39:42]MH_I2C_Read... [22:39:42]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:39:42]Read from MH i2c: E2 [22:39:42]MH_I2C_Read... [22:39:42]Read from MH i2c: E2 0E 00 [22:39:42]MH_I2C_Read... [22:39:42]Read from MH i2c: E2 0E 00 28 15 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 61 [22:39:42]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:39:42]wFMCommunicate OK [22:39:42]SAM_PROTO_GetShiftState done [22:39:42]FM_GetShiftState done [22:39:42]req_shift_opened done [22:39:42]requested_item shift.open_date is exist - process it [22:39:42]req_shift_open_date [22:39:42]req_shift_open_date done [22:39:42]requested_item shift.sale.total is exist - process it [22:39:42]SAM_PROTO_GetShiftData [22:39:42]wFMCommunicate request_size=4 [22:39:42]MH_SAM_APDU [22:39:42]CAPDU: 80 13 02 00 [22:39:42]Write to MH i2c: E2 08 00 29 15 80 13 02 00 00 00 00 00 BC [22:39:42]Write i2c OK [22:39:42]MH_I2C_Read... [22:39:43]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:39:43]Read from MH i2c: E2 [22:39:43]MH_I2C_Read... [22:39:43]Read from MH i2c: E2 FD 00 [22:39:43]MH_I2C_Read... [22:39:43]Read from MH i2c: E2 FD 00 29 15 00 BB 04 AA 04 B7 04 6E 04 04 00 6C 00 00 00 69 04 9B 00 6F 04 04 00 6A 00 00 00 B1 04 03 00 73 1D 35 70 04 03 00 A8 78 2A 72 04 03 00 CB A4 0A 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0F A4 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 4B 78 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 0E [22:39:43]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 6C 00 00 00 69 04 9B 00 6F 04 04 00 6A 00 00 00 B1 04 03 00 73 1D 35 70 04 03 00 A8 78 2A 72 04 03 00 CB A4 0A 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 0F A4 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 4B 78 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [22:39:43]wFMCommunicate OK [22:39:43]wFMCommunicate request_size=4 [22:39:43]MH_SAM_APDU [22:39:43]CAPDU: 80 17 00 00 [22:39:43]Write to MH i2c: E2 08 00 2A 15 80 17 00 00 00 00 00 00 BF [22:39:43]Write i2c OK [22:39:43]MH_I2C_Read... [22:39:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:39:43]Read from MH i2c: E2 [22:39:43]MH_I2C_Read... [22:39:43]Read from MH i2c: E2 FD 00 [22:39:43]MH_I2C_Read... [22:39:43]Read from MH i2c: E2 FD 00 2A 15 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 52 [22:39:43]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:39:43]wFMCommunicate OK [22:39:43]wFMCommunicate request_size=4 [22:39:43]MH_SAM_APDU [22:39:43]CAPDU: 80 17 00 00 [22:39:43]Write to MH i2c: E2 08 00 2B 15 80 17 00 00 00 00 00 00 C0 [22:39:43]Write i2c OK [22:39:43]MH_I2C_Read... [22:39:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:39:43]Read from MH i2c: E2 [22:39:43]MH_I2C_Read... [22:39:43]Read from MH i2c: E2 FD 00 [22:39:43]MH_I2C_Read... [22:39:43]Read from MH i2c: E2 FD 00 2B 15 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EC [22:39:43]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:39:43]wFMCommunicate OK [22:39:43]wFMCommunicate request_size=4 [22:39:43]MH_SAM_APDU [22:39:43]CAPDU: 80 17 00 00 [22:39:43]Write to MH i2c: E2 08 00 2C 15 80 17 00 00 00 00 00 00 C1 [22:39:43]Write i2c OK [22:39:43]MH_I2C_Read... [22:39:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:39:44]Read from MH i2c: E2 [22:39:44]MH_I2C_Read... [22:39:44]Read from MH i2c: E2 FD 00 [22:39:44]MH_I2C_Read... [22:39:44]Read from MH i2c: E2 FD 00 2C 15 00 00 00 EF 03 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 90 00 36 [22:39:44]RAPDU: 00 00 EF 03 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 90 00 [22:39:44]wFMCommunicate OK [22:39:44]wFMCommunicate request_size=4 [22:39:44]MH_SAM_APDU [22:39:44]CAPDU: 80 17 00 00 [22:39:44]Write to MH i2c: E2 08 00 2D 15 80 17 00 00 00 00 00 00 C2 [22:39:44]Write i2c OK [22:39:44]MH_I2C_Read... [22:39:44]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [22:39:44]Read from MH i2c: E2 [22:39:44]MH_I2C_Read... [22:39:44]Read from MH i2c: E2 D8 00 [22:39:44]MH_I2C_Read... [22:39:44]Read from MH i2c: E2 D8 00 2D 15 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 A9 [22:39:44]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:39:44]wFMCommunicate OK [22:39:44]SAM_PROTO_GetShiftData done [22:39:44]requested_item shift.sale.total_cash is exist - process it [22:39:44]requested_item shift.sale_refund.total is exist - process it [22:39:44]requested_item shift.sale_refund.total_cash is exist - process it [22:39:44]produce_requested_data done [22:39:44]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57091,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":34809.47,"shift.sale.total_cash":27834.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [22:39:44]process_action_free close_receipt [22:39:44]json_value_free [22:39:44]json_value_free done [22:39:44]process_json_proto returns [22:39:44]Send response to host [22:39:44]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57091,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":34809.47,"shift.sale.total_cash":27834.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [22:39:44]free response buf [22:39:44]execute_script done [22:39:44]execute_script returns [22:39:44]free content buf [22:39:44]Sock 9.Close socket [22:39:44]Sock 9.Thread stoped [22:39:47]OFD Sender: No OFD packet to send [22:39:52]OFD Sender: No OFD packet to send [22:39:57]OFD Sender: No OFD packet to send [22:40:02]OFD Sender: No OFD packet to send [22:40:07]OFD Sender: No OFD packet to send [22:40:12]OFD Sender: No OFD packet to send [22:40:13]accept exits with 7 [22:40:13]New connection [22:40:13]New thread 3067592036 created [22:40:13]Thread 3067448676 joined [22:40:13]Waiting for new connection... [22:40:13] Sock 7.Parse request [22:40:13]Sock 7.Check first char [22:40:13]Sock 7.First char is OK [22:40:13]request: POST /json_proto HTTP/1.0 [22:40:13]Method: POST [22:40:13]URL: /json_proto [22:40:13]Method is POST - this is cgi request [22:40:13]url: /json_proto [22:40:13]query_string will be loaded in cgi processing [22:40:13]execute_cgi json_proto POST (null) [22:40:13]execute_cgi path=json_proto method=POST [22:40:13]POST find Content-Length [22:40:13]Host: 172.17.39.4:8080 [22:40:13]Content-Length: 927 [22:40:13]Content-Type: application/json [22:40:13] [22:40:13]POST finish read [22:40:13]Found Content-Length = 927 [22:40:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129551", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:40:13]execute_script... [22:40: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)129551", "tax_sys" : 0, "items" : [ { "code": "4640030091669", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange S", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 138.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:40:13]POST & json_proto [22:40:13]process_json_proto [22:40:14]json parsed OK: [22:40:14]protocol is kg_v1.0 [22:40:14]action value=close_receipt [22:40:14]process_action close_receipt [22:40:14]cmd_close_receipt [22:40:14]MH_GetDate [22:40:14]Write to MH i2c: F0 00 00 2E 15 32 [22:40:14]Write i2c OK [22:40:14]MH_I2C_Read... [22:40:14]Read from MH i2c: F0 [22:40:14]MH_I2C_Read... [22:40:14]Read from MH i2c: F0 09 00 [22:40:14]MH_I2C_Read... [22:40:14]Read from MH i2c: F0 09 00 2E 15 00 D1 53 94 66 2D 25 5D 64 6C [22:40:14]GetLastDocTimeStamp 1720996782 [22:40:14]current date 1720996817 [22:40:14]FM_GetShiftState [22:40:14]SAM_PROTO_GetShiftState [22:40:14]wFMCommunicate request_size=4 [22:40:14]MH_SAM_APDU [22:40:14]CAPDU: 80 13 01 00 [22:40:14]Write to MH i2c: E2 08 00 2F 15 80 13 01 00 00 00 00 00 C1 [22:40:14]Write i2c OK [22:40:14]MH_I2C_Read... [22:40:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:40:14]Read from MH i2c: E2 [22:40:14]MH_I2C_Read... [22:40:14]Read from MH i2c: E2 0E 00 [22:40:14]MH_I2C_Read... [22:40:14]Read from MH i2c: E2 0E 00 2F 15 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 68 [22:40:14]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:40:14]wFMCommunicate OK [22:40:14]SAM_PROTO_GetShiftState done [22:40:14]FM_GetShiftState done [22:40:14]opened in 1720917126 [22:40:14]opened+sec_in_day 1721003526 [22:40:14]quantity*price = 13800 [22:40:14]sum+1 = 13801 [22:40:14]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 138.00 НСП 1% : 1.22 НДС 12% : 14.65 Наличными: 0.00 Безнал.: 138.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 109 14.07.2024 22:40 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57092 ФПД: 416521152683 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T224017&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57092&fm=416521152683&tin=02508201610067®Number=0000000000091208&sum=13800 0 [22:40:15]StoreToDocumentArchive [22:40:15]shift 496 fd 57092 [22:40:15]save to /storage/0496/doc_00057092 [22:40:15]save last doc name /storage/0496/doc_00057092 to /storage/kkm_last_doc_name [22:40:15]save OK [22:40:15]Clear old archive folders... [22:40:15]ProcessDocumentItem done err = 0, tmpTLVsize=274 [22:40:15]tlvbuf is B6F44BE0 [22:40:15]SAM_PROTO_ClearQueue [22:40:15]wFMCommunicate request_size=4 [22:40:15]MH_SAM_APDU [22:40:15]CAPDU: 80 09 00 00 [22:40:15]Write to MH i2c: E2 08 00 3C 15 80 09 00 00 00 00 00 00 C3 [22:40:15]Write i2c OK [22:40:15]MH_I2C_Read... [22:40:15]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:40:15]Read from MH i2c: E2 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 03 00 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 03 00 3C 15 00 90 00 C5 [22:40:15]RAPDU: 90 00 [22:40:15]wFMCommunicate OK [22:40:15]SAM_PROTO_ClearQueue done [22:40:15]KKMCreateOFDPacket [22:40:15]OFDProtocolAddRootSTLVToBuf [22:40:15]FM_MakeSignedData [22:40:15]FM_MakeSignedData [22:40:15]SAM_PROTO_SignData [22:40:15]wFMCommunicate request_size=4 [22:40:15]MH_SAM_APDU [22:40:15]CAPDU: 80 0D 01 02 [22:40:15]Write to MH i2c: E2 08 00 3D 15 80 0D 01 02 00 00 00 00 CB [22:40:15]Write i2c OK [22:40:15]MH_I2C_Read... [22:40:15]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:40:15]Read from MH i2c: E2 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 03 00 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 03 00 3D 15 00 90 00 C6 [22:40:15]RAPDU: 90 00 [22:40:15]wFMCommunicate OK [22:40:15]wFMCommunicate request_size=255 [22:40:15]MH_SAM_APDU [22:40:15]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 36 39 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 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 D1 53 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 [22:40:15]Write to MH i2c: E2 02 01 3E 15 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 36 39 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 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 D1 53 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 00 00 8B [22:40:15]Write i2c OK [22:40:15]MH_I2C_Read... [22:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:40:15]Read from MH i2c: E2 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 03 00 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 03 00 3E 15 00 90 00 C7 [22:40:15]RAPDU: 90 00 [22:40:15]wFMCommunicate OK [22:40:15]wFMCommunicate request_size=33 [22:40:15]MH_SAM_APDU [22:40:15]CAPDU: 80 0D 02 02 1C 30 30 30 30 38 37 34 38 35 37 10 04 04 00 04 DF 00 00 35 04 06 00 00 60 FA 98 68 AB [22:40:15]Write to MH i2c: E2 24 00 3F 15 80 0D 02 02 1C 00 30 30 30 30 38 37 34 38 35 37 10 04 04 00 04 DF 00 00 35 04 06 00 00 60 FA 98 68 AB 00 00 4C [22:40:15]Write i2c OK [22:40:15]MH_I2C_Read... [22:40:15]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:40:15]Read from MH i2c: E2 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 03 00 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 03 00 3F 15 00 90 00 C8 [22:40:15]RAPDU: 90 00 [22:40:15]wFMCommunicate OK [22:40:15]wFMCommunicate request_size=4 [22:40:15]MH_SAM_APDU [22:40:15]CAPDU: 80 0D 03 02 [22:40:15]Write to MH i2c: E2 08 00 40 15 80 0D 03 02 00 00 00 00 D0 [22:40:15]Write i2c OK [22:40:15]MH_I2C_Read... [22:40:15]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:40:15]Read from MH i2c: E2 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 0B 00 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 0B 00 40 15 00 46 E5 19 C6 29 E5 C6 72 90 00 21 [22:40:15]RAPDU: 46 E5 19 C6 29 E5 C6 72 90 00 [22:40:15]wFMCommunicate OK [22:40:15]SAM_PROTO_SignData done [22:40:15]FM_MakeSignedData done [22:40:15]CreateOFDProtocolMessage [22:40:15]wFMCommunicate request_size=4 [22:40:15]MH_SAM_APDU [22:40:15]CAPDU: 80 11 00 00 [22:40:15]Write to MH i2c: E2 08 00 41 15 80 11 00 00 00 00 00 00 D0 [22:40:15]Write i2c OK [22:40:15]MH_I2C_Read... [22:40:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:40:15]Read from MH i2c: E2 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 17 00 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: E2 17 00 41 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2A [22:40:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:40:15]wFMCommunicate OK [22:40:15]CreateOFDProtocolMessage done [22:40:15]OFDSenderStorePacket 57092 [22:40:15]StoreOFDPacket docnum=57092 [22:40:15]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 7D 42 1E 01 62 6A 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 36 39 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 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 D1 53 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 04 DF 00 00 35 04 06 00 00 60 FA 98 68 AB 46 E5 19 C6 29 E5 C6 72 [22:40:15]CheckFolder [22:40:15]dirname=/storage/ofd_packets [22:40:15]CheckFolder done [22:40:15]ProducePacketName [22:40:15]name=ofd_packets/00057092 [22:40:15]NVStorageSaveData ofd_packets/00057092 [22:40:15]File name is /storage/ofd_packets/00057092 [22:40:15]Write 324 bytes [22:40:15]NVStorageSaveData done [22:40:15]OFDSenderStorePacket done [22:40:15]KKMCreateOFDPacket done [22:40:15]NVStorageSaveData kkm_last_timestamp [22:40:15]File name is /storage/kkm_last_timestamp [22:40:15]Write 4 bytes [22:40:15]NVStorageSaveData done [22:40:15]OFD Sender: Processing packet 57092 [packets to send 38, broken 37] [22:40:15]ProducePacketName [22:40:15]name=ofd_packets/00057092 [22:40:15]OFD Sender: To server: pG, [22:40:15]CommunicateWithHost lk.salyk.kg:30040 [22:40:15]ConnectInit lk.salyk.kg [22:40:15]ExternCall_PrintAddStr [22:40:15]wPrintStart [22:40:15]Write to MH i2c: 01 00 00 42 15 57 [22:40:15]Write i2c OK [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: 01 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: 01 07 00 [22:40:15]MH_I2C_Read... [22:40:15]Read from MH i2c: 01 07 00 42 15 00 00 00 00 00 FF 0F 6C [22:40:15]RasterBufferAndPrint [22:40:15]line Счет N : (3)129551 [22:40:15]line ИНН: 02508201610067 [22:40:15]line Контрольно-Кассовый Чек [22:40:15]line ПРОДАЖА [22:40:15]line Товар: 4640030091669 [22:40:15]line Сигареты ESSE Exchange S [22:40:15]line 1.000 * 138.00 [22:40:15]line = 138.00 [22:40:15]line НДС 12% НСП 1% [22:40:15]line > о реализуемом товаре [22:40:15]line ИТОГО: 138.00 [22:40:15]line НСП 1% : 1.22 [22:40:15]line НДС 12% : 14.65 [22:40:15]line Наличными: 0.00 [22:40:15]line Безнал.: 138.00 [22:40:15]line Место: АЗС № 132 "Партнер Нефть" [22:40:15]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:40:15]line СНО: Общий режим [22:40:15]line Чек 109 14.07.2024 22:40 [22:40:15]line Смена: 496 ФФД: 1.0 [22:40:15]line ЗНМ: 0300000132 [22:40:15]line РНМ: 0000000000091208 [22:40:15]line Версия ККМ: 001 [22:40:15]line Платежная система: АКБ Кыргызстан [22:40:15]line ФМ: 0000000000874857 [22:40:15]line ФД: 57092 [22:40:15]line ФПД: 416521152683 [22:40:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T224017&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57092&fm=416521152683&tin=02508201610067®Number=0000000000091208&sum=13800 [22:40:16]line 0 [22:40:16]Connected sock=11 [22:40:16]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 26 01 00 00 7D 42 1E 01 62 6A 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 36 39 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 53 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 E8 35 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7A 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B9 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 E8 35 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6D 00 00 00 F4 03 04 00 D1 53 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 04 DF 00 00 35 04 06 00 00 60 FA 98 68 AB 46 E5 19 C6 29 E5 C6 72 [22:40:16]written 0, free lines is 4095 [22:40:16]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 42 9D 47 00 53 5C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 04 DF 00 00 F4 03 04 00 21 FA 93 66 B6 04 01 00 00 16 1F 01 41 B2 43 B1 08 [22:40:16]CommunicateWithHost err = 0 [22:40:16]CheckOFDResponse [22:40:16]1017 (14) - 77093643461234 [22:40:16]1041 (16) - 0000000000874857 [22:40:16]1040 (4) - 57092 [22:40:16]1012 (4) - 14.07.2024 16:17 [22:40:16]1206 (1) - 0 [22:40:16]OFD Sender: Remove packet 57092 [22:40:16]ProducePacketName [22:40:16]name=ofd_packets/00057092 [22:40:16]NVStorageDeleteData [22:40:16]Write to MH i2c: 01 00 00 6C 15 81 [22:40:16]Write i2c OK [22:40:16]MH_I2C_Read... [22:40:16]Read from MH i2c: 01 [22:40:16]MH_I2C_Read... [22:40:16]Read from MH i2c: 01 07 00 [22:40:16]MH_I2C_Read... [22:40:16]Read from MH i2c: 01 07 00 6C 15 00 00 00 00 00 E4 0C 78 [22:40:16]RasterBufferAndPrint [22:40:16]line [22:40:16]line [22:40:16]line [22:40:16]line [22:40:16]line [22:40:16]written 0, free lines is 3309 [22:40:16]MH_Cut [22:40:16]Write to MH i2c: D1 01 00 73 15 01 5A [22:40:16]Write i2c OK [22:40:16]MH_I2C_Read... [22:40:16]Read from MH i2c: D1 [22:40:16]MH_I2C_Read... [22:40:16]Read from MH i2c: D1 01 00 [22:40:16]MH_I2C_Read... [22:40:16]Read from MH i2c: D1 01 00 73 15 00 59 [22:40:16]Write to MH i2c: 01 00 00 74 15 89 [22:40:16]Write i2c OK [22:40:16]MH_I2C_Read... [22:40:16]OFD Sender: No OFD packet to send [22:40:17]*** Cut start [22:40:17]*** Partial cut [22:40:17]*** CUTSNS_PIN = 1 [22:40:17]*** CUTSNS_PIN = 0 [22:40:17]*** Brake cut motor [22:40:17]Read from MH i2c: 01 [22:40:17]MH_I2C_Read... [22:40:17]*** Stop cut motor [22:40:17]*** Cut end [22:40:17]Read from MH i2c: 01 07 00 [22:40:17]MH_I2C_Read... [22:40:17]Read from MH i2c: 01 07 00 74 15 00 00 00 00 00 FF 0F 9E [22:40:17]process_action close_receipt done [22:40:17]requested_data is exist [22:40:17]produce_requested_data [22:40:17]requested_item fm.sn is exist - process it [22:40:17]wFMCommunicate request_size=4 [22:40:17]MH_SAM_APDU [22:40:17]CAPDU: 80 11 00 00 [22:40:17]Write to MH i2c: E2 08 00 75 15 80 11 00 00 00 00 00 00 04 [22:40:17]Write i2c OK [22:40:17]MH_I2C_Read... [22:40:17]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:40:17]Read from MH i2c: E2 [22:40:17]MH_I2C_Read... [22:40:17]Read from MH i2c: E2 17 00 [22:40:17]MH_I2C_Read... [22:40:17]Read from MH i2c: E2 17 00 75 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5E [22:40:17]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:40:17]wFMCommunicate OK [22:40:17]requested_item fd.num is exist - process it [22:40:17]SAM_PROTO_GetFieldsCounters [22:40:17]wFMCommunicate request_size=4 [22:40:17]MH_SAM_APDU [22:40:17]CAPDU: 80 13 00 00 [22:40:17]Write to MH i2c: E2 08 00 76 15 80 13 00 00 00 00 00 00 07 [22:40:17]Write i2c OK [22:40:17]MH_I2C_Read... [22:40:18]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:40:18]Read from MH i2c: E2 [22:40:18]MH_I2C_Read... [22:40:18]Read from MH i2c: E2 62 00 [22:40:18]MH_I2C_Read... [22:40:18]Read from MH i2c: E2 62 00 76 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 04 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 6D 00 00 00 5E 04 04 00 6D 00 00 00 57 04 04 00 6E 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [22:40:18]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 04 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 6D 00 00 00 5E 04 04 00 6D 00 00 00 57 04 04 00 6E 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:40:18]wFMCommunicate OK [22:40:18]SAM_PROTO_GetFieldsCounters done [22:40:18]requested_item shift.num is exist - process it [22:40:18]requested_item shift.opened is exist - process it [22:40:18]req_shift_opened [22:40:18]FM_GetShiftState [22:40:18]SAM_PROTO_GetShiftState [22:40:18]wFMCommunicate request_size=4 [22:40:18]MH_SAM_APDU [22:40:18]CAPDU: 80 13 01 00 [22:40:18]Write to MH i2c: E2 08 00 77 15 80 13 01 00 00 00 00 00 09 [22:40:18]Write i2c OK [22:40:18]MH_I2C_Read... [22:40:18]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:40:18]Read from MH i2c: E2 [22:40:18]MH_I2C_Read... [22:40:18]Read from MH i2c: E2 0E 00 [22:40:18]MH_I2C_Read... [22:40:18]Read from MH i2c: E2 0E 00 77 15 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 B0 [22:40:18]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:40:18]wFMCommunicate OK [22:40:18]SAM_PROTO_GetShiftState done [22:40:18]FM_GetShiftState done [22:40:18]req_shift_opened done [22:40:18]requested_item shift.open_date is exist - process it [22:40:18]req_shift_open_date [22:40:18]req_shift_open_date done [22:40:18]requested_item shift.sale.total is exist - process it [22:40:18]SAM_PROTO_GetShiftData [22:40:18]wFMCommunicate request_size=4 [22:40:18]MH_SAM_APDU [22:40:18]CAPDU: 80 13 02 00 [22:40:18]Write to MH i2c: E2 08 00 78 15 80 13 02 00 00 00 00 00 0B [22:40:18]Write i2c OK [22:40:18]MH_I2C_Read... [22:40:18]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:40:18]Read from MH i2c: E2 [22:40:18]MH_I2C_Read... [22:40:18]Read from MH i2c: E2 FD 00 [22:40:18]MH_I2C_Read... [22:40:18]Read from MH i2c: E2 FD 00 78 15 00 BB 04 AA 04 B7 04 6E 04 04 00 6D 00 00 00 69 04 9B 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 5B 53 35 70 04 03 00 A8 78 2A 72 04 03 00 B3 DA 0A 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 C8 A9 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 C5 78 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 D3 [22:40:18]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 6D 00 00 00 69 04 9B 00 6F 04 04 00 6B 00 00 00 B1 04 03 00 5B 53 35 70 04 03 00 A8 78 2A 72 04 03 00 B3 DA 0A 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 C8 A9 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 C5 78 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [22:40:18]wFMCommunicate OK [22:40:18]wFMCommunicate request_size=4 [22:40:18]MH_SAM_APDU [22:40:18]CAPDU: 80 17 00 00 [22:40:18]Write to MH i2c: E2 08 00 79 15 80 17 00 00 00 00 00 00 0E [22:40:18]Write i2c OK [22:40:18]MH_I2C_Read... [22:40:18]Read from MH i2c: E2 [22:40:18]MH_I2C_Read... [22:40:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:40:18]Read from MH i2c: E2 FD 00 [22:40:18]MH_I2C_Read... [22:40:18]Read from MH i2c: E2 FD 00 79 15 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A1 [22:40:18]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:40:18]wFMCommunicate OK [22:40:18]wFMCommunicate request_size=4 [22:40:18]MH_SAM_APDU [22:40:18]CAPDU: 80 17 00 00 [22:40:18]Write to MH i2c: E2 08 00 7A 15 80 17 00 00 00 00 00 00 0F [22:40:18]Write i2c OK [22:40:18]MH_I2C_Read... [22:40:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:40:19]Read from MH i2c: E2 [22:40:19]MH_I2C_Read... [22:40:19]Read from MH i2c: E2 FD 00 [22:40:19]MH_I2C_Read... [22:40:19]Read from MH i2c: E2 FD 00 7A 15 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3B [22:40:19]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:40:19]wFMCommunicate OK [22:40:19]wFMCommunicate request_size=4 [22:40:19]MH_SAM_APDU [22:40:19]CAPDU: 80 17 00 00 [22:40:19]Write to MH i2c: E2 08 00 7B 15 80 17 00 00 00 00 00 00 10 [22:40:19]Write i2c OK [22:40:19]MH_I2C_Read... [22:40:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:40:19]Read from MH i2c: E2 [22:40:19]MH_I2C_Read... [22:40:19]Read from MH i2c: E2 FD 00 [22:40:19]MH_I2C_Read... [22:40:19]Read from MH i2c: E2 FD 00 7B 15 00 00 00 EF 03 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 90 00 85 [22:40:19]RAPDU: 00 00 EF 03 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 90 00 [22:40:19]wFMCommunicate OK [22:40:19]wFMCommunicate request_size=4 [22:40:19]MH_SAM_APDU [22:40:19]CAPDU: 80 17 00 00 [22:40:19]Write to MH i2c: E2 08 00 7C 15 80 17 00 00 00 00 00 00 11 [22:40:19]Write i2c OK [22:40:19]MH_I2C_Read... [22:40:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [22:40:19]Read from MH i2c: E2 [22:40:19]MH_I2C_Read... [22:40:19]Read from MH i2c: E2 D8 00 [22:40:19]MH_I2C_Read... [22:40:19]Read from MH i2c: E2 D8 00 7C 15 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 F8 [22:40:19]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:40:19]wFMCommunicate OK [22:40:19]SAM_PROTO_GetShiftData done [22:40:19]requested_item shift.sale.total_cash is exist - process it [22:40:19]requested_item shift.sale_refund.total is exist - process it [22:40:19]requested_item shift.sale_refund.total_cash is exist - process it [22:40:19]produce_requested_data done [22:40:19]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57092,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":34947.47,"shift.sale.total_cash":27834.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [22:40:19]process_action_free close_receipt [22:40:19]json_value_free [22:40:19]json_value_free done [22:40:19]process_json_proto returns [22:40:19]Send response to host [22:40:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57092,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":34947.47,"shift.sale.total_cash":27834.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [22:40:19]free response buf [22:40:19]execute_script done [22:40:19]execute_script returns [22:40:19]free content buf [22:40:19]Sock 7.Close socket [22:40:19]Sock 7.Thread stoped [22:40:21]OFD Sender: No OFD packet to send [22:40:26]OFD Sender: No OFD packet to send [22:40:31]OFD Sender: No OFD packet to send [22:40:36]OFD Sender: No OFD packet to send [22:40:41]OFD Sender: No OFD packet to send [22:40:46]OFD Sender: No OFD packet to send [22:40:51]OFD Sender: No OFD packet to send [22:40:56]OFD Sender: No OFD packet to send [22:41:01]OFD Sender: No OFD packet to send [22:41:06]OFD Sender: No OFD packet to send [22:41:11]OFD Sender: No OFD packet to send [22:41:16]OFD Sender: No OFD packet to send [22:41:21]OFD Sender: No OFD packet to send [22:41:26]OFD Sender: No OFD packet to send [22:41:31]OFD Sender: No OFD packet to send [22:41:36]OFD Sender: No OFD packet to send [22:41:41]OFD Sender: No OFD packet to send [22:41:46]OFD Sender: No OFD packet to send [22:41:51]OFD Sender: No OFD packet to send [22:41:56]OFD Sender: No OFD packet to send [22:42:01]OFD Sender: No OFD packet to send [22:42:06]OFD Sender: No OFD packet to send [22:42:11]OFD Sender: No OFD packet to send [22:42:16]OFD Sender: No OFD packet to send [22:42:21]OFD Sender: No OFD packet to send [22:42:26]OFD Sender: No OFD packet to send [22:42:31]OFD Sender: No OFD packet to send [22:42:36]OFD Sender: No OFD packet to send [22:42:41]OFD Sender: No OFD packet to send [22:42:46]OFD Sender: No OFD packet to send [22:42:51]OFD Sender: No OFD packet to send [22:42:56]OFD Sender: No OFD packet to send [22:43:01]OFD Sender: No OFD packet to send [22:43:06]OFD Sender: No OFD packet to send [22:43:11]OFD Sender: No OFD packet to send [22:43:16]OFD Sender: No OFD packet to send [22:43:21]OFD Sender: No OFD packet to send [22:43:26]OFD Sender: No OFD packet to send [22:43:31]OFD Sender: No OFD packet to send [22:43:36]OFD Sender: No OFD packet to send [22:43:41]OFD Sender: No OFD packet to send [22:43:46]OFD Sender: No OFD packet to send [22:43:51]OFD Sender: No OFD packet to send [22:43:56]OFD Sender: No OFD packet to send [22:44:01]OFD Sender: No OFD packet to send [22:44:06]OFD Sender: No OFD packet to send [22:44:11]OFD Sender: No OFD packet to send [22:44:16]OFD Sender: No OFD packet to send [22:44:21]OFD Sender: No OFD packet to send [22:44:26]OFD Sender: No OFD packet to send [22:44:32]OFD Sender: No OFD packet to send [22:44:37]OFD Sender: No OFD packet to send [22:44:42]OFD Sender: No OFD packet to send [22:44:47]OFD Sender: No OFD packet to send [22:44:52]OFD Sender: No OFD packet to send [22:44:57]OFD Sender: No OFD packet to send [22:45:02]OFD Sender: No OFD packet to send [22:45:07]OFD Sender: No OFD packet to send [22:45:12]OFD Sender: No OFD packet to send [22:45:17]OFD Sender: No OFD packet to send [22:45:22]OFD Sender: No OFD packet to send [22:45:27]OFD Sender: No OFD packet to send [22:45:32]OFD Sender: No OFD packet to send [22:45:37]OFD Sender: No OFD packet to send [22:45:42]OFD Sender: No OFD packet to send [22:45:47]OFD Sender: No OFD packet to send [22:45:52]OFD Sender: No OFD packet to send [22:45:57]OFD Sender: No OFD packet to send [22:46:02]OFD Sender: No OFD packet to send [22:46:07]OFD Sender: No OFD packet to send [22:46:12]OFD Sender: No OFD packet to send [22:46:13]accept exits with 9 [22:46:13]New connection [22:46:13]New thread 3067448676 created [22:46:13]Thread 3067592036 joined [22:46:13]Waiting for new connection... [22:46:13] Sock 9.Parse request [22:46:13]Sock 9.Check first char [22:46:13]Sock 9.First char is OK [22:46:13]request: POST /json_proto HTTP/1.0 [22:46:13]Method: POST [22:46:13]URL: /json_proto [22:46:13]Method is POST - this is cgi request [22:46:13]url: /json_proto [22:46:13]query_string will be loaded in cgi processing [22:46:13]execute_cgi json_proto POST (null) [22:46:13]execute_cgi path=json_proto method=POST [22:46:13]POST find Content-Length [22:46:13]Host: 172.17.39.4:8080 [22:46:13]Content-Length: 728 [22:46:13]Content-Type: application/json [22:46:13] [22:46:13]POST finish read [22:46:13]Found Content-Length = 728 [22:46:13]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129552", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:46:13]execute_script... [22:46: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)129552", "tax_sys" : 0, "items" : [ { "code": "48744683", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston XStyle Caster+", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 143.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [22:46:13]POST & json_proto [22:46:13]process_json_proto [22:46:13]json parsed OK: [22:46:13]protocol is kg_v1.0 [22:46:13]action value=close_receipt [22:46:13]process_action close_receipt [22:46:13]cmd_close_receipt [22:46:13]MH_GetDate [22:46:13]Write to MH i2c: F0 00 00 7D 15 81 [22:46:13]Write i2c OK [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: F0 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: F0 09 00 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: F0 09 00 7D 15 00 38 55 94 66 2D 25 5D 64 24 [22:46:13]GetLastDocTimeStamp 1720996817 [22:46:13]current date 1720997176 [22:46:13]FM_GetShiftState [22:46:13]SAM_PROTO_GetShiftState [22:46:13]wFMCommunicate request_size=4 [22:46:13]MH_SAM_APDU [22:46:13]CAPDU: 80 13 01 00 [22:46:13]Write to MH i2c: E2 08 00 7E 15 80 13 01 00 00 00 00 00 10 [22:46:13]Write i2c OK [22:46:13]MH_I2C_Read... [22:46:13]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:13]Read from MH i2c: E2 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: E2 0E 00 [22:46:13]MH_I2C_Read... [22:46:13]Read from MH i2c: E2 0E 00 7E 15 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 B7 [22:46:13]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:46:13]wFMCommunicate OK [22:46:13]SAM_PROTO_GetShiftState done [22:46:13]FM_GetShiftState done [22:46:13]opened in 1720917126 [22:46:13]opened+sec_in_day 1721003526 [22:46:13]quantity*price = 14300 [22:46:13]sum+1 = 14301 [22:46:13]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 143.00 НСП 1% : 1.26 НДС 12% : 15.19 Наличными: 143.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 110 14.07.2024 22:46 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57093 ФПД: 241760524796845 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T224616&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57093&fm=241760524796845&tin=02508201610067®Number=0000000000091208&sum=14300 0 [22:46:14]StoreToDocumentArchive [22:46:14]shift 496 fd 57093 [22:46:14]save to /storage/0496/doc_00057093 [22:46:14]save last doc name /storage/0496/doc_00057093 to /storage/kkm_last_doc_name [22:46:14]save OK [22:46:14]Clear old archive folders... [22:46:14]ProcessDocumentItem done err = 0, tmpTLVsize=276 [22:46:14]tlvbuf is B6E44150 [22:46:14]SAM_PROTO_ClearQueue [22:46:14]wFMCommunicate request_size=4 [22:46:14]MH_SAM_APDU [22:46:14]CAPDU: 80 09 00 00 [22:46:14]Write to MH i2c: E2 08 00 8B 15 80 09 00 00 00 00 00 00 12 [22:46:14]Write i2c OK [22:46:14]MH_I2C_Read... [22:46:14]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [22:46:14]Read from MH i2c: E2 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 03 00 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 03 00 8B 15 00 90 00 14 [22:46:14]RAPDU: 90 00 [22:46:14]wFMCommunicate OK [22:46:14]SAM_PROTO_ClearQueue done [22:46:14]KKMCreateOFDPacket [22:46:14]OFDProtocolAddRootSTLVToBuf [22:46:14]FM_MakeSignedData [22:46:14]FM_MakeSignedData [22:46:14]SAM_PROTO_SignData [22:46:14]wFMCommunicate request_size=4 [22:46:14]MH_SAM_APDU [22:46:14]CAPDU: 80 0D 01 02 [22:46:14]Write to MH i2c: E2 08 00 8C 15 80 0D 01 02 00 00 00 00 1A [22:46:14]Write i2c OK [22:46:14]MH_I2C_Read... [22:46:14]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [22:46:14]Read from MH i2c: E2 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 03 00 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 03 00 8C 15 00 90 00 15 [22:46:14]RAPDU: 90 00 [22:46:14]wFMCommunicate OK [22:46:14]wFMCommunicate request_size=255 [22:46:14]MH_SAM_APDU [22:46:14]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 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 38 55 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 [22:46:14]Write to MH i2c: E2 02 01 8D 15 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 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 38 55 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 00 00 4A [22:46:14]Write i2c OK [22:46:14]MH_I2C_Read... [22:46:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:14]Read from MH i2c: E2 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 03 00 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 03 00 8D 15 00 90 00 16 [22:46:14]RAPDU: 90 00 [22:46:14]wFMCommunicate OK [22:46:14]wFMCommunicate request_size=35 [22:46:14]MH_SAM_APDU [22:46:14]CAPDU: 80 0D 02 02 1E 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DF 00 00 35 04 06 00 DB E1 42 33 83 AD [22:46:14]Write to MH i2c: E2 26 00 8E 15 80 0D 02 02 1E 00 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DF 00 00 35 04 06 00 DB E1 42 33 83 AD 00 00 5C [22:46:14]Write i2c OK [22:46:14]MH_I2C_Read... [22:46:14]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [22:46:14]Read from MH i2c: E2 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 03 00 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 03 00 8E 15 00 90 00 17 [22:46:14]RAPDU: 90 00 [22:46:14]wFMCommunicate OK [22:46:14]wFMCommunicate request_size=4 [22:46:14]MH_SAM_APDU [22:46:14]CAPDU: 80 0D 03 02 [22:46:14]Write to MH i2c: E2 08 00 8F 15 80 0D 03 02 00 00 00 00 1F [22:46:14]Write i2c OK [22:46:14]MH_I2C_Read... [22:46:14]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [22:46:14]Read from MH i2c: E2 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 0B 00 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 0B 00 8F 15 00 7D C9 F0 06 2D 80 76 48 90 00 C7 [22:46:14]RAPDU: 7D C9 F0 06 2D 80 76 48 90 00 [22:46:14]wFMCommunicate OK [22:46:14]SAM_PROTO_SignData done [22:46:14]FM_MakeSignedData done [22:46:14]CreateOFDProtocolMessage [22:46:14]wFMCommunicate request_size=4 [22:46:14]MH_SAM_APDU [22:46:14]CAPDU: 80 11 00 00 [22:46:14]Write to MH i2c: E2 08 00 90 15 80 11 00 00 00 00 00 00 1F [22:46:14]Write i2c OK [22:46:14]MH_I2C_Read... [22:46:14]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:14]Read from MH i2c: E2 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 17 00 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: E2 17 00 90 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 79 [22:46:14]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:46:14]wFMCommunicate OK [22:46:14]CreateOFDProtocolMessage done [22:46:14]OFDSenderStorePacket 57093 [22:46:14]StoreOFDPacket docnum=57093 [22:46:14]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 28 01 00 00 97 4E 20 01 47 6C 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 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 38 55 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DF 00 00 35 04 06 00 DB E1 42 33 83 AD 7D C9 F0 06 2D 80 76 48 [22:46:14]CheckFolder [22:46:14]dirname=/storage/ofd_packets [22:46:14]CheckFolder done [22:46:14]ProducePacketName [22:46:14]name=ofd_packets/00057093 [22:46:14]NVStorageSaveData ofd_packets/00057093 [22:46:14]File name is /storage/ofd_packets/00057093 [22:46:14]Write 326 bytes [22:46:14]NVStorageSaveData done [22:46:14]OFDSenderStorePacket done [22:46:14]KKMCreateOFDPacket done [22:46:14]NVStorageSaveData kkm_last_timestamp [22:46:14]File name is /storage/kkm_last_timestamp [22:46:14]Write 4 bytes [22:46:14]NVStorageSaveData done [22:46:14]ExternCall_PrintAddStr [22:46:14]wPrintStart [22:46:14]Write to MH i2c: 01 00 00 91 15 A6 [22:46:14]Write i2c OK [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: 01 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: 01 07 00 [22:46:14]MH_I2C_Read... [22:46:14]Read from MH i2c: 01 07 00 91 15 00 00 00 00 00 FF 0F BB [22:46:14]RasterBufferAndPrint [22:46:14]line Счет N : (3)129552 [22:46:14]line ИНН: 02508201610067 [22:46:14]line Контрольно-Кассовый Чек [22:46:14]line ПРОДАЖА [22:46:14]line Товар: 48744683 [22:46:14]line Сигареты Winston XStyle Caster+ [22:46:14]line 1.000 * 143.00 [22:46:14]line = 143.00 [22:46:14]line НДС 12% НСП 1% [22:46:14]line > о реализуемом товаре [22:46:14]line ИТОГО: 143.00 [22:46:14]line НСП 1% : 1.26 [22:46:14]line НДС 12% : 15.19 [22:46:14]line Наличными: 143.00 [22:46:14]line Безнал.: 0.00 [22:46:14]line Место: АЗС № 132 "Партнер Нефть" [22:46:14]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [22:46:14]line СНО: Общий режим [22:46:14]line Чек 110 14.07.2024 22:46 [22:46:14]line Смена: 496 ФФД: 1.0 [22:46:14]line ЗНМ: 0300000132 [22:46:14]line РНМ: 0000000000091208 [22:46:14]line Версия ККМ: 001 [22:46:14]line ФМ: 0000000000874857 [22:46:14]line ФД: 57093 [22:46:14]line ФПД: 241760524796845 [22:46:14]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T224616&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57093&fm=241760524796845&tin=02508201610067®Number=0000000000091208&sum=14300 [22:46:15]line 0 [22:46:15]OFD Sender: Processing packet 57093 [packets to send 38, broken 37] [22:46:15]ProducePacketName [22:46:15]name=ofd_packets/00057093 [22:46:15]OFD Sender: To server: pG, [22:46:15]CommunicateWithHost lk.salyk.kg:30040 [22:46:15]ConnectInit lk.salyk.kg [22:46:15]written 0, free lines is 4095 [22:46:15]Connected sock=10 [22:46:15]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 28 01 00 00 97 4E 20 01 47 6C 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 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 FC 03 06 00 DC 37 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 7E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 EF 05 00 00 00 00 07 04 06 00 DC 37 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 6E 00 00 00 F4 03 04 00 38 55 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DF 00 00 35 04 06 00 DB E1 42 33 83 AD 7D C9 F0 06 2D 80 76 48 [22:46:15]Write to MH i2c: 01 00 00 BA 15 CF [22:46:15]Write i2c OK [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: 01 [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: 01 07 00 [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: 01 07 00 BA 15 00 00 00 00 00 ED 0C CF [22:46:15]RasterBufferAndPrint [22:46:15]line [22:46:15]line [22:46:15]line [22:46:15]line [22:46:15]line [22:46:15]written 0, free lines is 3315 [22:46:15]MH_Cut [22:46:15]Write to MH i2c: D1 01 00 C1 15 01 A8 [22:46:15]Write i2c OK [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: D1 [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: D1 01 00 [22:46:15]MH_I2C_Read... [22:46:15]Read from MH i2c: D1 01 00 C1 15 00 A7 [22:46:15]Write to MH i2c: 01 00 00 C2 15 D7 [22:46:15]Write i2c OK [22:46:15]MH_I2C_Read... [22:46:15]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 96 16 47 00 B5 B5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 05 DF 00 00 F4 03 04 00 88 FB 93 66 B6 04 01 00 00 CC 3A 54 74 5D FB 08 0D [22:46:15]CommunicateWithHost err = 0 [22:46:15]CheckOFDResponse [22:46:15]1017 (14) - 77093643461234 [22:46:15]1041 (16) - 0000000000874857 [22:46:15]1040 (4) - 57093 [22:46:15]1012 (4) - 14.07.2024 16:23 [22:46:15]1206 (1) - 0 [22:46:15]OFD Sender: Remove packet 57093 [22:46:15]ProducePacketName [22:46:15]name=ofd_packets/00057093 [22:46:15]NVStorageDeleteData [22:46:16]OFD Sender: No OFD packet to send [22:46:16]*** Cut start [22:46:16]*** Partial cut [22:46:16]*** CUTSNS_PIN = 1 [22:46:16]*** CUTSNS_PIN = 0 [22:46:16]*** Brake cut motor [22:46:16]Read from MH i2c: 01 [22:46:16]MH_I2C_Read... [22:46:16]*** Stop cut motor [22:46:16]*** Cut end [22:46:16]Read from MH i2c: 01 07 00 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: 01 07 00 C2 15 00 00 00 00 00 FF 0F EC [22:46:16]process_action close_receipt done [22:46:16]requested_data is exist [22:46:16]produce_requested_data [22:46:16]requested_item fm.sn is exist - process it [22:46:16]wFMCommunicate request_size=4 [22:46:16]MH_SAM_APDU [22:46:16]CAPDU: 80 11 00 00 [22:46:16]Write to MH i2c: E2 08 00 C3 15 80 11 00 00 00 00 00 00 52 [22:46:16]Write i2c OK [22:46:16]MH_I2C_Read... [22:46:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [22:46:16]Read from MH i2c: E2 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 17 00 [22:46:16]MH_I2C_Read... [22:46:16]Read from MH i2c: E2 17 00 C3 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AC [22:46:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [22:46:16]wFMCommunicate OK [22:46:16]requested_item fd.num is exist - process it [22:46:16]SAM_PROTO_GetFieldsCounters [22:46:16]wFMCommunicate request_size=4 [22:46:16]MH_SAM_APDU [22:46:16]CAPDU: 80 13 00 00 [22:46:16]Write to MH i2c: E2 08 00 C4 15 80 13 00 00 00 00 00 00 55 [22:46:16]Write i2c OK [22:46:16]MH_I2C_Read... [22:46:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [22:46:17]Read from MH i2c: E2 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 62 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 62 00 C4 15 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 6E 00 00 00 5E 04 04 00 6E 00 00 00 57 04 04 00 6F 00 00 00 19 04 04 00 00 00 00 00 90 00 97 [22:46:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 05 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 6E 00 00 00 5E 04 04 00 6E 00 00 00 57 04 04 00 6F 00 00 00 19 04 04 00 00 00 00 00 90 00 [22:46:17]wFMCommunicate OK [22:46:17]SAM_PROTO_GetFieldsCounters done [22:46:17]requested_item shift.num is exist - process it [22:46:17]requested_item shift.opened is exist - process it [22:46:17]req_shift_opened [22:46:17]FM_GetShiftState [22:46:17]SAM_PROTO_GetShiftState [22:46:17]wFMCommunicate request_size=4 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 13 01 00 [22:46:17]Write to MH i2c: E2 08 00 C5 15 80 13 01 00 00 00 00 00 57 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 [22:46:17]MH_I2C_Read... [22:46:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [22:46:17]Read from MH i2c: E2 0E 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 0E 00 C5 15 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 FE [22:46:17]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [22:46:17]wFMCommunicate OK [22:46:17]SAM_PROTO_GetShiftState done [22:46:17]FM_GetShiftState done [22:46:17]req_shift_opened done [22:46:17]requested_item shift.open_date is exist - process it [22:46:17]req_shift_open_date [22:46:17]req_shift_open_date done [22:46:17]requested_item shift.sale.total is exist - process it [22:46:17]SAM_PROTO_GetShiftData [22:46:17]wFMCommunicate request_size=4 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 13 02 00 [22:46:17]Write to MH i2c: E2 08 00 C6 15 80 13 02 00 00 00 00 00 59 [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [22:46:17]Read from MH i2c: E2 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 FD 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 FD 00 C6 15 00 BB 04 AA 04 B7 04 6E 04 04 00 6E 00 00 00 69 04 9B 00 6F 04 04 00 6C 00 00 00 B1 04 03 00 37 8B 35 70 04 03 00 84 B0 2A 72 04 03 00 B3 DA 0A 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 B7 AF 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 43 79 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 BF [22:46:17]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 6E 00 00 00 69 04 9B 00 6F 04 04 00 6C 00 00 00 B1 04 03 00 37 8B 35 70 04 03 00 84 B0 2A 72 04 03 00 B3 DA 0A 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 B7 AF 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 43 79 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [22:46:17]wFMCommunicate OK [22:46:17]wFMCommunicate request_size=4 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 17 00 00 [22:46:17]Write to MH i2c: E2 08 00 C7 15 80 17 00 00 00 00 00 00 5C [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:46:17]Read from MH i2c: E2 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 FD 00 [22:46:17]MH_I2C_Read... [22:46:17]Read from MH i2c: E2 FD 00 C7 15 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EF [22:46:17]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:46:17]wFMCommunicate OK [22:46:17]wFMCommunicate request_size=4 [22:46:17]MH_SAM_APDU [22:46:17]CAPDU: 80 17 00 00 [22:46:17]Write to MH i2c: E2 08 00 C8 15 80 17 00 00 00 00 00 00 5D [22:46:17]Write i2c OK [22:46:17]MH_I2C_Read... [22:46:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:46:18]Read from MH i2c: E2 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 FD 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 FD 00 C8 15 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 89 [22:46:18]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [22:46:18]wFMCommunicate OK [22:46:18]wFMCommunicate request_size=4 [22:46:18]MH_SAM_APDU [22:46:18]CAPDU: 80 17 00 00 [22:46:18]Write to MH i2c: E2 08 00 C9 15 80 17 00 00 00 00 00 00 5E [22:46:18]Write i2c OK [22:46:18]MH_I2C_Read... [22:46:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [22:46:18]Read from MH i2c: E2 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 FD 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 FD 00 C9 15 00 00 00 EF 03 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 90 00 D3 [22:46:18]RAPDU: 00 00 EF 03 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 90 00 [22:46:18]wFMCommunicate OK [22:46:18]wFMCommunicate request_size=4 [22:46:18]MH_SAM_APDU [22:46:18]CAPDU: 80 17 00 00 [22:46:18]Write to MH i2c: E2 08 00 CA 15 80 17 00 00 00 00 00 00 5F [22:46:18]Write i2c OK [22:46:18]MH_I2C_Read... [22:46:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [22:46:18]Read from MH i2c: E2 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 D8 00 [22:46:18]MH_I2C_Read... [22:46:18]Read from MH i2c: E2 D8 00 CA 15 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 46 [22:46:18]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [22:46:18]wFMCommunicate OK [22:46:18]SAM_PROTO_GetShiftData done [22:46:18]requested_item shift.sale.total_cash is exist - process it [22:46:18]requested_item shift.sale_refund.total is exist - process it [22:46:18]requested_item shift.sale_refund.total_cash is exist - process it [22:46:18]produce_requested_data done [22:46:18]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57093,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":35090.47,"shift.sale.total_cash":27977.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [22:46:18]process_action_free close_receipt [22:46:18]json_value_free [22:46:18]json_value_free done [22:46:18]process_json_proto returns [22:46:18]Send response to host [22:46:18]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57093,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":35090.47,"shift.sale.total_cash":27977.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [22:46:18]free response buf [22:46:18]execute_script done [22:46:18]execute_script returns [22:46:18]free content buf [22:46:18]Sock 9.Close socket [22:46:18]Sock 9.Thread stoped [22:46:21]OFD Sender: No OFD packet to send [22:46:26]OFD Sender: No OFD packet to send [22:46:31]OFD Sender: No OFD packet to send [22:46:36]OFD Sender: No OFD packet to send [22:46:41]OFD Sender: No OFD packet to send [22:46:46]OFD Sender: No OFD packet to send [22:46:51]OFD Sender: No OFD packet to send [22:46:56]OFD Sender: No OFD packet to send [22:47:01]OFD Sender: No OFD packet to send [22:47:06]OFD Sender: No OFD packet to send [22:47:11]OFD Sender: No OFD packet to send [22:47:16]OFD Sender: No OFD packet to send [22:47:21]OFD Sender: No OFD packet to send [22:47:26]OFD Sender: No OFD packet to send [22:47:31]OFD Sender: No OFD packet to send [22:47:36]OFD Sender: No OFD packet to send [22:47:41]OFD Sender: No OFD packet to send [22:47:46]OFD Sender: No OFD packet to send [22:47:51]OFD Sender: No OFD packet to send [22:47:56]OFD Sender: No OFD packet to send [22:48:01]OFD Sender: No OFD packet to send [22:48:06]OFD Sender: No OFD packet to send [22:48:11]OFD Sender: No OFD packet to send [22:48:16]OFD Sender: No OFD packet to send [22:48:21]OFD Sender: No OFD packet to send [22:48:26]OFD Sender: No OFD packet to send [22:48:31]OFD Sender: No OFD packet to send [22:48:36]OFD Sender: No OFD packet to send [22:48:41]OFD Sender: No OFD packet to send [22:48:46]OFD Sender: No OFD packet to send [22:48:51]OFD Sender: No OFD packet to send [22:48:56]OFD Sender: No OFD packet to send [22:49:01]OFD Sender: No OFD packet to send [22:49:06]OFD Sender: No OFD packet to send [22:49:11]OFD Sender: No OFD packet to send [22:49:16]OFD Sender: No OFD packet to send [22:49:21]OFD Sender: No OFD packet to send [22:49:26]OFD Sender: No OFD packet to send [22:49:31]OFD Sender: No OFD packet to send [22:49:36]OFD Sender: No OFD packet to send [22:49:41]OFD Sender: No OFD packet to send [22:49:46]OFD Sender: No OFD packet to send [22:49:51]OFD Sender: No OFD packet to send [22:49:56]OFD Sender: No OFD packet to send [22:50:01]OFD Sender: No OFD packet to send [22:50:06]OFD Sender: No OFD packet to send [22:50:11]OFD Sender: No OFD packet to send [22:50:16]OFD Sender: No OFD packet to send [22:50:21]OFD Sender: No OFD packet to send [22:50:26]OFD Sender: No OFD packet to send [22:50:31]OFD Sender: No OFD packet to send [22:50:36]OFD Sender: No OFD packet to send [22:50:41]OFD Sender: No OFD packet to send [22:50:46]OFD Sender: No OFD packet to send [22:50:51]OFD Sender: No OFD packet to send [22:50:56]OFD Sender: No OFD packet to send [22:51:01]OFD Sender: No OFD packet to send [22:51:06]OFD Sender: No OFD packet to send [22:51:11]OFD Sender: No OFD packet to send [22:51:16]OFD Sender: No OFD packet to send [22:51:21]OFD Sender: No OFD packet to send [22:51:26]OFD Sender: No OFD packet to send [22:51:31]OFD Sender: No OFD packet to send [22:51:36]OFD Sender: No OFD packet to send [22:51:41]OFD Sender: No OFD packet to send [22:51:46]OFD Sender: No OFD packet to send [22:51:51]OFD Sender: No OFD packet to send [22:51:56]OFD Sender: No OFD packet to send [22:52:01]OFD Sender: No OFD packet to send [22:52:06]OFD Sender: No OFD packet to send [22:52:11]OFD Sender: No OFD packet to send [22:52:16]OFD Sender: No OFD packet to send [22:52:21]OFD Sender: No OFD packet to send [22:52:26]OFD Sender: No OFD packet to send [22:52:31]OFD Sender: No OFD packet to send [22:52:36]OFD Sender: No OFD packet to send [22:52:41]OFD Sender: No OFD packet to send [22:52:46]OFD Sender: No OFD packet to send [22:52:51]OFD Sender: No OFD packet to send [22:52:56]OFD Sender: No OFD packet to send [22:53:01]OFD Sender: No OFD packet to send [22:53:06]OFD Sender: No OFD packet to send [22:53:11]OFD Sender: No OFD packet to send [22:53:16]OFD Sender: No OFD packet to send [22:53:21]OFD Sender: No OFD packet to send [22:53:26]OFD Sender: No OFD packet to send [22:53:31]OFD Sender: No OFD packet to send [22:53:36]OFD Sender: No OFD packet to send [22:53:41]OFD Sender: No OFD packet to send [22:53:46]OFD Sender: No OFD packet to send [22:53:51]OFD Sender: No OFD packet to send [22:53:56]OFD Sender: No OFD packet to send [22:54:01]OFD Sender: No OFD packet to send [22:54:06]OFD Sender: No OFD packet to send [22:54:11]OFD Sender: No OFD packet to send [22:54:16]OFD Sender: No OFD packet to send [22:54:21]OFD Sender: No OFD packet to send [22:54:26]OFD Sender: No OFD packet to send [22:54:31]OFD Sender: No OFD packet to send [22:54:36]OFD Sender: No OFD packet to send [22:54:41]OFD Sender: No OFD packet to send [22:54:46]OFD Sender: No OFD packet to send [22:54:51]OFD Sender: No OFD packet to send [22:54:56]OFD Sender: No OFD packet to send [22:55:01]OFD Sender: No OFD packet to send [22:55:06]OFD Sender: No OFD packet to send [22:55:11]OFD Sender: No OFD packet to send [22:55:16]OFD Sender: No OFD packet to send [22:55:21]OFD Sender: No OFD packet to send [22:55:26]OFD Sender: No OFD packet to send [22:55:31]OFD Sender: No OFD packet to send [22:55:36]OFD Sender: No OFD packet to send [22:55:41]OFD Sender: No OFD packet to send [22:55:46]OFD Sender: No OFD packet to send [22:55:51]OFD Sender: No OFD packet to send [22:55:56]OFD Sender: No OFD packet to send [22:56:01]OFD Sender: No OFD packet to send [22:56:06]OFD Sender: No OFD packet to send [22:56:11]OFD Sender: No OFD packet to send [22:56:16]OFD Sender: No OFD packet to send [22:56:21]OFD Sender: No OFD packet to send [22:56:26]OFD Sender: No OFD packet to send [22:56:31]OFD Sender: No OFD packet to send [22:56:36]OFD Sender: No OFD packet to send [22:56:41]OFD Sender: No OFD packet to send [22:56:46]OFD Sender: No OFD packet to send [22:56:51]OFD Sender: No OFD packet to send [22:56:56]OFD Sender: No OFD packet to send [22:57:01]OFD Sender: No OFD packet to send [22:57:06]OFD Sender: No OFD packet to send [22:57:11]OFD Sender: No OFD packet to send [22:57:16]OFD Sender: No OFD packet to send [22:57:21]OFD Sender: No OFD packet to send [22:57:26]OFD Sender: No OFD packet to send [22:57:31]OFD Sender: No OFD packet to send [22:57:36]OFD Sender: No OFD packet to send [22:57:41]OFD Sender: No OFD packet to send [22:57:46]OFD Sender: No OFD packet to send [22:57:51]OFD Sender: No OFD packet to send [22:57:56]OFD Sender: No OFD packet to send [22:58:01]OFD Sender: No OFD packet to send [22:58:06]OFD Sender: No OFD packet to send [22:58:11]OFD Sender: No OFD packet to send [22:58:16]OFD Sender: No OFD packet to send [22:58:21]OFD Sender: No OFD packet to send [22:58:26]OFD Sender: No OFD packet to send [22:58:31]OFD Sender: No OFD packet to send [22:58:36]OFD Sender: No OFD packet to send [22:58:41]OFD Sender: No OFD packet to send [22:58:46]OFD Sender: No OFD packet to send [22:58:51]OFD Sender: No OFD packet to send [22:58:56]OFD Sender: No OFD packet to send [22:59:01]OFD Sender: No OFD packet to send [22:59:06]OFD Sender: No OFD packet to send [22:59:11]OFD Sender: No OFD packet to send [22:59:16]OFD Sender: No OFD packet to send [22:59:21]OFD Sender: No OFD packet to send [22:59:26]OFD Sender: No OFD packet to send [22:59:31]OFD Sender: No OFD packet to send [22:59:36]OFD Sender: No OFD packet to send [22:59:41]OFD Sender: No OFD packet to send [22:59:46]OFD Sender: No OFD packet to send [22:59:51]OFD Sender: No OFD packet to send [22:59:56]OFD Sender: No OFD packet to send [23:00:01]OFD Sender: No OFD packet to send [23:00:06]OFD Sender: No OFD packet to send [23:00:11]OFD Sender: No OFD packet to send [23:00:16]OFD Sender: No OFD packet to send [23:00:21]OFD Sender: No OFD packet to send [23:00:26]OFD Sender: No OFD packet to send [23:00:31]OFD Sender: No OFD packet to send [23:00:36]OFD Sender: No OFD packet to send [23:00:41]OFD Sender: No OFD packet to send [23:00:46]OFD Sender: No OFD packet to send [23:00:51]OFD Sender: No OFD packet to send [23:00:56]accept exits with 7 [23:00:56]New connection [23:00:56]New thread 3067592036 created [23:00:56]Thread 3067448676 joined [23:00:56]Waiting for new connection... [23:00:56] Sock 7.Parse request [23:00:56]Sock 7.Check first char [23:00:56]Sock 7.First char is OK [23:00:56]request: POST /json_proto HTTP/1.0 [23:00:56]Method: POST [23:00:56]URL: /json_proto [23:00:56]Method is POST - this is cgi request [23:00:56]url: /json_proto [23:00:56]query_string will be loaded in cgi processing [23:00:56]execute_cgi json_proto POST (null) [23:00:56]execute_cgi path=json_proto method=POST [23:00:56]POST find Content-Length [23:00:56]Host: 172.17.39.4:8080 [23:00:56]Content-Length: 786 [23:00:56]Content-Type: application/json [23:00:56] [23:00:56]POST finish read [23:00:56]Found Content-Length = 786 [23:00:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855602", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 15.090, "sum" : 1000.47, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:00:56]execute_script... [23:00:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855602", "tax_sys" : 0, "items" : [ { "pre_item_text": "\u0422\u0420\u041A (\u041C\u0420\u041A, \u0413\u041D\u041A) : 63", "code": "2710124130", "name": "\u0410\u0438-92-\u041A-5", "price" : 66.30, "quantity" : 15.090, "sum" : 1000.47, "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:00:56]POST & json_proto [23:00:56]process_json_proto [23:00:56]json parsed OK: [23:00:56]protocol is kg_v1.0 [23:00:56]action value=close_receipt [23:00:56]process_action close_receipt [23:00:56]cmd_close_receipt [23:00:56]MH_GetDate [23:00:56]Write to MH i2c: F0 00 00 CB 15 CF [23:00:56]Write i2c OK [23:00:56]MH_I2C_Read... [23:00:56]Read from MH i2c: F0 [23:00:56]MH_I2C_Read... [23:00:56]Read from MH i2c: F0 09 00 [23:00:56]MH_I2C_Read... [23:00:56]Read from MH i2c: F0 09 00 CB 15 00 AC 58 94 66 2D 25 5D 64 E9 [23:00:56]GetLastDocTimeStamp 1720997176 [23:00:56]current date 1720998060 [23:00:56]FM_GetShiftState [23:00:56]SAM_PROTO_GetShiftState [23:00:56]wFMCommunicate request_size=4 [23:00:56]MH_SAM_APDU [23:00:56]CAPDU: 80 13 01 00 [23:00:56]Write to MH i2c: E2 08 00 CC 15 80 13 01 00 00 00 00 00 5E [23:00:56]Write i2c OK [23:00:56]MH_I2C_Read... [23:00:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:00:56]Read from MH i2c: E2 [23:00:56]MH_I2C_Read... [23:00:56]Read from MH i2c: E2 0E 00 [23:00:56]MH_I2C_Read... [23:00:56]Read from MH i2c: E2 0E 00 CC 15 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 05 [23:00:56]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:00:56]wFMCommunicate OK [23:00:56]SAM_PROTO_GetShiftState done [23:00:56]FM_GetShiftState done [23:00:56]opened in 1720917126 [23:00:56]opened+sec_in_day 1721003526 [23:00:56]quantity*price = 100046 [23:00:56]sum+1 = 100048 [23:00:56]Check (price>sum+1) || (price+1 о реализуемом товаре ОКРУГЛЕНИЕ: -0.47 ИТОГО: 1000.00 Внесено: 1000.00 СДАЧА: 0.00 НСП 1% : 8.85 НДС 12% : 106.24 Наличными: 1000.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 111 14.07.2024 23:01 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57094 ФПД: 224167774465243 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T230100&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57094&fm=224167774465243&tin=02508201610067®Number=0000000000091208&sum=100000 [23:00:58]StoreToDocumentArchive [23:00:58]shift 496 fd 57094 [23:00:58]save to /storage/0496/doc_00057094 [23:00:58]save last doc name /storage/0496/doc_00057094 to /storage/kkm_last_doc_name [23:00:58]save OK [23:00:58]Clear old archive folders... [23:00:58]ProcessDocumentItem done err = 0, tmpTLVsize=251 [23:00:58]tlvbuf is 00FA2540 [23:00:58]SAM_PROTO_ClearQueue [23:00:58]wFMCommunicate request_size=4 [23:00:58]MH_SAM_APDU [23:00:58]CAPDU: 80 09 00 00 [23:00:58]Write to MH i2c: E2 08 00 D9 15 80 09 00 00 00 00 00 00 60 [23:00:58]Write i2c OK [23:00:58]MH_I2C_Read... [23:00:58]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:00:58]Read from MH i2c: E2 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 03 00 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 03 00 D9 15 00 90 00 62 [23:00:58]RAPDU: 90 00 [23:00:58]wFMCommunicate OK [23:00:58]SAM_PROTO_ClearQueue done [23:00:58]KKMCreateOFDPacket [23:00:58]OFDProtocolAddRootSTLVToBuf [23:00:58]FM_MakeSignedData [23:00:58]FM_MakeSignedData [23:00:58]SAM_PROTO_SignData [23:00:58]wFMCommunicate request_size=4 [23:00:58]MH_SAM_APDU [23:00:58]CAPDU: 80 0D 01 02 [23:00:58]Write to MH i2c: E2 08 00 DA 15 80 0D 01 02 00 00 00 00 68 [23:00:58]Write i2c OK [23:00:58]MH_I2C_Read... [23:00:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:00:58]Read from MH i2c: E2 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 03 00 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 03 00 DA 15 00 90 00 63 [23:00:58]RAPDU: 90 00 [23:00:58]wFMCommunicate OK [23:00:58]wFMCommunicate request_size=255 [23:00:58]MH_SAM_APDU [23:00:58]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 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 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 80 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 6F 00 00 00 F4 03 04 00 AC 58 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 06 DF 00 00 35 04 06 00 CB [23:00:58]Write to MH i2c: E2 02 01 DB 15 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 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 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 80 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 6F 00 00 00 F4 03 04 00 AC 58 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 06 DF 00 00 35 04 06 00 CB 00 00 72 [23:00:58]Write i2c OK [23:00:58]MH_I2C_Read... [23:00:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:58]Read from MH i2c: E2 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 03 00 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 03 00 DB 15 00 90 00 64 [23:00:58]RAPDU: 90 00 [23:00:58]wFMCommunicate OK [23:00:58]wFMCommunicate request_size=10 [23:00:58]MH_SAM_APDU [23:00:58]CAPDU: 80 0D 02 02 05 E1 20 91 2C DB [23:00:58]Write to MH i2c: E2 0D 00 DC 15 80 0D 02 02 05 00 E1 20 91 2C DB 00 00 0E [23:00:58]Write i2c OK [23:00:58]MH_I2C_Read... [23:00:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:00:58]Read from MH i2c: E2 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 03 00 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 03 00 DC 15 00 90 00 65 [23:00:58]RAPDU: 90 00 [23:00:58]wFMCommunicate OK [23:00:58]wFMCommunicate request_size=4 [23:00:58]MH_SAM_APDU [23:00:58]CAPDU: 80 0D 03 02 [23:00:58]Write to MH i2c: E2 08 00 DD 15 80 0D 03 02 00 00 00 00 6D [23:00:58]Write i2c OK [23:00:58]MH_I2C_Read... [23:00:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:00:58]Read from MH i2c: E2 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 0B 00 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 0B 00 DD 15 00 99 2A 33 A8 7B 09 37 57 90 00 1E [23:00:58]RAPDU: 99 2A 33 A8 7B 09 37 57 90 00 [23:00:58]wFMCommunicate OK [23:00:58]SAM_PROTO_SignData done [23:00:58]FM_MakeSignedData done [23:00:58]CreateOFDProtocolMessage [23:00:58]wFMCommunicate request_size=4 [23:00:58]MH_SAM_APDU [23:00:58]CAPDU: 80 11 00 00 [23:00:58]Write to MH i2c: E2 08 00 DE 15 80 11 00 00 00 00 00 00 6D [23:00:58]Write i2c OK [23:00:58]MH_I2C_Read... [23:00:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:00:58]Read from MH i2c: E2 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 17 00 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: E2 17 00 DE 15 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C7 [23:00:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:00:58]wFMCommunicate OK [23:00:58]CreateOFDProtocolMessage done [23:00:58]OFDSenderStorePacket 57094 [23:00:58]StoreOFDPacket docnum=57094 [23:00:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 8B 4C 07 01 B4 B1 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 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 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 80 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 6F 00 00 00 F4 03 04 00 AC 58 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 06 DF 00 00 35 04 06 00 CB E1 20 91 2C DB 99 2A 33 A8 7B 09 37 57 [23:00:58]CheckFolder [23:00:58]dirname=/storage/ofd_packets [23:00:58]CheckFolder done [23:00:58]ProducePacketName [23:00:58]name=ofd_packets/00057094 [23:00:58]NVStorageSaveData ofd_packets/00057094 [23:00:58]File name is /storage/ofd_packets/00057094 [23:00:58]Write 301 bytes [23:00:58]NVStorageSaveData done [23:00:58]OFDSenderStorePacket done [23:00:58]KKMCreateOFDPacket done [23:00:58]NVStorageSaveData kkm_last_timestamp [23:00:58]File name is /storage/kkm_last_timestamp [23:00:58]Write 4 bytes [23:00:58]NVStorageSaveData done [23:00:58]ExternCall_PrintAddStr [23:00:58]wPrintStart [23:00:58]Write to MH i2c: 01 00 00 DF 15 F4 [23:00:58]Write i2c OK [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: 01 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: 01 07 00 [23:00:58]MH_I2C_Read... [23:00:58]Read from MH i2c: 01 07 00 DF 15 00 00 00 00 00 FF 0F 09 [23:00:58]RasterBufferAndPrint [23:00:58]line Счет N : (1)855602 [23:00:58]line ИНН: 02508201610067 [23:00:58]line Контрольно-Кассовый Чек [23:00:58]line ПРОДАЖА [23:00:58]line ТРК (МРК, ГНК) : 63 [23:00:58]line Товар: 2710124130 [23:00:58]line Аи-92-К-5 [23:00:58]line 15.090 * 66.30 [23:00:58]line = 1000.47 [23:00:58]line НДС 12% НСП 1% [23:00:58]line > о реализуемом товаре [23:00:58]line ОКРУГЛЕНИЕ: -0.47 [23:00:58]line ИТОГО: 1000.00 [23:00:58]line Внесено: 1000.00 [23:00:58]line СДАЧА: 0.00 [23:00:58]line НСП 1% : 8.85 [23:00:58]line НДС 12% : 106.24 [23:00:58]line Наличными: 1000.00 [23:00:58]line Безнал.: 0.00 [23:00:58]line Место: АЗС № 132 "Партнер Нефть" [23:00:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:00:58]line СНО: Общий режим [23:00:58]line Чек 111 14.07.2024 23:01 [23:00:58]line Смена: 496 ФФД: 1.0 [23:00:58]line ЗНМ: 0300000132 [23:00:58]line РНМ: 0000000000091208 [23:00:58]line Версия ККМ: 001 [23:00:58]line ФМ: 0000000000874857 [23:00:58]line ФД: 57094 [23:00:58]line ФПД: 224167774465243 [23:00:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T230100&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57094&fm=224167774465243&tin=02508201610067®Number=0000000000091208&sum=100000 [23:00:58]OFD Sender: Processing packet 57094 [packets to send 38, broken 37] [23:00:58]ProducePacketName [23:00:58]name=ofd_packets/00057094 [23:00:58]OFD Sender: To server: pG, [23:00:58]CommunicateWithHost lk.salyk.kg:30040 [23:00:58]ConnectInit lk.salyk.kg [23:00:58]written 0, free lines is 4095 [23:00:59]Connected sock=10 [23:00:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0F 01 00 00 8B 4C 07 01 B4 B1 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 F2 3A 00 00 00 00 00 37 04 06 00 E6 19 00 00 00 00 13 04 06 00 CF 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 80 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 6F 00 00 00 F4 03 04 00 AC 58 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 06 DF 00 00 35 04 06 00 CB E1 20 91 2C DB 99 2A 33 A8 7B 09 37 57 [23:00:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 7D AE 47 00 E6 93 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 06 DF 00 00 F4 03 04 00 FC FE 93 66 B6 04 01 00 00 1F A4 B2 B8 CA 42 96 DE [23:00:59]CommunicateWithHost err = 0 [23:00:59]CheckOFDResponse [23:00:59]1017 (14) - 77093643461234 [23:00:59]1041 (16) - 0000000000874857 [23:00:59]1040 (4) - 57094 [23:00:59]1012 (4) - 14.07.2024 16:38 [23:00:59]1206 (1) - 0 [23:00:59]OFD Sender: Remove packet 57094 [23:00:59]ProducePacketName [23:00:59]name=ofd_packets/00057094 [23:00:59]NVStorageDeleteData [23:00:59]Write to MH i2c: 01 00 00 0A 16 20 [23:00:59]Write i2c OK [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: 01 [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: 01 07 00 [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: 01 07 00 0A 16 00 00 00 00 00 EC 0C 1F [23:00:59]RasterBufferAndPrint [23:00:59]line [23:00:59]line [23:00:59]line [23:00:59]line [23:00:59]line [23:00:59]written 0, free lines is 3314 [23:00:59]MH_Cut [23:00:59]Write to MH i2c: D1 01 00 11 16 01 F9 [23:00:59]Write i2c OK [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: D1 [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: D1 01 00 [23:00:59]MH_I2C_Read... [23:00:59]Read from MH i2c: D1 01 00 11 16 00 F8 [23:00:59]Write to MH i2c: 01 00 00 12 16 28 [23:00:59]Write i2c OK [23:00:59]MH_I2C_Read... [23:00:59]OFD Sender: No OFD packet to send [23:01:00]*** Cut start [23:01:00]*** Partial cut [23:01:00]*** CUTSNS_PIN = 1 [23:01:00]*** CUTSNS_PIN = 0 [23:01:00]*** Brake cut motor [23:01:00]Read from MH i2c: 01 [23:01:00]MH_I2C_Read... [23:01:00]*** Stop cut motor [23:01:00]*** Cut end [23:01:00]Read from MH i2c: 01 07 00 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: 01 07 00 12 16 00 00 00 00 00 FF 0F 3D [23:01:00]process_action close_receipt done [23:01:00]requested_data is exist [23:01:00]produce_requested_data [23:01:00]requested_item fm.sn is exist - process it [23:01:00]wFMCommunicate request_size=4 [23:01:00]MH_SAM_APDU [23:01:00]CAPDU: 80 11 00 00 [23:01:00]Write to MH i2c: E2 08 00 13 16 80 11 00 00 00 00 00 00 A3 [23:01:00]Write i2c OK [23:01:00]MH_I2C_Read... [23:01:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:01:00]Read from MH i2c: E2 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 17 00 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 17 00 13 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FD [23:01:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:01:00]wFMCommunicate OK [23:01:00]requested_item fd.num is exist - process it [23:01:00]SAM_PROTO_GetFieldsCounters [23:01:00]wFMCommunicate request_size=4 [23:01:00]MH_SAM_APDU [23:01:00]CAPDU: 80 13 00 00 [23:01:00]Write to MH i2c: E2 08 00 14 16 80 13 00 00 00 00 00 00 A6 [23:01:00]Write i2c OK [23:01:00]MH_I2C_Read... [23:01:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:01:00]Read from MH i2c: E2 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 62 00 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 62 00 14 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 06 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 6F 00 00 00 5E 04 04 00 6F 00 00 00 57 04 04 00 70 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [23:01:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 06 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 6F 00 00 00 5E 04 04 00 6F 00 00 00 57 04 04 00 70 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:01:00]wFMCommunicate OK [23:01:00]SAM_PROTO_GetFieldsCounters done [23:01:00]requested_item shift.num is exist - process it [23:01:00]requested_item shift.opened is exist - process it [23:01:00]req_shift_opened [23:01:00]FM_GetShiftState [23:01:00]SAM_PROTO_GetShiftState [23:01:00]wFMCommunicate request_size=4 [23:01:00]MH_SAM_APDU [23:01:00]CAPDU: 80 13 01 00 [23:01:00]Write to MH i2c: E2 08 00 15 16 80 13 01 00 00 00 00 00 A8 [23:01:00]Write i2c OK [23:01:00]MH_I2C_Read... [23:01:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:01:00]Read from MH i2c: E2 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 0E 00 [23:01:00]MH_I2C_Read... [23:01:00]Read from MH i2c: E2 0E 00 15 16 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 4F [23:01:00]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:01:00]wFMCommunicate OK [23:01:00]SAM_PROTO_GetShiftState done [23:01:00]FM_GetShiftState done [23:01:00]req_shift_opened done [23:01:00]requested_item shift.open_date is exist - process it [23:01:00]req_shift_open_date [23:01:00]req_shift_open_date done [23:01:00]requested_item shift.sale.total is exist - process it [23:01:00]SAM_PROTO_GetShiftData [23:01:00]wFMCommunicate request_size=4 [23:01:00]MH_SAM_APDU [23:01:00]CAPDU: 80 13 02 00 [23:01:00]Write to MH i2c: E2 08 00 16 16 80 13 02 00 00 00 00 00 AA [23:01:00]Write i2c OK [23:01:00]MH_I2C_Read... [23:01:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:01:01]Read from MH i2c: E2 [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: E2 FD 00 [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: E2 FD 00 16 16 00 BB 04 AA 04 B7 04 6E 04 04 00 6F 00 00 00 69 04 9B 00 6F 04 04 00 6D 00 00 00 B1 04 03 00 D7 11 37 70 04 03 00 24 37 2C 72 04 03 00 B3 DA 0A 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 37 D9 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 B8 7C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 85 [23:01:01]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 6F 00 00 00 69 04 9B 00 6F 04 04 00 6D 00 00 00 B1 04 03 00 D7 11 37 70 04 03 00 24 37 2C 72 04 03 00 B3 DA 0A 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 37 D9 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 B8 7C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:01:01]wFMCommunicate OK [23:01:01]wFMCommunicate request_size=4 [23:01:01]MH_SAM_APDU [23:01:01]CAPDU: 80 17 00 00 [23:01:01]Write to MH i2c: E2 08 00 17 16 80 17 00 00 00 00 00 00 AD [23:01:01]Write i2c OK [23:01:01]MH_I2C_Read... [23:01:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:01:01]Read from MH i2c: E2 [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: E2 FD 00 [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: E2 FD 00 17 16 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 40 [23:01:01]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:01:01]wFMCommunicate OK [23:01:01]wFMCommunicate request_size=4 [23:01:01]MH_SAM_APDU [23:01:01]CAPDU: 80 17 00 00 [23:01:01]Write to MH i2c: E2 08 00 18 16 80 17 00 00 00 00 00 00 AE [23:01:01]Write i2c OK [23:01:01]MH_I2C_Read... [23:01:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:01:01]Read from MH i2c: E2 [23:01:01]MH_I2C_Read... [23:01:01]Read from MH i2c: E2 FD 00 [23:01:01]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 FD 00 18 16 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 DA [23:01:02]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:01:02]wFMCommunicate OK [23:01:02]wFMCommunicate request_size=4 [23:01:02]MH_SAM_APDU [23:01:02]CAPDU: 80 17 00 00 [23:01:02]Write to MH i2c: E2 08 00 19 16 80 17 00 00 00 00 00 00 AF [23:01:02]Write i2c OK [23:01:02]MH_I2C_Read... [23:01:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:01:02]Read from MH i2c: E2 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 FD 00 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 FD 00 19 16 00 00 00 EF 03 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 90 00 24 [23:01:02]RAPDU: 00 00 EF 03 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 90 00 [23:01:02]wFMCommunicate OK [23:01:02]wFMCommunicate request_size=4 [23:01:02]MH_SAM_APDU [23:01:02]CAPDU: 80 17 00 00 [23:01:02]Write to MH i2c: E2 08 00 1A 16 80 17 00 00 00 00 00 00 B0 [23:01:02]Write i2c OK [23:01:02]MH_I2C_Read... [23:01:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:01:02]Read from MH i2c: E2 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 D8 00 [23:01:02]MH_I2C_Read... [23:01:02]Read from MH i2c: E2 D8 00 1A 16 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:01:02]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:01:02]wFMCommunicate OK [23:01:02]SAM_PROTO_GetShiftData done [23:01:02]requested_item shift.sale.total_cash is exist - process it [23:01:02]requested_item shift.sale_refund.total is exist - process it [23:01:02]requested_item shift.sale_refund.total_cash is exist - process it [23:01:02]produce_requested_data done [23:01:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57094,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36090.47,"shift.sale.total_cash":28977.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [23:01:02]process_action_free close_receipt [23:01:02]json_value_free [23:01:02]json_value_free done [23:01:02]process_json_proto returns [23:01:02]Send response to host [23:01:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57094,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36090.47,"shift.sale.total_cash":28977.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [23:01:02]free response buf [23:01:02]execute_script done [23:01:02]execute_script returns [23:01:02]free content buf [23:01:02]Sock 7.Close socket [23:01:02]Sock 7.Thread stoped [23:01:04]OFD Sender: No OFD packet to send [23:01:09]OFD Sender: No OFD packet to send [23:01:14]OFD Sender: No OFD packet to send [23:01:19]OFD Sender: No OFD packet to send [23:01:24]OFD Sender: No OFD packet to send [23:01:29]OFD Sender: No OFD packet to send [23:01:34]OFD Sender: No OFD packet to send [23:01:39]OFD Sender: No OFD packet to send [23:01:44]OFD Sender: No OFD packet to send [23:01:49]OFD Sender: No OFD packet to send [23:01:54]OFD Sender: No OFD packet to send [23:01:59]OFD Sender: No OFD packet to send [23:02:04]OFD Sender: No OFD packet to send [23:02:09]OFD Sender: No OFD packet to send [23:02:14]OFD Sender: No OFD packet to send [23:02:19]OFD Sender: No OFD packet to send [23:02:24]OFD Sender: No OFD packet to send [23:02:29]OFD Sender: No OFD packet to send [23:02:34]OFD Sender: No OFD packet to send [23:02:39]OFD Sender: No OFD packet to send [23:02:44]OFD Sender: No OFD packet to send [23:02:49]OFD Sender: No OFD packet to send [23:02:54]OFD Sender: No OFD packet to send [23:02:59]OFD Sender: No OFD packet to send [23:03:04]OFD Sender: No OFD packet to send [23:03:09]OFD Sender: No OFD packet to send [23:03:14]OFD Sender: No OFD packet to send [23:03:19]OFD Sender: No OFD packet to send [23:03:24]OFD Sender: No OFD packet to send [23:03:29]OFD Sender: No OFD packet to send [23:03:34]OFD Sender: No OFD packet to send [23:03:39]OFD Sender: No OFD packet to send [23:03:44]OFD Sender: No OFD packet to send [23:03:49]OFD Sender: No OFD packet to send [23:03:54]OFD Sender: No OFD packet to send [23:03:59]OFD Sender: No OFD packet to send [23:04:04]OFD Sender: No OFD packet to send [23:04:09]OFD Sender: No OFD packet to send [23:04:14]OFD Sender: No OFD packet to send [23:04:20]OFD Sender: No OFD packet to send [23:04:25]OFD Sender: No OFD packet to send [23:04:30]OFD Sender: No OFD packet to send [23:04:35]OFD Sender: No OFD packet to send [23:04:40]OFD Sender: No OFD packet to send [23:04:45]OFD Sender: No OFD packet to send [23:04:50]OFD Sender: No OFD packet to send [23:04:55]OFD Sender: No OFD packet to send [23:05:00]OFD Sender: No OFD packet to send [23:05:05]OFD Sender: No OFD packet to send [23:05:10]OFD Sender: No OFD packet to send [23:05:15]OFD Sender: No OFD packet to send [23:05:20]OFD Sender: No OFD packet to send [23:05:25]OFD Sender: No OFD packet to send [23:05:30]OFD Sender: No OFD packet to send [23:05:35]OFD Sender: No OFD packet to send [23:05:40]OFD Sender: No OFD packet to send [23:05:45]OFD Sender: No OFD packet to send [23:05:50]OFD Sender: No OFD packet to send [23:05:55]OFD Sender: No OFD packet to send [23:06:00]OFD Sender: No OFD packet to send [23:06:05]OFD Sender: No OFD packet to send [23:06:10]OFD Sender: No OFD packet to send [23:06:15]OFD Sender: No OFD packet to send [23:06:20]OFD Sender: No OFD packet to send [23:06:25]OFD Sender: No OFD packet to send [23:06:30]OFD Sender: No OFD packet to send [23:06:35]OFD Sender: No OFD packet to send [23:06:40]OFD Sender: No OFD packet to send [23:06:45]OFD Sender: No OFD packet to send [23:06:50]OFD Sender: No OFD packet to send [23:06:55]OFD Sender: No OFD packet to send [23:07:00]OFD Sender: No OFD packet to send [23:07:05]OFD Sender: No OFD packet to send [23:07:10]OFD Sender: No OFD packet to send [23:07:15]OFD Sender: No OFD packet to send [23:07:20]OFD Sender: No OFD packet to send [23:07:25]OFD Sender: No OFD packet to send [23:07:30]OFD Sender: No OFD packet to send [23:07:35]OFD Sender: No OFD packet to send [23:07:40]OFD Sender: No OFD packet to send [23:07:45]OFD Sender: No OFD packet to send [23:07:50]OFD Sender: No OFD packet to send [23:07:55]OFD Sender: No OFD packet to send [23:08:00]OFD Sender: No OFD packet to send [23:08:05]OFD Sender: No OFD packet to send [23:08:10]OFD Sender: No OFD packet to send [23:08:15]OFD Sender: No OFD packet to send [23:08:20]OFD Sender: No OFD packet to send [23:08:25]OFD Sender: No OFD packet to send [23:08:30]OFD Sender: No OFD packet to send [23:08:32]accept exits with 9 [23:08:32]New connection [23:08:32]New thread 3067448676 created [23:08:32]Thread 3067592036 joined [23:08:32]Waiting for new connection... [23:08:32] Sock 9.Parse request [23:08:32]Sock 9.Check first char [23:08:32]Sock 9.First char is OK [23:08:32]request: POST /json_proto HTTP/1.0 [23:08:32]Method: POST [23:08:32]URL: /json_proto [23:08:32]Method is POST - this is cgi request [23:08:32]url: /json_proto [23:08:32]query_string will be loaded in cgi processing [23:08:32]execute_cgi json_proto POST (null) [23:08:32]execute_cgi path=json_proto method=POST [23:08:32]POST find Content-Length [23:08:32]Host: 172.17.39.4:8080 [23:08:32]Content-Length: 772 [23:08:32]Content-Type: application/json [23:08:32] [23:08:32]POST finish read [23:08:32]Found Content-Length = 772 [23:08:32]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129553", "tax_sys" : 0, "items" : [ { "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:08:32]execute_script... [23:08: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)129553", "tax_sys" : 0, "items" : [ { "code": "4011100977624", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0411\u0430\u0443\u043D\u0442\u0438 55\u0433", "price" : 59.00, "quantity" : 1.000, "sum" : 59.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 59.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:08:32]POST & json_proto [23:08:32]process_json_proto [23:08:32]json parsed OK: [23:08:32]protocol is kg_v1.0 [23:08:32]action value=close_receipt [23:08:32]process_action close_receipt [23:08:32]cmd_close_receipt [23:08:32]MH_GetDate [23:08:32]Write to MH i2c: F0 00 00 1B 16 20 [23:08:32]Write i2c OK [23:08:32]MH_I2C_Read... [23:08:32]Read from MH i2c: F0 [23:08:32]MH_I2C_Read... [23:08:32]Read from MH i2c: F0 09 00 [23:08:32]MH_I2C_Read... [23:08:32]Read from MH i2c: F0 09 00 1B 16 00 73 5A 94 66 2D 25 5D 64 03 [23:08:32]GetLastDocTimeStamp 1720998060 [23:08:32]current date 1720998515 [23:08:32]FM_GetShiftState [23:08:32]SAM_PROTO_GetShiftState [23:08:32]wFMCommunicate request_size=4 [23:08:32]MH_SAM_APDU [23:08:32]CAPDU: 80 13 01 00 [23:08:32]Write to MH i2c: E2 08 00 1C 16 80 13 01 00 00 00 00 00 AF [23:08:32]Write i2c OK [23:08:32]MH_I2C_Read... [23:08:32]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:08:32]Read from MH i2c: E2 [23:08:32]MH_I2C_Read... [23:08:32]Read from MH i2c: E2 0E 00 [23:08:32]MH_I2C_Read... [23:08:32]Read from MH i2c: E2 0E 00 1C 16 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 56 [23:08:32]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:08:32]wFMCommunicate OK [23:08:32]SAM_PROTO_GetShiftState done [23:08:32]FM_GetShiftState done [23:08:32]opened in 1720917126 [23:08:32]opened+sec_in_day 1721003526 [23:08:32]quantity*price = 5900 [23:08:32]sum+1 = 5901 [23:08:32]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 59.00 НСП 1% : 0.52 НДС 12% : 6.26 Наличными: 59.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 112 14.07.2024 23:08 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57095 ФПД: 166746063956589 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T230835&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57095&fm=166746063956589&tin=02508201610067®Number=0000000000091208&sum=5900 0 [23:08:33]StoreToDocumentArchive [23:08:33]shift 496 fd 57095 [23:08:33]save to /storage/0496/doc_00057095 [23:08:33]save last doc name /storage/0496/doc_00057095 to /storage/kkm_last_doc_name [23:08:33]save OK [23:08:33]Clear old archive folders... [23:08:33]ProcessDocumentItem done err = 0, tmpTLVsize=283 [23:08:33]tlvbuf is B6FF4A70 [23:08:33]SAM_PROTO_ClearQueue [23:08:33]wFMCommunicate request_size=4 [23:08:33]MH_SAM_APDU [23:08:33]CAPDU: 80 09 00 00 [23:08:33]Write to MH i2c: E2 08 00 29 16 80 09 00 00 00 00 00 00 B1 [23:08:33]Write i2c OK [23:08:33]MH_I2C_Read... [23:08:33]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:08:33]Read from MH i2c: E2 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 03 00 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 03 00 29 16 00 90 00 B3 [23:08:33]RAPDU: 90 00 [23:08:33]wFMCommunicate OK [23:08:33]SAM_PROTO_ClearQueue done [23:08:33]KKMCreateOFDPacket [23:08:33]OFDProtocolAddRootSTLVToBuf [23:08:33]FM_MakeSignedData [23:08:33]FM_MakeSignedData [23:08:33]SAM_PROTO_SignData [23:08:33]wFMCommunicate request_size=4 [23:08:33]MH_SAM_APDU [23:08:33]CAPDU: 80 0D 01 02 [23:08:33]Write to MH i2c: E2 08 00 2A 16 80 0D 01 02 00 00 00 00 B9 [23:08:33]Write i2c OK [23:08:33]MH_I2C_Read... [23:08:33]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:08:33]Read from MH i2c: E2 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 03 00 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 03 00 2A 16 00 90 00 B4 [23:08:33]RAPDU: 90 00 [23:08:33]wFMCommunicate OK [23:08:33]wFMCommunicate request_size=255 [23:08:33]MH_SAM_APDU [23:08:33]CAPDU: 80 0D 02 02 FA 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 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 35 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 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 70 00 00 00 F4 03 04 00 73 5A 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 [23:08:33]Write to MH i2c: E2 02 01 2B 16 80 0D 02 02 FA 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 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 35 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 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 70 00 00 00 F4 03 04 00 73 5A 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 00 00 3A [23:08:33]Write i2c OK [23:08:33]MH_I2C_Read... [23:08:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:08:33]Read from MH i2c: E2 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 03 00 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 03 00 2B 16 00 90 00 B5 [23:08:33]RAPDU: 90 00 [23:08:33]wFMCommunicate OK [23:08:33]wFMCommunicate request_size=42 [23:08:33]MH_SAM_APDU [23:08:33]CAPDU: 80 0D 02 02 25 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 07 DF 00 00 35 04 06 00 97 A7 97 E8 EA 6D [23:08:33]Write to MH i2c: E2 2D 00 2C 16 80 0D 02 02 25 00 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 07 DF 00 00 35 04 06 00 97 A7 97 E8 EA 6D 00 00 92 [23:08:33]Write i2c OK [23:08:33]MH_I2C_Read... [23:08:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:08:33]Read from MH i2c: E2 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 03 00 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 03 00 2C 16 00 90 00 B6 [23:08:33]RAPDU: 90 00 [23:08:33]wFMCommunicate OK [23:08:33]wFMCommunicate request_size=4 [23:08:33]MH_SAM_APDU [23:08:33]CAPDU: 80 0D 03 02 [23:08:33]Write to MH i2c: E2 08 00 2D 16 80 0D 03 02 00 00 00 00 BE [23:08:33]Write i2c OK [23:08:33]MH_I2C_Read... [23:08:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:08:33]Read from MH i2c: E2 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 0B 00 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 0B 00 2D 16 00 3A E6 9C 25 19 37 F1 D9 90 00 BA [23:08:33]RAPDU: 3A E6 9C 25 19 37 F1 D9 90 00 [23:08:33]wFMCommunicate OK [23:08:33]SAM_PROTO_SignData done [23:08:33]FM_MakeSignedData done [23:08:33]CreateOFDProtocolMessage [23:08:33]wFMCommunicate request_size=4 [23:08:33]MH_SAM_APDU [23:08:33]CAPDU: 80 11 00 00 [23:08:33]Write to MH i2c: E2 08 00 2E 16 80 11 00 00 00 00 00 00 BE [23:08:33]Write i2c OK [23:08:33]MH_I2C_Read... [23:08:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:08:33]Read from MH i2c: E2 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 17 00 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: E2 17 00 2E 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 18 [23:08:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:08:33]wFMCommunicate OK [23:08:33]CreateOFDProtocolMessage done [23:08:33]OFDSenderStorePacket 57095 [23:08:33]StoreOFDPacket docnum=57095 [23:08:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 8B AC 27 01 FB 16 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 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 35 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 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 70 00 00 00 F4 03 04 00 73 5A 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 07 DF 00 00 35 04 06 00 97 A7 97 E8 EA 6D 3A E6 9C 25 19 37 F1 D9 [23:08:33]CheckFolder [23:08:33]dirname=/storage/ofd_packets [23:08:33]CheckFolder done [23:08:33]ProducePacketName [23:08:33]name=ofd_packets/00057095 [23:08:33]NVStorageSaveData ofd_packets/00057095 [23:08:33]File name is /storage/ofd_packets/00057095 [23:08:33]Write 333 bytes [23:08:33]NVStorageSaveData done [23:08:33]OFDSenderStorePacket done [23:08:33]KKMCreateOFDPacket done [23:08:33]NVStorageSaveData kkm_last_timestamp [23:08:33]File name is /storage/kkm_last_timestamp [23:08:33]Write 4 bytes [23:08:33]NVStorageSaveData done [23:08:33]ExternCall_PrintAddStr [23:08:33]wPrintStart [23:08:33]Write to MH i2c: 01 00 00 2F 16 45 [23:08:33]Write i2c OK [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: 01 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: 01 07 00 [23:08:33]MH_I2C_Read... [23:08:33]Read from MH i2c: 01 07 00 2F 16 00 00 00 00 00 FF 0F 5A [23:08:33]RasterBufferAndPrint [23:08:33]line Счет N : (3)129553 [23:08:33]line ИНН: 02508201610067 [23:08:33]line Контрольно-Кассовый Чек [23:08:33]line ПРОДАЖА [23:08:33]line Товар: 4011100977624 [23:08:33]line Шок Батончик Баунти 55г [23:08:33]line 1.000 * 59.00 [23:08:33]line = 59.00 [23:08:33]line НДС 12% НСП 1% [23:08:33]line > о реализуемом товаре [23:08:33]line ИТОГО: 59.00 [23:08:33]line НСП 1% : 0.52 [23:08:33]line НДС 12% : 6.26 [23:08:33]line Наличными: 59.00 [23:08:33]line Безнал.: 0.00 [23:08:33]line Место: АЗС № 132 "Партнер Нефть" [23:08:33]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:08:33]line СНО: Общий режим [23:08:33]line Чек 112 14.07.2024 23:08 [23:08:33]line Смена: 496 ФФД: 1.0 [23:08:33]line ЗНМ: 0300000132 [23:08:33]line РНМ: 0000000000091208 [23:08:33]line Версия ККМ: 001 [23:08:33]line ФМ: 0000000000874857 [23:08:33]line ФД: 57095 [23:08:33]line ФПД: 166746063956589 [23:08:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T230835&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57095&fm=166746063956589&tin=02508201610067®Number=0000000000091208&sum=5900 [23:08:34]OFD Sender: Processing packet 57095 [packets to send 38, broken 37] [23:08:34]ProducePacketName [23:08:34]name=ofd_packets/00057095 [23:08:34]OFD Sender: To server: pG, [23:08:34]CommunicateWithHost lk.salyk.kg:30040 [23:08:34]ConnectInit lk.salyk.kg [23:08:34]line 0 [23:08:34]written 0, free lines is 4095 [23:08:34]Connected sock=11 [23:08:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2F 01 00 00 8B AC 27 01 FB 16 5A 03 01 00 03 00 1B 01 1E 04 01 00 01 23 04 6D 00 8A 04 0D 00 34 30 31 31 31 30 30 39 37 37 36 32 34 06 04 29 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 35 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 FC 03 06 00 0C 17 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 34 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 72 02 00 00 00 00 07 04 06 00 0C 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 70 00 00 00 F4 03 04 00 73 5A 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 07 DF 00 00 35 04 06 00 97 A7 97 E8 EA 6D 3A E6 9C 25 19 37 F1 D9 [23:08:34]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 03 B5 47 00 7E 4D A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 07 DF 00 00 F4 03 04 00 C3 00 94 66 B6 04 01 00 00 21 AA 77 44 87 C8 23 3F [23:08:34]CommunicateWithHost err = 0 [23:08:34]CheckOFDResponse [23:08:34]1017 (14) - 77093643461234 [23:08:34]1041 (16) - 0000000000874857 [23:08:34]1040 (4) - 57095 [23:08:34]1012 (4) - 14.07.2024 16:45 [23:08:34]1206 (1) - 0 [23:08:34]OFD Sender: Remove packet 57095 [23:08:34]ProducePacketName [23:08:34]name=ofd_packets/00057095 [23:08:34]NVStorageDeleteData [23:08:34]Write to MH i2c: 01 00 00 57 16 6D [23:08:34]Write i2c OK [23:08:34]MH_I2C_Read... [23:08:34]Read from MH i2c: 01 [23:08:34]MH_I2C_Read... [23:08:34]Read from MH i2c: 01 07 00 [23:08:34]MH_I2C_Read... [23:08:34]Read from MH i2c: 01 07 00 57 16 00 00 00 00 00 04 0D 85 [23:08:34]RasterBufferAndPrint [23:08:34]line [23:08:34]line [23:08:34]line [23:08:34]line [23:08:34]line [23:08:34]written 0, free lines is 3339 [23:08:34]MH_Cut [23:08:34]Write to MH i2c: D1 01 00 5E 16 01 46 [23:08:34]Write i2c OK [23:08:34]MH_I2C_Read... [23:08:34]Read from MH i2c: D1 [23:08:34]MH_I2C_Read... [23:08:34]Read from MH i2c: D1 01 00 [23:08:34]MH_I2C_Read... [23:08:34]Read from MH i2c: D1 01 00 5E 16 00 45 [23:08:34]Write to MH i2c: 01 00 00 5F 16 75 [23:08:34]Write i2c OK [23:08:34]MH_I2C_Read... [23:08:35]OFD Sender: No OFD packet to send [23:08:35]*** Cut start [23:08:35]*** Partial cut [23:08:35]*** CUTSNS_PIN = 1 [23:08:35]*** CUTSNS_PIN = 0 [23:08:35]*** Brake cut motor [23:08:35]Read from MH i2c: 01 [23:08:35]MH_I2C_Read... [23:08:35]*** Stop cut motor [23:08:35]*** Cut end [23:08:35]Read from MH i2c: 01 07 00 [23:08:35]MH_I2C_Read... [23:08:35]Read from MH i2c: 01 07 00 5F 16 00 00 00 00 00 FF 0F 8A [23:08:35]process_action close_receipt done [23:08:35]requested_data is exist [23:08:35]produce_requested_data [23:08:35]requested_item fm.sn is exist - process it [23:08:35]wFMCommunicate request_size=4 [23:08:35]MH_SAM_APDU [23:08:35]CAPDU: 80 11 00 00 [23:08:35]Write to MH i2c: E2 08 00 60 16 80 11 00 00 00 00 00 00 F0 [23:08:35]Write i2c OK [23:08:35]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 [23:08:36]MH_I2C_Read... [23:08:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:08:36]Read from MH i2c: E2 17 00 [23:08:36]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 17 00 60 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4A [23:08:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:08:36]wFMCommunicate OK [23:08:36]requested_item fd.num is exist - process it [23:08:36]SAM_PROTO_GetFieldsCounters [23:08:36]wFMCommunicate request_size=4 [23:08:36]MH_SAM_APDU [23:08:36]CAPDU: 80 13 00 00 [23:08:36]Write to MH i2c: E2 08 00 61 16 80 13 00 00 00 00 00 00 F3 [23:08:36]Write i2c OK [23:08:36]MH_I2C_Read... [23:08:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:08:36]Read from MH i2c: E2 [23:08:36]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 62 00 [23:08:36]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 62 00 61 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 70 00 00 00 5E 04 04 00 70 00 00 00 57 04 04 00 71 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [23:08:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 07 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 70 00 00 00 5E 04 04 00 70 00 00 00 57 04 04 00 71 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:08:36]wFMCommunicate OK [23:08:36]SAM_PROTO_GetFieldsCounters done [23:08:36]requested_item shift.num is exist - process it [23:08:36]requested_item shift.opened is exist - process it [23:08:36]req_shift_opened [23:08:36]FM_GetShiftState [23:08:36]SAM_PROTO_GetShiftState [23:08:36]wFMCommunicate request_size=4 [23:08:36]MH_SAM_APDU [23:08:36]CAPDU: 80 13 01 00 [23:08:36]Write to MH i2c: E2 08 00 62 16 80 13 01 00 00 00 00 00 F5 [23:08:36]Write i2c OK [23:08:36]MH_I2C_Read... [23:08:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:08:36]Read from MH i2c: E2 [23:08:36]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 0E 00 [23:08:36]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 0E 00 62 16 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 9C [23:08:36]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:08:36]wFMCommunicate OK [23:08:36]SAM_PROTO_GetShiftState done [23:08:36]FM_GetShiftState done [23:08:36]req_shift_opened done [23:08:36]requested_item shift.open_date is exist - process it [23:08:36]req_shift_open_date [23:08:36]req_shift_open_date done [23:08:36]requested_item shift.sale.total is exist - process it [23:08:36]SAM_PROTO_GetShiftData [23:08:36]wFMCommunicate request_size=4 [23:08:36]MH_SAM_APDU [23:08:36]CAPDU: 80 13 02 00 [23:08:36]Write to MH i2c: E2 08 00 63 16 80 13 02 00 00 00 00 00 F7 [23:08:36]Write i2c OK [23:08:36]MH_I2C_Read... [23:08:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:08:36]Read from MH i2c: E2 [23:08:36]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 FD 00 [23:08:36]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 FD 00 63 16 00 BB 04 AA 04 B7 04 6E 04 04 00 70 00 00 00 69 04 9B 00 6F 04 04 00 6E 00 00 00 B1 04 03 00 E3 28 37 70 04 03 00 30 4E 2C 72 04 03 00 B3 DA 0A 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 A9 DB 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 EC 7C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 C2 [23:08:36]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 70 00 00 00 69 04 9B 00 6F 04 04 00 6E 00 00 00 B1 04 03 00 E3 28 37 70 04 03 00 30 4E 2C 72 04 03 00 B3 DA 0A 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 A9 DB 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 EC 7C EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:08:36]wFMCommunicate OK [23:08:36]wFMCommunicate request_size=4 [23:08:36]MH_SAM_APDU [23:08:36]CAPDU: 80 17 00 00 [23:08:36]Write to MH i2c: E2 08 00 64 16 80 17 00 00 00 00 00 00 FA [23:08:36]Write i2c OK [23:08:36]MH_I2C_Read... [23:08:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:08:36]Read from MH i2c: E2 [23:08:36]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 FD 00 [23:08:36]MH_I2C_Read... [23:08:36]Read from MH i2c: E2 FD 00 64 16 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8D [23:08:36]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:08:36]wFMCommunicate OK [23:08:36]wFMCommunicate request_size=4 [23:08:36]MH_SAM_APDU [23:08:36]CAPDU: 80 17 00 00 [23:08:36]Write to MH i2c: E2 08 00 65 16 80 17 00 00 00 00 00 00 FB [23:08:36]Write i2c OK [23:08:36]MH_I2C_Read... [23:08:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:08:37]Read from MH i2c: E2 [23:08:37]MH_I2C_Read... [23:08:37]Read from MH i2c: E2 FD 00 [23:08:37]MH_I2C_Read... [23:08:37]Read from MH i2c: E2 FD 00 65 16 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 27 [23:08:37]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:08:37]wFMCommunicate OK [23:08:37]wFMCommunicate request_size=4 [23:08:37]MH_SAM_APDU [23:08:37]CAPDU: 80 17 00 00 [23:08:37]Write to MH i2c: E2 08 00 66 16 80 17 00 00 00 00 00 00 FC [23:08:37]Write i2c OK [23:08:37]MH_I2C_Read... [23:08:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:08:37]Read from MH i2c: E2 [23:08:37]MH_I2C_Read... [23:08:37]Read from MH i2c: E2 FD 00 [23:08:37]MH_I2C_Read... [23:08:37]Read from MH i2c: E2 FD 00 66 16 00 00 00 EF 03 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 90 00 71 [23:08:37]RAPDU: 00 00 EF 03 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 90 00 [23:08:37]wFMCommunicate OK [23:08:37]wFMCommunicate request_size=4 [23:08:37]MH_SAM_APDU [23:08:37]CAPDU: 80 17 00 00 [23:08:37]Write to MH i2c: E2 08 00 67 16 80 17 00 00 00 00 00 00 FD [23:08:37]Write i2c OK [23:08:37]MH_I2C_Read... [23:08:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:08:37]Read from MH i2c: E2 [23:08:37]MH_I2C_Read... [23:08:37]Read from MH i2c: E2 D8 00 [23:08:37]MH_I2C_Read... [23:08:37]Read from MH i2c: E2 D8 00 67 16 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 E4 [23:08:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:08:37]wFMCommunicate OK [23:08:37]SAM_PROTO_GetShiftData done [23:08:37]requested_item shift.sale.total_cash is exist - process it [23:08:37]requested_item shift.sale_refund.total is exist - process it [23:08:37]requested_item shift.sale_refund.total_cash is exist - process it [23:08:37]produce_requested_data done [23:08:37]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57095,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36149.47,"shift.sale.total_cash":29036.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [23:08:37]process_action_free close_receipt [23:08:37]json_value_free [23:08:37]json_value_free done [23:08:37]process_json_proto returns [23:08:37]Send response to host [23:08:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57095,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36149.47,"shift.sale.total_cash":29036.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [23:08:37]free response buf [23:08:37]execute_script done [23:08:37]execute_script returns [23:08:37]free content buf [23:08:37]Sock 9.Close socket [23:08:37]Sock 9.Thread stoped [23:08:40]OFD Sender: No OFD packet to send [23:08:45]OFD Sender: No OFD packet to send [23:08:50]OFD Sender: No OFD packet to send [23:08:55]OFD Sender: No OFD packet to send [23:09:00]OFD Sender: No OFD packet to send [23:09:05]OFD Sender: No OFD packet to send [23:09:10]OFD Sender: No OFD packet to send [23:09:15]OFD Sender: No OFD packet to send [23:09:20]OFD Sender: No OFD packet to send [23:09:25]OFD Sender: No OFD packet to send [23:09:30]OFD Sender: No OFD packet to send [23:09:35]OFD Sender: No OFD packet to send [23:09:40]OFD Sender: No OFD packet to send [23:09:45]OFD Sender: No OFD packet to send [23:09:50]OFD Sender: No OFD packet to send [23:09:55]OFD Sender: No OFD packet to send [23:10:00]OFD Sender: No OFD packet to send [23:10:05]OFD Sender: No OFD packet to send [23:10:10]OFD Sender: No OFD packet to send [23:10:15]OFD Sender: No OFD packet to send [23:10:20]OFD Sender: No OFD packet to send [23:10:25]OFD Sender: No OFD packet to send [23:10:30]OFD Sender: No OFD packet to send [23:10:35]OFD Sender: No OFD packet to send [23:10:40]OFD Sender: No OFD packet to send [23:10:45]OFD Sender: No OFD packet to send [23:10:50]OFD Sender: No OFD packet to send [23:10:55]OFD Sender: No OFD packet to send [23:11:00]OFD Sender: No OFD packet to send [23:11:05]OFD Sender: No OFD packet to send [23:11:10]OFD Sender: No OFD packet to send [23:11:15]OFD Sender: No OFD packet to send [23:11:20]OFD Sender: No OFD packet to send [23:11:25]OFD Sender: No OFD packet to send [23:11:30]OFD Sender: No OFD packet to send [23:11:35]OFD Sender: No OFD packet to send [23:11:40]OFD Sender: No OFD packet to send [23:11:45]OFD Sender: No OFD packet to send [23:11:50]OFD Sender: No OFD packet to send [23:11:55]OFD Sender: No OFD packet to send [23:12:00]OFD Sender: No OFD packet to send [23:12:05]OFD Sender: No OFD packet to send [23:12:10]OFD Sender: No OFD packet to send [23:12:15]OFD Sender: No OFD packet to send [23:12:20]OFD Sender: No OFD packet to send [23:12:25]OFD Sender: No OFD packet to send [23:12:30]OFD Sender: No OFD packet to send [23:12:31]accept exits with 7 [23:12:31]New connection [23:12:31]New thread 3067592036 created [23:12:31]Thread 3067448676 joined [23:12:31]Waiting for new connection... [23:12:31] Sock 7.Parse request [23:12:31]Sock 7.Check first char [23:12:31]Sock 7.First char is OK [23:12:31]request: POST /json_proto HTTP/1.0 [23:12:31]Method: POST [23:12:31]URL: /json_proto [23:12:31]Method is POST - this is cgi request [23:12:31]url: /json_proto [23:12:31]query_string will be loaded in cgi processing [23:12:31]execute_cgi json_proto POST (null) [23:12:31]execute_cgi path=json_proto method=POST [23:12:31]POST find Content-Length [23:12:31]Host: 172.17.39.4:8080 [23:12:31]Content-Length: 1232 [23:12:31]Content-Type: application/json [23:12:31] [23:12:31]POST finish read [23:12:31]Found Content-Length = 1232 [23:12:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129554", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8591207777748", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432\u044B Datex 3\u0448\u0442", "price" : 143.00, "quantity" : 1.000, "sum" : 143.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 208.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:12:31]execute_script... [23:12:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129554", "tax_sys" : 0, "items" : [ { "code": "4620016307540", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 Absolut Nat FITOGUARD \u0430\u043B\u043E\u044D 20 \u0448", "price" : 65.00, "quantity" : 1.000, "sum" : 65.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8591207777748", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432\u044B Datex 3\u0448\u0442", "price" : 143.00, "quantity" : 1.000, "sum" : 143.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 208.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:12:31]POST & json_proto [23:12:31]process_json_proto [23:12:31]json parsed OK: [23:12:31]protocol is kg_v1.0 [23:12:31]action value=close_receipt [23:12:31]process_action close_receipt [23:12:31]cmd_close_receipt [23:12:31]MH_GetDate [23:12:31]Write to MH i2c: F0 00 00 68 16 6D [23:12:31]Write i2c OK [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: F0 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: F0 09 00 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: F0 09 00 68 16 00 62 5B 94 66 2D 25 5D 64 40 [23:12:31]GetLastDocTimeStamp 1720998515 [23:12:31]current date 1720998754 [23:12:31]FM_GetShiftState [23:12:31]SAM_PROTO_GetShiftState [23:12:31]wFMCommunicate request_size=4 [23:12:31]MH_SAM_APDU [23:12:31]CAPDU: 80 13 01 00 [23:12:31]Write to MH i2c: E2 08 00 69 16 80 13 01 00 00 00 00 00 FC [23:12:31]Write i2c OK [23:12:31]MH_I2C_Read... [23:12:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:12:31]Read from MH i2c: E2 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: E2 0E 00 [23:12:31]MH_I2C_Read... [23:12:31]Read from MH i2c: E2 0E 00 69 16 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 A3 [23:12:31]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:12:31]wFMCommunicate OK [23:12:31]SAM_PROTO_GetShiftState done [23:12:31]FM_GetShiftState done [23:12:31]opened in 1720917126 [23:12:31]opened+sec_in_day 1721003526 [23:12:31]quantity*price = 6500 [23:12:31]sum+1 = 6501 [23:12:31]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 8591207777748 Презервативы Datex 3шт 1.000 * 143.00 = 143.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 208.00 НСП 1% : 1.83 НДС 12% : 22.09 Наличными: 0.00 Безнал.: 208.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 113 14.07.2024 23:12 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57096 ФПД: 47593340440027 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T231234&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57096&fm=47593340440027&tin=02508201610067®Number=0000000000091208&sum=20800 0 [23:12:32]StoreToDocumentArchive [23:12:32]shift 496 fd 57096 [23:12:32]save to /storage/0496/doc_00057096 [23:12:32]save last doc name /storage/0496/doc_00057096 to /storage/kkm_last_doc_name [23:12:32]save OK [23:12:32]Clear old archive folders... [23:12:32]ProcessDocumentItem done err = 0, tmpTLVsize=403 [23:12:32]tlvbuf is 00FEAB90 [23:12:32]SAM_PROTO_ClearQueue [23:12:32]wFMCommunicate request_size=4 [23:12:32]MH_SAM_APDU [23:12:32]CAPDU: 80 09 00 00 [23:12:32]Write to MH i2c: E2 08 00 76 16 80 09 00 00 00 00 00 00 FE [23:12:32]Write i2c OK [23:12:32]MH_I2C_Read... [23:12:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:12:32]Read from MH i2c: E2 [23:12:32]MH_I2C_Read... [23:12:32]Read from MH i2c: E2 03 00 [23:12:32]MH_I2C_Read... [23:12:32]Read from MH i2c: E2 03 00 76 16 00 90 00 00 [23:12:32]RAPDU: 90 00 [23:12:32]wFMCommunicate OK [23:12:32]SAM_PROTO_ClearQueue done [23:12:32]KKMCreateOFDPacket [23:12:32]OFDProtocolAddRootSTLVToBuf [23:12:32]FM_MakeSignedData [23:12:32]FM_MakeSignedData [23:12:32]SAM_PROTO_SignData [23:12:32]wFMCommunicate request_size=4 [23:12:32]MH_SAM_APDU [23:12:32]CAPDU: 80 0D 01 02 [23:12:32]Write to MH i2c: E2 08 00 77 16 80 0D 01 02 00 00 00 00 06 [23:12:32]Write i2c OK [23:12:32]MH_I2C_Read... [23:12:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:12:32]Read from MH i2c: E2 [23:12:32]MH_I2C_Read... [23:12:32]Read from MH i2c: E2 03 00 [23:12:32]MH_I2C_Read... [23:12:32]Read from MH i2c: E2 03 00 77 16 00 90 00 01 [23:12:32]RAPDU: 90 00 [23:12:32]wFMCommunicate OK [23:12:32]wFMCommunicate request_size=255 [23:12:32]MH_SAM_APDU [23:12:32]CAPDU: 80 0D 02 02 FA 03 00 93 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 68 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 34 38 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 33 D1 88 D1 82 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 FC 03 06 00 40 51 00 00 [23:12:32]Write to MH i2c: E2 02 01 78 16 80 0D 02 02 FA 00 03 00 93 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 68 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 34 38 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 33 D1 88 D1 82 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 FC 03 06 00 40 51 00 00 00 00 E3 [23:12:32]Write i2c OK [23:12:32]MH_I2C_Read... [23:12:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:12:33]Read from MH i2c: E2 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: E2 03 00 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: E2 03 00 78 16 00 90 00 02 [23:12:33]RAPDU: 90 00 [23:12:33]wFMCommunicate OK [23:12:33]wFMCommunicate request_size=162 [23:12:33]MH_SAM_APDU [23:12:33]CAPDU: 80 0D 02 02 9D 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 51 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 62 5B 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 08 DF 00 00 35 04 06 00 2B 49 30 26 8D DB [23:12:33]Write to MH i2c: E2 A5 00 79 16 80 0D 02 02 9D 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 51 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 62 5B 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 08 DF 00 00 35 04 06 00 2B 49 30 26 8D DB 00 00 A5 [23:12:33]Write i2c OK [23:12:33]MH_I2C_Read... [23:12:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:12:33]Read from MH i2c: E2 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: E2 03 00 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: E2 03 00 79 16 00 90 00 03 [23:12:33]RAPDU: 90 00 [23:12:33]wFMCommunicate OK [23:12:33]wFMCommunicate request_size=4 [23:12:33]MH_SAM_APDU [23:12:33]CAPDU: 80 0D 03 02 [23:12:33]Write to MH i2c: E2 08 00 7A 16 80 0D 03 02 00 00 00 00 0B [23:12:33]Write i2c OK [23:12:33]MH_I2C_Read... [23:12:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:12:33]Read from MH i2c: E2 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: E2 0B 00 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: E2 0B 00 7A 16 00 57 56 B7 09 76 9C 59 7B 90 00 5F [23:12:33]RAPDU: 57 56 B7 09 76 9C 59 7B 90 00 [23:12:33]wFMCommunicate OK [23:12:33]SAM_PROTO_SignData done [23:12:33]FM_MakeSignedData done [23:12:33]CreateOFDProtocolMessage [23:12:33]wFMCommunicate request_size=4 [23:12:33]MH_SAM_APDU [23:12:33]CAPDU: 80 11 00 00 [23:12:33]Write to MH i2c: E2 08 00 7B 16 80 11 00 00 00 00 00 00 0B [23:12:33]Write i2c OK [23:12:33]MH_I2C_Read... [23:12:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:12:33]Read from MH i2c: E2 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: E2 17 00 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: E2 17 00 7B 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 65 [23:12:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:12:33]wFMCommunicate OK [23:12:33]CreateOFDProtocolMessage done [23:12:33]OFDSenderStorePacket 57096 [23:12:33]StoreOFDPacket docnum=57096 [23:12:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A7 01 00 00 EE EB 9F 01 2E 95 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 68 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 34 38 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 33 D1 88 D1 82 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 FC 03 06 00 40 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 51 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 62 5B 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 08 DF 00 00 35 04 06 00 2B 49 30 26 8D DB 57 56 B7 09 76 9C 59 7B [23:12:33]CheckFolder [23:12:33]dirname=/storage/ofd_packets [23:12:33]CheckFolder done [23:12:33]ProducePacketName [23:12:33]name=ofd_packets/00057096 [23:12:33]NVStorageSaveData ofd_packets/00057096 [23:12:33]File name is /storage/ofd_packets/00057096 [23:12:33]Write 453 bytes [23:12:33]NVStorageSaveData done [23:12:33]OFDSenderStorePacket done [23:12:33]KKMCreateOFDPacket done [23:12:33]NVStorageSaveData kkm_last_timestamp [23:12:33]File name is /storage/kkm_last_timestamp [23:12:33]Write 4 bytes [23:12:33]NVStorageSaveData done [23:12:33]ExternCall_PrintAddStr [23:12:33]wPrintStart [23:12:33]Write to MH i2c: 01 00 00 7C 16 92 [23:12:33]Write i2c OK [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: 01 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: 01 07 00 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: 01 07 00 7C 16 00 00 00 00 00 FF 0F A7 [23:12:33]RasterBufferAndPrint [23:12:33]line Счет N : (3)129554 [23:12:33]line ИНН: 02508201610067 [23:12:33]line Контрольно-Кассовый Чек [23:12:33]line ПРОДАЖА [23:12:33]line Товар: 4620016307540 [23:12:33]line Салфетки Absolut Nat FITOGUARD алоэ 20 ш [23:12:33]line 1.000 * 65.00 [23:12:33]line = 65.00 [23:12:33]line НДС 12% НСП 1% [23:12:33]line > о реализуемом товаре [23:12:33]line Товар: 8591207777748 [23:12:33]line Презервативы Datex 3шт [23:12:33]line 1.000 * 143.00 [23:12:33]line = 143.00 [23:12:33]line НДС 12% НСП 1% [23:12:33]line > о реализуемом товаре [23:12:33]line ИТОГО: 208.00 [23:12:33]line НСП 1% : 1.83 [23:12:33]line НДС 12% : 22.09 [23:12:33]line Наличными: 0.00 [23:12:33]line Безнал.: 208.00 [23:12:33]line Место: АЗС № 132 "Партнер Нефть" [23:12:33]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:12:33]line СНО: Общий режим [23:12:33]line Чек 113 14.07.2024 23:12 [23:12:33]line Смена: 496 ФФД: 1.0 [23:12:33]line ЗНМ: 0300000132 [23:12:33]line РНМ: 0000000000091208 [23:12:33]line Версия ККМ: 001 [23:12:33]line Платежная система: АКБ Кыргызстан [23:12:33]line ФМ: 0000000000874857 [23:12:33]line ФД: 57096 [23:12:33]line ФПД: 47593340440027 [23:12:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T231234&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57096&fm=47593340440027&tin=02508201610067®Number=0000000000091208&sum=20800 [23:12:33]line 0 [23:12:33]OFD Sender: Processing packet 57096 [packets to send 38, broken 37] [23:12:33]ProducePacketName [23:12:33]name=ofd_packets/00057096 [23:12:33]OFD Sender: To server: pG, [23:12:33]CommunicateWithHost lk.salyk.kg:30040 [23:12:33]ConnectInit lk.salyk.kg [23:12:33]written 0, free lines is 4095 [23:12:33]Connected sock=10 [23:12:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 A7 01 00 00 EE EB 9F 01 2E 95 5A 03 01 00 03 00 93 01 1E 04 01 00 01 23 04 79 00 8A 04 0D 00 34 36 32 30 30 31 36 33 30 37 35 34 30 06 04 35 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 4E 61 74 20 46 49 54 4F 47 55 41 52 44 20 D0 B0 D0 BB D0 BE D1 8D 20 32 30 20 D1 88 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 68 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 34 38 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 33 D1 88 D1 82 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 FC 03 06 00 40 51 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 B7 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 A1 08 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 40 51 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 71 00 00 00 F4 03 04 00 62 5B 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 08 DF 00 00 35 04 06 00 2B 49 30 26 8D DB 57 56 B7 09 76 9C 59 7B [23:12:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E6 7D 47 00 C1 FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 08 DF 00 00 F4 03 04 00 B2 01 94 66 B6 04 01 00 00 2F 15 64 22 8E 2E 9A 2D [23:12:33]CommunicateWithHost err = 0 [23:12:33]CheckOFDResponse [23:12:33]1017 (14) - 77093643461234 [23:12:33]1041 (16) - 0000000000874857 [23:12:33]1040 (4) - 57096 [23:12:33]1012 (4) - 14.07.2024 16:49 [23:12:33]1206 (1) - 0 [23:12:33]OFD Sender: Remove packet 57096 [23:12:33]ProducePacketName [23:12:33]name=ofd_packets/00057096 [23:12:33]NVStorageDeleteData [23:12:33]Write to MH i2c: 01 00 00 AD 16 C3 [23:12:33]Write i2c OK [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: 01 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: 01 07 00 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: 01 07 00 AD 16 00 00 00 00 00 6E 0C 44 [23:12:33]RasterBufferAndPrint [23:12:33]line [23:12:33]line [23:12:33]line [23:12:33]line [23:12:33]line [23:12:33]written 0, free lines is 3187 [23:12:33]MH_Cut [23:12:33]Write to MH i2c: D1 01 00 B4 16 01 9C [23:12:33]Write i2c OK [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: D1 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: D1 01 00 [23:12:33]MH_I2C_Read... [23:12:33]Read from MH i2c: D1 01 00 B4 16 00 9B [23:12:33]Write to MH i2c: 01 00 00 B5 16 CB [23:12:33]Write i2c OK [23:12:33]MH_I2C_Read... [23:12:34]OFD Sender: No OFD packet to send [23:12:34]*** Cut start [23:12:34]*** Partial cut [23:12:34]*** CUTSNS_PIN = 1 [23:12:34]*** CUTSNS_PIN = 0 [23:12:35]*** Brake cut motor [23:12:35]Read from MH i2c: 01 [23:12:35]MH_I2C_Read... [23:12:35]*** Stop cut motor [23:12:35]*** Cut end [23:12:35]Read from MH i2c: 01 07 00 [23:12:35]MH_I2C_Read... [23:12:35]Read from MH i2c: 01 07 00 B5 16 00 00 00 00 00 FF 0F E0 [23:12:35]process_action close_receipt done [23:12:35]requested_data is exist [23:12:35]produce_requested_data [23:12:35]requested_item fm.sn is exist - process it [23:12:35]wFMCommunicate request_size=4 [23:12:35]MH_SAM_APDU [23:12:35]CAPDU: 80 11 00 00 [23:12:35]Write to MH i2c: E2 08 00 B6 16 80 11 00 00 00 00 00 00 46 [23:12:35]Write i2c OK [23:12:35]MH_I2C_Read... [23:12:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:12:35]Read from MH i2c: E2 [23:12:35]MH_I2C_Read... [23:12:35]Read from MH i2c: E2 17 00 [23:12:35]MH_I2C_Read... [23:12:35]Read from MH i2c: E2 17 00 B6 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A0 [23:12:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:12:35]wFMCommunicate OK [23:12:35]requested_item fd.num is exist - process it [23:12:35]SAM_PROTO_GetFieldsCounters [23:12:35]wFMCommunicate request_size=4 [23:12:35]MH_SAM_APDU [23:12:35]CAPDU: 80 13 00 00 [23:12:35]Write to MH i2c: E2 08 00 B7 16 80 13 00 00 00 00 00 00 49 [23:12:35]Write i2c OK [23:12:35]MH_I2C_Read... [23:12:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:12:35]Read from MH i2c: E2 [23:12:35]MH_I2C_Read... [23:12:35]Read from MH i2c: E2 62 00 [23:12:35]MH_I2C_Read... [23:12:35]Read from MH i2c: E2 62 00 B7 16 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 08 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 71 00 00 00 5E 04 04 00 71 00 00 00 57 04 04 00 72 00 00 00 19 04 04 00 00 00 00 00 90 00 97 [23:12:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 08 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 71 00 00 00 5E 04 04 00 71 00 00 00 57 04 04 00 72 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:12:35]wFMCommunicate OK [23:12:35]SAM_PROTO_GetFieldsCounters done [23:12:35]requested_item shift.num is exist - process it [23:12:35]requested_item shift.opened is exist - process it [23:12:35]req_shift_opened [23:12:35]FM_GetShiftState [23:12:35]SAM_PROTO_GetShiftState [23:12:35]wFMCommunicate request_size=4 [23:12:35]MH_SAM_APDU [23:12:35]CAPDU: 80 13 01 00 [23:12:35]Write to MH i2c: E2 08 00 B8 16 80 13 01 00 00 00 00 00 4B [23:12:35]Write i2c OK [23:12:35]MH_I2C_Read... [23:12:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:12:35]Read from MH i2c: E2 [23:12:35]MH_I2C_Read... [23:12:35]Read from MH i2c: E2 0E 00 [23:12:35]MH_I2C_Read... [23:12:35]Read from MH i2c: E2 0E 00 B8 16 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 F2 [23:12:35]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:12:35]wFMCommunicate OK [23:12:35]SAM_PROTO_GetShiftState done [23:12:35]FM_GetShiftState done [23:12:35]req_shift_opened done [23:12:35]requested_item shift.open_date is exist - process it [23:12:35]req_shift_open_date [23:12:35]req_shift_open_date done [23:12:35]requested_item shift.sale.total is exist - process it [23:12:35]SAM_PROTO_GetShiftData [23:12:35]wFMCommunicate request_size=4 [23:12:35]MH_SAM_APDU [23:12:35]CAPDU: 80 13 02 00 [23:12:35]Write to MH i2c: E2 08 00 B9 16 80 13 02 00 00 00 00 00 4D [23:12:35]Write i2c OK [23:12:35]MH_I2C_Read... [23:12:36]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:12:36]Read from MH i2c: E2 [23:12:36]MH_I2C_Read... [23:12:36]Read from MH i2c: E2 FD 00 [23:12:36]MH_I2C_Read... [23:12:36]Read from MH i2c: E2 FD 00 B9 16 00 BB 04 AA 04 B7 04 6E 04 04 00 71 00 00 00 69 04 9B 00 6F 04 04 00 6F 00 00 00 B1 04 03 00 23 7A 37 70 04 03 00 30 4E 2C 72 04 03 00 F3 2B 0B 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 4A E4 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 A3 7D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 A0 [23:12:36]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 71 00 00 00 69 04 9B 00 6F 04 04 00 6F 00 00 00 B1 04 03 00 23 7A 37 70 04 03 00 30 4E 2C 72 04 03 00 F3 2B 0B 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 4A E4 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 A3 7D EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:12:36]wFMCommunicate OK [23:12:36]wFMCommunicate request_size=4 [23:12:36]MH_SAM_APDU [23:12:36]CAPDU: 80 17 00 00 [23:12:36]Write to MH i2c: E2 08 00 BA 16 80 17 00 00 00 00 00 00 50 [23:12:36]Write i2c OK [23:12:36]MH_I2C_Read... [23:12:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:36]Read from MH i2c: E2 [23:12:36]MH_I2C_Read... [23:12:36]Read from MH i2c: E2 FD 00 [23:12:36]MH_I2C_Read... [23:12:36]Read from MH i2c: E2 FD 00 BA 16 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E3 [23:12:36]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:36]wFMCommunicate OK [23:12:36]wFMCommunicate request_size=4 [23:12:36]MH_SAM_APDU [23:12:36]CAPDU: 80 17 00 00 [23:12:36]Write to MH i2c: E2 08 00 BB 16 80 17 00 00 00 00 00 00 51 [23:12:36]Write i2c OK [23:12:36]MH_I2C_Read... [23:12:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:36]Read from MH i2c: E2 [23:12:36]MH_I2C_Read... [23:12:36]Read from MH i2c: E2 FD 00 [23:12:36]MH_I2C_Read... [23:12:36]Read from MH i2c: E2 FD 00 BB 16 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7D [23:12:36]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:12:36]wFMCommunicate OK [23:12:36]wFMCommunicate request_size=4 [23:12:36]MH_SAM_APDU [23:12:36]CAPDU: 80 17 00 00 [23:12:36]Write to MH i2c: E2 08 00 BC 16 80 17 00 00 00 00 00 00 52 [23:12:36]Write i2c OK [23:12:36]MH_I2C_Read... [23:12:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:12:37]Read from MH i2c: E2 [23:12:37]MH_I2C_Read... [23:12:37]Read from MH i2c: E2 FD 00 [23:12:37]MH_I2C_Read... [23:12:37]Read from MH i2c: E2 FD 00 BC 16 00 00 00 EF 03 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 90 00 C7 [23:12:37]RAPDU: 00 00 EF 03 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 90 00 [23:12:37]wFMCommunicate OK [23:12:37]wFMCommunicate request_size=4 [23:12:37]MH_SAM_APDU [23:12:37]CAPDU: 80 17 00 00 [23:12:37]Write to MH i2c: E2 08 00 BD 16 80 17 00 00 00 00 00 00 53 [23:12:37]Write i2c OK [23:12:37]MH_I2C_Read... [23:12:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:12:37]Read from MH i2c: E2 [23:12:37]MH_I2C_Read... [23:12:37]Read from MH i2c: E2 D8 00 [23:12:37]MH_I2C_Read... [23:12:37]Read from MH i2c: E2 D8 00 BD 16 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 3A [23:12:37]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:12:37]wFMCommunicate OK [23:12:37]SAM_PROTO_GetShiftData done [23:12:37]requested_item shift.sale.total_cash is exist - process it [23:12:37]requested_item shift.sale_refund.total is exist - process it [23:12:37]requested_item shift.sale_refund.total_cash is exist - process it [23:12:37]produce_requested_data done [23:12:37]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57096,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36357.47,"shift.sale.total_cash":29036.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [23:12:37]process_action_free close_receipt [23:12:37]json_value_free [23:12:37]json_value_free done [23:12:37]process_json_proto returns [23:12:37]Send response to host [23:12:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57096,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36357.47,"shift.sale.total_cash":29036.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [23:12:37]free response buf [23:12:37]execute_script done [23:12:37]execute_script returns [23:12:37]free content buf [23:12:37]Sock 7.Close socket [23:12:37]Sock 7.Thread stoped [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:09]accept exits with 9 [23:18:09]New connection [23:18:09]New thread 3067448676 created [23:18:09]Thread 3067592036 joined [23:18:09]Waiting for new connection... [23:18:09] Sock 9.Parse request [23:18:09]Sock 9.Check first char [23:18:09]Sock 9.First char is OK [23:18:09]request: POST /json_proto HTTP/1.0 [23:18:09]Method: POST [23:18:09]URL: /json_proto [23:18:09]Method is POST - this is cgi request [23:18:09]url: /json_proto [23:18:09]query_string will be loaded in cgi processing [23:18:09]execute_cgi json_proto POST (null) [23:18:09]execute_cgi path=json_proto method=POST [23:18:09]POST find Content-Length [23:18:09]Host: 172.17.39.4:8080 [23:18:09]Content-Length: 920 [23:18:09]Content-Type: application/json [23:18:09] [23:18:09]POST finish read [23:18:09]Found Content-Length = 920 [23:18:09]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129555", "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" : 3.000, "sum" : 315.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:18:09]execute_script... [23:18:09]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129555", "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" : 3.000, "sum" : 315.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: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 315.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:18:09]POST & json_proto [23:18:09]process_json_proto [23:18:09]json parsed OK: [23:18:09]protocol is kg_v1.0 [23:18:09]action value=close_receipt [23:18:09]process_action close_receipt [23:18:09]cmd_close_receipt [23:18:09]MH_GetDate [23:18:09]Write to MH i2c: F0 00 00 BE 16 C3 [23:18:09]Write i2c OK [23:18:09]MH_I2C_Read... [23:18:09]Read from MH i2c: F0 [23:18:09]MH_I2C_Read... [23:18:09]Read from MH i2c: F0 09 00 [23:18:09]MH_I2C_Read... [23:18:09]Read from MH i2c: F0 09 00 BE 16 00 B5 5C 94 66 2D 25 5D 64 EA [23:18:09]GetLastDocTimeStamp 1720998754 [23:18:09]current date 1720999093 [23:18:09]FM_GetShiftState [23:18:09]SAM_PROTO_GetShiftState [23:18:09]wFMCommunicate request_size=4 [23:18:09]MH_SAM_APDU [23:18:09]CAPDU: 80 13 01 00 [23:18:09]Write to MH i2c: E2 08 00 BF 16 80 13 01 00 00 00 00 00 52 [23:18:09]Write i2c OK [23:18:09]MH_I2C_Read... [23:18:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:18:10]Read from MH i2c: E2 [23:18:10]MH_I2C_Read... [23:18:10]Read from MH i2c: E2 0E 00 [23:18:10]MH_I2C_Read... [23:18:10]Read from MH i2c: E2 0E 00 BF 16 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 F9 [23:18:10]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:18:10]wFMCommunicate OK [23:18:10]SAM_PROTO_GetShiftState done [23:18:10]FM_GetShiftState done [23:18:10]opened in 1720917126 [23:18:10]opened+sec_in_day 1721003526 [23:18:10]quantity*price = 31500 [23:18:10]sum+1 = 31501 [23:18:10]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 315.00 НСП 1% : 2.79 НДС 12% : 33.45 Наличными: 0.00 Безнал.: 315.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 114 14.07.2024 23:18 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 57097 ФПД: 236434097767297 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T231813&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57097&fm=236434097767297&tin=02508201610067®Number=0000000000091208&sum=31500 0 [23:18:11]StoreToDocumentArchive [23:18:11]shift 496 fd 57097 [23:18:11]save to /storage/0496/doc_00057097 [23:18:11]save last doc name /storage/0496/doc_00057097 to /storage/kkm_last_doc_name [23:18:11]save OK [23:18:11]Clear old archive folders... [23:18:11]ProcessDocumentItem done err = 0, tmpTLVsize=282 [23:18:11]tlvbuf is 00FC8EF0 [23:18:11]SAM_PROTO_ClearQueue [23:18:11]wFMCommunicate request_size=4 [23:18:11]MH_SAM_APDU [23:18:11]CAPDU: 80 09 00 00 [23:18:11]Write to MH i2c: E2 08 00 CC 16 80 09 00 00 00 00 00 00 54 [23:18:11]Write i2c OK [23:18:11]MH_I2C_Read... [23:18:11]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:18:11]Read from MH i2c: E2 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 03 00 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 03 00 CC 16 00 90 00 56 [23:18:11]RAPDU: 90 00 [23:18:11]wFMCommunicate OK [23:18:11]SAM_PROTO_ClearQueue done [23:18:11]KKMCreateOFDPacket [23:18:11]OFDProtocolAddRootSTLVToBuf [23:18:11]FM_MakeSignedData [23:18:11]FM_MakeSignedData [23:18:11]SAM_PROTO_SignData [23:18:11]wFMCommunicate request_size=4 [23:18:11]MH_SAM_APDU [23:18:11]CAPDU: 80 0D 01 02 [23:18:11]Write to MH i2c: E2 08 00 CD 16 80 0D 01 02 00 00 00 00 5C [23:18:11]Write i2c OK [23:18:11]MH_I2C_Read... [23:18:11]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:18:11]Read from MH i2c: E2 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 03 00 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 03 00 CD 16 00 90 00 57 [23:18:11]RAPDU: 90 00 [23:18:11]wFMCommunicate OK [23:18:11]wFMCommunicate request_size=255 [23:18:11]MH_SAM_APDU [23:18:11]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 7B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 B5 5C 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [23:18:11]Write to MH i2c: E2 02 01 CE 16 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 7B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 B5 5C 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 ED [23:18:11]Write i2c OK [23:18:11]MH_I2C_Read... [23:18:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:18:11]Read from MH i2c: E2 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 03 00 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 03 00 CE 16 00 90 00 58 [23:18:11]RAPDU: 90 00 [23:18:11]wFMCommunicate OK [23:18:11]wFMCommunicate request_size=41 [23:18:11]MH_SAM_APDU [23:18:11]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 09 DF 00 00 35 04 06 00 D7 09 1A 69 03 81 [23:18:11]Write to MH i2c: E2 2C 00 CF 16 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 09 DF 00 00 35 04 06 00 D7 09 1A 69 03 81 00 00 04 [23:18:11]Write i2c OK [23:18:11]MH_I2C_Read... [23:18:11]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:18:11]Read from MH i2c: E2 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 03 00 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 03 00 CF 16 00 90 00 59 [23:18:11]RAPDU: 90 00 [23:18:11]wFMCommunicate OK [23:18:11]wFMCommunicate request_size=4 [23:18:11]MH_SAM_APDU [23:18:11]CAPDU: 80 0D 03 02 [23:18:11]Write to MH i2c: E2 08 00 D0 16 80 0D 03 02 00 00 00 00 61 [23:18:11]Write i2c OK [23:18:11]MH_I2C_Read... [23:18:11]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:18:11]Read from MH i2c: E2 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 0B 00 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 0B 00 D0 16 00 F7 D7 F4 AD 50 49 B0 CF 90 00 E9 [23:18:11]RAPDU: F7 D7 F4 AD 50 49 B0 CF 90 00 [23:18:11]wFMCommunicate OK [23:18:11]SAM_PROTO_SignData done [23:18:11]FM_MakeSignedData done [23:18:11]CreateOFDProtocolMessage [23:18:11]wFMCommunicate request_size=4 [23:18:11]MH_SAM_APDU [23:18:11]CAPDU: 80 11 00 00 [23:18:11]Write to MH i2c: E2 08 00 D1 16 80 11 00 00 00 00 00 00 61 [23:18:11]Write i2c OK [23:18:11]MH_I2C_Read... [23:18:11]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:18:11]Read from MH i2c: E2 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 17 00 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: E2 17 00 D1 16 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BB [23:18:11]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:18:11]wFMCommunicate OK [23:18:11]CreateOFDProtocolMessage done [23:18:11]OFDSenderStorePacket 57097 [23:18:11]StoreOFDPacket docnum=57097 [23:18:11]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 46 B2 26 01 E7 FB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 7B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 B5 5C 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 09 DF 00 00 35 04 06 00 D7 09 1A 69 03 81 F7 D7 F4 AD 50 49 B0 CF [23:18:11]CheckFolder [23:18:11]dirname=/storage/ofd_packets [23:18:11]CheckFolder done [23:18:11]ProducePacketName [23:18:11]name=ofd_packets/00057097 [23:18:11]NVStorageSaveData ofd_packets/00057097 [23:18:11]File name is /storage/ofd_packets/00057097 [23:18:11]Write 332 bytes [23:18:11]NVStorageSaveData done [23:18:11]OFDSenderStorePacket done [23:18:11]KKMCreateOFDPacket done [23:18:11]NVStorageSaveData kkm_last_timestamp [23:18:11]File name is /storage/kkm_last_timestamp [23:18:11]Write 4 bytes [23:18:11]NVStorageSaveData done [23:18:11]ExternCall_PrintAddStr [23:18:11]wPrintStart [23:18:11]Write to MH i2c: 01 00 00 D2 16 E8 [23:18:11]Write i2c OK [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: 01 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: 01 07 00 [23:18:11]MH_I2C_Read... [23:18:11]Read from MH i2c: 01 07 00 D2 16 00 00 00 00 00 FF 0F FD [23:18:11]RasterBufferAndPrint [23:18:11]line Счет N : (3)129555 [23:18:11]line ИНН: 02508201610067 [23:18:11]line Контрольно-Кассовый Чек [23:18:11]line ПРОДАЖА [23:18:11]line Товар: 2000034730018 [23:18:11]line Кофе Американо (GABB TRADE) [23:18:11]line 3.000 * 105.00 [23:18:11]line = 315.00 [23:18:11]line НДС 12% НСП 1% [23:18:11]line > о реализуемом товаре [23:18:11]line ИТОГО: 315.00 [23:18:11]line НСП 1% : 2.79 [23:18:11]line НДС 12% : 33.45 [23:18:11]line Наличными: 0.00 [23:18:11]line Безнал.: 315.00 [23:18:11]line Место: АЗС № 132 "Партнер Нефть" [23:18:11]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:18:11]line СНО: Общий режим [23:18:11]line Чек 114 14.07.2024 23:18 [23:18:11]line Смена: 496 ФФД: 1.0 [23:18:11]line ЗНМ: 0300000132 [23:18:11]line РНМ: 0000000000091208 [23:18:11]line Версия ККМ: 001 [23:18:11]line Платежная система: О! деньги [23:18:11]line ФМ: 0000000000874857 [23:18:11]line ФД: 57097 [23:18:11]line ФПД: 236434097767297 [23:18:12]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T231813&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57097&fm=236434097767297&tin=02508201610067®Number=0000000000091208&sum=31500 [23:18:12]line 0 [23:18:12]OFD Sender: Processing packet 57097 [packets to send 38, broken 37] [23:18:12]ProducePacketName [23:18:12]name=ofd_packets/00057097 [23:18:12]OFD Sender: To server: pG, [23:18:12]CommunicateWithHost lk.salyk.kg:30040 [23:18:12]ConnectInit lk.salyk.kg [23:18:12]written 0, free lines is 4095 [23:18:12]Connected sock=10 [23:18:12]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 46 B2 26 01 E7 FB 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 B8 0B 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 0C 7B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 0C 7B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 17 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 11 0D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 0C 7B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 72 00 00 00 F4 03 04 00 B5 5C 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 09 DF 00 00 35 04 06 00 D7 09 1A 69 03 81 F7 D7 F4 AD 50 49 B0 CF [23:18:12]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 09 86 47 00 5A 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 09 DF 00 00 F4 03 04 00 05 03 94 66 B6 04 01 00 00 D4 9F 4D F8 8B D2 4E C6 [23:18:12]CommunicateWithHost err = 0 [23:18:12]CheckOFDResponse [23:18:12]1017 (14) - 77093643461234 [23:18:12]1041 (16) - 0000000000874857 [23:18:12]1040 (4) - 57097 [23:18:12]1012 (4) - 14.07.2024 16:55 [23:18:12]1206 (1) - 0 [23:18:12]OFD Sender: Remove packet 57097 [23:18:12]ProducePacketName [23:18:12]name=ofd_packets/00057097 [23:18:12]NVStorageDeleteData [23:18:12]Write to MH i2c: 01 00 00 FD 16 13 [23:18:12]Write i2c OK [23:18:12]MH_I2C_Read... [23:18:12]Read from MH i2c: 01 [23:18:12]MH_I2C_Read... [23:18:12]Read from MH i2c: 01 07 00 [23:18:12]MH_I2C_Read... [23:18:12]Read from MH i2c: 01 07 00 FD 16 00 00 00 00 00 CA 0C F0 [23:18:12]RasterBufferAndPrint [23:18:12]line [23:18:12]line [23:18:12]line [23:18:12]line [23:18:12]line [23:18:12]written 0, free lines is 3280 [23:18:12]MH_Cut [23:18:12]Write to MH i2c: D1 01 00 04 17 01 ED [23:18:12]Write i2c OK [23:18:12]MH_I2C_Read... [23:18:12]Read from MH i2c: D1 [23:18:12]MH_I2C_Read... [23:18:12]Read from MH i2c: D1 01 00 [23:18:12]MH_I2C_Read... [23:18:12]Read from MH i2c: D1 01 00 04 17 00 EC [23:18:12]Write to MH i2c: 01 00 00 05 17 1C [23:18:12]Write i2c OK [23:18:12]MH_I2C_Read... [23:18:12]OFD Sender: No OFD packet to send [23:18:13]*** Cut start [23:18:13]*** Partial cut [23:18:13]*** CUTSNS_PIN = 1 [23:18:13]*** CUTSNS_PIN = 0 [23:18:13]*** Brake cut motor [23:18:13]Read from MH i2c: 01 [23:18:13]MH_I2C_Read... [23:18:13]*** Stop cut motor [23:18:13]*** Cut end [23:18:13]Read from MH i2c: 01 07 00 [23:18:13]MH_I2C_Read... [23:18:13]Read from MH i2c: 01 07 00 05 17 00 00 00 00 00 FF 0F 31 [23:18:13]process_action close_receipt done [23:18:13]requested_data is exist [23:18:13]produce_requested_data [23:18:13]requested_item fm.sn is exist - process it [23:18:13]wFMCommunicate request_size=4 [23:18:13]MH_SAM_APDU [23:18:13]CAPDU: 80 11 00 00 [23:18:13]Write to MH i2c: E2 08 00 06 17 80 11 00 00 00 00 00 00 97 [23:18:13]Write i2c OK [23:18:13]MH_I2C_Read... [23:18:13]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:18:13]Read from MH i2c: E2 [23:18:13]MH_I2C_Read... [23:18:13]Read from MH i2c: E2 17 00 [23:18:13]MH_I2C_Read... [23:18:13]Read from MH i2c: E2 17 00 06 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F1 [23:18:13]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:18:13]wFMCommunicate OK [23:18:13]requested_item fd.num is exist - process it [23:18:13]SAM_PROTO_GetFieldsCounters [23:18:13]wFMCommunicate request_size=4 [23:18:13]MH_SAM_APDU [23:18:13]CAPDU: 80 13 00 00 [23:18:13]Write to MH i2c: E2 08 00 07 17 80 13 00 00 00 00 00 00 9A [23:18:13]Write i2c OK [23:18:13]MH_I2C_Read... [23:18:14]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:18:14]Read from MH i2c: E2 [23:18:14]MH_I2C_Read... [23:18:14]Read from MH i2c: E2 62 00 [23:18:14]MH_I2C_Read... [23:18:14]Read from MH i2c: E2 62 00 07 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 09 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 72 00 00 00 5E 04 04 00 72 00 00 00 57 04 04 00 73 00 00 00 19 04 04 00 00 00 00 00 90 00 EC [23:18:14]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 09 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 72 00 00 00 5E 04 04 00 72 00 00 00 57 04 04 00 73 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:18:14]wFMCommunicate OK [23:18:14]SAM_PROTO_GetFieldsCounters done [23:18:14]requested_item shift.num is exist - process it [23:18:14]requested_item shift.opened is exist - process it [23:18:14]req_shift_opened [23:18:14]FM_GetShiftState [23:18:14]SAM_PROTO_GetShiftState [23:18:14]wFMCommunicate request_size=4 [23:18:14]MH_SAM_APDU [23:18:14]CAPDU: 80 13 01 00 [23:18:14]Write to MH i2c: E2 08 00 08 17 80 13 01 00 00 00 00 00 9C [23:18:14]Write i2c OK [23:18:14]MH_I2C_Read... [23:18:14]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:18:14]Read from MH i2c: E2 [23:18:14]MH_I2C_Read... [23:18:14]Read from MH i2c: E2 0E 00 [23:18:14]MH_I2C_Read... [23:18:14]Read from MH i2c: E2 0E 00 08 17 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 43 [23:18:14]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:18:14]wFMCommunicate OK [23:18:14]SAM_PROTO_GetShiftState done [23:18:14]FM_GetShiftState done [23:18:14]req_shift_opened done [23:18:14]requested_item shift.open_date is exist - process it [23:18:14]req_shift_open_date [23:18:14]req_shift_open_date done [23:18:14]requested_item shift.sale.total is exist - process it [23:18:14]SAM_PROTO_GetShiftData [23:18:14]wFMCommunicate request_size=4 [23:18:14]MH_SAM_APDU [23:18:14]CAPDU: 80 13 02 00 [23:18:14]Write to MH i2c: E2 08 00 09 17 80 13 02 00 00 00 00 00 9E [23:18:14]Write i2c OK [23:18:14]MH_I2C_Read... [23:18:14]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:18:14]Read from MH i2c: E2 [23:18:14]MH_I2C_Read... [23:18:14]Read from MH i2c: E2 FD 00 [23:18:14]MH_I2C_Read... [23:18:14]Read from MH i2c: E2 FD 00 09 17 00 BB 04 AA 04 B7 04 6E 04 04 00 72 00 00 00 69 04 9B 00 6F 04 04 00 70 00 00 00 B1 04 03 00 2F F5 37 70 04 03 00 30 4E 2C 72 04 03 00 FF A6 0B 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 5B F1 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 BA 7E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 37 [23:18:14]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 72 00 00 00 69 04 9B 00 6F 04 04 00 70 00 00 00 B1 04 03 00 2F F5 37 70 04 03 00 30 4E 2C 72 04 03 00 FF A6 0B 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 5B F1 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 BA 7E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:18:14]wFMCommunicate OK [23:18:14]wFMCommunicate request_size=4 [23:18:14]MH_SAM_APDU [23:18:14]CAPDU: 80 17 00 00 [23:18:14]Write to MH i2c: E2 08 00 0A 17 80 17 00 00 00 00 00 00 A1 [23:18:14]Write i2c OK [23:18:14]MH_I2C_Read... [23:18:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:18:14]Read from MH i2c: E2 [23:18:14]MH_I2C_Read... [23:18:14]Read from MH i2c: E2 FD 00 [23:18:14]MH_I2C_Read... [23:18:14]Read from MH i2c: E2 FD 00 0A 17 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 34 [23:18:14]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:18:14]wFMCommunicate OK [23:18:14]wFMCommunicate request_size=4 [23:18:14]MH_SAM_APDU [23:18:14]CAPDU: 80 17 00 00 [23:18:14]Write to MH i2c: E2 08 00 0B 17 80 17 00 00 00 00 00 00 A2 [23:18:14]Write i2c OK [23:18:14]MH_I2C_Read... [23:18:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:18:15]Read from MH i2c: E2 [23:18:15]MH_I2C_Read... [23:18:15]Read from MH i2c: E2 FD 00 [23:18:15]MH_I2C_Read... [23:18:15]Read from MH i2c: E2 FD 00 0B 17 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CE [23:18:15]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:18:15]wFMCommunicate OK [23:18:15]wFMCommunicate request_size=4 [23:18:15]MH_SAM_APDU [23:18:15]CAPDU: 80 17 00 00 [23:18:15]Write to MH i2c: E2 08 00 0C 17 80 17 00 00 00 00 00 00 A3 [23:18:15]Write i2c OK [23:18:15]MH_I2C_Read... [23:18:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:18:15]Read from MH i2c: E2 [23:18:15]MH_I2C_Read... [23:18:15]Read from MH i2c: E2 FD 00 [23:18:15]MH_I2C_Read... [23:18:15]Read from MH i2c: E2 FD 00 0C 17 00 00 00 EF 03 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 90 00 18 [23:18:15]RAPDU: 00 00 EF 03 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 90 00 [23:18:15]wFMCommunicate OK [23:18:15]wFMCommunicate request_size=4 [23:18:15]MH_SAM_APDU [23:18:15]CAPDU: 80 17 00 00 [23:18:15]Write to MH i2c: E2 08 00 0D 17 80 17 00 00 00 00 00 00 A4 [23:18:15]Write i2c OK [23:18:15]MH_I2C_Read... [23:18:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:18:15]Read from MH i2c: E2 [23:18:15]MH_I2C_Read... [23:18:15]Read from MH i2c: E2 D8 00 [23:18:15]MH_I2C_Read... [23:18:15]Read from MH i2c: E2 D8 00 0D 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8B [23:18:15]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:18:15]wFMCommunicate OK [23:18:15]SAM_PROTO_GetShiftData done [23:18:15]requested_item shift.sale.total_cash is exist - process it [23:18:15]requested_item shift.sale_refund.total is exist - process it [23:18:15]requested_item shift.sale_refund.total_cash is exist - process it [23:18:15]produce_requested_data done [23:18:15]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57097,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36672.47,"shift.sale.total_cash":29036.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [23:18:15]process_action_free close_receipt [23:18:15]json_value_free [23:18:15]json_value_free done [23:18:15]process_json_proto returns [23:18:15]Send response to host [23:18:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57097,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36672.47,"shift.sale.total_cash":29036.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [23:18:15]free response buf [23:18:15]execute_script done [23:18:15]execute_script returns [23:18:15]free content buf [23:18:15]Sock 9.Close socket [23:18:15]Sock 9.Thread stoped [23:18:17]OFD Sender: No OFD packet to send [23:18:22]OFD Sender: No OFD packet to send [23:18:27]OFD Sender: No OFD packet to send [23:18:32]OFD Sender: No OFD packet to send [23:18:37]OFD Sender: No OFD packet to send [23:18:42]OFD Sender: No OFD packet to send [23:18:47]OFD Sender: No OFD packet to send [23:18:52]OFD Sender: No OFD packet to send [23:18:57]OFD Sender: No OFD packet to send [23:19:02]OFD Sender: No OFD packet to send [23:19:07]OFD Sender: No OFD packet to send [23:19:12]OFD Sender: No OFD packet to send [23:19:18]OFD Sender: No OFD packet to send [23:19:23]OFD Sender: No OFD packet to send [23:19:28]OFD Sender: No OFD packet to send [23:19:33]OFD Sender: No OFD packet to send [23:19:38]OFD Sender: No OFD packet to send [23:19:43]OFD Sender: No OFD packet to send [23:19:48]OFD Sender: No OFD packet to send [23:19:53]OFD Sender: No OFD packet to send [23:19:58]OFD Sender: No OFD packet to send [23:20:03]OFD Sender: No OFD packet to send [23:20:08]OFD Sender: No OFD packet to send [23:20:13]OFD Sender: No OFD packet to send [23:20:18]OFD Sender: No OFD packet to send [23:20:23]OFD Sender: No OFD packet to send [23:20:28]OFD Sender: No OFD packet to send [23:20:33]OFD Sender: No OFD packet to send [23:20:38]OFD Sender: No OFD packet to send [23:20:43]OFD Sender: No OFD packet to send [23:20:48]OFD Sender: No OFD packet to send [23:20:53]OFD Sender: No OFD packet to send [23:20:58]OFD Sender: No OFD packet to send [23:21:03]OFD Sender: No OFD packet to send [23:21:08]OFD Sender: No OFD packet to send [23:21:13]OFD Sender: No OFD packet to send [23:21:18]OFD Sender: No OFD packet to send [23:21:23]OFD Sender: No OFD packet to send [23:21:28]OFD Sender: No OFD packet to send [23:21:33]OFD Sender: No OFD packet to send [23:21:38]OFD Sender: No OFD packet to send [23:21:43]OFD Sender: No OFD packet to send [23:21:48]OFD Sender: No OFD packet to send [23:21:53]OFD Sender: No OFD packet to send [23:21:58]OFD Sender: No OFD packet to send [23:22:03]OFD Sender: No OFD packet to send [23:22:08]OFD Sender: No OFD packet to send [23:22:13]OFD Sender: No OFD packet to send [23:22:18]OFD Sender: No OFD packet to send [23:22:23]OFD Sender: No OFD packet to send [23:22:28]OFD Sender: No OFD packet to send [23:22:33]OFD Sender: No OFD packet to send [23:22:38]OFD Sender: No OFD packet to send [23:22:43]OFD Sender: No OFD packet to send [23:22:48]OFD Sender: No OFD packet to send [23:22:53]OFD Sender: No OFD packet to send [23:22:58]OFD Sender: No OFD packet to send [23:23:03]OFD Sender: No OFD packet to send [23:23:08]OFD Sender: No OFD packet to send [23:23:13]OFD Sender: No OFD packet to send [23:23:18]OFD Sender: No OFD packet to send [23:23:23]OFD Sender: No OFD packet to send [23:23:28]OFD Sender: No OFD packet to send [23:23:33]OFD Sender: No OFD packet to send [23:23:38]OFD Sender: No OFD packet to send [23:23:43]OFD Sender: No OFD packet to send [23:23:48]OFD Sender: No OFD packet to send [23:23:53]OFD Sender: No OFD packet to send [23:23:58]OFD Sender: No OFD packet to send [23:24:03]OFD Sender: No OFD packet to send [23:24:08]OFD Sender: No OFD packet to send [23:24:13]OFD Sender: No OFD packet to send [23:24:18]OFD Sender: No OFD packet to send [23:24:23]OFD Sender: No OFD packet to send [23:24:28]OFD Sender: No OFD packet to send [23:24:33]OFD Sender: No OFD packet to send [23:24:38]OFD Sender: No OFD packet to send [23:24:43]OFD Sender: No OFD packet to send [23:24:48]OFD Sender: No OFD packet to send [23:24:53]OFD Sender: No OFD packet to send [23:24:58]OFD Sender: No OFD packet to send [23:25:03]OFD Sender: No OFD packet to send [23:25:08]OFD Sender: No OFD packet to send [23:25:13]OFD Sender: No OFD packet to send [23:25:18]OFD Sender: No OFD packet to send [23:25:23]OFD Sender: No OFD packet to send [23:25:28]OFD Sender: No OFD packet to send [23:25:33]OFD Sender: No OFD packet to send [23:25:38]OFD Sender: No OFD packet to send [23:25:43]OFD Sender: No OFD packet to send [23:25:48]OFD Sender: No OFD packet to send [23:25:53]OFD Sender: No OFD packet to send [23:25:58]OFD Sender: No OFD packet to send [23:26:03]OFD Sender: No OFD packet to send [23:26:08]OFD Sender: No OFD packet to send [23:26:13]OFD Sender: No OFD packet to send [23:26:18]OFD Sender: No OFD packet to send [23:26:23]OFD Sender: No OFD packet to send [23:26:28]OFD Sender: No OFD packet to send [23:26:33]OFD Sender: No OFD packet to send [23:26:38]OFD Sender: No OFD packet to send [23:26:43]OFD Sender: No OFD packet to send [23:26:48]OFD Sender: No OFD packet to send [23:26:53]OFD Sender: No OFD packet to send [23:26:58]OFD Sender: No OFD packet to send [23:27:03]OFD Sender: No OFD packet to send [23:27:08]OFD Sender: No OFD packet to send [23:27:13]OFD Sender: No OFD packet to send [23:27:18]OFD Sender: No OFD packet to send [23:27:23]OFD Sender: No OFD packet to send [23:27:28]OFD Sender: No OFD packet to send [23:27:33]OFD Sender: No OFD packet to send [23:27:38]OFD Sender: No OFD packet to send [23:27:43]OFD Sender: No OFD packet to send [23:27:48]OFD Sender: No OFD packet to send [23:27:53]OFD Sender: No OFD packet to send [23:27:58]OFD Sender: No OFD packet to send [23:28:03]OFD Sender: No OFD packet to send [23:28:04]accept exits with 7 [23:28:04]New connection [23:28:04]New thread 3067592036 created [23:28:04]Thread 3067448676 joined [23:28:04]Waiting for new connection... [23:28:04] Sock 7.Parse request [23:28:04]Sock 7.Check first char [23:28:04]Sock 7.First char is OK [23:28:04]request: POST /json_proto HTTP/1.0 [23:28:04]Method: POST [23:28:04]URL: /json_proto [23:28:04]Method is POST - this is cgi request [23:28:04]url: /json_proto [23:28:04]query_string will be loaded in cgi processing [23:28:04]execute_cgi json_proto POST (null) [23:28:04]execute_cgi path=json_proto method=POST [23:28:04]POST find Content-Length [23:28:04]Host: 172.17.39.4:8080 [23:28:04]Content-Length: 1157 [23:28:04]Content-Type: application/json [23:28:04] [23:28:04]POST finish read [23:28:04]Found Content-Length = 1157 [23:28:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129556", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 197.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:28:04]execute_script... [23:28: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)129556", "tax_sys" : 0, "items" : [ { "code": "5449000027474", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A FuzeTea \u0437\u0435\u043B \u0447\u0430\u0439 \u043C\u0430\u043D\u0433\u043E,\u0440\u043E\u043C\u0430\u0448\u043A\u0430 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4660085515163", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u0421\u043D\u0438\u043A\u0435\u0440\u0441 \u0441\u0443\u043F\u0435\u0440 95/80\u0433", "price" : 90.00, "quantity" : 1.000, "sum" : 90.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 197.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:28:04]POST & json_proto [23:28:04]process_json_proto [23:28:04]json parsed OK: [23:28:04]protocol is kg_v1.0 [23:28:04]action value=close_receipt [23:28:04]process_action close_receipt [23:28:04]cmd_close_receipt [23:28:04]MH_GetDate [23:28:04]Write to MH i2c: F0 00 00 0E 17 14 [23:28:04]Write i2c OK [23:28:04]MH_I2C_Read... [23:28:04]Read from MH i2c: F0 [23:28:04]MH_I2C_Read... [23:28:04]Read from MH i2c: F0 09 00 [23:28:04]MH_I2C_Read... [23:28:04]Read from MH i2c: F0 09 00 0E 17 00 07 5F 94 66 2D 25 5D 64 90 [23:28:04]GetLastDocTimeStamp 1720999093 [23:28:04]current date 1720999687 [23:28:04]FM_GetShiftState [23:28:04]SAM_PROTO_GetShiftState [23:28:04]wFMCommunicate request_size=4 [23:28:04]MH_SAM_APDU [23:28:04]CAPDU: 80 13 01 00 [23:28:04]Write to MH i2c: E2 08 00 0F 17 80 13 01 00 00 00 00 00 A3 [23:28:04]Write i2c OK [23:28:04]MH_I2C_Read... [23:28:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:28:04]Read from MH i2c: E2 [23:28:04]MH_I2C_Read... [23:28:04]Read from MH i2c: E2 0E 00 [23:28:04]MH_I2C_Read... [23:28:04]Read from MH i2c: E2 0E 00 0F 17 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 4A [23:28:04]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:28:04]wFMCommunicate OK [23:28:04]SAM_PROTO_GetShiftState done [23:28:04]FM_GetShiftState done [23:28:04]opened in 1720917126 [23:28:04]opened+sec_in_day 1721003526 [23:28:04]quantity*price = 10700 [23:28:04]sum+1 = 10701 [23:28:04]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4660085515163 Шок Батончик Сникерс супер 95/80г 1.000 * 90.00 = 90.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 197.00 НСП 1% : 1.75 НДС 12% : 20.92 Наличными: 197.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 115 14.07.2024 23:28 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57098 ФПД: 135202409805056 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T232807&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57098&fm=135202409805056&tin=02508201610067®Number=0000000000091208&sum=19700 0 [23:28:05]StoreToDocumentArchive [23:28:05]shift 496 fd 57098 [23:28:05]save to /storage/0496/doc_00057098 [23:28:05]save last doc name /storage/0496/doc_00057098 to /storage/kkm_last_doc_name [23:28:05]save OK [23:28:05]Clear old archive folders... [23:28:05]ProcessDocumentItem done err = 0, tmpTLVsize=437 [23:28:05]tlvbuf is 00FEAB40 [23:28:05]SAM_PROTO_ClearQueue [23:28:05]wFMCommunicate request_size=4 [23:28:05]MH_SAM_APDU [23:28:05]CAPDU: 80 09 00 00 [23:28:05]Write to MH i2c: E2 08 00 1C 17 80 09 00 00 00 00 00 00 A5 [23:28:05]Write i2c OK [23:28:05]MH_I2C_Read... [23:28:05]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:28:05]Read from MH i2c: E2 [23:28:05]MH_I2C_Read... [23:28:05]Read from MH i2c: E2 03 00 [23:28:05]MH_I2C_Read... [23:28:05]Read from MH i2c: E2 03 00 1C 17 00 90 00 A7 [23:28:05]RAPDU: 90 00 [23:28:05]wFMCommunicate OK [23:28:05]SAM_PROTO_ClearQueue done [23:28:05]KKMCreateOFDPacket [23:28:05]OFDProtocolAddRootSTLVToBuf [23:28:05]FM_MakeSignedData [23:28:05]FM_MakeSignedData [23:28:05]SAM_PROTO_SignData [23:28:05]wFMCommunicate request_size=4 [23:28:05]MH_SAM_APDU [23:28:05]CAPDU: 80 0D 01 02 [23:28:05]Write to MH i2c: E2 08 00 1D 17 80 0D 01 02 00 00 00 00 AD [23:28:05]Write i2c OK [23:28:05]MH_I2C_Read... [23:28:05]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:28:05]Read from MH i2c: E2 [23:28:05]MH_I2C_Read... [23:28:05]Read from MH i2c: E2 03 00 [23:28:05]MH_I2C_Read... [23:28:05]Read from MH i2c: E2 03 00 1D 17 00 90 00 A8 [23:28:05]RAPDU: 90 00 [23:28:05]wFMCommunicate OK [23:28:05]wFMCommunicate request_size=255 [23:28:05]MH_SAM_APDU [23:28:05]CAPDU: 80 0D 02 02 FA 03 00 B5 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 [23:28:05]Write to MH i2c: E2 02 01 1E 17 80 0D 02 02 FA 00 03 00 B5 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 28 23 00 00 00 00 00 7E [23:28:05]Write i2c OK [23:28:05]MH_I2C_Read... [23:28:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:28:05]Read from MH i2c: E2 [23:28:05]MH_I2C_Read... [23:28:05]Read from MH i2c: E2 03 00 [23:28:05]MH_I2C_Read... [23:28:05]Read from MH i2c: E2 03 00 1E 17 00 90 00 A9 [23:28:05]RAPDU: 90 00 [23:28:05]wFMCommunicate OK [23:28:05]wFMCommunicate request_size=196 [23:28:05]MH_SAM_APDU [23:28:05]CAPDU: 80 0D 02 02 BF 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 F4 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2C 08 00 00 00 00 07 04 06 00 F4 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 07 5F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DF 00 00 35 04 06 00 7A F7 43 9B F5 00 [23:28:05]Write to MH i2c: E2 C7 00 1F 17 80 0D 02 02 BF 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 F4 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2C 08 00 00 00 00 07 04 06 00 F4 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 07 5F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DF 00 00 35 04 06 00 7A F7 43 9B F5 00 00 00 E2 [23:28:05]Write i2c OK [23:28:05]MH_I2C_Read... [23:28:05]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:28:05]Read from MH i2c: E2 [23:28:05]MH_I2C_Read... [23:28:05]Read from MH i2c: E2 03 00 [23:28:05]MH_I2C_Read... [23:28:05]Read from MH i2c: E2 03 00 1F 17 00 90 00 AA [23:28:05]RAPDU: 90 00 [23:28:05]wFMCommunicate OK [23:28:05]wFMCommunicate request_size=4 [23:28:05]MH_SAM_APDU [23:28:05]CAPDU: 80 0D 03 02 [23:28:05]Write to MH i2c: E2 08 00 20 17 80 0D 03 02 00 00 00 00 B2 [23:28:05]Write i2c OK [23:28:05]MH_I2C_Read... [23:28:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:28:06]Read from MH i2c: E2 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: E2 0B 00 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: E2 0B 00 20 17 00 03 1E 66 C2 5A 3F 9B B3 90 00 E3 [23:28:06]RAPDU: 03 1E 66 C2 5A 3F 9B B3 90 00 [23:28:06]wFMCommunicate OK [23:28:06]SAM_PROTO_SignData done [23:28:06]FM_MakeSignedData done [23:28:06]CreateOFDProtocolMessage [23:28:06]wFMCommunicate request_size=4 [23:28:06]MH_SAM_APDU [23:28:06]CAPDU: 80 11 00 00 [23:28:06]Write to MH i2c: E2 08 00 21 17 80 11 00 00 00 00 00 00 B2 [23:28:06]Write i2c OK [23:28:06]MH_I2C_Read... [23:28:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:28:06]Read from MH i2c: E2 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: E2 17 00 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: E2 17 00 21 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0C [23:28:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:28:06]wFMCommunicate OK [23:28:06]CreateOFDProtocolMessage done [23:28:06]OFDSenderStorePacket 57098 [23:28:06]StoreOFDPacket docnum=57098 [23:28:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 C9 01 00 00 8B 2A C1 01 51 12 5A 03 01 00 03 00 B5 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 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 F4 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2C 08 00 00 00 00 07 04 06 00 F4 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 07 5F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DF 00 00 35 04 06 00 7A F7 43 9B F5 00 03 1E 66 C2 5A 3F 9B B3 [23:28:06]CheckFolder [23:28:06]dirname=/storage/ofd_packets [23:28:06]CheckFolder done [23:28:06]ProducePacketName [23:28:06]name=ofd_packets/00057098 [23:28:06]NVStorageSaveData ofd_packets/00057098 [23:28:06]File name is /storage/ofd_packets/00057098 [23:28:06]Write 487 bytes [23:28:06]NVStorageSaveData done [23:28:06]OFDSenderStorePacket done [23:28:06]KKMCreateOFDPacket done [23:28:06]NVStorageSaveData kkm_last_timestamp [23:28:06]File name is /storage/kkm_last_timestamp [23:28:06]Write 4 bytes [23:28:06]NVStorageSaveData done [23:28:06]ExternCall_PrintAddStr [23:28:06]wPrintStart [23:28:06]Write to MH i2c: 01 00 00 22 17 39 [23:28:06]Write i2c OK [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: 01 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: 01 07 00 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: 01 07 00 22 17 00 00 00 00 00 FF 0F 4E [23:28:06]RasterBufferAndPrint [23:28:06]line Счет N : (3)129556 [23:28:06]line ИНН: 02508201610067 [23:28:06]line Контрольно-Кассовый Чек [23:28:06]line ПРОДАЖА [23:28:06]line Товар: 5449000027474 [23:28:06]line Напиток FuzeTea зел чай манго,ромашка 1л [23:28:06]line 1.000 * 107.00 [23:28:06]line = 107.00 [23:28:06]line НДС 12% НСП 1% [23:28:06]line > о реализуемом товаре [23:28:06]line Товар: 4660085515163 [23:28:06]line Шок Батончик Сникерс супер 95/80г [23:28:06]line 1.000 * 90.00 [23:28:06]line = 90.00 [23:28:06]line НДС 12% НСП 1% [23:28:06]line > о реализуемом товаре [23:28:06]line ИТОГО: 197.00 [23:28:06]line НСП 1% : 1.75 [23:28:06]line НДС 12% : 20.92 [23:28:06]line Наличными: 197.00 [23:28:06]line Безнал.: 0.00 [23:28:06]line Место: АЗС № 132 "Партнер Нефть" [23:28:06]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:28:06]line СНО: Общий режим [23:28:06]line Чек 115 14.07.2024 23:28 [23:28:06]line Смена: 496 ФФД: 1.0 [23:28:06]line ЗНМ: 0300000132 [23:28:06]line РНМ: 0000000000091208 [23:28:06]line Версия ККМ: 001 [23:28:06]line ФМ: 0000000000874857 [23:28:06]line ФД: 57098 [23:28:06]line ФПД: 135202409805056 [23:28:06]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T232807&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57098&fm=135202409805056&tin=02508201610067®Number=0000000000091208&sum=19700 [23:28:06]line 0 [23:28:06]written 0, free lines is 4095 [23:28:06]OFD Sender: Processing packet 57098 [packets to send 38, broken 37] [23:28:06]ProducePacketName [23:28:06]name=ofd_packets/00057098 [23:28:06]OFD Sender: To server: pG, [23:28:06]CommunicateWithHost lk.salyk.kg:30040 [23:28:06]ConnectInit lk.salyk.kg [23:28:06]Connected sock=10 [23:28:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 C9 01 00 00 8B 2A C1 01 51 12 5A 03 01 00 03 00 B5 01 1E 04 01 00 01 23 04 86 00 8A 04 0D 00 35 34 34 39 30 30 30 30 32 37 34 37 34 06 04 42 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 46 75 7A 65 54 65 61 20 D0 B7 D0 B5 D0 BB 20 D1 87 D0 B0 D0 B9 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 2C D1 80 D0 BE D0 BC D0 B0 D1 88 D0 BA D0 B0 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7D 00 8A 04 0D 00 34 36 36 30 30 38 35 35 31 35 31 36 33 06 04 39 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 A1 D0 BD D0 B8 D0 BA D0 B5 D1 80 D1 81 20 D1 81 D1 83 D0 BF D0 B5 D1 80 20 39 35 2F 38 30 D0 B3 FF 03 08 00 03 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 F4 4C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 AF 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2C 08 00 00 00 00 07 04 06 00 F4 4C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 73 00 00 00 F4 03 04 00 07 5F 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DF 00 00 35 04 06 00 7A F7 43 9B F5 00 03 1E 66 C2 5A 3F 9B B3 [23:28:06]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 0F 9B 47 00 7E 62 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0A DF 00 00 F4 03 04 00 57 05 94 66 B6 04 01 00 00 AA 03 D2 C8 6E 6B BC 34 [23:28:06]CommunicateWithHost err = 0 [23:28:06]CheckOFDResponse [23:28:06]1017 (14) - 77093643461234 [23:28:06]1041 (16) - 0000000000874857 [23:28:06]1040 (4) - 57098 [23:28:06]1012 (4) - 14.07.2024 17:05 [23:28:06]1206 (1) - 0 [23:28:06]OFD Sender: Remove packet 57098 [23:28:06]ProducePacketName [23:28:06]name=ofd_packets/00057098 [23:28:06]NVStorageDeleteData [23:28:06]Write to MH i2c: 01 00 00 52 17 69 [23:28:06]Write i2c OK [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: 01 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: 01 07 00 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: 01 07 00 52 17 00 00 00 00 00 6B 0C E7 [23:28:06]RasterBufferAndPrint [23:28:06]line [23:28:06]line [23:28:06]line [23:28:06]line [23:28:06]line [23:28:06]written 0, free lines is 3188 [23:28:06]MH_Cut [23:28:06]Write to MH i2c: D1 01 00 59 17 01 42 [23:28:06]Write i2c OK [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: D1 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: D1 01 00 [23:28:06]MH_I2C_Read... [23:28:06]Read from MH i2c: D1 01 00 59 17 00 41 [23:28:06]Write to MH i2c: 01 00 00 5A 17 71 [23:28:06]Write i2c OK [23:28:06]MH_I2C_Read... [23:28:07]OFD Sender: No OFD packet to send [23:28:07]*** Cut start [23:28:07]*** Partial cut [23:28:07]*** CUTSNS_PIN = 1 [23:28:07]*** CUTSNS_PIN = 0 [23:28:08]*** Brake cut motor [23:28:08]Read from MH i2c: 01 [23:28:08]MH_I2C_Read... [23:28:08]*** Stop cut motor [23:28:08]*** Cut end [23:28:08]Read from MH i2c: 01 07 00 [23:28:08]MH_I2C_Read... [23:28:08]Read from MH i2c: 01 07 00 5A 17 00 00 00 00 00 FF 0F 86 [23:28:08]process_action close_receipt done [23:28:08]requested_data is exist [23:28:08]produce_requested_data [23:28:08]requested_item fm.sn is exist - process it [23:28:08]wFMCommunicate request_size=4 [23:28:08]MH_SAM_APDU [23:28:08]CAPDU: 80 11 00 00 [23:28:08]Write to MH i2c: E2 08 00 5B 17 80 11 00 00 00 00 00 00 EC [23:28:08]Write i2c OK [23:28:08]MH_I2C_Read... [23:28:08]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:28:08]Read from MH i2c: E2 [23:28:08]MH_I2C_Read... [23:28:08]Read from MH i2c: E2 17 00 [23:28:08]MH_I2C_Read... [23:28:08]Read from MH i2c: E2 17 00 5B 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 46 [23:28:08]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:28:08]wFMCommunicate OK [23:28:08]requested_item fd.num is exist - process it [23:28:08]SAM_PROTO_GetFieldsCounters [23:28:08]wFMCommunicate request_size=4 [23:28:08]MH_SAM_APDU [23:28:08]CAPDU: 80 13 00 00 [23:28:08]Write to MH i2c: E2 08 00 5C 17 80 13 00 00 00 00 00 00 EF [23:28:08]Write i2c OK [23:28:08]MH_I2C_Read... [23:28:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:28:08]Read from MH i2c: E2 [23:28:08]MH_I2C_Read... [23:28:08]Read from MH i2c: E2 62 00 [23:28:08]MH_I2C_Read... [23:28:08]Read from MH i2c: E2 62 00 5C 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0A DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [23:28:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0A DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 73 00 00 00 5E 04 04 00 73 00 00 00 57 04 04 00 74 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:28:08]wFMCommunicate OK [23:28:08]SAM_PROTO_GetFieldsCounters done [23:28:08]requested_item shift.num is exist - process it [23:28:08]requested_item shift.opened is exist - process it [23:28:08]req_shift_opened [23:28:08]FM_GetShiftState [23:28:08]SAM_PROTO_GetShiftState [23:28:08]wFMCommunicate request_size=4 [23:28:08]MH_SAM_APDU [23:28:08]CAPDU: 80 13 01 00 [23:28:08]Write to MH i2c: E2 08 00 5D 17 80 13 01 00 00 00 00 00 F1 [23:28:08]Write i2c OK [23:28:08]MH_I2C_Read... [23:28:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:28:08]Read from MH i2c: E2 [23:28:08]MH_I2C_Read... [23:28:08]Read from MH i2c: E2 0E 00 [23:28:08]MH_I2C_Read... [23:28:08]Read from MH i2c: E2 0E 00 5D 17 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 98 [23:28:08]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:28:08]wFMCommunicate OK [23:28:08]SAM_PROTO_GetShiftState done [23:28:08]FM_GetShiftState done [23:28:08]req_shift_opened done [23:28:08]requested_item shift.open_date is exist - process it [23:28:08]req_shift_open_date [23:28:08]req_shift_open_date done [23:28:08]requested_item shift.sale.total is exist - process it [23:28:08]SAM_PROTO_GetShiftData [23:28:08]wFMCommunicate request_size=4 [23:28:08]MH_SAM_APDU [23:28:08]CAPDU: 80 13 02 00 [23:28:08]Write to MH i2c: E2 08 00 5E 17 80 13 02 00 00 00 00 00 F3 [23:28:08]Write i2c OK [23:28:08]MH_I2C_Read... [23:28:09]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:28:09]Read from MH i2c: E2 [23:28:09]MH_I2C_Read... [23:28:09]Read from MH i2c: E2 FD 00 [23:28:09]MH_I2C_Read... [23:28:09]Read from MH i2c: E2 FD 00 5E 17 00 BB 04 AA 04 B7 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 71 00 00 00 B1 04 03 00 23 42 38 70 04 03 00 24 9B 2C 72 04 03 00 FF A6 0B 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 87 F9 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 69 7F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 F5 [23:28:09]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 73 00 00 00 69 04 9B 00 6F 04 04 00 71 00 00 00 B1 04 03 00 23 42 38 70 04 03 00 24 9B 2C 72 04 03 00 FF A6 0B 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 87 F9 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 69 7F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:28:09]wFMCommunicate OK [23:28:09]wFMCommunicate request_size=4 [23:28:09]MH_SAM_APDU [23:28:09]CAPDU: 80 17 00 00 [23:28:09]Write to MH i2c: E2 08 00 5F 17 80 17 00 00 00 00 00 00 F6 [23:28:09]Write i2c OK [23:28:09]MH_I2C_Read... [23:28:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:28:09]Read from MH i2c: E2 [23:28:09]MH_I2C_Read... [23:28:09]Read from MH i2c: E2 FD 00 [23:28:09]MH_I2C_Read... [23:28:09]Read from MH i2c: E2 FD 00 5F 17 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 89 [23:28:09]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:28:09]wFMCommunicate OK [23:28:09]wFMCommunicate request_size=4 [23:28:09]MH_SAM_APDU [23:28:09]CAPDU: 80 17 00 00 [23:28:09]Write to MH i2c: E2 08 00 60 17 80 17 00 00 00 00 00 00 F7 [23:28:09]Write i2c OK [23:28:09]MH_I2C_Read... [23:28:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:28:09]Read from MH i2c: E2 [23:28:09]MH_I2C_Read... [23:28:09]Read from MH i2c: E2 FD 00 [23:28:09]MH_I2C_Read... [23:28:09]Read from MH i2c: E2 FD 00 60 17 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 23 [23:28:09]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:28:09]wFMCommunicate OK [23:28:09]wFMCommunicate request_size=4 [23:28:09]MH_SAM_APDU [23:28:09]CAPDU: 80 17 00 00 [23:28:09]Write to MH i2c: E2 08 00 61 17 80 17 00 00 00 00 00 00 F8 [23:28:09]Write i2c OK [23:28:09]MH_I2C_Read... [23:28:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:28:09]Read from MH i2c: E2 [23:28:09]MH_I2C_Read... [23:28:09]Read from MH i2c: E2 FD 00 [23:28:09]MH_I2C_Read... [23:28:09]Read from MH i2c: E2 FD 00 61 17 00 00 00 EF 03 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 90 00 6D [23:28:10]RAPDU: 00 00 EF 03 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 90 00 [23:28:10]wFMCommunicate OK [23:28:10]wFMCommunicate request_size=4 [23:28:10]MH_SAM_APDU [23:28:10]CAPDU: 80 17 00 00 [23:28:10]Write to MH i2c: E2 08 00 62 17 80 17 00 00 00 00 00 00 F9 [23:28:10]Write i2c OK [23:28:10]MH_I2C_Read... [23:28:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:28:10]Read from MH i2c: E2 [23:28:10]MH_I2C_Read... [23:28:10]Read from MH i2c: E2 D8 00 [23:28:10]MH_I2C_Read... [23:28:10]Read from MH i2c: E2 D8 00 62 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 E0 [23:28:10]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:28:10]wFMCommunicate OK [23:28:10]SAM_PROTO_GetShiftData done [23:28:10]requested_item shift.sale.total_cash is exist - process it [23:28:10]requested_item shift.sale_refund.total is exist - process it [23:28:10]requested_item shift.sale_refund.total_cash is exist - process it [23:28:10]produce_requested_data done [23:28:10]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57098,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36869.47,"shift.sale.total_cash":29233.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [23:28:10]process_action_free close_receipt [23:28:10]json_value_free [23:28:10]json_value_free done [23:28:10]process_json_proto returns [23:28:10]Send response to host [23:28:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57098,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":36869.47,"shift.sale.total_cash":29233.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [23:28:10]free response buf [23:28:10]execute_script done [23:28:10]execute_script returns [23:28:10]free content buf [23:28:10]Sock 7.Close socket [23:28:10]Sock 7.Thread stoped [23:28:12]OFD Sender: No OFD packet to send [23:28:17]OFD Sender: No OFD packet to send [23:28:22]OFD Sender: No OFD packet to send [23:28:27]OFD Sender: No OFD packet to send [23:28:32]OFD Sender: No OFD packet to send [23:28:37]OFD Sender: No OFD packet to send [23:28:42]OFD Sender: No OFD packet to send [23:28:47]OFD Sender: No OFD packet to send [23:28:52]OFD Sender: No OFD packet to send [23:28:57]OFD Sender: No OFD packet to send [23:29:02]OFD Sender: No OFD packet to send [23:29:07]OFD Sender: No OFD packet to send [23:29:12]OFD Sender: No OFD packet to send [23:29:17]OFD Sender: No OFD packet to send [23:29:22]OFD Sender: No OFD packet to send [23:29:27]OFD Sender: No OFD packet to send [23:29:32]OFD Sender: No OFD packet to send [23:29:37]OFD Sender: No OFD packet to send [23:29:42]OFD Sender: No OFD packet to send [23:29:47]OFD Sender: No OFD packet to send [23:29:52]OFD Sender: No OFD packet to send [23:29:57]OFD Sender: No OFD packet to send [23:30:02]OFD Sender: No OFD packet to send [23:30:07]OFD Sender: No OFD packet to send [23:30:12]OFD Sender: No OFD packet to send [23:30:17]OFD Sender: No OFD packet to send [23:30:22]OFD Sender: No OFD packet to send [23:30:27]OFD Sender: No OFD packet to send [23:30:32]OFD Sender: No OFD packet to send [23:30:37]OFD Sender: No OFD packet to send [23:30:42]OFD Sender: No OFD packet to send [23:30:47]OFD Sender: No OFD packet to send [23:30:52]OFD Sender: No OFD packet to send [23:30:57]OFD Sender: No OFD packet to send [23:31:02]OFD Sender: No OFD packet to send [23:31:07]OFD Sender: No OFD packet to send [23:31:12]OFD Sender: No OFD packet to send [23:31:17]OFD Sender: No OFD packet to send [23:31:22]OFD Sender: No OFD packet to send [23:31:27]OFD Sender: No OFD packet to send [23:31:32]OFD Sender: No OFD packet to send [23:31:37]OFD Sender: No OFD packet to send [23:31:42]OFD Sender: No OFD packet to send [23:31:47]OFD Sender: No OFD packet to send [23:31:52]OFD Sender: No OFD packet to send [23:31:57]OFD Sender: No OFD packet to send [23:32:02]OFD Sender: No OFD packet to send [23:32:07]OFD Sender: No OFD packet to send [23:32:12]OFD Sender: No OFD packet to send [23:32:17]OFD Sender: No OFD packet to send [23:32:22]OFD Sender: No OFD packet to send [23:32:27]OFD Sender: No OFD packet to send [23:32:32]OFD Sender: No OFD packet to send [23:32:33]accept exits with 9 [23:32:33]New connection [23:32:33]New thread 3067448676 created [23:32:33]Thread 3067592036 joined [23:32:33]Waiting for new connection... [23:32:33] Sock 9.Parse request [23:32:33]Sock 9.Check first char [23:32:33]Sock 9.First char is OK [23:32:33]request: POST /json_proto HTTP/1.0 [23:32:33]Method: POST [23:32:33]URL: /json_proto [23:32:33]Method is POST - this is cgi request [23:32:33]url: /json_proto [23:32:33]query_string will be loaded in cgi processing [23:32:33]execute_cgi json_proto POST (null) [23:32:33]execute_cgi path=json_proto method=POST [23:32:33]POST find Content-Length [23:32:33]Host: 172.17.39.4:8080 [23:32:33]Content-Length: 718 [23:32:33]Content-Type: application/json [23:32:33] [23:32:33]POST finish read [23:32:33]Found Content-Length = 718 [23:32:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129557", "tax_sys" : 0, "items" : [ { "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:32:33]execute_script... [23:32: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)129557", "tax_sys" : 0, "items" : [ { "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:32:33]POST & json_proto [23:32:33]process_json_proto [23:32:33]json parsed OK: [23:32:33]protocol is kg_v1.0 [23:32:33]action value=close_receipt [23:32:33]process_action close_receipt [23:32:33]cmd_close_receipt [23:32:33]MH_GetDate [23:32:33]Write to MH i2c: F0 00 00 63 17 69 [23:32:33]Write i2c OK [23:32:33]MH_I2C_Read... [23:32:33]Read from MH i2c: F0 [23:32:33]MH_I2C_Read... [23:32:33]Read from MH i2c: F0 09 00 [23:32:33]MH_I2C_Read... [23:32:33]Read from MH i2c: F0 09 00 63 17 00 14 60 94 66 2D 25 5D 64 F3 [23:32:33]GetLastDocTimeStamp 1720999687 [23:32:33]current date 1720999956 [23:32:33]FM_GetShiftState [23:32:33]SAM_PROTO_GetShiftState [23:32:33]wFMCommunicate request_size=4 [23:32:33]MH_SAM_APDU [23:32:33]CAPDU: 80 13 01 00 [23:32:33]Write to MH i2c: E2 08 00 64 17 80 13 01 00 00 00 00 00 F8 [23:32:33]Write i2c OK [23:32:33]MH_I2C_Read... [23:32:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:32:33]Read from MH i2c: E2 [23:32:33]MH_I2C_Read... [23:32:33]Read from MH i2c: E2 0E 00 [23:32:33]MH_I2C_Read... [23:32:33]Read from MH i2c: E2 0E 00 64 17 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 9F [23:32:33]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:32:33]wFMCommunicate OK [23:32:33]SAM_PROTO_GetShiftState done [23:32:33]FM_GetShiftState done [23:32:33]opened in 1720917126 [23:32:33]opened+sec_in_day 1721003526 [23:32:33]quantity*price = 21000 [23:32:33]sum+1 = 21001 [23:32:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 116 14.07.2024 23:32 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57099 ФПД: 280149551532468 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T233236&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57099&fm=280149551532468&tin=02508201610067®Number=0000000000091208&sum=21000 0 [23:32:34]StoreToDocumentArchive [23:32:34]shift 496 fd 57099 [23:32:34]save to /storage/0496/doc_00057099 [23:32:34]save last doc name /storage/0496/doc_00057099 to /storage/kkm_last_doc_name [23:32:34]save OK [23:32:34]Clear old archive folders... [23:32:34]ProcessDocumentItem done err = 0, tmpTLVsize=266 [23:32:34]tlvbuf is 00FE6610 [23:32:34]SAM_PROTO_ClearQueue [23:32:34]wFMCommunicate request_size=4 [23:32:34]MH_SAM_APDU [23:32:34]CAPDU: 80 09 00 00 [23:32:34]Write to MH i2c: E2 08 00 71 17 80 09 00 00 00 00 00 00 FA [23:32:34]Write i2c OK [23:32:34]MH_I2C_Read... [23:32:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:32:34]Read from MH i2c: E2 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 03 00 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 03 00 71 17 00 90 00 FC [23:32:34]RAPDU: 90 00 [23:32:34]wFMCommunicate OK [23:32:34]SAM_PROTO_ClearQueue done [23:32:34]KKMCreateOFDPacket [23:32:34]OFDProtocolAddRootSTLVToBuf [23:32:34]FM_MakeSignedData [23:32:34]FM_MakeSignedData [23:32:34]SAM_PROTO_SignData [23:32:34]wFMCommunicate request_size=4 [23:32:34]MH_SAM_APDU [23:32:34]CAPDU: 80 0D 01 02 [23:32:34]Write to MH i2c: E2 08 00 72 17 80 0D 01 02 00 00 00 00 02 [23:32:34]Write i2c OK [23:32:34]MH_I2C_Read... [23:32:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:32:34]Read from MH i2c: E2 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 03 00 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 03 00 72 17 00 90 00 FD [23:32:34]RAPDU: 90 00 [23:32:34]wFMCommunicate OK [23:32:34]wFMCommunicate request_size=255 [23:32:34]MH_SAM_APDU [23:32:34]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 74 00 00 00 F4 03 04 00 14 60 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 [23:32:34]Write to MH i2c: E2 02 01 73 17 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 74 00 00 00 F4 03 04 00 14 60 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 00 00 B4 [23:32:34]Write i2c OK [23:32:34]MH_I2C_Read... [23:32:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:32:34]Read from MH i2c: E2 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 03 00 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 03 00 73 17 00 90 00 FE [23:32:34]RAPDU: 90 00 [23:32:34]wFMCommunicate OK [23:32:34]wFMCommunicate request_size=25 [23:32:34]MH_SAM_APDU [23:32:34]CAPDU: 80 0D 02 02 14 35 37 10 04 04 00 0B DF 00 00 35 04 06 00 FE CB 66 80 C9 B4 [23:32:34]Write to MH i2c: E2 1C 00 74 17 80 0D 02 02 14 00 35 37 10 04 04 00 0B DF 00 00 35 04 06 00 FE CB 66 80 C9 B4 00 00 06 [23:32:34]Write i2c OK [23:32:34]MH_I2C_Read... [23:32:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:32:34]Read from MH i2c: E2 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 03 00 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 03 00 74 17 00 90 00 FF [23:32:34]RAPDU: 90 00 [23:32:34]wFMCommunicate OK [23:32:34]wFMCommunicate request_size=4 [23:32:34]MH_SAM_APDU [23:32:34]CAPDU: 80 0D 03 02 [23:32:34]Write to MH i2c: E2 08 00 75 17 80 0D 03 02 00 00 00 00 07 [23:32:34]Write i2c OK [23:32:34]MH_I2C_Read... [23:32:34]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:32:34]Read from MH i2c: E2 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 0B 00 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 0B 00 75 17 00 6F E9 1B 04 0A C7 ED 01 90 00 3E [23:32:34]RAPDU: 6F E9 1B 04 0A C7 ED 01 90 00 [23:32:34]wFMCommunicate OK [23:32:34]SAM_PROTO_SignData done [23:32:34]FM_MakeSignedData done [23:32:34]CreateOFDProtocolMessage [23:32:34]wFMCommunicate request_size=4 [23:32:34]MH_SAM_APDU [23:32:34]CAPDU: 80 11 00 00 [23:32:34]Write to MH i2c: E2 08 00 76 17 80 11 00 00 00 00 00 00 07 [23:32:34]Write i2c OK [23:32:34]MH_I2C_Read... [23:32:34]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:32:34]Read from MH i2c: E2 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 17 00 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: E2 17 00 76 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 61 [23:32:34]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:32:34]wFMCommunicate OK [23:32:34]CreateOFDProtocolMessage done [23:32:34]OFDSenderStorePacket 57099 [23:32:34]StoreOFDPacket docnum=57099 [23:32:34]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1E 01 00 00 DE AB 16 01 01 FC 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 74 00 00 00 F4 03 04 00 14 60 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0B DF 00 00 35 04 06 00 FE CB 66 80 C9 B4 6F E9 1B 04 0A C7 ED 01 [23:32:34]CheckFolder [23:32:34]dirname=/storage/ofd_packets [23:32:34]CheckFolder done [23:32:34]ProducePacketName [23:32:34]name=ofd_packets/00057099 [23:32:34]NVStorageSaveData ofd_packets/00057099 [23:32:34]File name is /storage/ofd_packets/00057099 [23:32:34]Write 316 bytes [23:32:34]NVStorageSaveData done [23:32:34]OFDSenderStorePacket done [23:32:34]KKMCreateOFDPacket done [23:32:34]NVStorageSaveData kkm_last_timestamp [23:32:34]File name is /storage/kkm_last_timestamp [23:32:34]Write 4 bytes [23:32:34]NVStorageSaveData done [23:32:34]ExternCall_PrintAddStr [23:32:34]wPrintStart [23:32:34]Write to MH i2c: 01 00 00 77 17 8E [23:32:34]Write i2c OK [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: 01 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: 01 07 00 [23:32:34]MH_I2C_Read... [23:32:34]Read from MH i2c: 01 07 00 77 17 00 00 00 00 00 FF 0F A3 [23:32:34]RasterBufferAndPrint [23:32:34]line Счет N : (3)129557 [23:32:34]line ИНН: 02508201610067 [23:32:34]line Контрольно-Кассовый Чек [23:32:34]line ПРОДАЖА [23:32:34]line Товар: 4870001570095 [23:32:34]line Напиток Pepsi 2л [23:32:34]line 1.000 * 210.00 [23:32:34]line = 210.00 [23:32:34]line НДС 12% НСП 1% [23:32:34]line > о реализуемом товаре [23:32:34]line ИТОГО: 210.00 [23:32:34]line НСП 1% : 1.86 [23:32:34]line НДС 12% : 22.30 [23:32:34]line Наличными: 210.00 [23:32:34]line Безнал.: 0.00 [23:32:34]line Место: АЗС № 132 "Партнер Нефть" [23:32:34]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:32:34]line СНО: Общий режим [23:32:34]line Чек 116 14.07.2024 23:32 [23:32:34]line Смена: 496 ФФД: 1.0 [23:32:34]line ЗНМ: 0300000132 [23:32:34]line РНМ: 0000000000091208 [23:32:34]line Версия ККМ: 001 [23:32:34]line ФМ: 0000000000874857 [23:32:34]line ФД: 57099 [23:32:34]line ФПД: 280149551532468 [23:32:34]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T233236&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57099&fm=280149551532468&tin=02508201610067®Number=0000000000091208&sum=21000 [23:32:35]OFD Sender: Processing packet 57099 [packets to send 38, broken 37] [23:32:35]ProducePacketName [23:32:35]name=ofd_packets/00057099 [23:32:35]OFD Sender: To server: pG, [23:32:35]CommunicateWithHost lk.salyk.kg:30040 [23:32:35]ConnectInit lk.salyk.kg [23:32:35]line 0 [23:32:35]written 0, free lines is 4095 [23:32:35]Connected sock=10 [23:32:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1E 01 00 00 DE AB 16 01 01 FC 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 74 00 00 00 F4 03 04 00 14 60 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0B DF 00 00 35 04 06 00 FE CB 66 80 C9 B4 6F E9 1B 04 0A C7 ED 01 [23:32:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 8C 44 47 00 88 13 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0B DF 00 00 F4 03 04 00 64 06 94 66 B6 04 01 00 00 D6 9F 9E 48 5B 39 E5 81 [23:32:35]CommunicateWithHost err = 0 [23:32:35]CheckOFDResponse [23:32:35]1017 (14) - 77093643461234 [23:32:35]1041 (16) - 0000000000874857 [23:32:35]1040 (4) - 57099 [23:32:35]1012 (4) - 14.07.2024 17:09 [23:32:35]1206 (1) - 0 [23:32:35]OFD Sender: Remove packet 57099 [23:32:35]ProducePacketName [23:32:35]name=ofd_packets/00057099 [23:32:35]NVStorageDeleteData [23:32:35]Write to MH i2c: 01 00 00 9F 17 B6 [23:32:35]Write i2c OK [23:32:35]MH_I2C_Read... [23:32:35]Read from MH i2c: 01 [23:32:35]MH_I2C_Read... [23:32:35]Read from MH i2c: 01 07 00 [23:32:35]MH_I2C_Read... [23:32:35]Read from MH i2c: 01 07 00 9F 17 00 00 00 00 00 05 0D CF [23:32:35]RasterBufferAndPrint [23:32:35]line [23:32:35]line [23:32:35]line [23:32:35]line [23:32:35]line [23:32:35]written 0, free lines is 3340 [23:32:35]MH_Cut [23:32:35]Write to MH i2c: D1 01 00 A6 17 01 8F [23:32:35]Write i2c OK [23:32:35]MH_I2C_Read... [23:32:35]Read from MH i2c: D1 [23:32:35]MH_I2C_Read... [23:32:35]Read from MH i2c: D1 01 00 [23:32:35]MH_I2C_Read... [23:32:35]Read from MH i2c: D1 01 00 A6 17 00 8E [23:32:35]Write to MH i2c: 01 00 00 A7 17 BE [23:32:35]Write i2c OK [23:32:35]MH_I2C_Read... [23:32:35]OFD Sender: No OFD packet to send [23:32:36]*** Cut start [23:32:36]*** Partial cut [23:32:36]*** CUTSNS_PIN = 1 [23:32:36]*** CUTSNS_PIN = 0 [23:32:36]*** Brake cut motor [23:32:36]Read from MH i2c: 01 [23:32:36]MH_I2C_Read... [23:32:36]*** Stop cut motor [23:32:36]*** Cut end [23:32:36]Read from MH i2c: 01 07 00 [23:32:36]MH_I2C_Read... [23:32:36]Read from MH i2c: 01 07 00 A7 17 00 00 00 00 00 FF 0F D3 [23:32:36]process_action close_receipt done [23:32:36]requested_data is exist [23:32:36]produce_requested_data [23:32:36]requested_item fm.sn is exist - process it [23:32:36]wFMCommunicate request_size=4 [23:32:36]MH_SAM_APDU [23:32:36]CAPDU: 80 11 00 00 [23:32:36]Write to MH i2c: E2 08 00 A8 17 80 11 00 00 00 00 00 00 39 [23:32:36]Write i2c OK [23:32:36]MH_I2C_Read... [23:32:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:32:36]Read from MH i2c: E2 [23:32:36]MH_I2C_Read... [23:32:36]Read from MH i2c: E2 17 00 [23:32:36]MH_I2C_Read... [23:32:36]Read from MH i2c: E2 17 00 A8 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 93 [23:32:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:32:36]wFMCommunicate OK [23:32:36]requested_item fd.num is exist - process it [23:32:36]SAM_PROTO_GetFieldsCounters [23:32:36]wFMCommunicate request_size=4 [23:32:36]MH_SAM_APDU [23:32:36]CAPDU: 80 13 00 00 [23:32:36]Write to MH i2c: E2 08 00 A9 17 80 13 00 00 00 00 00 00 3C [23:32:36]Write i2c OK [23:32:36]MH_I2C_Read... [23:32:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:32:37]Read from MH i2c: E2 [23:32:37]MH_I2C_Read... [23:32:37]Read from MH i2c: E2 62 00 [23:32:37]MH_I2C_Read... [23:32:37]Read from MH i2c: E2 62 00 A9 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0B DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 74 00 00 00 5E 04 04 00 74 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [23:32:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0B DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 74 00 00 00 5E 04 04 00 74 00 00 00 57 04 04 00 75 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:32:37]wFMCommunicate OK [23:32:37]SAM_PROTO_GetFieldsCounters done [23:32:37]requested_item shift.num is exist - process it [23:32:37]requested_item shift.opened is exist - process it [23:32:37]req_shift_opened [23:32:37]FM_GetShiftState [23:32:37]SAM_PROTO_GetShiftState [23:32:37]wFMCommunicate request_size=4 [23:32:37]MH_SAM_APDU [23:32:37]CAPDU: 80 13 01 00 [23:32:37]Write to MH i2c: E2 08 00 AA 17 80 13 01 00 00 00 00 00 3E [23:32:37]Write i2c OK [23:32:37]MH_I2C_Read... [23:32:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:32:37]Read from MH i2c: E2 [23:32:37]MH_I2C_Read... [23:32:37]Read from MH i2c: E2 0E 00 [23:32:37]MH_I2C_Read... [23:32:37]Read from MH i2c: E2 0E 00 AA 17 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 E5 [23:32:37]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:32:37]wFMCommunicate OK [23:32:37]SAM_PROTO_GetShiftState done [23:32:37]FM_GetShiftState done [23:32:37]req_shift_opened done [23:32:37]requested_item shift.open_date is exist - process it [23:32:37]req_shift_open_date [23:32:37]req_shift_open_date done [23:32:37]requested_item shift.sale.total is exist - process it [23:32:37]SAM_PROTO_GetShiftData [23:32:37]wFMCommunicate request_size=4 [23:32:37]MH_SAM_APDU [23:32:37]CAPDU: 80 13 02 00 [23:32:37]Write to MH i2c: E2 08 00 AB 17 80 13 02 00 00 00 00 00 40 [23:32:37]Write i2c OK [23:32:37]MH_I2C_Read... [23:32:37]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:32:37]Read from MH i2c: E2 [23:32:37]MH_I2C_Read... [23:32:37]Read from MH i2c: E2 FD 00 [23:32:37]MH_I2C_Read... [23:32:37]Read from MH i2c: E2 FD 00 AB 17 00 BB 04 AA 04 B7 04 6E 04 04 00 74 00 00 00 69 04 9B 00 6F 04 04 00 72 00 00 00 B1 04 03 00 2B 94 38 70 04 03 00 2C ED 2C 72 04 03 00 FF A6 0B 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 3D 02 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 23 80 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 73 [23:32:37]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 74 00 00 00 69 04 9B 00 6F 04 04 00 72 00 00 00 B1 04 03 00 2B 94 38 70 04 03 00 2C ED 2C 72 04 03 00 FF A6 0B 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 3D 02 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 23 80 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:32:37]wFMCommunicate OK [23:32:37]wFMCommunicate request_size=4 [23:32:37]MH_SAM_APDU [23:32:37]CAPDU: 80 17 00 00 [23:32:37]Write to MH i2c: E2 08 00 AC 17 80 17 00 00 00 00 00 00 43 [23:32:37]Write i2c OK [23:32:37]MH_I2C_Read... [23:32:37]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:32:37]Read from MH i2c: E2 [23:32:37]MH_I2C_Read... [23:32:37]Read from MH i2c: E2 FD 00 [23:32:37]MH_I2C_Read... [23:32:37]Read from MH i2c: E2 FD 00 AC 17 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D6 [23:32:37]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:32:37]wFMCommunicate OK [23:32:37]wFMCommunicate request_size=4 [23:32:37]MH_SAM_APDU [23:32:37]CAPDU: 80 17 00 00 [23:32:37]Write to MH i2c: E2 08 00 AD 17 80 17 00 00 00 00 00 00 44 [23:32:38]Write i2c OK [23:32:38]MH_I2C_Read... [23:32:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:32:38]Read from MH i2c: E2 [23:32:38]MH_I2C_Read... [23:32:38]Read from MH i2c: E2 FD 00 [23:32:38]MH_I2C_Read... [23:32:38]Read from MH i2c: E2 FD 00 AD 17 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 70 [23:32:38]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:32:38]wFMCommunicate OK [23:32:38]wFMCommunicate request_size=4 [23:32:38]MH_SAM_APDU [23:32:38]CAPDU: 80 17 00 00 [23:32:38]Write to MH i2c: E2 08 00 AE 17 80 17 00 00 00 00 00 00 45 [23:32:38]Write i2c OK [23:32:38]MH_I2C_Read... [23:32:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:32:38]Read from MH i2c: E2 [23:32:38]MH_I2C_Read... [23:32:38]Read from MH i2c: E2 FD 00 [23:32:38]MH_I2C_Read... [23:32:38]Read from MH i2c: E2 FD 00 AE 17 00 00 00 EF 03 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 90 00 BA [23:32:38]RAPDU: 00 00 EF 03 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 90 00 [23:32:38]wFMCommunicate OK [23:32:38]wFMCommunicate request_size=4 [23:32:38]MH_SAM_APDU [23:32:38]CAPDU: 80 17 00 00 [23:32:38]Write to MH i2c: E2 08 00 AF 17 80 17 00 00 00 00 00 00 46 [23:32:38]Write i2c OK [23:32:38]MH_I2C_Read... [23:32:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:32:38]Read from MH i2c: E2 [23:32:38]MH_I2C_Read... [23:32:38]Read from MH i2c: E2 D8 00 [23:32:38]MH_I2C_Read... [23:32:38]Read from MH i2c: E2 D8 00 AF 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:32:38]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:32:38]wFMCommunicate OK [23:32:38]SAM_PROTO_GetShiftData done [23:32:38]requested_item shift.sale.total_cash is exist - process it [23:32:38]requested_item shift.sale_refund.total is exist - process it [23:32:38]requested_item shift.sale_refund.total_cash is exist - process it [23:32:38]produce_requested_data done [23:32:38]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57099,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":37079.47,"shift.sale.total_cash":29443.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [23:32:38]process_action_free close_receipt [23:32:38]json_value_free [23:32:38]json_value_free done [23:32:38]process_json_proto returns [23:32:38]Send response to host [23:32:38]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57099,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":37079.47,"shift.sale.total_cash":29443.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [23:32:38]free response buf [23:32:38]execute_script done [23:32:38]execute_script returns [23:32:38]free content buf [23:32:38]Sock 9.Close socket [23:32:38]Sock 9.Thread stoped [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:37:01]OFD Sender: No OFD packet to send [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:11]OFD Sender: No OFD packet to send [23:42:16]OFD Sender: No OFD packet to send [23:42:21]OFD Sender: No OFD packet to send [23:42:26]OFD Sender: No OFD packet to send [23:42:31]OFD Sender: No OFD packet to send [23:42:36]OFD Sender: No OFD packet to send [23:42:41]OFD Sender: No OFD packet to send [23:42:46]OFD Sender: No OFD packet to send [23:42:51]OFD Sender: No OFD packet to send [23:42:56]OFD Sender: No OFD packet to send [23:43:01]OFD Sender: No OFD packet to send [23:43:06]OFD Sender: No OFD packet to send [23:43:11]OFD Sender: No OFD packet to send [23:43:16]OFD Sender: No OFD packet to send [23:43:21]OFD Sender: No OFD packet to send [23:43:26]OFD Sender: No OFD packet to send [23:43:31]OFD Sender: No OFD packet to send [23:43:36]OFD Sender: No OFD packet to send [23:43:41]OFD Sender: No OFD packet to send [23:43:46]OFD Sender: No OFD packet to send [23:43:51]OFD Sender: No OFD packet to send [23:43:56]OFD Sender: No OFD packet to send [23:44:01]OFD Sender: No OFD packet to send [23:44:06]OFD Sender: No OFD packet to send [23:44:11]OFD Sender: No OFD packet to send [23:44:16]OFD Sender: No OFD packet to send [23:44:19]accept exits with 7 [23:44:19]New connection [23:44:19]New thread 3067592036 created [23:44:19]Thread 3067448676 joined [23:44:19]Waiting for new connection... [23:44:19] Sock 7.Parse request [23:44:19]Sock 7.Check first char [23:44:19]Sock 7.First char is OK [23:44:19]request: POST /json_proto HTTP/1.0 [23:44:19]Method: POST [23:44:19]URL: /json_proto [23:44:19]Method is POST - this is cgi request [23:44:19]url: /json_proto [23:44:19]query_string will be loaded in cgi processing [23:44:19]execute_cgi json_proto POST (null) [23:44:19]execute_cgi path=json_proto method=POST [23:44:19]POST find Content-Length [23:44:19]Host: 172.17.39.4:8080 [23:44:19]Content-Length: 916 [23:44:19]Content-Type: application/json [23:44:19] [23:44:19]POST finish read [23:44:19]Found Content-Length = 916 [23:44:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129558", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:44:19]execute_script... [23:44:19]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129558", "tax_sys" : 0, "items" : [ { "code": "2000036220012", "name": "\u041A\u043E\u0444\u0435 \u041A\u0430\u043F\u0443\u0447\u0438\u043D\u043E XL(GABB TRADE)", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u041E! \u0434\u0435\u043D\u044C\u0433\u0438", "payments": [ { "type": 1, "sum" : 130.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:44:19]POST & json_proto [23:44:19]process_json_proto [23:44:19]json parsed OK: [23:44:19]protocol is kg_v1.0 [23:44:19]action value=close_receipt [23:44:19]process_action close_receipt [23:44:19]cmd_close_receipt [23:44:19]MH_GetDate [23:44:19]Write to MH i2c: F0 00 00 B0 17 B6 [23:44:19]Write i2c OK [23:44:19]MH_I2C_Read... [23:44:19]Read from MH i2c: F0 [23:44:19]MH_I2C_Read... [23:44:19]Read from MH i2c: F0 09 00 [23:44:19]MH_I2C_Read... [23:44:19]Read from MH i2c: F0 09 00 B0 17 00 D7 62 94 66 2D 25 5D 64 05 [23:44:19]GetLastDocTimeStamp 1720999956 [23:44:19]current date 1721000663 [23:44:19]FM_GetShiftState [23:44:19]SAM_PROTO_GetShiftState [23:44:19]wFMCommunicate request_size=4 [23:44:19]MH_SAM_APDU [23:44:19]CAPDU: 80 13 01 00 [23:44:19]Write to MH i2c: E2 08 00 B1 17 80 13 01 00 00 00 00 00 45 [23:44:19]Write i2c OK [23:44:19]MH_I2C_Read... [23:44:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:44:19]Read from MH i2c: E2 [23:44:19]MH_I2C_Read... [23:44:19]Read from MH i2c: E2 0E 00 [23:44:19]MH_I2C_Read... [23:44:19]Read from MH i2c: E2 0E 00 B1 17 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 EC [23:44:19]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:44:19]wFMCommunicate OK [23:44:19]SAM_PROTO_GetShiftState done [23:44:19]FM_GetShiftState done [23:44:19]opened in 1720917126 [23:44:19]opened+sec_in_day 1721003526 [23:44:19]quantity*price = 13000 [23:44:19]sum+1 = 13001 [23:44:19]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 130.00 НСП 1% : 1.15 НДС 12% : 13.80 Наличными: 0.00 Безнал.: 130.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 117 14.07.2024 23:44 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: О! деньги ФМ: 0000000000874857 ФД: 57100 ФПД: 64930200983181 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T234423&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57100&fm=64930200983181&tin=02508201610067®Number=0000000000091208&sum=13000 0 [23:44:21]StoreToDocumentArchive [23:44:21]shift 496 fd 57100 [23:44:21]save to /storage/0496/doc_00057100 [23:44:21]save last doc name /storage/0496/doc_00057100 to /storage/kkm_last_doc_name [23:44:21]save OK [23:44:21]Clear old archive folders... [23:44:21]ProcessDocumentItem done err = 0, tmpTLVsize=282 [23:44:21]tlvbuf is B6E44010 [23:44:21]SAM_PROTO_ClearQueue [23:44:21]wFMCommunicate request_size=4 [23:44:21]MH_SAM_APDU [23:44:21]CAPDU: 80 09 00 00 [23:44:21]Write to MH i2c: E2 08 00 BE 17 80 09 00 00 00 00 00 00 47 [23:44:21]Write i2c OK [23:44:21]MH_I2C_Read... [23:44:21]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:44:21]Read from MH i2c: E2 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 03 00 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 03 00 BE 17 00 90 00 49 [23:44:21]RAPDU: 90 00 [23:44:21]wFMCommunicate OK [23:44:21]SAM_PROTO_ClearQueue done [23:44:21]KKMCreateOFDPacket [23:44:21]OFDProtocolAddRootSTLVToBuf [23:44:21]FM_MakeSignedData [23:44:21]FM_MakeSignedData [23:44:21]SAM_PROTO_SignData [23:44:21]wFMCommunicate request_size=4 [23:44:21]MH_SAM_APDU [23:44:21]CAPDU: 80 0D 01 02 [23:44:21]Write to MH i2c: E2 08 00 BF 17 80 0D 01 02 00 00 00 00 4F [23:44:21]Write i2c OK [23:44:21]MH_I2C_Read... [23:44:21]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:44:21]Read from MH i2c: E2 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 03 00 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 03 00 BF 17 00 90 00 4A [23:44:21]RAPDU: 90 00 [23:44:21]wFMCommunicate OK [23:44:21]wFMCommunicate request_size=255 [23:44:21]MH_SAM_APDU [23:44:21]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 D7 62 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [23:44:21]Write to MH i2c: E2 02 01 C0 17 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 D7 62 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 F2 [23:44:21]Write i2c OK [23:44:21]MH_I2C_Read... [23:44:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:44:21]Read from MH i2c: E2 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 03 00 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 03 00 C0 17 00 90 00 4B [23:44:21]RAPDU: 90 00 [23:44:21]wFMCommunicate OK [23:44:21]wFMCommunicate request_size=41 [23:44:21]MH_SAM_APDU [23:44:21]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0C DF 00 00 35 04 06 00 3B 0D BD 90 96 8D [23:44:21]Write to MH i2c: E2 2C 00 C1 17 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0C DF 00 00 35 04 06 00 3B 0D BD 90 96 8D 00 00 CB [23:44:21]Write i2c OK [23:44:21]MH_I2C_Read... [23:44:21]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:44:21]Read from MH i2c: E2 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 03 00 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 03 00 C1 17 00 90 00 4C [23:44:21]RAPDU: 90 00 [23:44:21]wFMCommunicate OK [23:44:21]wFMCommunicate request_size=4 [23:44:21]MH_SAM_APDU [23:44:21]CAPDU: 80 0D 03 02 [23:44:21]Write to MH i2c: E2 08 00 C2 17 80 0D 03 02 00 00 00 00 54 [23:44:21]Write i2c OK [23:44:21]MH_I2C_Read... [23:44:21]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:44:21]Read from MH i2c: E2 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 0B 00 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 0B 00 C2 17 00 4E 65 59 20 6F 7E F8 23 90 00 89 [23:44:21]RAPDU: 4E 65 59 20 6F 7E F8 23 90 00 [23:44:21]wFMCommunicate OK [23:44:21]SAM_PROTO_SignData done [23:44:21]FM_MakeSignedData done [23:44:21]CreateOFDProtocolMessage [23:44:21]wFMCommunicate request_size=4 [23:44:21]MH_SAM_APDU [23:44:21]CAPDU: 80 11 00 00 [23:44:21]Write to MH i2c: E2 08 00 C3 17 80 11 00 00 00 00 00 00 54 [23:44:21]Write i2c OK [23:44:21]MH_I2C_Read... [23:44:21]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:44:21]Read from MH i2c: E2 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 17 00 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: E2 17 00 C3 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AE [23:44:21]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:44:21]wFMCommunicate OK [23:44:21]CreateOFDProtocolMessage done [23:44:21]OFDSenderStorePacket 57100 [23:44:21]StoreOFDPacket docnum=57100 [23:44:21]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 93 19 26 01 C3 60 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 D7 62 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0C DF 00 00 35 04 06 00 3B 0D BD 90 96 8D 4E 65 59 20 6F 7E F8 23 [23:44:21]CheckFolder [23:44:21]dirname=/storage/ofd_packets [23:44:21]CheckFolder done [23:44:21]ProducePacketName [23:44:21]name=ofd_packets/00057100 [23:44:21]NVStorageSaveData ofd_packets/00057100 [23:44:21]File name is /storage/ofd_packets/00057100 [23:44:21]Write 332 bytes [23:44:21]NVStorageSaveData done [23:44:21]OFDSenderStorePacket done [23:44:21]KKMCreateOFDPacket done [23:44:21]NVStorageSaveData kkm_last_timestamp [23:44:21]File name is /storage/kkm_last_timestamp [23:44:21]Write 4 bytes [23:44:21]NVStorageSaveData done [23:44:21]ExternCall_PrintAddStr [23:44:21]wPrintStart [23:44:21]Write to MH i2c: 01 00 00 C4 17 DB [23:44:21]Write i2c OK [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: 01 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: 01 07 00 [23:44:21]MH_I2C_Read... [23:44:21]Read from MH i2c: 01 07 00 C4 17 00 00 00 00 00 FF 0F F0 [23:44:21]RasterBufferAndPrint [23:44:21]line Счет N : (3)129558 [23:44:21]line ИНН: 02508201610067 [23:44:21]line Контрольно-Кассовый Чек [23:44:21]line ПРОДАЖА [23:44:21]line Товар: 2000036220012 [23:44:21]line Кофе Капучино XL(GABB TRADE) [23:44:21]line 1.000 * 130.00 [23:44:21]line = 130.00 [23:44:21]line НДС 12% НСП 1% [23:44:21]line > о реализуемом товаре [23:44:21]line ИТОГО: 130.00 [23:44:21]line НСП 1% : 1.15 [23:44:21]line НДС 12% : 13.80 [23:44:21]line Наличными: 0.00 [23:44:21]line Безнал.: 130.00 [23:44:21]line Место: АЗС № 132 "Партнер Нефть" [23:44:21]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:44:21]line СНО: Общий режим [23:44:21]line Чек 117 14.07.2024 23:44 [23:44:21]line Смена: 496 ФФД: 1.0 [23:44:21]line ЗНМ: 0300000132 [23:44:21]line РНМ: 0000000000091208 [23:44:21]line Версия ККМ: 001 [23:44:21]line Платежная система: О! деньги [23:44:21]line ФМ: 0000000000874857 [23:44:21]line ФД: 57100 [23:44:21]line ФПД: 64930200983181 [23:44:21]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T234423&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57100&fm=64930200983181&tin=02508201610067®Number=0000000000091208&sum=13000 [23:44:21]line 0 [23:44:21]OFD Sender: Processing packet 57100 [packets to send 38, broken 37] [23:44:21]ProducePacketName [23:44:21]name=ofd_packets/00057100 [23:44:21]OFD Sender: To server: pG, [23:44:21]CommunicateWithHost lk.salyk.kg:30040 [23:44:21]ConnectInit lk.salyk.kg [23:44:21]written 0, free lines is 4095 [23:44:22]Connected sock=10 [23:44:22]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 93 19 26 01 C3 60 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 36 32 32 30 30 31 32 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 9A D0 B0 D0 BF D1 83 D1 87 D0 B8 D0 BD D0 BE 20 58 4C 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 32 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 73 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 64 05 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 32 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 75 00 00 00 F4 03 04 00 D7 62 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0C DF 00 00 35 04 06 00 3B 0D BD 90 96 8D 4E 65 59 20 6F 7E F8 23 [23:44:22]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 80 11 47 00 92 3C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0C DF 00 00 F4 03 04 00 27 09 94 66 B6 04 01 00 00 8A 41 F9 67 62 66 AD ED [23:44:22]CommunicateWithHost err = 0 [23:44:22]CheckOFDResponse [23:44:22]1017 (14) - 77093643461234 [23:44:22]1041 (16) - 0000000000874857 [23:44:22]1040 (4) - 57100 [23:44:22]1012 (4) - 14.07.2024 17:21 [23:44:22]1206 (1) - 0 [23:44:22]OFD Sender: Remove packet 57100 [23:44:22]ProducePacketName [23:44:22]name=ofd_packets/00057100 [23:44:22]NVStorageDeleteData [23:44:22]Write to MH i2c: 01 00 00 EF 17 06 [23:44:22]Write i2c OK [23:44:22]MH_I2C_Read... [23:44:22]Read from MH i2c: 01 [23:44:22]MH_I2C_Read... [23:44:22]Read from MH i2c: 01 07 00 [23:44:22]MH_I2C_Read... [23:44:22]Read from MH i2c: 01 07 00 EF 17 00 00 00 00 00 CF 0C E8 [23:44:22]RasterBufferAndPrint [23:44:22]line [23:44:22]line [23:44:22]line [23:44:22]line [23:44:22]line [23:44:22]written 0, free lines is 3285 [23:44:22]MH_Cut [23:44:22]Write to MH i2c: D1 01 00 F6 17 01 DF [23:44:22]Write i2c OK [23:44:22]MH_I2C_Read... [23:44:22]Read from MH i2c: D1 [23:44:22]MH_I2C_Read... [23:44:22]Read from MH i2c: D1 01 00 [23:44:22]MH_I2C_Read... [23:44:22]Read from MH i2c: D1 01 00 F6 17 00 DE [23:44:22]Write to MH i2c: 01 00 00 F7 17 0E [23:44:22]Write i2c OK [23:44:22]MH_I2C_Read... [23:44:22]OFD Sender: No OFD packet to send [23:44:23]*** Cut start [23:44:23]*** Partial cut [23:44:23]*** CUTSNS_PIN = 1 [23:44:23]*** CUTSNS_PIN = 0 [23:44:23]*** Brake cut motor [23:44:23]Read from MH i2c: 01 [23:44:23]MH_I2C_Read... [23:44:23]*** Stop cut motor [23:44:23]*** Cut end [23:44:23]Read from MH i2c: 01 07 00 [23:44:23]MH_I2C_Read... [23:44:23]Read from MH i2c: 01 07 00 F7 17 00 00 00 00 00 FF 0F 23 [23:44:23]process_action close_receipt done [23:44:23]requested_data is exist [23:44:23]produce_requested_data [23:44:23]requested_item fm.sn is exist - process it [23:44:23]wFMCommunicate request_size=4 [23:44:23]MH_SAM_APDU [23:44:23]CAPDU: 80 11 00 00 [23:44:23]Write to MH i2c: E2 08 00 F8 17 80 11 00 00 00 00 00 00 89 [23:44:23]Write i2c OK [23:44:23]MH_I2C_Read... [23:44:23]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:44:23]Read from MH i2c: E2 [23:44:23]MH_I2C_Read... [23:44:23]Read from MH i2c: E2 17 00 [23:44:23]MH_I2C_Read... [23:44:23]Read from MH i2c: E2 17 00 F8 17 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E3 [23:44:23]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:44:23]wFMCommunicate OK [23:44:23]requested_item fd.num is exist - process it [23:44:23]SAM_PROTO_GetFieldsCounters [23:44:23]wFMCommunicate request_size=4 [23:44:23]MH_SAM_APDU [23:44:23]CAPDU: 80 13 00 00 [23:44:23]Write to MH i2c: E2 08 00 F9 17 80 13 00 00 00 00 00 00 8C [23:44:23]Write i2c OK [23:44:23]MH_I2C_Read... [23:44:24]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:44:24]Read from MH i2c: E2 [23:44:24]MH_I2C_Read... [23:44:24]Read from MH i2c: E2 62 00 [23:44:24]MH_I2C_Read... [23:44:24]Read from MH i2c: E2 62 00 F9 17 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0C DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 75 00 00 00 5E 04 04 00 75 00 00 00 57 04 04 00 76 00 00 00 19 04 04 00 00 00 00 00 90 00 EA [23:44:24]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0C DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 75 00 00 00 5E 04 04 00 75 00 00 00 57 04 04 00 76 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:44:24]wFMCommunicate OK [23:44:24]SAM_PROTO_GetFieldsCounters done [23:44:24]requested_item shift.num is exist - process it [23:44:24]requested_item shift.opened is exist - process it [23:44:24]req_shift_opened [23:44:24]FM_GetShiftState [23:44:24]SAM_PROTO_GetShiftState [23:44:24]wFMCommunicate request_size=4 [23:44:24]MH_SAM_APDU [23:44:24]CAPDU: 80 13 01 00 [23:44:24]Write to MH i2c: E2 08 00 FA 17 80 13 01 00 00 00 00 00 8E [23:44:24]Write i2c OK [23:44:24]MH_I2C_Read... [23:44:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:44:24]Read from MH i2c: E2 [23:44:24]MH_I2C_Read... [23:44:24]Read from MH i2c: E2 0E 00 [23:44:24]MH_I2C_Read... [23:44:24]Read from MH i2c: E2 0E 00 FA 17 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 35 [23:44:24]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:44:24]wFMCommunicate OK [23:44:24]SAM_PROTO_GetShiftState done [23:44:24]FM_GetShiftState done [23:44:24]req_shift_opened done [23:44:24]requested_item shift.open_date is exist - process it [23:44:24]req_shift_open_date [23:44:24]req_shift_open_date done [23:44:24]requested_item shift.sale.total is exist - process it [23:44:24]SAM_PROTO_GetShiftData [23:44:24]wFMCommunicate request_size=4 [23:44:24]MH_SAM_APDU [23:44:24]CAPDU: 80 13 02 00 [23:44:24]Write to MH i2c: E2 08 00 FB 17 80 13 02 00 00 00 00 00 90 [23:44:24]Write i2c OK [23:44:24]MH_I2C_Read... [23:44:24]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:44:24]Read from MH i2c: E2 [23:44:24]MH_I2C_Read... [23:44:24]Read from MH i2c: E2 FD 00 [23:44:24]MH_I2C_Read... [23:44:24]Read from MH i2c: E2 FD 00 FB 17 00 BB 04 AA 04 B7 04 6E 04 04 00 75 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 F3 C6 38 70 04 03 00 2C ED 2C 72 04 03 00 C7 D9 0B 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 A1 07 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 96 80 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 96 [23:44:24]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 75 00 00 00 69 04 9B 00 6F 04 04 00 73 00 00 00 B1 04 03 00 F3 C6 38 70 04 03 00 2C ED 2C 72 04 03 00 C7 D9 0B 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 A1 07 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 96 80 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:44:24]wFMCommunicate OK [23:44:24]wFMCommunicate request_size=4 [23:44:24]MH_SAM_APDU [23:44:24]CAPDU: 80 17 00 00 [23:44:24]Write to MH i2c: E2 08 00 FC 17 80 17 00 00 00 00 00 00 93 [23:44:24]Write i2c OK [23:44:24]MH_I2C_Read... [23:44:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:44:24]Read from MH i2c: E2 [23:44:24]MH_I2C_Read... [23:44:24]Read from MH i2c: E2 FD 00 [23:44:24]MH_I2C_Read... [23:44:24]Read from MH i2c: E2 FD 00 FC 17 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 26 [23:44:24]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:44:24]wFMCommunicate OK [23:44:24]wFMCommunicate request_size=4 [23:44:24]MH_SAM_APDU [23:44:24]CAPDU: 80 17 00 00 [23:44:24]Write to MH i2c: E2 08 00 FD 17 80 17 00 00 00 00 00 00 94 [23:44:24]Write i2c OK [23:44:24]MH_I2C_Read... [23:44:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:44:25]Read from MH i2c: E2 [23:44:25]MH_I2C_Read... [23:44:25]Read from MH i2c: E2 FD 00 [23:44:25]MH_I2C_Read... [23:44:25]Read from MH i2c: E2 FD 00 FD 17 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C0 [23:44:25]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:44:25]wFMCommunicate OK [23:44:25]wFMCommunicate request_size=4 [23:44:25]MH_SAM_APDU [23:44:25]CAPDU: 80 17 00 00 [23:44:25]Write to MH i2c: E2 08 00 FE 17 80 17 00 00 00 00 00 00 95 [23:44:25]Write i2c OK [23:44:25]MH_I2C_Read... [23:44:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:44:25]Read from MH i2c: E2 [23:44:25]MH_I2C_Read... [23:44:25]Read from MH i2c: E2 FD 00 [23:44:25]MH_I2C_Read... [23:44:25]Read from MH i2c: E2 FD 00 FE 17 00 00 00 EF 03 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 90 00 0A [23:44:25]RAPDU: 00 00 EF 03 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 90 00 [23:44:25]wFMCommunicate OK [23:44:25]wFMCommunicate request_size=4 [23:44:25]MH_SAM_APDU [23:44:25]CAPDU: 80 17 00 00 [23:44:25]Write to MH i2c: E2 08 00 FF 17 80 17 00 00 00 00 00 00 96 [23:44:25]Write i2c OK [23:44:25]MH_I2C_Read... [23:44:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:44:25]Read from MH i2c: E2 [23:44:25]MH_I2C_Read... [23:44:25]Read from MH i2c: E2 D8 00 [23:44:25]MH_I2C_Read... [23:44:25]Read from MH i2c: E2 D8 00 FF 17 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 7D [23:44:25]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:44:25]wFMCommunicate OK [23:44:25]SAM_PROTO_GetShiftData done [23:44:25]requested_item shift.sale.total_cash is exist - process it [23:44:25]requested_item shift.sale_refund.total is exist - process it [23:44:25]requested_item shift.sale_refund.total_cash is exist - process it [23:44:25]produce_requested_data done [23:44:25]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57100,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":37209.47,"shift.sale.total_cash":29443.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [23:44:25]process_action_free close_receipt [23:44:25]json_value_free [23:44:25]json_value_free done [23:44:25]process_json_proto returns [23:44:25]Send response to host [23:44:25]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57100,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":37209.47,"shift.sale.total_cash":29443.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [23:44:25]free response buf [23:44:25]execute_script done [23:44:25]execute_script returns [23:44:25]free content buf [23:44:25]Sock 7.Close socket [23:44:25]Sock 7.Thread stoped [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:23]OFD Sender: No OFD packet to send [23:47:28]OFD Sender: No OFD packet to send [23:47:33]OFD Sender: No OFD packet to send [23:47:38]OFD Sender: No OFD packet to send [23:47:43]OFD Sender: No OFD packet to send [23:47:48]OFD Sender: No OFD packet to send [23:47:53]OFD Sender: No OFD packet to send [23:47:58]OFD Sender: No OFD packet to send [23:48:03]OFD Sender: No OFD packet to send [23:48:08]OFD Sender: No OFD packet to send [23:48:13]OFD Sender: No OFD packet to send [23:48:18]OFD Sender: No OFD packet to send [23:48:23]OFD Sender: No OFD packet to send [23:48:28]OFD Sender: No OFD packet to send [23:48:33]OFD Sender: No OFD packet to send [23:48:38]OFD Sender: No OFD packet to send [23:48:43]OFD Sender: No OFD packet to send [23:48:48]OFD Sender: No OFD packet to send [23:48:53]OFD Sender: No OFD packet to send [23:48:58]OFD Sender: No OFD packet to send [23:49:03]OFD Sender: No OFD packet to send [23:49:08]OFD Sender: No OFD packet to send [23:49:13]OFD Sender: No OFD packet to send [23:49:18]OFD Sender: No OFD packet to send [23:49:23]OFD Sender: No OFD packet to send [23:49:28]OFD Sender: No OFD packet to send [23:49:33]OFD Sender: No OFD packet to send [23:49:38]OFD Sender: No OFD packet to send [23:49:43]OFD Sender: No OFD packet to send [23:49:48]OFD Sender: No OFD packet to send [23:49:53]OFD Sender: No OFD packet to send [23:49:58]OFD Sender: No OFD packet to send [23:50:03]OFD Sender: No OFD packet to send [23:50:08]OFD Sender: No OFD packet to send [23:50:13]OFD Sender: No OFD packet to send [23:50:18]OFD Sender: No OFD packet to send [23:50:23]OFD Sender: No OFD packet to send [23:50:28]OFD Sender: No OFD packet to send [23:50:33]OFD Sender: No OFD packet to send [23:50:38]OFD Sender: No OFD packet to send [23:50:43]OFD Sender: No OFD packet to send [23:50:48]OFD Sender: No OFD packet to send [23:50:53]OFD Sender: No OFD packet to send [23:50:58]OFD Sender: No OFD packet to send [23:51:03]OFD Sender: No OFD packet to send [23:51:08]OFD Sender: No OFD packet to send [23:51:13]OFD Sender: No OFD packet to send [23:51:18]OFD Sender: No OFD packet to send [23:51:23]OFD Sender: No OFD packet to send [23:51:28]OFD Sender: No OFD packet to send [23:51:33]OFD Sender: No OFD packet to send [23:51:38]OFD Sender: No OFD packet to send [23:51:43]OFD Sender: No OFD packet to send [23:51:48]OFD Sender: No OFD packet to send [23:51:53]OFD Sender: No OFD packet to send [23:51:58]OFD Sender: No OFD packet to send [23:52:03]OFD Sender: No OFD packet to send [23:52:08]OFD Sender: No OFD packet to send [23:52:13]OFD Sender: No OFD packet to send [23:52:18]OFD Sender: No OFD packet to send [23:52:23]OFD Sender: No OFD packet to send [23:52:28]OFD Sender: No OFD packet to send [23:52:33]OFD Sender: No OFD packet to send [23:52:38]OFD Sender: No OFD packet to send [23:52:43]OFD Sender: No OFD packet to send [23:52:48]OFD Sender: No OFD packet to send [23:52:53]OFD Sender: No OFD packet to send [23:52:58]OFD Sender: No OFD packet to send [23:53:03]OFD Sender: No OFD packet to send [23:53:08]OFD Sender: No OFD packet to send [23:53:13]OFD Sender: No OFD packet to send [23:53:14]accept exits with 9 [23:53:14]New connection [23:53:14]New thread 3067448676 created [23:53:14]Thread 3067592036 joined [23:53:14]Waiting for new connection... [23:53:14] Sock 9.Parse request [23:53:14]Sock 9.Check first char [23:53:14]Sock 9.First char is OK [23:53:14]request: POST /json_proto HTTP/1.0 [23:53:14]Method: POST [23:53:14]URL: /json_proto [23:53:14]Method is POST - this is cgi request [23:53:14]url: /json_proto [23:53:14]query_string will be loaded in cgi processing [23:53:14]execute_cgi json_proto POST (null) [23:53:14]execute_cgi path=json_proto method=POST [23:53:14]POST find Content-Length [23:53:14]Host: 172.17.39.4:8080 [23:53:14]Content-Length: 945 [23:53:14]Content-Type: application/json [23:53:14] [23:53:14]POST finish read [23:53:14]Found Content-Length = 945 [23:53:14]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129559", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:53:14]execute_script... [23:53: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)129559", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [23:53:14]POST & json_proto [23:53:14]process_json_proto [23:53:14]json parsed OK: [23:53:14]protocol is kg_v1.0 [23:53:14]action value=close_receipt [23:53:14]process_action close_receipt [23:53:14]cmd_close_receipt [23:53:14]MH_GetDate [23:53:14]Write to MH i2c: F0 00 00 00 18 07 [23:53:14]Write i2c OK [23:53:14]MH_I2C_Read... [23:53:14]Read from MH i2c: F0 [23:53:14]MH_I2C_Read... [23:53:14]Read from MH i2c: F0 09 00 [23:53:14]MH_I2C_Read... [23:53:14]Read from MH i2c: F0 09 00 00 18 00 EE 64 94 66 2D 25 5D 64 6F [23:53:14]GetLastDocTimeStamp 1721000663 [23:53:14]current date 1721001198 [23:53:14]FM_GetShiftState [23:53:14]SAM_PROTO_GetShiftState [23:53:14]wFMCommunicate request_size=4 [23:53:14]MH_SAM_APDU [23:53:14]CAPDU: 80 13 01 00 [23:53:14]Write to MH i2c: E2 08 00 01 18 80 13 01 00 00 00 00 00 96 [23:53:14]Write i2c OK [23:53:14]MH_I2C_Read... [23:53:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:15]Read from MH i2c: E2 [23:53:15]MH_I2C_Read... [23:53:15]Read from MH i2c: E2 0E 00 [23:53:15]MH_I2C_Read... [23:53:15]Read from MH i2c: E2 0E 00 01 18 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 3D [23:53:15]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:53:15]wFMCommunicate OK [23:53:15]SAM_PROTO_GetShiftState done [23:53:15]FM_GetShiftState done [23:53:15]opened in 1720917126 [23:53:15]opened+sec_in_day 1721003526 [23:53:15]quantity*price = 18000 [23:53:15]sum+1 = 18001 [23:53:15]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 0.00 Безнал.: 180.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 118 14.07.2024 23:53 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57101 ФПД: 176725494881587 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T235318&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57101&fm=176725494881587&tin=02508201610067®Number=0000000000091208&sum=18000 0 [23:53:16]StoreToDocumentArchive [23:53:16]shift 496 fd 57101 [23:53:16]save to /storage/0496/doc_00057101 [23:53:16]save last doc name /storage/0496/doc_00057101 to /storage/kkm_last_doc_name [23:53:16]save OK [23:53:16]Clear old archive folders... [23:53:16]ProcessDocumentItem done err = 0, tmpTLVsize=272 [23:53:16]tlvbuf is B6FF1180 [23:53:16]SAM_PROTO_ClearQueue [23:53:16]wFMCommunicate request_size=4 [23:53:16]MH_SAM_APDU [23:53:16]CAPDU: 80 09 00 00 [23:53:16]Write to MH i2c: E2 08 00 0E 18 80 09 00 00 00 00 00 00 98 [23:53:16]Write i2c OK [23:53:16]MH_I2C_Read... [23:53:16]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [23:53:16]Read from MH i2c: E2 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 03 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 03 00 0E 18 00 90 00 9A [23:53:16]RAPDU: 90 00 [23:53:16]wFMCommunicate OK [23:53:16]SAM_PROTO_ClearQueue done [23:53:16]KKMCreateOFDPacket [23:53:16]OFDProtocolAddRootSTLVToBuf [23:53:16]FM_MakeSignedData [23:53:16]FM_MakeSignedData [23:53:16]SAM_PROTO_SignData [23:53:16]wFMCommunicate request_size=4 [23:53:16]MH_SAM_APDU [23:53:16]CAPDU: 80 0D 01 02 [23:53:16]Write to MH i2c: E2 08 00 0F 18 80 0D 01 02 00 00 00 00 A0 [23:53:16]Write i2c OK [23:53:16]MH_I2C_Read... [23:53:16]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [23:53:16]Read from MH i2c: E2 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 03 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 03 00 0F 18 00 90 00 9B [23:53:16]RAPDU: 90 00 [23:53:16]wFMCommunicate OK [23:53:16]wFMCommunicate request_size=255 [23:53:16]MH_SAM_APDU [23:53:16]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 EE 64 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [23:53:16]Write to MH i2c: E2 02 01 10 18 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 EE 64 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 2B [23:53:16]Write i2c OK [23:53:16]MH_I2C_Read... [23:53:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:16]Read from MH i2c: E2 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 03 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 03 00 10 18 00 90 00 9C [23:53:16]RAPDU: 90 00 [23:53:16]wFMCommunicate OK [23:53:16]wFMCommunicate request_size=31 [23:53:16]MH_SAM_APDU [23:53:16]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 0D DF 00 00 35 04 06 00 A0 BB 1C 58 5D 33 [23:53:16]Write to MH i2c: E2 22 00 11 18 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 0D DF 00 00 35 04 06 00 A0 BB 1C 58 5D 33 00 00 20 [23:53:16]Write i2c OK [23:53:16]MH_I2C_Read... [23:53:16]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [23:53:16]Read from MH i2c: E2 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 03 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 03 00 11 18 00 90 00 9D [23:53:16]RAPDU: 90 00 [23:53:16]wFMCommunicate OK [23:53:16]wFMCommunicate request_size=4 [23:53:16]MH_SAM_APDU [23:53:16]CAPDU: 80 0D 03 02 [23:53:16]Write to MH i2c: E2 08 00 12 18 80 0D 03 02 00 00 00 00 A5 [23:53:16]Write i2c OK [23:53:16]MH_I2C_Read... [23:53:16]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [23:53:16]Read from MH i2c: E2 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 0B 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 0B 00 12 18 00 5E 92 C1 89 49 73 79 5D 90 00 72 [23:53:16]RAPDU: 5E 92 C1 89 49 73 79 5D 90 00 [23:53:16]wFMCommunicate OK [23:53:16]SAM_PROTO_SignData done [23:53:16]FM_MakeSignedData done [23:53:16]CreateOFDProtocolMessage [23:53:16]wFMCommunicate request_size=4 [23:53:16]MH_SAM_APDU [23:53:16]CAPDU: 80 11 00 00 [23:53:16]Write to MH i2c: E2 08 00 13 18 80 11 00 00 00 00 00 00 A5 [23:53:16]Write i2c OK [23:53:16]MH_I2C_Read... [23:53:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:16]Read from MH i2c: E2 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 17 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: E2 17 00 13 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 FF [23:53:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:53:16]wFMCommunicate OK [23:53:16]CreateOFDProtocolMessage done [23:53:16]OFDSenderStorePacket 57101 [23:53:16]StoreOFDPacket docnum=57101 [23:53:16]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 9D 33 1C 01 07 C4 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 EE 64 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0D DF 00 00 35 04 06 00 A0 BB 1C 58 5D 33 5E 92 C1 89 49 73 79 5D [23:53:16]CheckFolder [23:53:16]dirname=/storage/ofd_packets [23:53:16]CheckFolder done [23:53:16]ProducePacketName [23:53:16]name=ofd_packets/00057101 [23:53:16]NVStorageSaveData ofd_packets/00057101 [23:53:16]File name is /storage/ofd_packets/00057101 [23:53:16]Write 322 bytes [23:53:16]NVStorageSaveData done [23:53:16]OFDSenderStorePacket done [23:53:16]KKMCreateOFDPacket done [23:53:16]NVStorageSaveData kkm_last_timestamp [23:53:16]File name is /storage/kkm_last_timestamp [23:53:16]Write 4 bytes [23:53:16]NVStorageSaveData done [23:53:16]ExternCall_PrintAddStr [23:53:16]wPrintStart [23:53:16]Write to MH i2c: 01 00 00 14 18 2C [23:53:16]Write i2c OK [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: 01 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: 01 07 00 [23:53:16]MH_I2C_Read... [23:53:16]Read from MH i2c: 01 07 00 14 18 00 00 00 00 00 FF 0F 41 [23:53:16]RasterBufferAndPrint [23:53:16]line Счет N : (3)129559 [23:53:16]line ИНН: 02508201610067 [23:53:16]line Контрольно-Кассовый Чек [23:53:16]line ПРОДАЖА [23:53:16]line Товар: 4700000480517 [23:53:16]line Пиво Живое 1л ПЭТ [23:53:16]line 1.000 * 180.00 [23:53:16]line = 180.00 [23:53:16]line НДС 12% НСП 1% [23:53:16]line > о реализуемом товаре [23:53:16]line ИТОГО: 180.00 [23:53:16]line НСП 1% : 1.59 [23:53:16]line НДС 12% : 19.11 [23:53:16]line Наличными: 0.00 [23:53:16]line Безнал.: 180.00 [23:53:16]line Место: АЗС № 132 "Партнер Нефть" [23:53:16]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [23:53:16]line СНО: Общий режим [23:53:16]line Чек 118 14.07.2024 23:53 [23:53:16]line Смена: 496 ФФД: 1.0 [23:53:16]line ЗНМ: 0300000132 [23:53:16]line РНМ: 0000000000091208 [23:53:16]line Версия ККМ: 001 [23:53:16]line Платежная система: АКБ Кыргызстан [23:53:16]line ФМ: 0000000000874857 [23:53:16]line ФД: 57101 [23:53:16]line ФПД: 176725494881587 [23:53:16]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240714T235318&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57101&fm=176725494881587&tin=02508201610067®Number=0000000000091208&sum=18000 [23:53:17]OFD Sender: Processing packet 57101 [packets to send 38, broken 37] [23:53:17]ProducePacketName [23:53:17]name=ofd_packets/00057101 [23:53:17]OFD Sender: To server: pG, [23:53:17]CommunicateWithHost lk.salyk.kg:30040 [23:53:17]ConnectInit lk.salyk.kg [23:53:17]line 0 [23:53:17]written 0, free lines is 4095 [23:53:17]Connected sock=10 [23:53:17]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 9D 33 1C 01 07 C4 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 76 00 00 00 F4 03 04 00 EE 64 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0D DF 00 00 35 04 06 00 A0 BB 1C 58 5D 33 5E 92 C1 89 49 73 79 5D [23:53:17]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 73 F6 47 00 73 1E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0D DF 00 00 F4 03 04 00 3E 0B 94 66 B6 04 01 00 00 0B 0C 7F E5 14 DF 0F 73 [23:53:17]CommunicateWithHost err = 0 [23:53:17]CheckOFDResponse [23:53:17]1017 (14) - 77093643461234 [23:53:17]1041 (16) - 0000000000874857 [23:53:17]1040 (4) - 57101 [23:53:17]1012 (4) - 14.07.2024 17:30 [23:53:17]1206 (1) - 0 [23:53:17]OFD Sender: Remove packet 57101 [23:53:17]ProducePacketName [23:53:17]name=ofd_packets/00057101 [23:53:17]NVStorageDeleteData [23:53:17]Write to MH i2c: 01 00 00 3E 18 56 [23:53:17]Write i2c OK [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: 01 07 00 3E 18 00 00 00 00 00 F6 0C 5F [23:53:17]RasterBufferAndPrint [23:53:17]line [23:53:17]line [23:53:17]line [23:53:17]line [23:53:17]line [23:53:17]written 0, free lines is 3327 [23:53:17]MH_Cut [23:53:17]Write to MH i2c: D1 01 00 45 18 01 2F [23:53:17]Write i2c OK [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: D1 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: D1 01 00 [23:53:17]MH_I2C_Read... [23:53:17]Read from MH i2c: D1 01 00 45 18 00 2E [23:53:17]Write to MH i2c: 01 00 00 46 18 5E [23:53:17]Write i2c OK [23:53:17]MH_I2C_Read... [23:53:17]OFD Sender: No OFD packet to send [23:53:18]*** Cut start [23:53:18]*** Partial cut [23:53:18]*** CUTSNS_PIN = 1 [23:53:18]*** CUTSNS_PIN = 0 [23:53:18]*** Brake cut motor [23:53:18]Read from MH i2c: 01 [23:53:18]MH_I2C_Read... [23:53:18]*** Stop cut motor [23:53:18]*** Cut end [23:53:18]Read from MH i2c: 01 07 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: 01 07 00 46 18 00 00 00 00 00 FF 0F 73 [23:53:18]process_action close_receipt done [23:53:18]requested_data is exist [23:53:18]produce_requested_data [23:53:18]requested_item fm.sn is exist - process it [23:53:18]wFMCommunicate request_size=4 [23:53:18]MH_SAM_APDU [23:53:18]CAPDU: 80 11 00 00 [23:53:18]Write to MH i2c: E2 08 00 47 18 80 11 00 00 00 00 00 00 D9 [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:18]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [23:53:18]Read from MH i2c: E2 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: E2 17 00 [23:53:18]MH_I2C_Read... [23:53:18]Read from MH i2c: E2 17 00 47 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 33 [23:53:18]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [23:53:18]wFMCommunicate OK [23:53:18]requested_item fd.num is exist - process it [23:53:18]SAM_PROTO_GetFieldsCounters [23:53:18]wFMCommunicate request_size=4 [23:53:18]MH_SAM_APDU [23:53:18]CAPDU: 80 13 00 00 [23:53:18]Write to MH i2c: E2 08 00 48 18 80 13 00 00 00 00 00 00 DC [23:53:18]Write i2c OK [23:53:18]MH_I2C_Read... [23:53:19]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [23:53:19]Read from MH i2c: E2 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: E2 62 00 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: E2 62 00 48 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0D DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 76 00 00 00 5E 04 04 00 76 00 00 00 57 04 04 00 77 00 00 00 19 04 04 00 00 00 00 00 90 00 3E [23:53:19]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0D DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 76 00 00 00 5E 04 04 00 76 00 00 00 57 04 04 00 77 00 00 00 19 04 04 00 00 00 00 00 90 00 [23:53:19]wFMCommunicate OK [23:53:19]SAM_PROTO_GetFieldsCounters done [23:53:19]requested_item shift.num is exist - process it [23:53:19]requested_item shift.opened is exist - process it [23:53:19]req_shift_opened [23:53:19]FM_GetShiftState [23:53:19]SAM_PROTO_GetShiftState [23:53:19]wFMCommunicate request_size=4 [23:53:19]MH_SAM_APDU [23:53:19]CAPDU: 80 13 01 00 [23:53:19]Write to MH i2c: E2 08 00 49 18 80 13 01 00 00 00 00 00 DE [23:53:19]Write i2c OK [23:53:19]MH_I2C_Read... [23:53:19]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [23:53:19]Read from MH i2c: E2 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: E2 0E 00 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: E2 0E 00 49 18 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 85 [23:53:19]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [23:53:19]wFMCommunicate OK [23:53:19]SAM_PROTO_GetShiftState done [23:53:19]FM_GetShiftState done [23:53:19]req_shift_opened done [23:53:19]requested_item shift.open_date is exist - process it [23:53:19]req_shift_open_date [23:53:19]req_shift_open_date done [23:53:19]requested_item shift.sale.total is exist - process it [23:53:19]SAM_PROTO_GetShiftData [23:53:19]wFMCommunicate request_size=4 [23:53:19]MH_SAM_APDU [23:53:19]CAPDU: 80 13 02 00 [23:53:19]Write to MH i2c: E2 08 00 4A 18 80 13 02 00 00 00 00 00 E0 [23:53:19]Write i2c OK [23:53:19]MH_I2C_Read... [23:53:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [23:53:19]Read from MH i2c: E2 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: E2 FD 00 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: E2 FD 00 4A 18 00 BB 04 AA 04 B7 04 6E 04 04 00 76 00 00 00 69 04 9B 00 6F 04 04 00 74 00 00 00 B1 04 03 00 43 0D 39 70 04 03 00 2C ED 2C 72 04 03 00 17 20 0C 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 18 0F 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 37 [23:53:19]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 76 00 00 00 69 04 9B 00 6F 04 04 00 74 00 00 00 B1 04 03 00 43 0D 39 70 04 03 00 2C ED 2C 72 04 03 00 17 20 0C 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 18 0F 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [23:53:19]wFMCommunicate OK [23:53:19]wFMCommunicate request_size=4 [23:53:19]MH_SAM_APDU [23:53:19]CAPDU: 80 17 00 00 [23:53:19]Write to MH i2c: E2 08 00 4B 18 80 17 00 00 00 00 00 00 E3 [23:53:19]Write i2c OK [23:53:19]MH_I2C_Read... [23:53:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:19]Read from MH i2c: E2 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: E2 FD 00 [23:53:19]MH_I2C_Read... [23:53:19]Read from MH i2c: E2 FD 00 4B 18 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 76 [23:53:19]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:19]wFMCommunicate OK [23:53:19]wFMCommunicate request_size=4 [23:53:19]MH_SAM_APDU [23:53:19]CAPDU: 80 17 00 00 [23:53:19]Write to MH i2c: E2 08 00 4C 18 80 17 00 00 00 00 00 00 E4 [23:53:19]Write i2c OK [23:53:19]MH_I2C_Read... [23:53:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:20]Read from MH i2c: E2 [23:53:20]MH_I2C_Read... [23:53:20]Read from MH i2c: E2 FD 00 [23:53:20]MH_I2C_Read... [23:53:20]Read from MH i2c: E2 FD 00 4C 18 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 10 [23:53:20]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [23:53:20]wFMCommunicate OK [23:53:20]wFMCommunicate request_size=4 [23:53:20]MH_SAM_APDU [23:53:20]CAPDU: 80 17 00 00 [23:53:20]Write to MH i2c: E2 08 00 4D 18 80 17 00 00 00 00 00 00 E5 [23:53:20]Write i2c OK [23:53:20]MH_I2C_Read... [23:53:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [23:53:20]Read from MH i2c: E2 [23:53:20]MH_I2C_Read... [23:53:20]Read from MH i2c: E2 FD 00 [23:53:20]MH_I2C_Read... [23:53:20]Read from MH i2c: E2 FD 00 4D 18 00 00 00 EF 03 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 90 00 5A [23:53:20]RAPDU: 00 00 EF 03 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 90 00 [23:53:20]wFMCommunicate OK [23:53:20]wFMCommunicate request_size=4 [23:53:20]MH_SAM_APDU [23:53:20]CAPDU: 80 17 00 00 [23:53:20]Write to MH i2c: E2 08 00 4E 18 80 17 00 00 00 00 00 00 E6 [23:53:20]Write i2c OK [23:53:20]MH_I2C_Read... [23:53:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [23:53:20]Read from MH i2c: E2 [23:53:20]MH_I2C_Read... [23:53:20]Read from MH i2c: E2 D8 00 [23:53:20]MH_I2C_Read... [23:53:20]Read from MH i2c: E2 D8 00 4E 18 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 CD [23:53:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:53:20]wFMCommunicate OK [23:53:20]SAM_PROTO_GetShiftData done [23:53:20]requested_item shift.sale.total_cash is exist - process it [23:53:20]requested_item shift.sale_refund.total is exist - process it [23:53:20]requested_item shift.sale_refund.total_cash is exist - process it [23:53:20]produce_requested_data done [23:53:20]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57101,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":37389.47,"shift.sale.total_cash":29443.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [23:53:20]process_action_free close_receipt [23:53:20]json_value_free [23:53:20]json_value_free done [23:53:20]process_json_proto returns [23:53:20]Send response to host [23:53:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57101,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":37389.47,"shift.sale.total_cash":29443.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [23:53:20]free response buf [23:53:20]execute_script done [23:53:20]execute_script returns [23:53:20]free content buf [23:53:20]Sock 9.Close socket [23:53:20]Sock 9.Thread stoped [23:53:22]OFD Sender: No OFD packet to send [23:53:27]OFD Sender: No OFD packet to send [23:53:32]OFD Sender: No OFD packet to send [23:53:37]OFD Sender: No OFD packet to send [23:53:42]OFD Sender: No OFD packet to send [23:53:47]OFD Sender: No OFD packet to send [23:53:52]OFD Sender: No OFD packet to send [23:53:57]OFD Sender: No OFD packet to send [23:54:02]OFD Sender: No OFD packet to send [23:54:07]OFD Sender: No OFD packet to send [23:54:12]OFD Sender: No OFD packet to send [23:54:17]OFD Sender: No OFD packet to send [23:54:22]OFD Sender: No OFD packet to send [23:54:27]OFD Sender: No OFD packet to send [23:54:32]OFD Sender: No OFD packet to send [23:54:37]OFD Sender: No OFD packet to send [23:54:42]OFD Sender: No OFD packet to send [23:54:48]OFD Sender: No OFD packet to send [23:54:53]OFD Sender: No OFD packet to send [23:54:58]OFD Sender: No OFD packet to send [23:55:03]OFD Sender: No OFD packet to send [23:55:08]OFD Sender: No OFD packet to send [23:55:13]OFD Sender: No OFD packet to send [23:55:18]OFD Sender: No OFD packet to send [23:55:23]OFD Sender: No OFD packet to send [23:55:28]OFD Sender: No OFD packet to send [23:55:33]OFD Sender: No OFD packet to send [23:55:38]OFD Sender: No OFD packet to send [23:55:43]OFD Sender: No OFD packet to send [23:55:48]OFD Sender: No OFD packet to send [23:55:53]OFD Sender: No OFD packet to send [23:55:58]OFD Sender: No OFD packet to send [23:56:03]OFD Sender: No OFD packet to send [23:56:08]OFD Sender: No OFD packet to send [23:56:13]OFD Sender: No OFD packet to send [23:56:18]OFD Sender: No OFD packet to send [23:56:23]OFD Sender: No OFD packet to send [23:56:28]OFD Sender: No OFD packet to send [23:56:33]OFD Sender: No OFD packet to send [23:56:38]OFD Sender: No OFD packet to send [23:56:43]OFD Sender: No OFD packet to send [23:56:48]OFD Sender: No OFD packet to send [23:56:53]OFD Sender: No OFD packet to send [23:56:58]OFD Sender: No OFD packet to send [23:57:03]OFD Sender: No OFD packet to send [23:57:08]OFD Sender: No OFD packet to send [23:57:13]OFD Sender: No OFD packet to send [23:57:18]OFD Sender: No OFD packet to send [23:57:23]OFD Sender: No OFD packet to send [23:57:28]OFD Sender: No OFD packet to send [23:57:33]OFD Sender: No OFD packet to send [23:57:38]OFD Sender: No OFD packet to send [23:57:43]OFD Sender: No OFD packet to send [23:57:48]OFD Sender: No OFD packet to send [23:57:53]OFD Sender: No OFD packet to send [23:57:58]OFD Sender: No OFD packet to send [23:58:03]OFD Sender: No OFD packet to send [23:58:08]OFD Sender: No OFD packet to send [23:58:13]OFD Sender: No OFD packet to send [23:58:18]OFD Sender: No OFD packet to send [23:58:23]OFD Sender: No OFD packet to send [23:58:28]OFD Sender: No OFD packet to send [23:58:33]OFD Sender: No OFD packet to send [23:58:38]OFD Sender: No OFD packet to send [23:58:43]OFD Sender: No OFD packet to send [23:58:48]OFD Sender: No OFD packet to send [23:58:53]OFD Sender: No OFD packet to send [23:58:58]OFD Sender: No OFD packet to send [23:59:03]OFD Sender: No OFD packet to send [23:59:08]OFD Sender: No OFD packet to send [23:59:13]OFD Sender: No OFD packet to send [23:59:18]OFD Sender: No OFD packet to send [23:59:23]OFD Sender: No OFD packet to send [23:59:28]OFD Sender: No OFD packet to send [23:59:33]OFD Sender: No OFD packet to send [23:59:38]OFD Sender: No OFD packet to send [23:59:43]OFD Sender: No OFD packet to send [23:59:48]OFD Sender: No OFD packet to send [23:59:53]OFD Sender: No OFD packet to send [23:59:58]OFD Sender: No OFD packet to send [00:00:03]OFD Sender: No OFD packet to send [00:00:08]OFD Sender: No OFD packet to send [00:00:13]OFD Sender: No OFD packet to send [00:00:18]OFD Sender: No OFD packet to send [00:00:23]OFD Sender: No OFD packet to send [00:00:28]OFD Sender: No OFD packet to send [00:00:33]OFD Sender: No OFD packet to send [00:00:38]OFD Sender: No OFD packet to send [00:00:43]OFD Sender: No OFD packet to send [00:00:48]OFD Sender: No OFD packet to send [00:00:53]OFD Sender: No OFD packet to send [00:00:58]OFD Sender: No OFD packet to send [00:01:03]OFD Sender: No OFD packet to send [00:01:08]OFD Sender: No OFD packet to send [00:01:13]OFD Sender: No OFD packet to send [00:01:18]OFD Sender: No OFD packet to send [00:01:23]OFD Sender: No OFD packet to send [00:01:28]OFD Sender: No OFD packet to send [00:01:33]OFD Sender: No OFD packet to send [00:01:38]OFD Sender: No OFD packet to send [00:01:43]OFD Sender: No OFD packet to send [00:01:48]OFD Sender: No OFD packet to send [00:01:53]OFD Sender: No OFD packet to send [00:01:58]OFD Sender: No OFD packet to send [00:02:03]OFD Sender: No OFD packet to send [00:02:08]OFD Sender: No OFD packet to send [00:02:13]OFD Sender: No OFD packet to send [00:02:18]OFD Sender: No OFD packet to send [00:02:23]OFD Sender: No OFD packet to send [00:02:28]OFD Sender: No OFD packet to send [00:02:33]OFD Sender: No OFD packet to send [00:02:38]OFD Sender: No OFD packet to send [00:02:43]OFD Sender: No OFD packet to send [00:02:48]OFD Sender: No OFD packet to send [00:02:53]OFD Sender: No OFD packet to send [00:02:58]OFD Sender: No OFD packet to send [00:03:03]OFD Sender: No OFD packet to send [00:03:08]OFD Sender: No OFD packet to send [00:03:13]OFD Sender: No OFD packet to send [00:03:18]OFD Sender: No OFD packet to send [00:03:23]OFD Sender: No OFD packet to send [00:03:28]OFD Sender: No OFD packet to send [00:03:33]OFD Sender: No OFD packet to send [00:03:38]OFD Sender: No OFD packet to send [00:03:43]OFD Sender: No OFD packet to send [00:03:48]OFD Sender: No OFD packet to send [00:03:53]OFD Sender: No OFD packet to send [00:03:58]OFD Sender: No OFD packet to send [00:04:03]OFD Sender: No OFD packet to send [00:04:08]OFD Sender: No OFD packet to send [00:04:13]OFD Sender: No OFD packet to send [00:04:18]OFD Sender: No OFD packet to send [00:04:23]OFD Sender: No OFD packet to send [00:04:28]OFD Sender: No OFD packet to send [00:04:33]OFD Sender: No OFD packet to send [00:04:38]OFD Sender: No OFD packet to send [00:04:43]OFD Sender: No OFD packet to send [00:04:48]OFD Sender: No OFD packet to send [00:04:53]OFD Sender: No OFD packet to send [00:04:58]OFD Sender: No OFD packet to send [00:05:03]OFD Sender: No OFD packet to send [00:05:08]OFD Sender: No OFD packet to send [00:05:13]OFD Sender: No OFD packet to send [00:05:18]OFD Sender: No OFD packet to send [00:05:23]OFD Sender: No OFD packet to send [00:05:28]OFD Sender: No OFD packet to send [00:05:33]OFD Sender: No OFD packet to send [00:05:38]OFD Sender: No OFD packet to send [00:05:43]OFD Sender: No OFD packet to send [00:05:48]OFD Sender: No OFD packet to send [00:05:53]OFD Sender: No OFD packet to send [00:05:58]OFD Sender: No OFD packet to send [00:06:03]OFD Sender: No OFD packet to send [00:06:08]OFD Sender: No OFD packet to send [00:06:13]OFD Sender: No OFD packet to send [00:06:18]OFD Sender: No OFD packet to send [00:06:19]accept exits with 7 [00:06:19]New connection [00:06:19]New thread 3067592036 created [00:06:19]Thread 3067448676 joined [00:06:19]Waiting for new connection... [00:06:19] Sock 7.Parse request [00:06:19]Sock 7.Check first char [00:06:19]Sock 7.First char is OK [00:06:19]request: POST /json_proto HTTP/1.0 [00:06:19]Method: POST [00:06:19]URL: /json_proto [00:06:19]Method is POST - this is cgi request [00:06:19]url: /json_proto [00:06:19]query_string will be loaded in cgi processing [00:06:19]execute_cgi json_proto POST (null) [00:06:19]execute_cgi path=json_proto method=POST [00:06:19]POST find Content-Length [00:06:19]Host: 172.17.39.4:8080 [00:06:19]Content-Length: 4447 [00:06:19]Content-Type: application/json [00:06:19] [00:06:19]POST finish read [00:06:19]Found Content-Length = 4447 [00:06:19]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129560", "tax_sys" : 0, "items" : [ { "code": "8591207777748", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432\u044B Datex 3\u0448\u0442", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214645", "name": "\u0420/\u0436 mentos pure white \u043A\u043B\u0443\u0431 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8809010083469", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0430 NEW KUMO \u043C\u0438\u043A\u0440\u043E\u0444\u0438\u0431 \u0436\u0435\u043B\u0442\u0430\u044F", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 2.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 1.000, "sum" : 155.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1489.00 } ], "post_footer_text": "0" [00:06:19]execute_script... [00:06:20]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129560", "tax_sys" : 0, "items" : [ { "code": "8591207777748", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432\u044B Datex 3\u0448\u0442", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214645", "name": "\u0420/\u0436 mentos pure white \u043A\u043B\u0443\u0431 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8809010083469", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0430 NEW KUMO \u043C\u0438\u043A\u0440\u043E\u0444\u0438\u0431 \u0436\u0435\u043B\u0442\u0430\u044F", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 2.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 1.000, "sum" : 155.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1489.00 } ], "post_footer_text": "0" [00:06:20]POST & json_proto [00:06:20]process_json_proto [00:06:20]json parse error [00:06:20]process_json_proto returns [00:06:20]execute_script returns [00:06:20]free content buf [00:06:20]Sock 7.Close socket [00:06:20]Sock 7.Thread stoped [00:06:23]OFD Sender: No OFD packet to send [00:06:28]OFD Sender: No OFD packet to send [00:06:33]OFD Sender: No OFD packet to send [00:06:38]OFD Sender: No OFD packet to send [00:06:43]OFD Sender: No OFD packet to send [00:06:48]OFD Sender: No OFD packet to send [00:06:53]OFD Sender: No OFD packet to send [00:06:58]OFD Sender: No OFD packet to send [00:07:03]OFD Sender: No OFD packet to send [00:07:08]OFD Sender: No OFD packet to send [00:07:13]OFD Sender: No OFD packet to send [00:07:18]OFD Sender: No OFD packet to send [00:07:23]OFD Sender: No OFD packet to send [00:07:28]OFD Sender: No OFD packet to send [00:07:33]OFD Sender: No OFD packet to send [00:07:38]OFD Sender: No OFD packet to send [00:07:43]OFD Sender: No OFD packet to send [00:07:48]OFD Sender: No OFD packet to send [00:07:53]OFD Sender: No OFD packet to send [00:07:58]OFD Sender: No OFD packet to send [00:08:03]OFD Sender: No OFD packet to send [00:08:08]OFD Sender: No OFD packet to send [00:08:13]OFD Sender: No OFD packet to send [00:08:16]accept exits with 9 [00:08:16]New connection [00:08:16]New thread 3067448676 created [00:08:16]Thread 3067592036 joined [00:08:16]Waiting for new connection... [00:08:16] Sock 9.Parse request [00:08:16]Sock 9.Check first char [00:08:16]Sock 9.First char is OK [00:08:16]request: POST /json_proto HTTP/1.0 [00:08:16]Method: POST [00:08:16]URL: /json_proto [00:08:16]Method is POST - this is cgi request [00:08:16]url: /json_proto [00:08:16]query_string will be loaded in cgi processing [00:08:16]execute_cgi json_proto POST (null) [00:08:16]execute_cgi path=json_proto method=POST [00:08:16]POST find Content-Length [00:08:16]Host: 172.17.39.4:8080 [00:08:16]Content-Length: 215 [00:08:16]Content-Type: application/json [00:08:16] [00:08:16]POST finish read [00:08:16]Found Content-Length = 215 [00:08:16]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:16]execute_script... [00:08:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:08:16]POST & json_proto [00:08:16]process_json_proto [00:08:16]json parsed OK: [00:08:16]protocol is kg_v1.0 [00:08:16]action value=get_value [00:08:16]process_action get_value [00:08:16]cmd_get_value [00:08:16]process_action get_value done [00:08:16]requested_data is exist [00:08:16]produce_requested_data [00:08:16]requested_item kkm.sn is exist - process it [00:08:16]requested_item kkm.ver is exist - process it [00:08:16]requested_item fm.sn is exist - process it [00:08:16]wFMCommunicate request_size=4 [00:08:16]MH_SAM_APDU [00:08:16]CAPDU: 80 11 00 00 [00:08:16]Write to MH i2c: E2 08 00 4F 18 80 11 00 00 00 00 00 00 E1 [00:08:16]Write i2c OK [00:08:16]MH_I2C_Read... [00:08:16]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:16]Read from MH i2c: E2 [00:08:16]MH_I2C_Read... [00:08:16]Read from MH i2c: E2 17 00 [00:08:16]MH_I2C_Read... [00:08:16]Read from MH i2c: E2 17 00 4F 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3B [00:08:16]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:08:16]wFMCommunicate OK [00:08:16]requested_item fd.num is exist - process it [00:08:16]SAM_PROTO_GetFieldsCounters [00:08:16]wFMCommunicate request_size=4 [00:08:16]MH_SAM_APDU [00:08:16]CAPDU: 80 13 00 00 [00:08:16]Write to MH i2c: E2 08 00 50 18 80 13 00 00 00 00 00 00 E4 [00:08:16]Write i2c OK [00:08:16]MH_I2C_Read... [00:08:17]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:08:17]Read from MH i2c: E2 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 62 00 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 62 00 50 18 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0D DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 76 00 00 00 5E 04 04 00 76 00 00 00 57 04 04 00 77 00 00 00 19 04 04 00 00 00 00 00 90 00 46 [00:08:17]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0D DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 76 00 00 00 5E 04 04 00 76 00 00 00 57 04 04 00 77 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:08:17]wFMCommunicate OK [00:08:17]SAM_PROTO_GetFieldsCounters done [00:08:17]requested_item shift.num is exist - process it [00:08:17]requested_item shift.opened is exist - process it [00:08:17]req_shift_opened [00:08:17]FM_GetShiftState [00:08:17]SAM_PROTO_GetShiftState [00:08:17]wFMCommunicate request_size=4 [00:08:17]MH_SAM_APDU [00:08:17]CAPDU: 80 13 01 00 [00:08:17]Write to MH i2c: E2 08 00 51 18 80 13 01 00 00 00 00 00 E6 [00:08:17]Write i2c OK [00:08:17]MH_I2C_Read... [00:08:17]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:17]Read from MH i2c: E2 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 0E 00 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 0E 00 51 18 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 8D [00:08:17]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:08:17]wFMCommunicate OK [00:08:17]SAM_PROTO_GetShiftState done [00:08:17]FM_GetShiftState done [00:08:17]req_shift_opened done [00:08:17]requested_item shift.open_date is exist - process it [00:08:17]req_shift_open_date [00:08:17]req_shift_open_date done [00:08:17]produce_requested_data done [00:08:17]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57101,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126} [00:08:17]process_action_free get_value [00:08:17]json_value_free [00:08:17]json_value_free done [00:08:17]process_json_proto returns [00:08:17]Send response to host [00:08:17]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57101,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126}}} [00:08:17]free response buf [00:08:17]execute_script done [00:08:17]execute_script returns [00:08:17]free content buf [00:08:17]Sock 9.Close socket [00:08:17]Sock 9.Thread stoped [00:08:17]accept exits with 7 [00:08:17]New connection [00:08:17]New thread 3067592036 created [00:08:17]Thread 3067448676 joined [00:08:17]Waiting for new connection... [00:08:17] Sock 7.Parse request [00:08:17]Sock 7.Check first char [00:08:17]Sock 7.First char is OK [00:08:17]request: POST /json_proto HTTP/1.0 [00:08:17]Method: POST [00:08:17]URL: /json_proto [00:08:17]Method is POST - this is cgi request [00:08:17]url: /json_proto [00:08:17]query_string will be loaded in cgi processing [00:08:17]execute_cgi json_proto POST (null) [00:08:17]execute_cgi path=json_proto method=POST [00:08:17]POST find Content-Length [00:08:17]Host: 172.17.39.4:8080 [00:08:17]Content-Length: 331 [00:08:17]Content-Type: application/json [00:08:17] [00:08:17]POST finish read [00:08:17]Found Content-Length = 331 [00:08:17]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:08:17]execute_script... [00:08:17]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:08:17]POST & json_proto [00:08:17]process_json_proto [00:08:17]json parsed OK: [00:08:17]protocol is kg_v1.0 [00:08:17]action value=get_value [00:08:17]process_action get_value [00:08:17]cmd_get_value [00:08:17]process_action get_value done [00:08:17]requested_data is exist [00:08:17]produce_requested_data [00:08:17]requested_item fm.sale.total is exist - process it [00:08:17]SAM_PROTO_GetFMData [00:08:17]wFMCommunicate request_size=4 [00:08:17]MH_SAM_APDU [00:08:17]CAPDU: 80 13 03 00 [00:08:17]Write to MH i2c: E2 08 00 52 18 80 13 03 00 00 00 00 00 E9 [00:08:17]Write i2c OK [00:08:17]MH_I2C_Read... [00:08:17]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:08:17]Read from MH i2c: E2 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 FD 00 [00:08:17]MH_I2C_Read... [00:08:17]Read from MH i2c: E2 FD 00 52 18 00 C4 04 85 04 C0 04 6E 04 04 00 2C DB 00 00 69 04 A0 00 6F 04 04 00 7B DA 00 00 B1 04 04 00 97 71 81 6D 70 04 04 00 48 6B 2C 61 72 04 04 00 4F 06 55 0C 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 09 5F A1 0B 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 3D 05 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 1F [00:08:17]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2C DB 00 00 69 04 A0 00 6F 04 04 00 7B DA 00 00 B1 04 04 00 97 71 81 6D 70 04 04 00 48 6B 2C 61 72 04 04 00 4F 06 55 0C 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 09 5F A1 0B 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 3D 05 F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:08:17]wFMCommunicate OK [00:08:17]wFMCommunicate request_size=4 [00:08:17]MH_SAM_APDU [00:08:17]CAPDU: 80 17 00 00 [00:08:17]Write to MH i2c: E2 08 00 53 18 80 17 00 00 00 00 00 00 EB [00:08:17]Write i2c OK [00:08:17]MH_I2C_Read... [00:08:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:18]Read from MH i2c: E2 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 53 18 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 84 [00:08:18]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:08:18]wFMCommunicate OK [00:08:18]wFMCommunicate request_size=4 [00:08:18]MH_SAM_APDU [00:08:18]CAPDU: 80 17 00 00 [00:08:18]Write to MH i2c: E2 08 00 54 18 80 17 00 00 00 00 00 00 EC [00:08:18]Write i2c OK [00:08:18]MH_I2C_Read... [00:08:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:18]Read from MH i2c: E2 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 54 18 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 01 [00:08:18]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:08:18]wFMCommunicate OK [00:08:18]wFMCommunicate request_size=4 [00:08:18]MH_SAM_APDU [00:08:18]CAPDU: 80 17 00 00 [00:08:18]Write to MH i2c: E2 08 00 55 18 80 17 00 00 00 00 00 00 ED [00:08:18]Write i2c OK [00:08:18]MH_I2C_Read... [00:08:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:18]Read from MH i2c: E2 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 FD 00 55 18 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 65 [00:08:18]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:08:18]wFMCommunicate OK [00:08:18]wFMCommunicate request_size=4 [00:08:18]MH_SAM_APDU [00:08:18]CAPDU: 80 17 00 00 [00:08:18]Write to MH i2c: E2 08 00 56 18 80 17 00 00 00 00 00 00 EE [00:08:18]Write i2c OK [00:08:18]MH_I2C_Read... [00:08:18]OFD Sender: No OFD packet to send [00:08:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:08:18]Read from MH i2c: E2 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 E1 00 [00:08:18]MH_I2C_Read... [00:08:18]Read from MH i2c: E2 E1 00 56 18 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 DC [00:08:18]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:08:18]wFMCommunicate OK [00:08:18]SAM_PROTO_GetFMData done [00:08:18]requested_item fm.sale_refund.total is exist - process it [00:08:18]requested_item fm.buy.total is exist - process it [00:08:18]requested_item shift.sale.total is exist - process it [00:08:18]SAM_PROTO_GetShiftData [00:08:18]wFMCommunicate request_size=4 [00:08:18]MH_SAM_APDU [00:08:18]CAPDU: 80 13 02 00 [00:08:18]Write to MH i2c: E2 08 00 57 18 80 13 02 00 00 00 00 00 ED [00:08:18]Write i2c OK [00:08:18]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 FD 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 FD 00 57 18 00 BB 04 AA 04 B7 04 6E 04 04 00 76 00 00 00 69 04 9B 00 6F 04 04 00 74 00 00 00 B1 04 03 00 43 0D 39 70 04 03 00 2C ED 2C 72 04 03 00 17 20 0C 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 18 0F 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 44 [00:08:19]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 76 00 00 00 69 04 9B 00 6F 04 04 00 74 00 00 00 B1 04 03 00 43 0D 39 70 04 03 00 2C ED 2C 72 04 03 00 17 20 0C 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 18 0F 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 35 81 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:08:19]wFMCommunicate OK [00:08:19]wFMCommunicate request_size=4 [00:08:19]MH_SAM_APDU [00:08:19]CAPDU: 80 17 00 00 [00:08:19]Write to MH i2c: E2 08 00 58 18 80 17 00 00 00 00 00 00 F0 [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 FD 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 FD 00 58 18 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 83 [00:08:19]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:08:19]wFMCommunicate OK [00:08:19]wFMCommunicate request_size=4 [00:08:19]MH_SAM_APDU [00:08:19]CAPDU: 80 17 00 00 [00:08:19]Write to MH i2c: E2 08 00 59 18 80 17 00 00 00 00 00 00 F1 [00:08:19]Write i2c OK [00:08:19]MH_I2C_Read... [00:08:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:19]Read from MH i2c: E2 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 FD 00 [00:08:19]MH_I2C_Read... [00:08:19]Read from MH i2c: E2 FD 00 59 18 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 1D [00:08:19]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:08:20]wFMCommunicate OK [00:08:20]wFMCommunicate request_size=4 [00:08:20]MH_SAM_APDU [00:08:20]CAPDU: 80 17 00 00 [00:08:20]Write to MH i2c: E2 08 00 5A 18 80 17 00 00 00 00 00 00 F2 [00:08:20]Write i2c OK [00:08:20]MH_I2C_Read... [00:08:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:08:20]Read from MH i2c: E2 [00:08:20]MH_I2C_Read... [00:08:20]Read from MH i2c: E2 FD 00 [00:08:20]MH_I2C_Read... [00:08:20]Read from MH i2c: E2 FD 00 5A 18 00 00 00 EF 03 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 90 00 67 [00:08:20]RAPDU: 00 00 EF 03 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 90 00 [00:08:20]wFMCommunicate OK [00:08:20]wFMCommunicate request_size=4 [00:08:20]MH_SAM_APDU [00:08:20]CAPDU: 80 17 00 00 [00:08:20]Write to MH i2c: E2 08 00 5B 18 80 17 00 00 00 00 00 00 F3 [00:08:20]Write i2c OK [00:08:20]MH_I2C_Read... [00:08:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:08:20]Read from MH i2c: E2 [00:08:20]MH_I2C_Read... [00:08:20]Read from MH i2c: E2 D8 00 [00:08:20]MH_I2C_Read... [00:08:20]Read from MH i2c: E2 D8 00 5B 18 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 DA [00:08:20]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:08:20]wFMCommunicate OK [00:08:20]SAM_PROTO_GetShiftData done [00:08:20]requested_item shift.sale.total_cash is exist - process it [00:08:20]requested_item shift.sale_refund.total is exist - process it [00:08:20]requested_item shift.sale_refund.total_cash is exist - process it [00:08:20]requested_item shift.buy.total is exist - process it [00:08:20]requested_item shift.buy.total_cash is exist - process it [00:08:20]produce_requested_data done [00:08:20]produce_requested_data return {"fm.sale.total":18371997.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":37389.47,"shift.sale.total_cash":29443.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:08:20]process_action_free get_value [00:08:20]json_value_free [00:08:20]json_value_free done [00:08:20]process_json_proto returns [00:08:20]Send response to host [00:08:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18371997.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":37389.47,"shift.sale.total_cash":29443.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:08:20]free response buf [00:08:20]execute_script done [00:08:20]execute_script returns [00:08:20]free content buf [00:08:20]Sock 7.Close socket [00:08:20]Sock 7.Thread stoped [00:08:23]OFD Sender: No OFD packet to send [00:08:24]accept exits with 9 [00:08:24]New connection [00:08:24]New thread 3067448676 created [00:08:24]Thread 3067592036 joined [00:08:24]Waiting for new connection... [00:08:24] Sock 9.Parse request [00:08:24]Sock 9.Check first char [00:08:24]Sock 9.First char is OK [00:08:24]request: POST /json_proto HTTP/1.0 [00:08:24]Method: POST [00:08:24]URL: /json_proto [00:08:24]Method is POST - this is cgi request [00:08:24]url: /json_proto [00:08:24]query_string will be loaded in cgi processing [00:08:24]execute_cgi json_proto POST (null) [00:08:24]execute_cgi path=json_proto method=POST [00:08:24]POST find Content-Length [00:08:24]Host: 172.17.39.4:8080 [00:08:24]Content-Length: 4447 [00:08:24]Content-Type: application/json [00:08:24] [00:08:24]POST finish read [00:08:24]Found Content-Length = 4447 [00:08:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129560", "tax_sys" : 0, "items" : [ { "code": "8591207777748", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432\u044B Datex 3\u0448\u0442", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214645", "name": "\u0420/\u0436 mentos pure white \u043A\u043B\u0443\u0431 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8809010083469", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0430 NEW KUMO \u043C\u0438\u043A\u0440\u043E\u0444\u0438\u0431 \u0436\u0435\u043B\u0442\u0430\u044F", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 2.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 1.000, "sum" : 155.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1489.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:08:24]execute_script... [00:08: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)129560", "tax_sys" : 0, "items" : [ { "code": "8591207777748", "name": "\u041F\u0440\u0435\u0437\u0435\u0440\u0432\u0430\u0442\u0438\u0432\u044B Datex 3\u0448\u0442", "price" : 143.00, "quantity" : 1.000, "sum" : 143.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "46214645", "name": "\u0420/\u0436 mentos pure white \u043A\u043B\u0443\u0431 16/15,5\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "80942726", "name": "\u0420/\u0436 mentos \u043C\u044F\u0442\u0430 \u0440\u043E\u043B\u043B 16\u0433", "price" : 49.00, "quantity" : 1.000, "sum" : 49.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8809010083469", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0430 NEW KUMO \u043C\u0438\u043A\u0440\u043E\u0444\u0438\u0431 \u0436\u0435\u043B\u0442\u0430\u044F", "price" : 190.00, "quantity" : 1.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "8590042701239", "name": "\u0421\u0430\u043B\u0444\u0435\u0442\u043A\u0438 \u0432\u043B\u0430\u0436\u043D\u044B\u0435 VOK", "price" : 36.00, "quantity" : 2.000, "sum" : 72.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000176431", "name": "\u0421\u043E\u043A Piko Pulpy \u0430\u043F\u0435\u043B\u044C\u0441\u0438\u043D \u041F\u042D\u0422 0,5\u043B", "price" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189349", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043C\u0430\u043D\u0433\u043E \u0430\u043D\u0430\u043D\u0430\u0441 0,5\u043B", "price" : 75.00, "quantity" : 1.000, "sum" : 75.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": "4607120858977", "name": "\u0427\u0438\u043F\u0441\u044B \u0427\u0438\u043F\u0441\u043E\u043D\u044B \u043A\u0440\u0430\u0431 40\u0433", "price" : 36.00, "quantity" : 1.000, "sum" : 36.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870112003956", "name": "\u0428\u043E\u043A \u0431\u0430\u0442\u043E\u043D\u0447\u0438\u043A ALBENI SUPER \u0410\u043B\u044C\u0431\u0435\u043D\u0438 \u0421\u0443\u043F\u0435\u0440", "price" : 75.00, "quantity" : 2.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4011100091993", "name": "\u0428\u043E\u043A \u0411\u0430\u0442\u043E\u043D\u0447\u0438\u043A \u041C\u0438\u043B\u043A\u0438 \u0412\u0435\u0439 26\u0433", "price" : 35.00, "quantity" : 1.000, "sum" : 35.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "47803152", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Mevius Revo", "price" : 155.00, "quantity" : 1.000, "sum" : 155.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" : 140.00, "quantity" : 1.000, "sum" : 140.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 1489.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:08:25]POST & json_proto [00:08:25]process_json_proto [00:08:25]json parsed OK: [00:08:25]protocol is kg_v1.0 [00:08:25]action value=close_receipt [00:08:25]process_action close_receipt [00:08:25]cmd_close_receipt [00:08:25]MH_GetDate [00:08:25]Write to MH i2c: F0 00 00 5C 18 63 [00:08:25]Write i2c OK [00:08:25]MH_I2C_Read... [00:08:25]Read from MH i2c: F0 [00:08:25]MH_I2C_Read... [00:08:25]Read from MH i2c: F0 09 00 [00:08:25]MH_I2C_Read... [00:08:25]Read from MH i2c: F0 09 00 5C 18 00 7C 68 94 66 2D 25 5D 64 5D [00:08:25]GetLastDocTimeStamp 1721001198 [00:08:25]current date 1721002108 [00:08:25]FM_GetShiftState [00:08:25]SAM_PROTO_GetShiftState [00:08:25]wFMCommunicate request_size=4 [00:08:25]MH_SAM_APDU [00:08:25]CAPDU: 80 13 01 00 [00:08:25]Write to MH i2c: E2 08 00 5D 18 80 13 01 00 00 00 00 00 F2 [00:08:25]Write i2c OK [00:08:25]MH_I2C_Read... [00:08:25]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:08:25]Read from MH i2c: E2 [00:08:25]MH_I2C_Read... [00:08:25]Read from MH i2c: E2 0E 00 [00:08:25]MH_I2C_Read... [00:08:25]Read from MH i2c: E2 0E 00 5D 18 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 99 [00:08:25]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:08:25]wFMCommunicate OK [00:08:25]SAM_PROTO_GetShiftState done [00:08:25]FM_GetShiftState done [00:08:25]opened in 1720917126 [00:08:25]opened+sec_in_day 1721003526 [00:08:25]quantity*price = 14300 [00:08:25]sum+1 = 14301 [00:08:25]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+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 46214645 Р/ж mentos pure white клуб 16/15,5г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 80942726 Р/ж mentos мята ролл 16г 1.000 * 49.00 = 49.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 8809010083469 Салфетка NEW KUMO микрофиб желтая 1.000 * 190.00 = 190.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 8590042701239 Салфетки влажные VOK 2.000 * 36.00 = 72.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000176431 Сок Piko Pulpy апельсин ПЭТ 0,5л 2.000 * 95.00 = 190.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 5449000189349 Холодный чай Fuse манго ананас 0,5л 1.000 * 75.00 = 75.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4700003010056 Чай хол Let`s Go! зел лим ПЭТ 1,25л 1.000 * 95.00 = 95.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4607120858977 Чипсы Чипсоны краб 40г 1.000 * 36.00 = 36.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870202521254 Чай холодный MAXI черный со вкусом клубн 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870112003956 Шок батончик ALBENI SUPER Альбени Супер 2.000 * 75.00 = 150.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4011100091993 Шок Батончик Милки Вей 26г 1.000 * 35.00 = 35.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 47803152 Сигареты Mevius Revo 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 48743587 Сигареты Winston XStyle Silver 1.000 * 140.00 = 140.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 1489.00 НСП 1% : 13.16 НДС 12% : 158.13 Наличными: 1489.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 119 15.07.2024 00:08 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57102 ФПД: 8309645228310 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T000829&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57102&fm=8309645228310&tin=02508201610067®Number=0000000000091208&sum=148900 0 [00:08:27]StoreToDocumentArchive [00:08:27]shift 496 fd 57102 [00:08:27]save to /storage/0496/doc_00057102 [00:08:27]save last doc name /storage/0496/doc_00057102 to /storage/kkm_last_doc_name [00:08:27]save OK [00:08:27]Clear old archive folders... [00:08:27]ProcessDocumentItem done err = 0, tmpTLVsize=1800 [00:08:27]tlvbuf is 010067B0 [00:08:27]SAM_PROTO_ClearQueue [00:08:27]wFMCommunicate request_size=4 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 09 00 00 [00:08:27]Write to MH i2c: E2 08 00 6A 18 80 09 00 00 00 00 00 00 F4 [00:08:27]Write i2c OK [00:08:27]MH_I2C_Read... [00:08:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:08:27]Read from MH i2c: E2 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 6A 18 00 90 00 F6 [00:08:27]RAPDU: 90 00 [00:08:27]wFMCommunicate OK [00:08:27]SAM_PROTO_ClearQueue done [00:08:27]KKMCreateOFDPacket [00:08:27]OFDProtocolAddRootSTLVToBuf [00:08:27]FM_MakeSignedData [00:08:27]FM_MakeSignedData [00:08:27]SAM_PROTO_SignData [00:08:27]wFMCommunicate request_size=4 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 0D 01 02 [00:08:27]Write to MH i2c: E2 08 00 6B 18 80 0D 01 02 00 00 00 00 FC [00:08:27]Write i2c OK [00:08:27]MH_I2C_Read... [00:08:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:08:27]Read from MH i2c: E2 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 6B 18 00 90 00 F7 [00:08:27]RAPDU: 90 00 [00:08:27]wFMCommunicate OK [00:08:27]wFMCommunicate request_size=255 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 0D 02 02 FA 03 00 08 07 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 34 38 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 33 D1 88 D1 82 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 69 00 8A 04 08 00 34 36 32 31 34 36 34 35 06 04 2A 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 [00:08:27]Write to MH i2c: E2 02 01 6C 18 80 0D 02 02 FA 00 03 00 08 07 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 34 38 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 33 D1 88 D1 82 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 69 00 8A 04 08 00 34 36 32 31 34 36 34 35 06 04 2A 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 00 00 B0 [00:08:27]Write i2c OK [00:08:27]MH_I2C_Read... [00:08:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:27]Read from MH i2c: E2 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 [00:08:27]MH_I2C_Read... [00:08:27]Read from MH i2c: E2 03 00 6C 18 00 90 00 F8 [00:08:27]RAPDU: 90 00 [00:08:27]wFMCommunicate OK [00:08:27]wFMCommunicate request_size=255 [00:08:27]MH_SAM_APDU [00:08:27]CAPDU: 80 0D 02 02 FA B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 38 38 30 39 30 31 30 30 38 33 34 36 39 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B0 20 4E 45 57 20 4B 55 4D 4F 20 D0 BC D0 B8 D0 BA D1 80 D0 BE D1 84 D0 B8 D0 B1 20 D0 B6 D0 B5 D0 BB D1 82 D0 B0 D1 8F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 [00:08:27]Write to MH i2c: E2 02 01 6D 18 80 0D 02 02 FA 00 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 38 38 30 39 30 31 30 30 38 33 34 36 39 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B0 20 4E 45 57 20 4B 55 4D 4F 20 D0 BC D0 B8 D0 BA D1 80 D0 BE D1 84 D0 B8 D0 B1 20 D0 B6 D0 B5 D0 BB D1 82 D0 B0 D1 8F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 00 00 2C [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:28]Read from MH i2c: E2 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 6D 18 00 90 00 F9 [00:08:28]RAPDU: 90 00 [00:08:28]wFMCommunicate OK [00:08:28]wFMCommunicate request_size=255 [00:08:28]MH_SAM_APDU [00:08:28]CAPDU: 80 0D 02 02 FA BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD [00:08:28]Write to MH i2c: E2 02 01 6E 18 80 0D 02 02 FA 00 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD 00 00 E3 [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:28]Read from MH i2c: E2 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 [00:08:28]MH_I2C_Read... [00:08:28]Read from MH i2c: E2 03 00 6E 18 00 90 00 FA [00:08:28]RAPDU: 90 00 [00:08:28]wFMCommunicate OK [00:08:28]wFMCommunicate request_size=255 [00:08:28]MH_SAM_APDU [00:08:28]CAPDU: 80 0D 02 02 FA D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 [00:08:28]Write to MH i2c: E2 02 01 6F 18 80 0D 02 02 FA 00 D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 00 00 C0 [00:08:28]Write i2c OK [00:08:28]MH_I2C_Read... [00:08:28]OFD Sender: No OFD packet to send [00:08:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:29]Read from MH i2c: E2 [00:08:29]MH_I2C_Read... [00:08:29]Read from MH i2c: E2 03 00 [00:08:29]MH_I2C_Read... [00:08:29]Read from MH i2c: E2 03 00 6F 18 00 90 00 FB [00:08:29]RAPDU: 90 00 [00:08:29]wFMCommunicate OK [00:08:29]wFMCommunicate request_size=255 [00:08:29]MH_SAM_APDU [00:08:29]CAPDU: 80 0D 02 02 FA 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 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 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 [00:08:29]Write to MH i2c: E2 02 01 70 18 80 0D 02 02 FA 00 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 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 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 00 00 01 [00:08:29]Write i2c OK [00:08:29]MH_I2C_Read... [00:08:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:29]Read from MH i2c: E2 [00:08:29]MH_I2C_Read... [00:08:29]Read from MH i2c: E2 03 00 [00:08:29]MH_I2C_Read... [00:08:29]Read from MH i2c: E2 03 00 70 18 00 90 00 FC [00:08:29]RAPDU: 90 00 [00:08:29]wFMCommunicate OK [00:08:29]wFMCommunicate request_size=255 [00:08:29]MH_SAM_APDU [00:08:29]CAPDU: 80 0D 02 02 FA 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 [00:08:29]Write to MH i2c: E2 02 01 71 18 80 0D 02 02 FA 00 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 00 00 1A [00:08:29]Write i2c OK [00:08:29]MH_I2C_Read... [00:08:29]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:29]Read from MH i2c: E2 [00:08:29]MH_I2C_Read... [00:08:29]Read from MH i2c: E2 03 00 [00:08:29]MH_I2C_Read... [00:08:29]Read from MH i2c: E2 03 00 71 18 00 90 00 FD [00:08:29]RAPDU: 90 00 [00:08:29]wFMCommunicate OK [00:08:29]wFMCommunicate request_size=255 [00:08:29]MH_SAM_APDU [00:08:29]CAPDU: 80 0D 02 02 FA 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 45 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 3D 00 00 00 00 07 04 06 00 A4 45 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 7D 68 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 [00:08:29]Write to MH i2c: E2 02 01 72 18 80 0D 02 02 FA 00 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 45 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 3D 00 00 00 00 07 04 06 00 A4 45 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 7D 68 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 00 00 C0 [00:08:29]Write i2c OK [00:08:29]MH_I2C_Read... [00:08:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:30]Read from MH i2c: E2 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 03 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 03 00 72 18 00 90 00 FE [00:08:30]RAPDU: 90 00 [00:08:30]wFMCommunicate OK [00:08:30]wFMCommunicate request_size=59 [00:08:30]MH_SAM_APDU [00:08:30]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0E DF 00 00 35 04 06 00 07 8E BD 73 B9 16 [00:08:30]Write to MH i2c: E2 3E 00 73 18 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0E DF 00 00 35 04 06 00 07 8E BD 73 B9 16 00 00 A9 [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:08:30]Read from MH i2c: E2 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 03 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 03 00 73 18 00 90 00 FF [00:08:30]RAPDU: 90 00 [00:08:30]wFMCommunicate OK [00:08:30]wFMCommunicate request_size=4 [00:08:30]MH_SAM_APDU [00:08:30]CAPDU: 80 0D 03 02 [00:08:30]Write to MH i2c: E2 08 00 74 18 80 0D 03 02 00 00 00 00 07 [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:08:30]Read from MH i2c: E2 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 0B 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 0B 00 74 18 00 F6 78 AE F5 B2 E9 FF F6 90 00 A9 [00:08:30]RAPDU: F6 78 AE F5 B2 E9 FF F6 90 00 [00:08:30]wFMCommunicate OK [00:08:30]SAM_PROTO_SignData done [00:08:30]FM_MakeSignedData done [00:08:30]CreateOFDProtocolMessage [00:08:30]wFMCommunicate request_size=4 [00:08:30]MH_SAM_APDU [00:08:30]CAPDU: 80 11 00 00 [00:08:30]Write to MH i2c: E2 08 00 75 18 80 11 00 00 00 00 00 00 07 [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:08:30]Read from MH i2c: E2 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 17 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: E2 17 00 75 18 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 61 [00:08:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:08:30]wFMCommunicate OK [00:08:30]CreateOFDProtocolMessage done [00:08:30]OFDSenderStorePacket 57102 [00:08:30]StoreOFDPacket docnum=57102 [00:08:30]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1C 07 00 00 8D 7D 14 07 E4 1A 5A 03 01 00 03 00 08 07 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 34 38 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 33 D1 88 D1 82 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 69 00 8A 04 08 00 34 36 32 31 34 36 34 35 06 04 2A 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 38 38 30 39 30 31 30 30 38 33 34 36 39 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B0 20 4E 45 57 20 4B 55 4D 4F 20 D0 BC D0 B8 D0 BA D1 80 D0 BE D1 84 D0 B8 D0 B1 20 D0 B6 D0 B5 D0 BB D1 82 D0 B0 D1 8F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 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 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 [00:08:30]CheckFolder [00:08:30]dirname=/storage/ofd_packets [00:08:30]CheckFolder done [00:08:30]ProducePacketName [00:08:30]name=ofd_packets/00057102 [00:08:30]NVStorageSaveData ofd_packets/00057102 [00:08:30]File name is /storage/ofd_packets/00057102 [00:08:30]Write 1850 bytes [00:08:30]NVStorageSaveData done [00:08:30]OFDSenderStorePacket done [00:08:30]KKMCreateOFDPacket done [00:08:30]NVStorageSaveData kkm_last_timestamp [00:08:30]File name is /storage/kkm_last_timestamp [00:08:30]Write 4 bytes [00:08:30]NVStorageSaveData done [00:08:30]ExternCall_PrintAddStr [00:08:30]wPrintStart [00:08:30]Write to MH i2c: 01 00 00 76 18 8E [00:08:30]Write i2c OK [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 [00:08:30]MH_I2C_Read... [00:08:30]Read from MH i2c: 01 07 00 76 18 00 00 00 00 00 FF 0F A3 [00:08:30]RasterBufferAndPrint [00:08:30]line Счет N : (3)129560 [00:08:30]line ИНН: 02508201610067 [00:08:30]line Контрольно-Кассовый Чек [00:08:30]line ПРОДАЖА [00:08:30]line Товар: 8591207777748 [00:08:30]line Презервативы Datex 3шт [00:08:30]line 1.000 * 143.00 [00:08:30]line = 143.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 46214645 [00:08:30]line Р/ж mentos pure white клуб 16/15,5г [00:08:30]line 1.000 * 49.00 [00:08:30]line = 49.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 80942726 [00:08:30]line Р/ж mentos мята ролл 16г [00:08:30]line 1.000 * 49.00 [00:08:30]line = 49.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 8809010083469 [00:08:30]line Салфетка NEW KUMO микрофиб желтая [00:08:30]line 1.000 * 190.00 [00:08:30]line = 190.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 8590042701239 [00:08:30]line Салфетки влажные VOK [00:08:30]line 2.000 * 36.00 [00:08:30]line = 72.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 5449000176431 [00:08:30]line Сок Piko Pulpy апельсин ПЭТ 0,5л [00:08:30]line 2.000 * 95.00 [00:08:30]line = 190.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 5449000189349 [00:08:30]line Холодный чай Fuse манго ананас 0,5л [00:08:30]line 1.000 * 75.00 [00:08:30]line = 75.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 4700003010056 [00:08:30]line Чай хол Let`s Go! зел лим ПЭТ 1,25л [00:08:30]line 1.000 * 95.00 [00:08:30]line = 95.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 4607120858977 [00:08:30]line Чипсы Чипсоны краб 40г [00:08:30]line 1.000 * 36.00 [00:08:30]line = 36.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 4870202521254 [00:08:30]line Чай холодный MAXI черный со вкусом клубн [00:08:30]line 1.000 * 110.00 [00:08:30]line = 110.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 4870112003956 [00:08:30]line Шок батончик ALBENI SUPER Альбени Супер [00:08:30]line 2.000 * 75.00 [00:08:30]line = 150.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 4011100091993 [00:08:30]line Шок Батончик Милки Вей 26г [00:08:30]line 1.000 * 35.00 [00:08:30]line = 35.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 47803152 [00:08:30]line Сигареты Mevius Revo [00:08:30]line 1.000 * 155.00 [00:08:30]line = 155.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line Товар: 48743587 [00:08:30]line Сигареты Winston XStyle Silver [00:08:30]line 1.000 * 140.00 [00:08:30]line = 140.00 [00:08:30]line НДС 12% НСП 1% [00:08:30]line > о реализуемом товаре [00:08:30]line ИТОГО: 1489.00 [00:08:30]line НСП 1% : 13.16 [00:08:30]line НДС 12% : 158.13 [00:08:30]line Наличными: 1489.00 [00:08:30]line Безнал.: 0.00 [00:08:30]line Место: АЗС № 132 "Партнер Нефть" [00:08:30]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:08:30]line СНО: Общий режим [00:08:30]line Чек 119 15.07.2024 00:08 [00:08:30]line Смена: 496 ФФД: 1.0 [00:08:30]line ЗНМ: 0300000132 [00:08:31]line РНМ: 0000000000091208 [00:08:31]line Версия ККМ: 001 [00:08:31]line ФМ: 0000000000874857 [00:08:31]line ФД: 57102 [00:08:31]line ФПД: 8309645228310 [00:08:31]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T000829&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57102&fm=8309645228310&tin=02508201610067®Number=0000000000091208&sum=148900 [00:08:31]line 0 [00:08:31]OFD Sender: Processing packet 57102 [packets to send 38, broken 37] [00:08:31]ProducePacketName [00:08:31]name=ofd_packets/00057102 [00:08:31]OFD Sender: To server: pG, [00:08:31]CommunicateWithHost lk.salyk.kg:30040 [00:08:31]ConnectInit lk.salyk.kg [00:08:31]written 0, free lines is 4095 [00:08:31]Connected sock=10 [00:08:31]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1C 07 00 00 8D 7D 14 07 E4 1A 5A 03 01 00 03 00 08 07 1E 04 01 00 01 23 04 68 00 8A 04 0D 00 38 35 39 31 32 30 37 37 37 37 37 34 38 06 04 24 00 D0 9F D1 80 D0 B5 D0 B7 D0 B5 D1 80 D0 B2 D0 B0 D1 82 D0 B8 D0 B2 D1 8B 20 44 61 74 65 78 20 33 D1 88 D1 82 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 69 00 8A 04 08 00 34 36 32 31 34 36 34 35 06 04 2A 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 70 75 72 65 20 77 68 69 74 65 20 D0 BA D0 BB D1 83 D0 B1 20 31 36 2F 31 35 2C 35 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 62 00 8A 04 08 00 38 30 39 34 32 37 32 36 06 04 23 00 D0 A0 2F D0 B6 20 6D 65 6E 74 6F 73 20 D0 BC D1 8F D1 82 D0 B0 20 D1 80 D0 BE D0 BB D0 BB 20 31 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 24 13 00 00 00 00 13 04 06 00 24 13 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7B 00 8A 04 0D 00 38 38 30 39 30 31 30 30 38 33 34 36 39 06 04 37 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B0 20 4E 45 57 20 4B 55 4D 4F 20 D0 BC D0 B8 D0 BA D1 80 D0 BE D1 84 D0 B8 D0 B1 20 D0 B6 D0 B5 D0 BB D1 82 D0 B0 D1 8F FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 38 4A 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 67 00 8A 04 0D 00 38 35 39 30 30 34 32 37 30 31 32 33 39 06 04 23 00 D0 A1 D0 B0 D0 BB D1 84 D0 B5 D1 82 D0 BA D0 B8 20 D0 B2 D0 BB D0 B0 D0 B6 D0 BD D1 8B D0 B5 20 56 4F 4B FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 20 1C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 73 00 8A 04 0D 00 35 34 34 39 30 30 30 31 37 36 34 33 31 06 04 2F 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 30 2C 35 D0 BB FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 7E 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 34 39 06 04 3A 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BC D0 B0 D0 BD D0 B3 D0 BE 20 D0 B0 D0 BD D0 B0 D0 BD D0 B0 D1 81 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 4C 1D 00 00 00 00 13 04 06 00 4C 1D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 6B 00 8A 04 0D 00 34 36 30 37 31 32 30 38 35 38 39 37 37 06 04 27 00 D0 A7 D0 B8 D0 BF D1 81 D1 8B 20 D0 A7 D0 B8 D0 BF D1 81 D0 BE D0 BD D1 8B 20 D0 BA D1 80 D0 B0 D0 B1 20 34 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 10 0E 00 00 00 00 13 04 06 00 10 0E 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 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 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 82 00 8A 04 0D 00 34 38 37 30 31 31 32 30 30 33 39 35 36 06 04 3E 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 41 4C 42 45 4E 49 20 53 55 50 45 52 20 D0 90 D0 BB D1 8C D0 B1 D0 B5 D0 BD D0 B8 20 D0 A1 D1 83 D0 BF D0 B5 D1 80 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 4C 1D 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 72 00 8A 04 0D 00 34 30 31 31 31 30 30 30 39 31 39 39 33 06 04 2E 00 D0 A8 D0 BE D0 BA 20 D0 91 D0 B0 D1 82 D0 BE D0 BD D1 87 D0 B8 D0 BA 20 D0 9C D0 B8 D0 BB D0 BA D0 B8 20 D0 92 D0 B5 D0 B9 20 32 36 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 AC 0D 00 00 00 00 13 04 06 00 AC 0D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 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 B0 36 00 00 00 00 13 04 06 00 B0 36 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 A4 45 02 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 24 05 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 C5 3D 00 00 00 00 07 04 06 00 A4 45 02 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 77 00 00 00 F4 03 04 00 7D 68 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0E DF 00 00 35 04 06 00 07 8E BD 73 B9 16 F6 78 AE F5 B2 E9 FF F6 [00:08:32]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 33 3D 47 00 54 4B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0E DF 00 00 F4 03 04 00 D1 0E 94 66 B6 04 01 00 00 B9 38 E5 E6 B8 DA 04 A9 [00:08:32]CommunicateWithHost err = 0 [00:08:32]CheckOFDResponse [00:08:32]1017 (14) - 77093643461234 [00:08:32]1041 (16) - 0000000000874857 [00:08:32]1040 (4) - 57102 [00:08:32]1012 (4) - 14.07.2024 17:45 [00:08:32]1206 (1) - 0 [00:08:32]OFD Sender: Remove packet 57102 [00:08:32]ProducePacketName [00:08:32]name=ofd_packets/00057102 [00:08:32]NVStorageDeleteData [00:08:32]Write to MH i2c: 01 00 00 F4 18 0C [00:08:32]Write i2c OK [00:08:32]MH_I2C_Read... [00:08:32]Read from MH i2c: 01 [00:08:32]MH_I2C_Read... [00:08:32]Read from MH i2c: 01 07 00 [00:08:32]MH_I2C_Read... [00:08:32]Read from MH i2c: 01 07 00 F4 18 00 00 00 00 00 21 08 3C [00:08:32]RasterBufferAndPrint [00:08:32]line [00:08:32]line [00:08:32]line [00:08:32]line [00:08:32]line [00:08:32]OFD Sender: No OFD packet to send [00:08:32]written 0, free lines is 2118 [00:08:32]int [00:08:32]Write to MH i2c: 01 00 00 F8 18 10 [00:08:32]Write i2c OK [00:08:32]MH_I2C_Read... [00:08:32]Write i2c OK [00:08:32]MH_I2C_Read... [00:08:32]Read from MH i2c: DD [00:08:32]MH_I2C_Read... [00:08:32]Read from MH i2c: DD [00:08:32]MH_I2C_Read... [00:08:32]Read from MH i2c: DD 05 00 [00:08:32]MH_I2C_Read... [00:08:32]Read from MH i2c: DD 05 00 [00:08:32]answer for other command [DD] [00:08:32]MH Int Process stopped [00:08:32]Read from MH i2c: DD 05 00 F8 18 00 1E 00 F9 07 0F [00:08:32]answer with wrong packet_num 18F8 - expected 18F9 [00:08:32]process_action_free close_receipt [00:08:32]json_value_free [00:08:32]json_value_free done [00:08:32]process_json_proto returns [00:08:32]Send response to host [00:08:32]{"protocol":"kg_v1.0","response":{"error":1039,"error_desc":"CoCPU protocol format"}} [00:08:32]free response buf [00:08:32]execute_script done [00:08:32]execute_script returns [00:08:32]free content buf [00:08:32]Sock 9.Close socket [00:08:32]Sock 9.Thread stoped [00:08:37]OFD Sender: No OFD packet to send [00:08:42]OFD Sender: No OFD packet to send [00:08:47]OFD Sender: No OFD packet to send [00:08:52]OFD Sender: No OFD packet to send [00:08:57]OFD Sender: No OFD packet to send [00:09:02]OFD Sender: No OFD packet to send [00:09:07]OFD Sender: No OFD packet to send [00:09:12]OFD Sender: No OFD packet to send [00:09:17]OFD Sender: No OFD packet to send [00:09:22]OFD Sender: No OFD packet to send [00:09:27]OFD Sender: No OFD packet to send [00:09:32]OFD Sender: No OFD packet to send [00:09:37]OFD Sender: No OFD packet to send [00:09:42]OFD Sender: No OFD packet to send [00:09:47]OFD Sender: No OFD packet to send [00:09:52]OFD Sender: No OFD packet to send [00:09:57]OFD Sender: No OFD packet to send [00:10:02]OFD Sender: No OFD packet to send [00:10:07]OFD Sender: No OFD packet to send [00:10:12]OFD Sender: No OFD packet to send [00:10:17]OFD Sender: No OFD packet to send [00:10:22]OFD Sender: No OFD packet to send [00:10:27]OFD Sender: No OFD packet to send [00:10:32]OFD Sender: No OFD packet to send [00:10:37]OFD Sender: No OFD packet to send [00:10:42]OFD Sender: No OFD packet to send [00:10:47]OFD Sender: No OFD packet to send [00:10:52]OFD Sender: No OFD packet to send [00:10:57]OFD Sender: No OFD packet to send [00:11:02]OFD Sender: No OFD packet to send [00:11:07]OFD Sender: No OFD packet to send [00:11:12]OFD Sender: No OFD packet to send [00:11:17]OFD Sender: No OFD packet to send [00:11:22]OFD Sender: No OFD packet to send [00:11:27]OFD Sender: No OFD packet to send [00:11:32]OFD Sender: No OFD packet to send [00:11:37]OFD Sender: No OFD packet to send [00:11:42]OFD Sender: No OFD packet to send [00:11:47]OFD Sender: No OFD packet to send [00:00:10] *** EcrCore started. Build 196 *** [00:00:10]/dev/ttyS4 opened [00:00:10]MH_InterfaceInit /dev/i2c-1 [00:00:10]Malloc ok [00:00:10]MH_GetMetrics [00:00:10]Write to MH i2c: 00 00 00 01 00 00 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 [00:00:10]MH_I2C_Read... [00:00:10]Read from MH i2c: 00 29 00 01 00 00 03 9C 77 C0 01 31 39 30 33 53 51 38 38 54 00 00 00 00 57 25 73 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 01 03 00 18 [00:00:10]Are we in boot? [00:00:10]We are in boot - try to switch [00:00:10]Write to MH i2c: A0 00 00 02 00 A1 [00:00:10]Write i2c OK [00:00:10]MH_I2C_Read... [00:00:10]*** Check firmware version 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]*** Starting fw at address 01020100 (2007E328 010249C5) [00:00:10]Read from MH i2c: *** Waiting for read because exit forced [00:00:10]A0 01 00 02 00 00 A2 [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 5400000000572573 (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: 37176367+1683825965=1721002332 [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 = 0x33530623 [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 73 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 03 00 19 [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 40 00 FF FF 5F [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 5C 69 94 66 2D 25 5D 64 D1 [00:12:12]Current date/time: 15.07.2024 00:12 [00:12:12]FM_Init [00:12:12]wFMConnect [00:12:12]MH_SAM_On [00:12:12]Write to MH i2c: E0 00 00 08 00 E7 [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]*** iso7816_init finished! [00:12:12]*** atr: [00:12:12]*** 0F 3B D5 18 FF 81 91 FE [00:12:12]*** 1F C3 80 73 C8 21 10 0A [00:12:12]*** 00 00 00 00 00 00 00 00 [00:12:12]*** 00 00 00 00 00 00 00 00 [00:12:12]*** 00 00 00 00 00 00 00 00 [00:12:12]*** 00 00 00 00 00 00 00 00 [00:12:12]*** 00 00 00 00 00 00 00 00 [00:12:12]*** 00 00 00 00 00 00 00 00 [00:12:12]Read from MH i2c: E0 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E0 10 00 [00:12:12]MH_I2C_Read... [00:12:12]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 [00:12:12]ATR: 3B D5 18 FF 81 91 FE 1F C3 80 73 C8 21 10 0A [00:12:12]wFMCommunicate request_size=10 [00:12:12]MH_SAM_APDU [00:12:12]CAPDU: 00 A4 04 00 05 01 02 03 04 05 [00:12:12]Write to MH i2c: E2 0D 00 09 00 00 A4 04 00 05 00 01 02 03 04 05 00 00 B3 [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]*** iso7816_exchange 00 A4 04 00... Resp OK rsp.len_out = 0! [00:12:12]Read from MH i2c: E2 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 09 00 00 90 00 7D [00:12:12]RAPDU: 90 00 [00:12:12]wFMCommunicate OK [00:12:12]wFMCommunicate request_size=4 [00:12:12]MH_SAM_APDU [00:12:12]CAPDU: 80 11 00 00 [00:12:12]Write to MH i2c: E2 08 00 0A 00 80 11 00 00 00 00 00 00 84 [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:12:12]Read from MH i2c: E2 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 17 00 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 17 00 0A 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DE [00:12:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:12:12]wFMCommunicate OK [00:12:12]Detected FM SN is 0000000000874857 [00:12:12]Stored FM SN is 0000000000874857 [00:12:12]wFMCommunicate request_size=9 [00:12:12]MH_SAM_APDU [00:12:12]CAPDU: 80 16 00 00 04 4B 69 00 00 [00:12:12]Write to MH i2c: E2 0C 00 0B 00 80 16 00 00 04 00 4B 69 00 00 00 00 46 [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]*** iso7816_exchange 80 16 00 00... Resp OK rsp.len_out = 0! [00:12:12]Read from MH i2c: E2 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 0B 00 00 90 00 7F [00:12:12]RAPDU: 90 00 [00:12:12]wFMCommunicate OK [00:12:12]FM PIN OK [00:12:12]wFMCommunicate request_size=8 [00:12:12]MH_SAM_APDU [00:12:12]CAPDU: 80 14 04 00 03 02 00 01 [00:12:12]Write to MH i2c: E2 0B 00 0C 00 80 14 04 00 03 00 02 00 01 00 00 96 [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]*** iso7816_exchange 80 14 04 00... Resp OK rsp.len_out = 0! [00:12:12]Read from MH i2c: E2 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 0C 00 00 90 00 80 [00:12:12]RAPDU: 90 00 [00:12:12]wFMCommunicate OK [00:12:12]wFMCommunicate request_size=13 [00:12:12]MH_SAM_APDU [00:12:12]CAPDU: 80 14 04 01 08 07 00 01 02 03 04 05 06 [00:12:12]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 [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]*** iso7816_exchange 80 14 04 01... Resp OK rsp.len_out = 0! [00:12:12]Read from MH i2c: E2 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 03 00 0D 00 00 90 00 81 [00:12:12]RAPDU: 90 00 [00:12:12]wFMCommunicate OK [00:12:12]wFMCommunicate request_size=4 [00:12:12]MH_SAM_APDU [00:12:12]CAPDU: 80 11 00 00 [00:12:12]Write to MH i2c: E2 08 00 0E 00 80 11 00 00 00 00 00 00 88 [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:12:12]Read from MH i2c: E2 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 17 00 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: E2 17 00 0E 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E2 [00:12:12]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:12:12]wFMCommunicate OK [00:12:12]DocumentArchiveInit [00:12:12]Start Httpd... [00:12:12]Httpd thread 3067354468 created [00:12:12]Write to MH i2c: 01 00 00 0F 00 0F [00:12:12]Write i2c OK [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: 01 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: 01 07 00 [00:12:12]MH_I2C_Read... [00:12:12]Read from MH i2c: 01 07 00 0F 00 00 00 00 00 00 FF 0F 24 [00:12:12]MH Int Process started [00:12:12]Allocated Socket 6 [00:12:12]Bind OK [00:12:12]Listen OK [00:12:12]httpd running on port 8080 [00:12:12]Waiting for new connection... [00:12:12]OFD Sender: No OFD packet to send [00:12:17]OFD Sender: No OFD packet to send [00:12:22]OFD Sender: No OFD packet to send [00:12:27]OFD Sender: No OFD packet to send [00:12:27]accept exits with 7 [00:12:27]New connection [00:12:27]New thread 3067067748 created [00:12:27]Waiting for new connection... [00:12:27] Sock 7.Parse request [00:12:27]Sock 7.Check first char [00:12:27]Sock 7.First char is OK [00:12:27]request: POST /json_proto HTTP/1.0 [00:12:27]Method: POST [00:12:27]URL: /json_proto [00:12:27]Method is POST - this is cgi request [00:12:27]url: /json_proto [00:12:27]query_string will be loaded in cgi processing [00:12:27]execute_cgi json_proto POST (null) [00:12:27]execute_cgi path=json_proto method=POST [00:12:27]POST find Content-Length [00:12:27]Host: 172.17.39.4:8080 [00:12:27]Content-Length: 215 [00:12:27]Content-Type: application/json [00:12:27] [00:12:27]POST finish read [00:12:27]Found Content-Length = 215 [00:12:27]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:12:27]execute_script... [00:12:27]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:12:27]POST & json_proto [00:12:27]process_json_proto [00:12:27]json parsed OK: [00:12:27]protocol is kg_v1.0 [00:12:27]action value=get_value [00:12:27]process_action get_value [00:12:27]cmd_get_value [00:12:27]process_action get_value done [00:12:27]requested_data is exist [00:12:27]produce_requested_data [00:12:27]requested_item kkm.sn is exist - process it [00:12:27]requested_item kkm.ver is exist - process it [00:12:27]requested_item fm.sn is exist - process it [00:12:27]wFMCommunicate request_size=4 [00:12:27]MH_SAM_APDU [00:12:27]CAPDU: 80 11 00 00 [00:12:27]Write to MH i2c: E2 08 00 10 00 80 11 00 00 00 00 00 00 8A [00:12:27]Write i2c OK [00:12:27]MH_I2C_Read... [00:12:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:12:27]Read from MH i2c: E2 [00:12:27]MH_I2C_Read... [00:12:27]Read from MH i2c: E2 17 00 [00:12:27]MH_I2C_Read... [00:12:27]Read from MH i2c: E2 17 00 10 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E4 [00:12:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:12:27]wFMCommunicate OK [00:12:27]requested_item fd.num is exist - process it [00:12:27]SAM_PROTO_GetFieldsCounters [00:12:27]wFMCommunicate request_size=4 [00:12:27]MH_SAM_APDU [00:12:27]CAPDU: 80 13 00 00 [00:12:27]Write to MH i2c: E2 08 00 11 00 80 13 00 00 00 00 00 00 8D [00:12:27]Write i2c OK [00:12:27]MH_I2C_Read... [00:12:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:12:28]Read from MH i2c: E2 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 62 00 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 62 00 11 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0E DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 77 00 00 00 5E 04 04 00 77 00 00 00 57 04 04 00 78 00 00 00 19 04 04 00 00 00 00 00 90 00 F3 [00:12:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0E DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 77 00 00 00 5E 04 04 00 77 00 00 00 57 04 04 00 78 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:12:28]wFMCommunicate OK [00:12:28]SAM_PROTO_GetFieldsCounters done [00:12:28]requested_item shift.num is exist - process it [00:12:28]requested_item shift.opened is exist - process it [00:12:28]req_shift_opened [00:12:28]FM_GetShiftState [00:12:28]SAM_PROTO_GetShiftState [00:12:28]wFMCommunicate request_size=4 [00:12:28]MH_SAM_APDU [00:12:28]CAPDU: 80 13 01 00 [00:12:28]Write to MH i2c: E2 08 00 12 00 80 13 01 00 00 00 00 00 8F [00:12:28]Write i2c OK [00:12:28]MH_I2C_Read... [00:12:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:12:28]Read from MH i2c: E2 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 0E 00 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 0E 00 12 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 36 [00:12:28]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:12:28]wFMCommunicate OK [00:12:28]SAM_PROTO_GetShiftState done [00:12:28]FM_GetShiftState done [00:12:28]req_shift_opened done [00:12:28]requested_item shift.open_date is exist - process it [00:12:28]req_shift_open_date [00:12:28]req_shift_open_date done [00:12:28]produce_requested_data done [00:12:28]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57102,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126} [00:12:28]process_action_free get_value [00:12:28]json_value_free [00:12:28]json_value_free done [00:12:28]process_json_proto returns [00:12:28]Send response to host [00:12:28]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57102,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126}}} [00:12:28]free response buf [00:12:28]execute_script done [00:12:28]execute_script returns [00:12:28]free content buf [00:12:28]Sock 7.Close socket [00:12:28]Sock 7.Thread stoped [00:12:28]accept exits with 9 [00:12:28]New connection [00:12:28]New thread 3066924388 created [00:12:28]Thread 3067067748 joined [00:12:28]Waiting for new connection... [00:12:28] Sock 9.Parse request [00:12:28]Sock 9.Check first char [00:12:28]Sock 9.First char is OK [00:12:28]request: POST /json_proto HTTP/1.0 [00:12:28]Method: POST [00:12:28]URL: /json_proto [00:12:28]Method is POST - this is cgi request [00:12:28]url: /json_proto [00:12:28]query_string will be loaded in cgi processing [00:12:28]execute_cgi json_proto POST (null) [00:12:28]execute_cgi path=json_proto method=POST [00:12:28]POST find Content-Length [00:12:28]Host: 172.17.39.4:8080 [00:12:28]Content-Length: 331 [00:12:28]Content-Type: application/json [00:12:28] [00:12:28]POST finish read [00:12:28]Found Content-Length = 331 [00:12:28]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:12:28]execute_script... [00:12:28]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:12:28]POST & json_proto [00:12:28]process_json_proto [00:12:28]json parsed OK: [00:12:28]protocol is kg_v1.0 [00:12:28]action value=get_value [00:12:28]process_action get_value [00:12:28]cmd_get_value [00:12:28]process_action get_value done [00:12:28]requested_data is exist [00:12:28]produce_requested_data [00:12:28]requested_item fm.sale.total is exist - process it [00:12:28]SAM_PROTO_GetFMData [00:12:28]wFMCommunicate request_size=4 [00:12:28]MH_SAM_APDU [00:12:28]CAPDU: 80 13 03 00 [00:12:28]Write to MH i2c: E2 08 00 13 00 80 13 03 00 00 00 00 00 92 [00:12:28]Write i2c OK [00:12:28]MH_I2C_Read... [00:12:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:12:28]Read from MH i2c: E2 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 FD 00 [00:12:28]MH_I2C_Read... [00:12:28]Read from MH i2c: E2 FD 00 13 00 00 C4 04 85 04 C0 04 6E 04 04 00 2D DB 00 00 69 04 A0 00 6F 04 04 00 7C DA 00 00 B1 04 04 00 3B B7 83 6D 70 04 04 00 EC B0 2E 61 72 04 04 00 4F 06 55 0C 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 CE 9C A1 0B 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 61 0A F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 CC [00:12:28]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2D DB 00 00 69 04 A0 00 6F 04 04 00 7C DA 00 00 B1 04 04 00 3B B7 83 6D 70 04 04 00 EC B0 2E 61 72 04 04 00 4F 06 55 0C 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 CE 9C A1 0B 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 61 0A F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:12:28]wFMCommunicate OK [00:12:28]wFMCommunicate request_size=4 [00:12:28]MH_SAM_APDU [00:12:28]CAPDU: 80 17 00 00 [00:12:28]Write to MH i2c: E2 08 00 14 00 80 17 00 00 00 00 00 00 94 [00:12:28]Write i2c OK [00:12:28]MH_I2C_Read... [00:12:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:29]Read from MH i2c: E2 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 FD 00 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 FD 00 14 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 2D [00:12:29]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:12:29]wFMCommunicate OK [00:12:29]wFMCommunicate request_size=4 [00:12:29]MH_SAM_APDU [00:12:29]CAPDU: 80 17 00 00 [00:12:29]Write to MH i2c: E2 08 00 15 00 80 17 00 00 00 00 00 00 95 [00:12:29]Write i2c OK [00:12:29]MH_I2C_Read... [00:12:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:29]Read from MH i2c: E2 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 FD 00 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 FD 00 15 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 AA [00:12:29]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:29]wFMCommunicate OK [00:12:29]wFMCommunicate request_size=4 [00:12:29]MH_SAM_APDU [00:12:29]CAPDU: 80 17 00 00 [00:12:29]Write to MH i2c: E2 08 00 16 00 80 17 00 00 00 00 00 00 96 [00:12:29]Write i2c OK [00:12:29]MH_I2C_Read... [00:12:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:29]Read from MH i2c: E2 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 FD 00 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 FD 00 16 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [00:12:29]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:29]wFMCommunicate OK [00:12:29]wFMCommunicate request_size=4 [00:12:29]MH_SAM_APDU [00:12:29]CAPDU: 80 17 00 00 [00:12:29]Write to MH i2c: E2 08 00 17 00 80 17 00 00 00 00 00 00 97 [00:12:29]Write i2c OK [00:12:29]MH_I2C_Read... [00:12:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:12:29]Read from MH i2c: E2 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 E1 00 [00:12:29]MH_I2C_Read... [00:12:29]Read from MH i2c: E2 E1 00 17 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 85 [00:12:29]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:12:29]wFMCommunicate OK [00:12:29]SAM_PROTO_GetFMData done [00:12:29]requested_item fm.sale_refund.total is exist - process it [00:12:29]requested_item fm.buy.total is exist - process it [00:12:29]requested_item shift.sale.total is exist - process it [00:12:29]SAM_PROTO_GetShiftData [00:12:29]wFMCommunicate request_size=4 [00:12:29]MH_SAM_APDU [00:12:29]CAPDU: 80 13 02 00 [00:12:29]Write to MH i2c: E2 08 00 18 00 80 13 02 00 00 00 00 00 96 [00:12:29]Write i2c OK [00:12:29]MH_I2C_Read... [00:12:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:12:30]Read from MH i2c: E2 [00:12:30]MH_I2C_Read... [00:12:30]Read from MH i2c: E2 FD 00 [00:12:30]MH_I2C_Read... [00:12:30]Read from MH i2c: E2 FD 00 18 00 00 BB 04 AA 04 B7 04 6E 04 04 00 77 00 00 00 69 04 9B 00 6F 04 04 00 75 00 00 00 B1 04 03 00 E7 52 3B 70 04 03 00 D0 32 2F 72 04 03 00 17 20 0C 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 DD 4C 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 86 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 F1 [00:12:30]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 77 00 00 00 69 04 9B 00 6F 04 04 00 75 00 00 00 B1 04 03 00 E7 52 3B 70 04 03 00 D0 32 2F 72 04 03 00 17 20 0C 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 DD 4C 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 59 86 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:12:30]wFMCommunicate OK [00:12:30]wFMCommunicate request_size=4 [00:12:30]MH_SAM_APDU [00:12:30]CAPDU: 80 17 00 00 [00:12:30]Write to MH i2c: E2 08 00 19 00 80 17 00 00 00 00 00 00 99 [00:12:30]Write i2c OK [00:12:30]MH_I2C_Read... [00:12:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:30]Read from MH i2c: E2 [00:12:30]MH_I2C_Read... [00:12:30]Read from MH i2c: E2 FD 00 [00:12:30]MH_I2C_Read... [00:12:30]Read from MH i2c: E2 FD 00 19 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2C [00:12:30]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:30]wFMCommunicate OK [00:12:30]wFMCommunicate request_size=4 [00:12:30]MH_SAM_APDU [00:12:30]CAPDU: 80 17 00 00 [00:12:30]Write to MH i2c: E2 08 00 1A 00 80 17 00 00 00 00 00 00 9A [00:12:30]Write i2c OK [00:12:30]MH_I2C_Read... [00:12:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:30]Read from MH i2c: E2 [00:12:30]MH_I2C_Read... [00:12:30]Read from MH i2c: E2 FD 00 [00:12:30]MH_I2C_Read... [00:12:31]Read from MH i2c: E2 FD 00 1A 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C6 [00:12:31]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:12:31]wFMCommunicate OK [00:12:31]wFMCommunicate request_size=4 [00:12:31]MH_SAM_APDU [00:12:31]CAPDU: 80 17 00 00 [00:12:31]Write to MH i2c: E2 08 00 1B 00 80 17 00 00 00 00 00 00 9B [00:12:31]Write i2c OK [00:12:31]MH_I2C_Read... [00:12:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:12:31]Read from MH i2c: E2 [00:12:31]MH_I2C_Read... [00:12:31]Read from MH i2c: E2 FD 00 [00:12:31]MH_I2C_Read... [00:12:31]Read from MH i2c: E2 FD 00 1B 00 00 00 00 EF 03 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 90 00 10 [00:12:31]RAPDU: 00 00 EF 03 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 90 00 [00:12:31]wFMCommunicate OK [00:12:31]wFMCommunicate request_size=4 [00:12:31]MH_SAM_APDU [00:12:31]CAPDU: 80 17 00 00 [00:12:31]Write to MH i2c: E2 08 00 1C 00 80 17 00 00 00 00 00 00 9C [00:12:31]Write i2c OK [00:12:31]MH_I2C_Read... [00:12:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:12:31]Read from MH i2c: E2 [00:12:31]MH_I2C_Read... [00:12:31]Read from MH i2c: E2 D8 00 [00:12:31]MH_I2C_Read... [00:12:31]Read from MH i2c: E2 D8 00 1C 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 83 [00:12:31]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:12:31]wFMCommunicate OK [00:12:31]SAM_PROTO_GetShiftData done [00:12:31]requested_item shift.sale.total_cash is exist - process it [00:12:31]requested_item shift.sale_refund.total is exist - process it [00:12:31]requested_item shift.sale_refund.total_cash is exist - process it [00:12:31]requested_item shift.buy.total is exist - process it [00:12:31]requested_item shift.buy.total_cash is exist - process it [00:12:31]produce_requested_data done [00:12:31]produce_requested_data return {"fm.sale.total":18373486.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":38878.47,"shift.sale.total_cash":30932.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:12:31]process_action_free get_value [00:12:31]json_value_free [00:12:31]json_value_free done [00:12:31]process_json_proto returns [00:12:31]Send response to host [00:12:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18373486.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":38878.47,"shift.sale.total_cash":30932.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:12:31]free response buf [00:12:31]execute_script done [00:12:31]execute_script returns [00:12:31]free content buf [00:12:31]Sock 9.Close socket [00:12:31]Sock 9.Thread stoped [00:12:32]OFD Sender: No OFD packet to send [00:12:37]OFD Sender: No OFD packet to send [00:12:42]OFD Sender: No OFD packet to send [00:12:47]OFD Sender: No OFD packet to send [00:12:52]OFD Sender: No OFD packet to send [00:12:57]OFD Sender: No OFD packet to send [00:13:02]OFD Sender: No OFD packet to send [00:13:07]OFD Sender: No OFD packet to send [00:13:12]OFD Sender: No OFD packet to send [00:13:17]OFD Sender: No OFD packet to send [00:13:22]OFD Sender: No OFD packet to send [00:13:27]OFD Sender: No OFD packet to send [00:13:32]OFD Sender: No OFD packet to send [00:13:37]OFD Sender: No OFD packet to send [00:13:42]OFD Sender: No OFD packet to send [00:13:47]OFD Sender: No OFD packet to send [00:13:52]OFD Sender: No OFD packet to send [00:13:57]OFD Sender: No OFD packet to send [00:14:02]OFD Sender: No OFD packet to send [00:14:07]OFD Sender: No OFD packet to send [00:14:12]OFD Sender: No OFD packet to send [00:14:17]OFD Sender: No OFD packet to send [00:14:22]OFD Sender: No OFD packet to send [00:14:27]OFD Sender: No OFD packet to send [00:14:32]OFD Sender: No OFD packet to send [00:14:37]OFD Sender: No OFD packet to send [00:14:42]OFD Sender: No OFD packet to send [00:14:47]OFD Sender: No OFD packet to send [00:14:52]OFD Sender: No OFD packet to send [00:14:57]OFD Sender: No OFD packet to send [00:15:02]OFD Sender: No OFD packet to send [00:15:07]OFD Sender: No OFD packet to send [00:15:12]OFD Sender: No OFD packet to send [00:15:17]OFD Sender: No OFD packet to send [00:15:22]OFD Sender: No OFD packet to send [00:15:27]OFD Sender: No OFD packet to send [00:15:32]OFD Sender: No OFD packet to send [00:15:37]OFD Sender: No OFD packet to send [00:15:42]OFD Sender: No OFD packet to send [00:15:47]OFD Sender: No OFD packet to send [00:15:52]OFD Sender: No OFD packet to send [00:15:57]OFD Sender: No OFD packet to send [00:16:02]OFD Sender: No OFD packet to send [00:16:07]OFD Sender: No OFD packet to send [00:16:12]OFD Sender: No OFD packet to send [00:16:17]OFD Sender: No OFD packet to send [00:16:22]OFD Sender: No OFD packet to send [00:16:27]OFD Sender: No OFD packet to send [00:16:32]OFD Sender: No OFD packet to send [00:16:37]OFD Sender: No OFD packet to send [00:16:42]OFD Sender: No OFD packet to send [00:16:47]OFD Sender: No OFD packet to send [00:16:47]accept exits with 7 [00:16:47]New connection [00:16:47]New thread 3067067748 created [00:16:47]Thread 3066924388 joined [00:16:47]Waiting for new connection... [00:16:47] Sock 7.Parse request [00:16:47]Sock 7.Check first char [00:16:47]Sock 7.First char is OK [00:16:47]request: POST /json_proto HTTP/1.0 [00:16:47]Method: POST [00:16:47]URL: /json_proto [00:16:47]Method is POST - this is cgi request [00:16:47]url: /json_proto [00:16:47]query_string will be loaded in cgi processing [00:16:47]execute_cgi json_proto POST (null) [00:16:47]execute_cgi path=json_proto method=POST [00:16:47]POST find Content-Length [00:16:47]Host: 172.17.39.4:8080 [00:16:47]Content-Length: 754 [00:16:47]Content-Type: application/json [00:16:47] [00:16:47]POST finish read [00:16:47]Found Content-Length = 754 [00:16:47]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129561", "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" : 2.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:16:47]execute_script... [00:16:47]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129561", "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" : 2.000, "sum" : 210.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 210.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:16:47]POST & json_proto [00:16:47]process_json_proto [00:16:47]json parsed OK: [00:16:47]protocol is kg_v1.0 [00:16:47]action value=close_receipt [00:16:47]process_action close_receipt [00:16:47]cmd_close_receipt [00:16:47]MH_GetDate [00:16:47]Write to MH i2c: F0 00 00 1D 00 0C [00:16:47]Write i2c OK [00:16:47]MH_I2C_Read... [00:16:47]Read from MH i2c: F0 [00:16:47]MH_I2C_Read... [00:16:47]Read from MH i2c: F0 09 00 [00:16:47]MH_I2C_Read... [00:16:47]Read from MH i2c: F0 09 00 1D 00 00 70 6A 94 66 2D 25 5D 64 FC [00:16:47]GetLastDocTimeStamp 1721002109 [00:16:47]current date 1721002608 [00:16:47]FM_GetShiftState [00:16:47]SAM_PROTO_GetShiftState [00:16:47]wFMCommunicate request_size=4 [00:16:47]MH_SAM_APDU [00:16:47]CAPDU: 80 13 01 00 [00:16:47]Write to MH i2c: E2 08 00 1E 00 80 13 01 00 00 00 00 00 9B [00:16:47]Write i2c OK [00:16:47]MH_I2C_Read... [00:16:47]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:47]Read from MH i2c: E2 [00:16:47]MH_I2C_Read... [00:16:47]Read from MH i2c: E2 0E 00 [00:16:47]MH_I2C_Read... [00:16:47]Read from MH i2c: E2 0E 00 1E 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 42 [00:16:47]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:16:47]wFMCommunicate OK [00:16:47]SAM_PROTO_GetShiftState done [00:16:47]FM_GetShiftState done [00:16:47]opened in 1720917126 [00:16:47]opened+sec_in_day 1721003526 [00:16:47]quantity*price = 21000 [00:16:47]sum+1 = 21001 [00:16:47]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 210.00 НСП 1% : 1.86 НДС 12% : 22.30 Наличными: 210.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 120 15.07.2024 00:16 Смена: 496 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57103 ФПД: 116875685341875 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T001648&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57103&fm=116875685341875&tin=02508201610067®Number=0000000000091208&sum=21000 0 [00:16:48]StoreToDocumentArchive [00:16:48]shift 496 fd 57103 [00:16:48]save to /storage/0496/doc_00057103 [00:16:48]save last doc name /storage/0496/doc_00057103 to /storage/kkm_last_doc_name [00:16:48]save OK [00:16:48]Clear old archive folders... [00:16:48]ProcessDocumentItem done err = 0, tmpTLVsize=282 [00:16:48]tlvbuf is 00989C10 [00:16:48]SAM_PROTO_ClearQueue [00:16:48]wFMCommunicate request_size=4 [00:16:48]MH_SAM_APDU [00:16:48]CAPDU: 80 09 00 00 [00:16:48]Write to MH i2c: E2 08 00 2B 00 80 09 00 00 00 00 00 00 9D [00:16:48]Write i2c OK [00:16:48]MH_I2C_Read... [00:16:49]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:16:49]Read from MH i2c: E2 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 03 00 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 03 00 2B 00 00 90 00 9F [00:16:49]RAPDU: 90 00 [00:16:49]wFMCommunicate OK [00:16:49]SAM_PROTO_ClearQueue done [00:16:49]KKMCreateOFDPacket [00:16:49]OFDProtocolAddRootSTLVToBuf [00:16:49]FM_MakeSignedData [00:16:49]FM_MakeSignedData [00:16:49]SAM_PROTO_SignData [00:16:49]wFMCommunicate request_size=4 [00:16:49]MH_SAM_APDU [00:16:49]CAPDU: 80 0D 01 02 [00:16:49]Write to MH i2c: E2 08 00 2C 00 80 0D 01 02 00 00 00 00 A5 [00:16:49]Write i2c OK [00:16:49]MH_I2C_Read... [00:16:49]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:16:49]Read from MH i2c: E2 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 03 00 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 03 00 2C 00 00 90 00 A0 [00:16:49]RAPDU: 90 00 [00:16:49]wFMCommunicate OK [00:16:49]wFMCommunicate request_size=255 [00:16:49]MH_SAM_APDU [00:16:49]CAPDU: 80 0D 02 02 FA 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 70 6A 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 [00:16:49]Write to MH i2c: E2 02 01 2D 00 80 0D 02 02 FA 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 70 6A 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 00 00 D4 [00:16:49]Write i2c OK [00:16:49]MH_I2C_Read... [00:16:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:49]Read from MH i2c: E2 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 03 00 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 03 00 2D 00 00 90 00 A1 [00:16:49]RAPDU: 90 00 [00:16:49]wFMCommunicate OK [00:16:49]wFMCommunicate request_size=41 [00:16:49]MH_SAM_APDU [00:16:49]CAPDU: 80 0D 02 02 24 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0F DF 00 00 35 04 06 00 6A 4C 3D B5 2A B3 [00:16:49]Write to MH i2c: E2 2C 00 2E 00 80 0D 02 02 24 00 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0F DF 00 00 35 04 06 00 6A 4C 3D B5 2A B3 00 00 F1 [00:16:49]Write i2c OK [00:16:49]MH_I2C_Read... [00:16:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:16:49]Read from MH i2c: E2 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 03 00 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 03 00 2E 00 00 90 00 A2 [00:16:49]RAPDU: 90 00 [00:16:49]wFMCommunicate OK [00:16:49]wFMCommunicate request_size=4 [00:16:49]MH_SAM_APDU [00:16:49]CAPDU: 80 0D 03 02 [00:16:49]Write to MH i2c: E2 08 00 2F 00 80 0D 03 02 00 00 00 00 AA [00:16:49]Write i2c OK [00:16:49]MH_I2C_Read... [00:16:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:16:49]Read from MH i2c: E2 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 0B 00 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 0B 00 2F 00 00 2A 93 8E 28 C0 7C D6 68 90 00 98 [00:16:49]RAPDU: 2A 93 8E 28 C0 7C D6 68 90 00 [00:16:49]wFMCommunicate OK [00:16:49]SAM_PROTO_SignData done [00:16:49]FM_MakeSignedData done [00:16:49]CreateOFDProtocolMessage [00:16:49]wFMCommunicate request_size=4 [00:16:49]MH_SAM_APDU [00:16:49]CAPDU: 80 11 00 00 [00:16:49]Write to MH i2c: E2 08 00 30 00 80 11 00 00 00 00 00 00 AA [00:16:49]Write i2c OK [00:16:49]MH_I2C_Read... [00:16:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:49]Read from MH i2c: E2 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 17 00 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: E2 17 00 30 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 04 [00:16:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:16:49]wFMCommunicate OK [00:16:49]CreateOFDProtocolMessage done [00:16:49]OFDSenderStorePacket 57103 [00:16:49]StoreOFDPacket docnum=57103 [00:16:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 73 FC 26 01 37 73 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 70 6A 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0F DF 00 00 35 04 06 00 6A 4C 3D B5 2A B3 2A 93 8E 28 C0 7C D6 68 [00:16:49]CheckFolder [00:16:49]dirname=/storage/ofd_packets [00:16:49]CheckFolder done [00:16:49]ProducePacketName [00:16:49]name=ofd_packets/00057103 [00:16:49]NVStorageSaveData ofd_packets/00057103 [00:16:49]File name is /storage/ofd_packets/00057103 [00:16:49]Write 332 bytes [00:16:49]NVStorageSaveData done [00:16:49]OFDSenderStorePacket done [00:16:49]KKMCreateOFDPacket done [00:16:49]NVStorageSaveData kkm_last_timestamp [00:16:49]File name is /storage/kkm_last_timestamp [00:16:49]Write 4 bytes [00:16:49]NVStorageSaveData done [00:16:49]ExternCall_PrintAddStr [00:16:49]wPrintStart [00:16:49]Write to MH i2c: 01 00 00 31 00 31 [00:16:49]Write i2c OK [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: 01 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: 01 07 00 [00:16:49]MH_I2C_Read... [00:16:49]Read from MH i2c: 01 07 00 31 00 00 00 00 00 00 FF 0F 46 [00:16:49]RasterBufferAndPrint [00:16:49]line Счет N : (3)129561 [00:16:49]line ИНН: 02508201610067 [00:16:49]line Контрольно-Кассовый Чек [00:16:49]line ПРОДАЖА [00:16:49]line Товар: 2000034730018 [00:16:49]line Кофе Американо (GABB TRADE) [00:16:49]line 2.000 * 105.00 [00:16:49]line = 210.00 [00:16:49]line НДС 12% НСП 1% [00:16:49]line > о реализуемом товаре [00:16:49]line ИТОГО: 210.00 [00:16:49]line НСП 1% : 1.86 [00:16:49]line НДС 12% : 22.30 [00:16:49]line Наличными: 210.00 [00:16:49]line Безнал.: 0.00 [00:16:49]line Место: АЗС № 132 "Партнер Нефть" [00:16:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:16:49]line СНО: Общий режим [00:16:49]line Чек 120 15.07.2024 00:16 [00:16:49]line Смена: 496 ФФД: 1.0 [00:16:49]line ЗНМ: 0300000132 [00:16:49]line РНМ: 0000000000091208 [00:16:49]line Версия ККМ: 001 [00:16:49]line ФМ: 0000000000874857 [00:16:49]line ФД: 57103 [00:16:49]line ФПД: 116875685341875 [00:16:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T001648&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57103&fm=116875685341875&tin=02508201610067®Number=0000000000091208&sum=21000 [00:16:49]OFD Sender: Processing packet 57103 [packets to send 38, broken 37] [00:16:49]ProducePacketName [00:16:49]name=ofd_packets/00057103 [00:16:49]OFD Sender: To server: pG, [00:16:49]CommunicateWithHost lk.salyk.kg:30040 [00:16:49]ConnectInit lk.salyk.kg [00:16:49]line 0 [00:16:49]written 0, free lines is 4095 [00:16:49]Connected sock=10 [00:16:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2E 01 00 00 73 FC 26 01 37 73 5A 03 01 00 03 00 1A 01 1E 04 01 00 01 23 04 6C 00 8A 04 0D 00 32 30 30 30 30 33 34 37 33 30 30 31 38 06 04 28 00 D0 9A D0 BE D1 84 D0 B5 20 D0 90 D0 BC D0 B5 D1 80 D0 B8 D0 BA D0 B0 D0 BD D0 BE 20 28 47 41 42 42 20 54 52 41 44 45 29 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 08 52 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 08 52 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 BA 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 B6 08 00 00 00 00 07 04 06 00 08 52 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 78 00 00 00 F4 03 04 00 70 6A 94 66 0E 04 04 00 F0 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 0F DF 00 00 35 04 06 00 6A 4C 3D B5 2A B3 2A 93 8E 28 C0 7C D6 68 [00:16:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 17 8F 47 00 FC 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 38 37 34 38 35 37 10 04 04 00 0F DF 00 00 F4 03 04 00 C0 10 94 66 B6 04 01 00 00 E8 EA C2 0E 03 C5 E9 2A [00:16:49]CommunicateWithHost err = 0 [00:16:49]CheckOFDResponse [00:16:49]1017 (14) - 77093643461234 [00:16:49]1041 (16) - 0000000000874857 [00:16:49]1040 (4) - 57103 [00:16:49]1012 (4) - 14.07.2024 17:54 [00:16:49]1206 (1) - 0 [00:16:49]OFD Sender: Remove packet 57103 [00:16:49]ProducePacketName [00:16:49]name=ofd_packets/00057103 [00:16:49]NVStorageDeleteData [00:16:50]Write to MH i2c: 01 00 00 5A 00 5A [00:16:50]Write i2c OK [00:16:50]MH_I2C_Read... [00:16:50]Read from MH i2c: 01 [00:16:50]MH_I2C_Read... [00:16:50]Read from MH i2c: 01 07 00 [00:16:50]MH_I2C_Read... [00:16:50]Read from MH i2c: 01 07 00 5A 00 00 00 00 00 00 F6 0C 63 [00:16:50]RasterBufferAndPrint [00:16:50]line [00:16:50]line [00:16:50]line [00:16:50]line [00:16:50]line [00:16:50]written 0, free lines is 3324 [00:16:50]MH_Cut [00:16:50]Write to MH i2c: D1 01 00 61 00 01 33 [00:16:50]Write i2c OK [00:16:50]MH_I2C_Read... [00:16:50]Read from MH i2c: D1 [00:16:50]MH_I2C_Read... [00:16:50]Read from MH i2c: D1 01 00 [00:16:50]MH_I2C_Read... [00:16:50]Read from MH i2c: D1 01 00 61 00 00 32 [00:16:50]Write to MH i2c: 01 00 00 62 00 62 [00:16:50]Write i2c OK [00:16:50]MH_I2C_Read... [00:16:50]OFD Sender: No OFD packet to send [00:16:50]*** Cut start [00:16:50]*** Partial cut [00:16:50]*** CUTSNS_PIN = 1 [00:16:50]*** CUTSNS_PIN = 0 [00:16:51]*** Brake cut motor [00:16:51]Read from MH i2c: 01 [00:16:51]MH_I2C_Read... [00:16:51]*** Stop cut motor [00:16:51]*** Cut end [00:16:51]Read from MH i2c: 01 07 00 [00:16:51]MH_I2C_Read... [00:16:51]Read from MH i2c: 01 07 00 62 00 00 00 00 00 00 FF 0F 77 [00:16:51]process_action close_receipt done [00:16:51]requested_data is exist [00:16:51]produce_requested_data [00:16:51]requested_item fm.sn is exist - process it [00:16:51]wFMCommunicate request_size=4 [00:16:51]MH_SAM_APDU [00:16:51]CAPDU: 80 11 00 00 [00:16:51]Write to MH i2c: E2 08 00 63 00 80 11 00 00 00 00 00 00 DD [00:16:51]Write i2c OK [00:16:51]MH_I2C_Read... [00:16:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:16:51]Read from MH i2c: E2 [00:16:51]MH_I2C_Read... [00:16:51]Read from MH i2c: E2 17 00 [00:16:51]MH_I2C_Read... [00:16:51]Read from MH i2c: E2 17 00 63 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 37 [00:16:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:16:51]wFMCommunicate OK [00:16:51]requested_item fd.num is exist - process it [00:16:51]SAM_PROTO_GetFieldsCounters [00:16:51]wFMCommunicate request_size=4 [00:16:51]MH_SAM_APDU [00:16:51]CAPDU: 80 13 00 00 [00:16:51]Write to MH i2c: E2 08 00 64 00 80 13 00 00 00 00 00 00 E0 [00:16:51]Write i2c OK [00:16:51]MH_I2C_Read... [00:16:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:16:51]Read from MH i2c: E2 [00:16:51]MH_I2C_Read... [00:16:51]Read from MH i2c: E2 62 00 [00:16:51]MH_I2C_Read... [00:16:51]Read from MH i2c: E2 62 00 64 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [00:16:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:16:51]wFMCommunicate OK [00:16:51]SAM_PROTO_GetFieldsCounters done [00:16:51]requested_item shift.num is exist - process it [00:16:51]requested_item shift.opened is exist - process it [00:16:51]req_shift_opened [00:16:51]FM_GetShiftState [00:16:51]SAM_PROTO_GetShiftState [00:16:51]wFMCommunicate request_size=4 [00:16:51]MH_SAM_APDU [00:16:51]CAPDU: 80 13 01 00 [00:16:51]Write to MH i2c: E2 08 00 65 00 80 13 01 00 00 00 00 00 E2 [00:16:51]Write i2c OK [00:16:51]MH_I2C_Read... [00:16:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:16:51]Read from MH i2c: E2 [00:16:51]MH_I2C_Read... [00:16:51]Read from MH i2c: E2 0E 00 [00:16:51]MH_I2C_Read... [00:16:51]Read from MH i2c: E2 0E 00 65 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 89 [00:16:51]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:16:51]wFMCommunicate OK [00:16:51]SAM_PROTO_GetShiftState done [00:16:51]FM_GetShiftState done [00:16:51]req_shift_opened done [00:16:51]requested_item shift.open_date is exist - process it [00:16:51]req_shift_open_date [00:16:51]req_shift_open_date done [00:16:51]requested_item shift.sale.total is exist - process it [00:16:51]SAM_PROTO_GetShiftData [00:16:51]wFMCommunicate request_size=4 [00:16:51]MH_SAM_APDU [00:16:51]CAPDU: 80 13 02 00 [00:16:51]Write to MH i2c: E2 08 00 66 00 80 13 02 00 00 00 00 00 E4 [00:16:51]Write i2c OK [00:16:51]MH_I2C_Read... [00:16:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:16:52]Read from MH i2c: E2 [00:16:52]MH_I2C_Read... [00:16:52]Read from MH i2c: E2 FD 00 [00:16:52]MH_I2C_Read... [00:16:52]Read from MH i2c: E2 FD 00 66 00 00 BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 6F [00:16:52]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:16:52]wFMCommunicate OK [00:16:52]wFMCommunicate request_size=4 [00:16:52]MH_SAM_APDU [00:16:52]CAPDU: 80 17 00 00 [00:16:52]Write to MH i2c: E2 08 00 67 00 80 17 00 00 00 00 00 00 E7 [00:16:52]Write i2c OK [00:16:52]MH_I2C_Read... [00:16:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:52]Read from MH i2c: E2 [00:16:52]MH_I2C_Read... [00:16:52]Read from MH i2c: E2 FD 00 [00:16:52]MH_I2C_Read... [00:16:52]Read from MH i2c: E2 FD 00 67 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 7A [00:16:52]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:52]wFMCommunicate OK [00:16:52]wFMCommunicate request_size=4 [00:16:52]MH_SAM_APDU [00:16:52]CAPDU: 80 17 00 00 [00:16:52]Write to MH i2c: E2 08 00 68 00 80 17 00 00 00 00 00 00 E8 [00:16:52]Write i2c OK [00:16:52]MH_I2C_Read... [00:16:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:52]Read from MH i2c: E2 [00:16:52]MH_I2C_Read... [00:16:52]Read from MH i2c: E2 FD 00 [00:16:52]MH_I2C_Read... [00:16:52]Read from MH i2c: E2 FD 00 68 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 14 [00:16:52]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:16:52]wFMCommunicate OK [00:16:52]wFMCommunicate request_size=4 [00:16:52]MH_SAM_APDU [00:16:52]CAPDU: 80 17 00 00 [00:16:52]Write to MH i2c: E2 08 00 69 00 80 17 00 00 00 00 00 00 E9 [00:16:52]Write i2c OK [00:16:52]MH_I2C_Read... [00:16:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:16:52]Read from MH i2c: E2 [00:16:52]MH_I2C_Read... [00:16:52]Read from MH i2c: E2 FD 00 [00:16:52]MH_I2C_Read... [00:16:52]Read from MH i2c: E2 FD 00 69 00 00 00 00 EF 03 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 90 00 5E [00:16:52]RAPDU: 00 00 EF 03 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 90 00 [00:16:52]wFMCommunicate OK [00:16:52]wFMCommunicate request_size=4 [00:16:52]MH_SAM_APDU [00:16:52]CAPDU: 80 17 00 00 [00:16:52]Write to MH i2c: E2 08 00 6A 00 80 17 00 00 00 00 00 00 EA [00:16:52]Write i2c OK [00:16:52]MH_I2C_Read... [00:16:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:16:53]Read from MH i2c: E2 [00:16:53]MH_I2C_Read... [00:16:53]Read from MH i2c: E2 D8 00 [00:16:53]MH_I2C_Read... [00:16:53]Read from MH i2c: E2 D8 00 6A 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 D1 [00:16:53]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:16:53]wFMCommunicate OK [00:16:53]SAM_PROTO_GetShiftData done [00:16:53]requested_item shift.sale.total_cash is exist - process it [00:16:53]requested_item shift.sale_refund.total is exist - process it [00:16:53]requested_item shift.sale_refund.total_cash is exist - process it [00:16:53]produce_requested_data done [00:16:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57103,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00} [00:16:53]process_action_free close_receipt [00:16:53]json_value_free [00:16:53]json_value_free done [00:16:53]process_json_proto returns [00:16:53]Send response to host [00:16:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57103,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00}}} [00:16:53]free response buf [00:16:53]execute_script done [00:16:53]execute_script returns [00:16:53]free content buf [00:16:53]Sock 7.Close socket [00:16:53]Sock 7.Thread stoped [00:16:55]OFD Sender: No OFD packet to send [00:17:00]OFD Sender: No OFD packet to send [00:17:05]OFD Sender: No OFD packet to send [00:17:10]OFD Sender: No OFD packet to send [00:17:15]OFD Sender: No OFD packet to send [00:17:20]OFD Sender: No OFD packet to send [00:17:25]OFD Sender: No OFD packet to send [00:17:30]OFD Sender: No OFD packet to send [00:17:35]OFD Sender: No OFD packet to send [00:17:40]OFD Sender: No OFD packet to send [00:17:45]OFD Sender: No OFD packet to send [00:17:50]OFD Sender: No OFD packet to send [00:17:55]OFD Sender: No OFD packet to send [00:18:00]OFD Sender: No OFD packet to send [00:18:05]OFD Sender: No OFD packet to send [00:18:10]OFD Sender: No OFD packet to send [00:18:15]OFD Sender: No OFD packet to send [00:18:20]OFD Sender: No OFD packet to send [00:18:25]OFD Sender: No OFD packet to send [00:18:30]OFD Sender: No OFD packet to send [00:18:35]OFD Sender: No OFD packet to send [00:18:40]OFD Sender: No OFD packet to send [00:18:45]OFD Sender: No OFD packet to send [00:18:50]OFD Sender: No OFD packet to send [00:18:55]OFD Sender: No OFD packet to send [00:19:00]OFD Sender: No OFD packet to send [00:19:05]OFD Sender: No OFD packet to send [00:19:10]OFD Sender: No OFD packet to send [00:19:15]OFD Sender: No OFD packet to send [00:19:20]OFD Sender: No OFD packet to send [00:19:25]OFD Sender: No OFD packet to send [00:19:30]OFD Sender: No OFD packet to send [00:19:35]OFD Sender: No OFD packet to send [00:19:40]OFD Sender: No OFD packet to send [00:19:45]OFD Sender: No OFD packet to send [00:19:50]OFD Sender: No OFD packet to send [00:19:55]OFD Sender: No OFD packet to send [00:20:00]OFD Sender: No OFD packet to send [00:20:05]OFD Sender: No OFD packet to send [00:20:10]OFD Sender: No OFD packet to send [00:20:15]OFD Sender: No OFD packet to send [00:20:20]OFD Sender: No OFD packet to send [00:20:25]OFD Sender: No OFD packet to send [00:20:30]OFD Sender: No OFD packet to send [00:20:35]OFD Sender: No OFD packet to send [00:20:40]OFD Sender: No OFD packet to send [00:20:45]OFD Sender: No OFD packet to send [00:20:50]OFD Sender: No OFD packet to send [00:20:55]OFD Sender: No OFD packet to send [00:21:00]OFD Sender: No OFD packet to send [00:21:05]OFD Sender: No OFD packet to send [00:21:10]OFD Sender: No OFD packet to send [00:21:15]OFD Sender: No OFD packet to send [00:21:20]OFD Sender: No OFD packet to send [00:21:25]OFD Sender: No OFD packet to send [00:21:30]OFD Sender: No OFD packet to send [00:21:35]OFD Sender: No OFD packet to send [00:21:40]OFD Sender: No OFD packet to send [00:21:45]OFD Sender: No OFD packet to send [00:21:50]OFD Sender: No OFD packet to send [00:21:55]OFD Sender: No OFD packet to send [00:22:00]OFD Sender: No OFD packet to send [00:22:05]OFD Sender: No OFD packet to send [00:22:10]OFD Sender: No OFD packet to send [00:22:15]OFD Sender: No OFD packet to send [00:22:20]OFD Sender: No OFD packet to send [00:22:25]OFD Sender: No OFD packet to send [00:22:30]OFD Sender: No OFD packet to send [00:22:35]OFD Sender: No OFD packet to send [00:22:40]OFD Sender: No OFD packet to send [00:22:45]OFD Sender: No OFD packet to send [00:22:50]OFD Sender: No OFD packet to send [00:22:55]OFD Sender: No OFD packet to send [00:23:00]OFD Sender: No OFD packet to send [00:23:05]OFD Sender: No OFD packet to send [00:23:10]OFD Sender: No OFD packet to send [00:23:15]OFD Sender: No OFD packet to send [00:23:20]OFD Sender: No OFD packet to send [00:23:25]OFD Sender: No OFD packet to send [00:23:30]OFD Sender: No OFD packet to send [00:23:35]OFD Sender: No OFD packet to send [00:23:40]OFD Sender: No OFD packet to send [00:23:45]OFD Sender: No OFD packet to send [00:23:50]OFD Sender: No OFD packet to send [00:23:55]OFD Sender: No OFD packet to send [00:24:00]OFD Sender: No OFD packet to send [00:24:05]OFD Sender: No OFD packet to send [00:24:10]OFD Sender: No OFD packet to send [00:24:15]OFD Sender: No OFD packet to send [00:24:20]OFD Sender: No OFD packet to send [00:24:25]OFD Sender: No OFD packet to send [00:24:30]OFD Sender: No OFD packet to send [00:24:35]OFD Sender: No OFD packet to send [00:24:40]OFD Sender: No OFD packet to send [00:24:45]OFD Sender: No OFD packet to send [00:24:50]OFD Sender: No OFD packet to send [00:24:55]OFD Sender: No OFD packet to send [00:25:00]OFD Sender: No OFD packet to send [00:25:05]OFD Sender: No OFD packet to send [00:25:10]OFD Sender: No OFD packet to send [00:25:15]OFD Sender: No OFD packet to send [00:25:20]OFD Sender: No OFD packet to send [00:25:25]OFD Sender: No OFD packet to send [00:25:30]OFD Sender: No OFD packet to send [00:25:35]OFD Sender: No OFD packet to send [00:25:40]OFD Sender: No OFD packet to send [00:25:45]OFD Sender: No OFD packet to send [00:25:50]OFD Sender: No OFD packet to send [00:25:55]OFD Sender: No OFD packet to send [00:26:00]OFD Sender: No OFD packet to send [00:26:05]OFD Sender: No OFD packet to send [00:26:10]OFD Sender: No OFD packet to send [00:26:15]OFD Sender: No OFD packet to send [00:26:20]OFD Sender: No OFD packet to send [00:26:25]OFD Sender: No OFD packet to send [00:26:30]OFD Sender: No OFD packet to send [00:26:35]OFD Sender: No OFD packet to send [00:26:40]OFD Sender: No OFD packet to send [00:26:45]OFD Sender: No OFD packet to send [00:26:50]OFD Sender: No OFD packet to send [00:26:55]OFD Sender: No OFD packet to send [00:27:00]OFD Sender: No OFD packet to send [00:27:05]OFD Sender: No OFD packet to send [00:27:10]OFD Sender: No OFD packet to send [00:27:15]OFD Sender: No OFD packet to send [00:27:20]OFD Sender: No OFD packet to send [00:27:26]OFD Sender: No OFD packet to send [00:27:31]OFD Sender: No OFD packet to send [00:27:36]OFD Sender: No OFD packet to send [00:27:41]OFD Sender: No OFD packet to send [00:27:46]OFD Sender: No OFD packet to send [00:27:51]OFD Sender: No OFD packet to send [00:27:56]OFD Sender: No OFD packet to send [00:28:01]OFD Sender: No OFD packet to send [00:28:02]accept exits with 9 [00:28:02]New connection [00:28:02]New thread 3066924388 created [00:28:02]Thread 3067067748 joined [00:28:02]Waiting for new connection... [00:28:02] Sock 9.Parse request [00:28:02]Sock 9.Check first char [00:28:02]Sock 9.First char is OK [00:28:02]request: POST /json_proto HTTP/1.0 [00:28:02]Method: POST [00:28:02]URL: /json_proto [00:28:02]Method is POST - this is cgi request [00:28:02]url: /json_proto [00:28:02]query_string will be loaded in cgi processing [00:28:02]execute_cgi json_proto POST (null) [00:28:02]execute_cgi path=json_proto method=POST [00:28:02]POST find Content-Length [00:28:02]Host: 172.17.39.4:8080 [00:28:02]Content-Length: 215 [00:28:02]Content-Type: application/json [00:28:02] [00:28:02]POST finish read [00:28:02]Found Content-Length = 215 [00:28:02]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:28:02]execute_script... [00:28:02]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:28:02]POST & json_proto [00:28:02]process_json_proto [00:28:02]json parsed OK: [00:28:02]protocol is kg_v1.0 [00:28:02]action value=get_value [00:28:02]process_action get_value [00:28:02]cmd_get_value [00:28:02]process_action get_value done [00:28:02]requested_data is exist [00:28:02]produce_requested_data [00:28:02]requested_item kkm.sn is exist - process it [00:28:02]requested_item kkm.ver is exist - process it [00:28:02]requested_item fm.sn is exist - process it [00:28:02]wFMCommunicate request_size=4 [00:28:02]MH_SAM_APDU [00:28:02]CAPDU: 80 11 00 00 [00:28:02]Write to MH i2c: E2 08 00 6B 00 80 11 00 00 00 00 00 00 E5 [00:28:02]Write i2c OK [00:28:02]MH_I2C_Read... [00:28:02]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:28:02]Read from MH i2c: E2 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 17 00 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 17 00 6B 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3F [00:28:02]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:28:02]wFMCommunicate OK [00:28:02]requested_item fd.num is exist - process it [00:28:02]SAM_PROTO_GetFieldsCounters [00:28:02]wFMCommunicate request_size=4 [00:28:02]MH_SAM_APDU [00:28:02]CAPDU: 80 13 00 00 [00:28:02]Write to MH i2c: E2 08 00 6C 00 80 13 00 00 00 00 00 00 E8 [00:28:02]Write i2c OK [00:28:02]MH_I2C_Read... [00:28:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:28:02]Read from MH i2c: E2 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 62 00 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 62 00 6C 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 52 [00:28:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:28:02]wFMCommunicate OK [00:28:02]SAM_PROTO_GetFieldsCounters done [00:28:02]requested_item shift.num is exist - process it [00:28:02]requested_item shift.opened is exist - process it [00:28:02]req_shift_opened [00:28:02]FM_GetShiftState [00:28:02]SAM_PROTO_GetShiftState [00:28:02]wFMCommunicate request_size=4 [00:28:02]MH_SAM_APDU [00:28:02]CAPDU: 80 13 01 00 [00:28:02]Write to MH i2c: E2 08 00 6D 00 80 13 01 00 00 00 00 00 EA [00:28:02]Write i2c OK [00:28:02]MH_I2C_Read... [00:28:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:28:02]Read from MH i2c: E2 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 0E 00 [00:28:02]MH_I2C_Read... [00:28:02]Read from MH i2c: E2 0E 00 6D 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 91 [00:28:02]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:28:02]wFMCommunicate OK [00:28:02]SAM_PROTO_GetShiftState done [00:28:02]FM_GetShiftState done [00:28:02]req_shift_opened done [00:28:02]requested_item shift.open_date is exist - process it [00:28:02]req_shift_open_date [00:28:02]req_shift_open_date done [00:28:02]produce_requested_data done [00:28:02]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57103,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126} [00:28:02]process_action_free get_value [00:28:02]json_value_free [00:28:02]json_value_free done [00:28:02]process_json_proto returns [00:28:02]Send response to host [00:28:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57103,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126}}} [00:28:02]free response buf [00:28:02]execute_script done [00:28:02]execute_script returns [00:28:02]free content buf [00:28:02]Sock 9.Close socket [00:28:02]Sock 9.Thread stoped [00:28:02]accept exits with 8 [00:28:02]New connection [00:28:02]New thread 3067067748 created [00:28:02]Thread 3066924388 joined [00:28:02]Waiting for new connection... [00:28:02] Sock 8.Parse request [00:28:02]Sock 8.Check first char [00:28:02]Sock 8.First char is OK [00:28:02]request: POST /json_proto HTTP/1.0 [00:28:02]Method: POST [00:28:02]URL: /json_proto [00:28:02]Method is POST - this is cgi request [00:28:02]url: /json_proto [00:28:02]query_string will be loaded in cgi processing [00:28:02]execute_cgi json_proto POST (null) [00:28:02]execute_cgi path=json_proto method=POST [00:28:02]POST find Content-Length [00:28:02]Host: 172.17.39.4:8080 [00:28:02]Content-Length: 331 [00:28:02]Content-Type: application/json [00:28:02] [00:28:02]POST finish read [00:28:02]Found Content-Length = 331 [00:28:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:28:02]execute_script... [00:28:02]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:28:02]POST & json_proto [00:28:02]process_json_proto [00:28:02]json parsed OK: [00:28:02]protocol is kg_v1.0 [00:28:02]action value=get_value [00:28:02]process_action get_value [00:28:02]cmd_get_value [00:28:02]process_action get_value done [00:28:02]requested_data is exist [00:28:02]produce_requested_data [00:28:02]requested_item fm.sale.total is exist - process it [00:28:02]SAM_PROTO_GetFMData [00:28:02]wFMCommunicate request_size=4 [00:28:02]MH_SAM_APDU [00:28:02]CAPDU: 80 13 03 00 [00:28:02]Write to MH i2c: E2 08 00 6E 00 80 13 03 00 00 00 00 00 ED [00:28:02]Write i2c OK [00:28:02]MH_I2C_Read... [00:28:03]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:28:03]Read from MH i2c: E2 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 FD 00 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 FD 00 6E 00 00 C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 59 [00:28:03]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:28:03]wFMCommunicate OK [00:28:03]wFMCommunicate request_size=4 [00:28:03]MH_SAM_APDU [00:28:03]CAPDU: 80 17 00 00 [00:28:03]Write to MH i2c: E2 08 00 6F 00 80 17 00 00 00 00 00 00 EF [00:28:03]Write i2c OK [00:28:03]MH_I2C_Read... [00:28:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:03]Read from MH i2c: E2 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 FD 00 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 FD 00 6F 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 88 [00:28:03]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:28:03]wFMCommunicate OK [00:28:03]wFMCommunicate request_size=4 [00:28:03]MH_SAM_APDU [00:28:03]CAPDU: 80 17 00 00 [00:28:03]Write to MH i2c: E2 08 00 70 00 80 17 00 00 00 00 00 00 F0 [00:28:03]Write i2c OK [00:28:03]MH_I2C_Read... [00:28:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:03]Read from MH i2c: E2 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 FD 00 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 FD 00 70 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 05 [00:28:03]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:03]wFMCommunicate OK [00:28:03]wFMCommunicate request_size=4 [00:28:03]MH_SAM_APDU [00:28:03]CAPDU: 80 17 00 00 [00:28:03]Write to MH i2c: E2 08 00 71 00 80 17 00 00 00 00 00 00 F1 [00:28:03]Write i2c OK [00:28:03]MH_I2C_Read... [00:28:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:03]Read from MH i2c: E2 [00:28:03]MH_I2C_Read... [00:28:03]Read from MH i2c: E2 FD 00 [00:28:03]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 FD 00 71 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 69 [00:28:04]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:04]wFMCommunicate OK [00:28:04]wFMCommunicate request_size=4 [00:28:04]MH_SAM_APDU [00:28:04]CAPDU: 80 17 00 00 [00:28:04]Write to MH i2c: E2 08 00 72 00 80 17 00 00 00 00 00 00 F2 [00:28:04]Write i2c OK [00:28:04]MH_I2C_Read... [00:28:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:28:04]Read from MH i2c: E2 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 E1 00 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 E1 00 72 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 E0 [00:28:04]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:28:04]wFMCommunicate OK [00:28:04]SAM_PROTO_GetFMData done [00:28:04]requested_item fm.sale_refund.total is exist - process it [00:28:04]requested_item fm.buy.total is exist - process it [00:28:04]requested_item shift.sale.total is exist - process it [00:28:04]SAM_PROTO_GetShiftData [00:28:04]wFMCommunicate request_size=4 [00:28:04]MH_SAM_APDU [00:28:04]CAPDU: 80 13 02 00 [00:28:04]Write to MH i2c: E2 08 00 73 00 80 13 02 00 00 00 00 00 F1 [00:28:04]Write i2c OK [00:28:04]MH_I2C_Read... [00:28:04]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:28:04]Read from MH i2c: E2 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 FD 00 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 FD 00 73 00 00 BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 7C [00:28:04]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:28:04]wFMCommunicate OK [00:28:04]wFMCommunicate request_size=4 [00:28:04]MH_SAM_APDU [00:28:04]CAPDU: 80 17 00 00 [00:28:04]Write to MH i2c: E2 08 00 74 00 80 17 00 00 00 00 00 00 F4 [00:28:04]Write i2c OK [00:28:04]MH_I2C_Read... [00:28:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:04]Read from MH i2c: E2 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 FD 00 [00:28:04]MH_I2C_Read... [00:28:04]Read from MH i2c: E2 FD 00 74 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 87 [00:28:04]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:04]wFMCommunicate OK [00:28:04]wFMCommunicate request_size=4 [00:28:04]MH_SAM_APDU [00:28:04]CAPDU: 80 17 00 00 [00:28:04]Write to MH i2c: E2 08 00 75 00 80 17 00 00 00 00 00 00 F5 [00:28:04]Write i2c OK [00:28:04]MH_I2C_Read... [00:28:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:05]Read from MH i2c: E2 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 FD 00 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 FD 00 75 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 21 [00:28:05]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:05]wFMCommunicate OK [00:28:05]wFMCommunicate request_size=4 [00:28:05]MH_SAM_APDU [00:28:05]CAPDU: 80 17 00 00 [00:28:05]Write to MH i2c: E2 08 00 76 00 80 17 00 00 00 00 00 00 F6 [00:28:05]Write i2c OK [00:28:05]MH_I2C_Read... [00:28:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:05]Read from MH i2c: E2 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 FD 00 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 FD 00 76 00 00 00 00 EF 03 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 90 00 6B [00:28:05]RAPDU: 00 00 EF 03 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 90 00 [00:28:05]wFMCommunicate OK [00:28:05]wFMCommunicate request_size=4 [00:28:05]MH_SAM_APDU [00:28:05]CAPDU: 80 17 00 00 [00:28:05]Write to MH i2c: E2 08 00 77 00 80 17 00 00 00 00 00 00 F7 [00:28:05]Write i2c OK [00:28:05]MH_I2C_Read... [00:28:05]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:28:05]Read from MH i2c: E2 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 D8 00 [00:28:05]MH_I2C_Read... [00:28:05]Read from MH i2c: E2 D8 00 77 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 DE [00:28:05]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:28:05]wFMCommunicate OK [00:28:05]SAM_PROTO_GetShiftData done [00:28:05]requested_item shift.sale.total_cash is exist - process it [00:28:05]requested_item shift.sale_refund.total is exist - process it [00:28:05]requested_item shift.sale_refund.total_cash is exist - process it [00:28:05]requested_item shift.buy.total is exist - process it [00:28:05]requested_item shift.buy.total_cash is exist - process it [00:28:05]produce_requested_data done [00:28:05]produce_requested_data return {"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:28:05]process_action_free get_value [00:28:05]json_value_free [00:28:05]json_value_free done [00:28:05]process_json_proto returns [00:28:05]Send response to host [00:28:05]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:28:05]free response buf [00:28:05]execute_script done [00:28:05]execute_script returns [00:28:05]free content buf [00:28:05]Sock 8.Close socket [00:28:05]Sock 8.Thread stoped [00:28:06]accept exits with 9 [00:28:06]New connection [00:28:06]New thread 3066924388 created [00:28:06]Thread 3067067748 joined [00:28:06]Waiting for new connection... [00:28:06] Sock 9.Parse request [00:28:06]Sock 9.Check first char [00:28:06]Sock 9.First char is OK [00:28:06]request: POST /json_proto HTTP/1.0 [00:28:06]Method: POST [00:28:06]URL: /json_proto [00:28:06]Method is POST - this is cgi request [00:28:06]url: /json_proto [00:28:06]query_string will be loaded in cgi processing [00:28:06]execute_cgi json_proto POST (null) [00:28:06]execute_cgi path=json_proto method=POST [00:28:06]POST find Content-Length [00:28:06]Host: 172.17.39.4:8080 [00:28:06]Content-Length: 331 [00:28:06]Content-Type: application/json [00:28:06] [00:28:06]POST finish read [00:28:06]Found Content-Length = 331 [00:28:06]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:28:06]execute_script... [00:28:06]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:28:06]POST & json_proto [00:28:06]process_json_proto [00:28:06]json parsed OK: [00:28:06]protocol is kg_v1.0 [00:28:06]action value=get_value [00:28:06]process_action get_value [00:28:06]cmd_get_value [00:28:06]process_action get_value done [00:28:06]requested_data is exist [00:28:06]produce_requested_data [00:28:06]requested_item fm.sale.total is exist - process it [00:28:06]SAM_PROTO_GetFMData [00:28:06]wFMCommunicate request_size=4 [00:28:06]MH_SAM_APDU [00:28:06]CAPDU: 80 13 03 00 [00:28:06]Write to MH i2c: E2 08 00 78 00 80 13 03 00 00 00 00 00 F7 [00:28:06]Write i2c OK [00:28:06]MH_I2C_Read... [00:28:06]OFD Sender: No OFD packet to send [00:28:06]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:28:06]Read from MH i2c: E2 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 FD 00 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 FD 00 78 00 00 C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 63 [00:28:06]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:28:06]wFMCommunicate OK [00:28:06]wFMCommunicate request_size=4 [00:28:06]MH_SAM_APDU [00:28:06]CAPDU: 80 17 00 00 [00:28:06]Write to MH i2c: E2 08 00 79 00 80 17 00 00 00 00 00 00 F9 [00:28:06]Write i2c OK [00:28:06]MH_I2C_Read... [00:28:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:06]Read from MH i2c: E2 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 FD 00 [00:28:06]MH_I2C_Read... [00:28:06]Read from MH i2c: E2 FD 00 79 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 92 [00:28:06]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:28:06]wFMCommunicate OK [00:28:06]wFMCommunicate request_size=4 [00:28:06]MH_SAM_APDU [00:28:06]CAPDU: 80 17 00 00 [00:28:06]Write to MH i2c: E2 08 00 7A 00 80 17 00 00 00 00 00 00 FA [00:28:06]Write i2c OK [00:28:06]MH_I2C_Read... [00:28:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:07]Read from MH i2c: E2 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 FD 00 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 FD 00 7A 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0F [00:28:07]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:07]wFMCommunicate OK [00:28:07]wFMCommunicate request_size=4 [00:28:07]MH_SAM_APDU [00:28:07]CAPDU: 80 17 00 00 [00:28:07]Write to MH i2c: E2 08 00 7B 00 80 17 00 00 00 00 00 00 FB [00:28:07]Write i2c OK [00:28:07]MH_I2C_Read... [00:28:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:07]Read from MH i2c: E2 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 FD 00 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 FD 00 7B 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 73 [00:28:07]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:07]wFMCommunicate OK [00:28:07]wFMCommunicate request_size=4 [00:28:07]MH_SAM_APDU [00:28:07]CAPDU: 80 17 00 00 [00:28:07]Write to MH i2c: E2 08 00 7C 00 80 17 00 00 00 00 00 00 FC [00:28:07]Write i2c OK [00:28:07]MH_I2C_Read... [00:28:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:28:07]Read from MH i2c: E2 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 E1 00 [00:28:07]MH_I2C_Read... [00:28:07]Read from MH i2c: E2 E1 00 7C 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EA [00:28:07]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:28:08]wFMCommunicate OK [00:28:08]SAM_PROTO_GetFMData done [00:28:08]requested_item fm.sale_refund.total is exist - process it [00:28:08]requested_item fm.buy.total is exist - process it [00:28:08]requested_item shift.sale.total is exist - process it [00:28:08]SAM_PROTO_GetShiftData [00:28:08]wFMCommunicate request_size=4 [00:28:08]MH_SAM_APDU [00:28:08]CAPDU: 80 13 02 00 [00:28:08]Write to MH i2c: E2 08 00 7D 00 80 13 02 00 00 00 00 00 FB [00:28:08]Write i2c OK [00:28:08]MH_I2C_Read... [00:28:08]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:28:08]Read from MH i2c: E2 [00:28:08]MH_I2C_Read... [00:28:08]Read from MH i2c: E2 FD 00 [00:28:08]MH_I2C_Read... [00:28:08]Read from MH i2c: E2 FD 00 7D 00 00 BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 86 [00:28:08]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:28:08]wFMCommunicate OK [00:28:08]wFMCommunicate request_size=4 [00:28:08]MH_SAM_APDU [00:28:08]CAPDU: 80 17 00 00 [00:28:08]Write to MH i2c: E2 08 00 7E 00 80 17 00 00 00 00 00 00 FE [00:28:08]Write i2c OK [00:28:08]MH_I2C_Read... [00:28:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:08]Read from MH i2c: E2 [00:28:08]MH_I2C_Read... [00:28:08]Read from MH i2c: E2 FD 00 [00:28:08]MH_I2C_Read... [00:28:08]Read from MH i2c: E2 FD 00 7E 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 91 [00:28:08]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:08]wFMCommunicate OK [00:28:08]wFMCommunicate request_size=4 [00:28:08]MH_SAM_APDU [00:28:08]CAPDU: 80 17 00 00 [00:28:08]Write to MH i2c: E2 08 00 7F 00 80 17 00 00 00 00 00 00 FF [00:28:08]Write i2c OK [00:28:08]MH_I2C_Read... [00:28:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:09]Read from MH i2c: E2 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 FD 00 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 FD 00 7F 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 2B [00:28:09]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:09]wFMCommunicate OK [00:28:09]wFMCommunicate request_size=4 [00:28:09]MH_SAM_APDU [00:28:09]CAPDU: 80 17 00 00 [00:28:09]Write to MH i2c: E2 08 00 80 00 80 17 00 00 00 00 00 00 00 [00:28:09]Write i2c OK [00:28:09]MH_I2C_Read... [00:28:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:09]Read from MH i2c: E2 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 FD 00 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 FD 00 80 00 00 00 00 EF 03 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 90 00 75 [00:28:09]RAPDU: 00 00 EF 03 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 90 00 [00:28:09]wFMCommunicate OK [00:28:09]wFMCommunicate request_size=4 [00:28:09]MH_SAM_APDU [00:28:09]CAPDU: 80 17 00 00 [00:28:09]Write to MH i2c: E2 08 00 81 00 80 17 00 00 00 00 00 00 01 [00:28:09]Write i2c OK [00:28:09]MH_I2C_Read... [00:28:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:28:09]Read from MH i2c: E2 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 D8 00 [00:28:09]MH_I2C_Read... [00:28:09]Read from MH i2c: E2 D8 00 81 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 E8 [00:28:09]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:28:10]wFMCommunicate OK [00:28:10]SAM_PROTO_GetShiftData done [00:28:10]requested_item shift.sale.total_cash is exist - process it [00:28:10]requested_item shift.sale_refund.total is exist - process it [00:28:10]requested_item shift.sale_refund.total_cash is exist - process it [00:28:10]requested_item shift.buy.total is exist - process it [00:28:10]requested_item shift.buy.total_cash is exist - process it [00:28:10]produce_requested_data done [00:28:10]produce_requested_data return {"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:28:10]process_action_free get_value [00:28:10]json_value_free [00:28:10]json_value_free done [00:28:10]process_json_proto returns [00:28:10]Send response to host [00:28:10]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:28:10]free response buf [00:28:10]execute_script done [00:28:10]execute_script returns [00:28:10]free content buf [00:28:10]Sock 9.Close socket [00:28:10]Sock 9.Thread stoped [00:28:10]accept exits with 8 [00:28:10]New connection [00:28:10]New thread 3067067748 created [00:28:10]Thread 3066924388 joined [00:28:10]Waiting for new connection... [00:28:10] Sock 8.Parse request [00:28:10]Sock 8.Check first char [00:28:10]Sock 8.First char is OK [00:28:10]request: POST /json_proto HTTP/1.0 [00:28:10]Method: POST [00:28:10]URL: /json_proto [00:28:10]Method is POST - this is cgi request [00:28:10]url: /json_proto [00:28:10]query_string will be loaded in cgi processing [00:28:10]execute_cgi json_proto POST (null) [00:28:10]execute_cgi path=json_proto method=POST [00:28:10]POST find Content-Length [00:28:10]Host: 172.17.39.4:8080 [00:28:10]Content-Length: 275 [00:28:10]Content-Type: application/json [00:28:10] [00:28:10]POST finish read [00:28:10]Found Content-Length = 275 [00:28:10]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0443\u043D\u0434\u0443\u0441\u0431\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:28:10]execute_script... [00:28:10]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "x_report", "params" : { "operator" : "\u041C\u0443\u043D\u0434\u0443\u0441\u0431\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:28:10]POST & json_proto [00:28:10]process_json_proto [00:28:10]json parsed OK: [00:28:10]protocol is kg_v1.0 [00:28:10]action value=x_report [00:28:10]process_action x_report [00:28:10]cmd_x_report [00:28:10]MH_GetDate [00:28:10]Write to MH i2c: F0 00 00 82 00 71 [00:28:10]Write i2c OK [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: F0 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: F0 09 00 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: F0 09 00 82 00 00 1B 6D 94 66 2D 25 5D 64 0F [00:28:10]GetLastDocTimeStamp 1721002608 [00:28:10]current date 1721003291 [00:28:10]FM_GetShiftState [00:28:10]SAM_PROTO_GetShiftState [00:28:10]wFMCommunicate request_size=4 [00:28:10]MH_SAM_APDU [00:28:10]CAPDU: 80 13 01 00 [00:28:10]Write to MH i2c: E2 08 00 83 00 80 13 01 00 00 00 00 00 00 [00:28:10]Write i2c OK [00:28:10]MH_I2C_Read... [00:28:10]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:28:10]Read from MH i2c: E2 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: E2 0E 00 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: E2 0E 00 83 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 A7 [00:28:10]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:28:10]wFMCommunicate OK [00:28:10]SAM_PROTO_GetShiftState done [00:28:10]FM_GetShiftState done [00:28:10]KKMCreateXReportDocument [00:28:10]Load OK [00:28:10]Malloc new data [00:28:10]MH_GetDate [00:28:10]Write to MH i2c: F0 00 00 84 00 73 [00:28:10]Write i2c OK [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: F0 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: F0 09 00 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: F0 09 00 84 00 00 1B 6D 94 66 2D 25 5D 64 11 [00:28:10]Malloc new data [00:28:10]Malloc new data [00:28:10]wFMCommunicate request_size=4 [00:28:10]MH_SAM_APDU [00:28:10]CAPDU: 80 11 00 00 [00:28:10]Write to MH i2c: E2 08 00 85 00 80 11 00 00 00 00 00 00 FF [00:28:10]Write i2c OK [00:28:10]MH_I2C_Read... [00:28:10]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:28:10]Read from MH i2c: E2 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: E2 17 00 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: E2 17 00 85 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 59 [00:28:10]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:28:10]wFMCommunicate OK [00:28:10]SAM_PROTO_GetFieldsCounters [00:28:10]wFMCommunicate request_size=4 [00:28:10]MH_SAM_APDU [00:28:10]CAPDU: 80 13 00 00 [00:28:10]Write to MH i2c: E2 08 00 86 00 80 13 00 00 00 00 00 00 02 [00:28:10]Write i2c OK [00:28:10]MH_I2C_Read... [00:28:10]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:28:10]Read from MH i2c: E2 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: E2 62 00 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: E2 62 00 86 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 6C [00:28:10]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:28:10]wFMCommunicate OK [00:28:10]SAM_PROTO_GetFieldsCounters done [00:28:10]Malloc new data [00:28:10]Malloc new data [00:28:10]Malloc new data [00:28:10]KKMCreateXReportDocument OK [00:28:10]KKMSetXReportData OK [00:28:10]KKMPrepareXReportFMData [00:28:10]SAM_PROTO_GetShiftData [00:28:10]wFMCommunicate request_size=4 [00:28:10]MH_SAM_APDU [00:28:10]CAPDU: 80 13 02 00 [00:28:10]Write to MH i2c: E2 08 00 87 00 80 13 02 00 00 00 00 00 05 [00:28:10]Write i2c OK [00:28:10]MH_I2C_Read... [00:28:10]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:28:10]Read from MH i2c: E2 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: E2 FD 00 [00:28:10]MH_I2C_Read... [00:28:10]Read from MH i2c: E2 FD 00 87 00 00 BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 90 [00:28:11]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:28:11]wFMCommunicate OK [00:28:11]wFMCommunicate request_size=4 [00:28:11]MH_SAM_APDU [00:28:11]CAPDU: 80 17 00 00 [00:28:11]Write to MH i2c: E2 08 00 88 00 80 17 00 00 00 00 00 00 08 [00:28:11]Write i2c OK [00:28:11]MH_I2C_Read... [00:28:11]OFD Sender: No OFD packet to send [00:28:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:11]Read from MH i2c: E2 [00:28:11]MH_I2C_Read... [00:28:11]Read from MH i2c: E2 FD 00 [00:28:11]MH_I2C_Read... [00:28:11]Read from MH i2c: E2 FD 00 88 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9B [00:28:11]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:11]wFMCommunicate OK [00:28:11]wFMCommunicate request_size=4 [00:28:11]MH_SAM_APDU [00:28:11]CAPDU: 80 17 00 00 [00:28:11]Write to MH i2c: E2 08 00 89 00 80 17 00 00 00 00 00 00 09 [00:28:11]Write i2c OK [00:28:11]MH_I2C_Read... [00:28:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:11]Read from MH i2c: E2 [00:28:11]MH_I2C_Read... [00:28:11]Read from MH i2c: E2 FD 00 [00:28:11]MH_I2C_Read... [00:28:11]Read from MH i2c: E2 FD 00 89 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [00:28:11]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:11]wFMCommunicate OK [00:28:11]wFMCommunicate request_size=4 [00:28:11]MH_SAM_APDU [00:28:11]CAPDU: 80 17 00 00 [00:28:11]Write to MH i2c: E2 08 00 8A 00 80 17 00 00 00 00 00 00 0A [00:28:11]Write i2c OK [00:28:11]MH_I2C_Read... [00:28:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:12]Read from MH i2c: E2 [00:28:12]MH_I2C_Read... [00:28:12]Read from MH i2c: E2 FD 00 [00:28:12]MH_I2C_Read... [00:28:12]Read from MH i2c: E2 FD 00 8A 00 00 00 00 EF 03 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 90 00 7F [00:28:12]RAPDU: 00 00 EF 03 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 90 00 [00:28:12]wFMCommunicate OK [00:28:12]wFMCommunicate request_size=4 [00:28:12]MH_SAM_APDU [00:28:12]CAPDU: 80 17 00 00 [00:28:12]Write to MH i2c: E2 08 00 8B 00 80 17 00 00 00 00 00 00 0B [00:28:12]Write i2c OK [00:28:12]MH_I2C_Read... [00:28:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:28:12]Read from MH i2c: E2 [00:28:12]MH_I2C_Read... [00:28:12]Read from MH i2c: E2 D8 00 [00:28:12]MH_I2C_Read... [00:28:12]Read from MH i2c: E2 D8 00 8B 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 F2 [00:28:12]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:28:12]wFMCommunicate OK [00:28:12]SAM_PROTO_GetShiftData done [00:28:12]1194 (1207) - счетчики итогов смены [00:28:12] 1134 (4) - 120 - количество чеков со всеми признаками расчетов [00:28:12] 1129 (155) - счетчики операций «приход» [00:28:12] 1135 (4) - 118 - количество чеков по признаку расчетов [00:28:12] 1201 (3) - 39088.47 - общая итоговая сумма в чеках [00:28:12] 1136 (3) - 31142.00 - итоговая сумма в чеках наличными [00:28:12] 1138 (3) - 7946.47 - итоговая сумма в чеках безналичными [00:28:12] 1024 (122) - суммы налогов [00:28:12] 1006 (9) - суммы НДС [00:28:12] 1010 (1) - 0% - код ставки НДС [00:28:12] 1011 (0) - 0.00 - сумма НДС по ставке [00:28:12] 1006 (12) - суммы НДС [00:28:12] 1010 (1) - 12% - код ставки НДС [00:28:12] 1011 (3) - 4151.23 - сумма НДС по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 0% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (11) - суммы НСП [00:28:12] 1014 (1) - 1% - код ставки НСП [00:28:12] 1015 (2) - 345.79 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 2% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 3% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 5% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 0,50% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 1,50% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1130 (154) - счетчики операций «возврат прихода» [00:28:12] 1135 (4) - 2 - количество чеков по признаку расчетов [00:28:12] 1201 (3) - 1704.00 - общая итоговая сумма в чеках [00:28:12] 1136 (3) - 999.00 - итоговая сумма в чеках наличными [00:28:12] 1138 (3) - 705.00 - итоговая сумма в чеках безналичными [00:28:12] 1024 (121) - суммы налогов [00:28:12] 1006 (9) - суммы НДС [00:28:12] 1010 (1) - 0% - код ставки НДС [00:28:12] 1011 (0) - 0.00 - сумма НДС по ставке [00:28:12] 1006 (11) - суммы НДС [00:28:12] 1010 (1) - 12% - код ставки НДС [00:28:12] 1011 (2) - 180.95 - сумма НДС по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 0% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (11) - суммы НСП [00:28:12] 1014 (1) - 1% - код ставки НСП [00:28:12] 1015 (2) - 15.08 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 2% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 3% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 5% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 0,50% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 1,50% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1131 (141) - счетчики операций «расход» [00:28:12] 1135 (4) - 0 - количество чеков по признаку расчетов [00:28:12] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:28:12] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:28:12] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:28:12] 1024 (117) - суммы налогов [00:28:12] 1006 (9) - суммы НДС [00:28:12] 1010 (1) - 0% - код ставки НДС [00:28:12] 1011 (0) - 0.00 - сумма НДС по ставке [00:28:12] 1006 (9) - суммы НДС [00:28:12] 1010 (1) - 12% - код ставки НДС [00:28:12] 1011 (0) - 0.00 - сумма НДС по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 0% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 1% - код ставки НСП [00:28:12] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:12] 1007 (9) - суммы НСП [00:28:12] 1014 (1) - 2% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 3% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 5% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 0,50% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 1,50% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1132 (141) - счетчики операций «возврат расхода» [00:28:13] 1135 (4) - 0 - количество чеков по признаку расчетов [00:28:13] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:28:13] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:28:13] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:28:13] 1024 (117) - суммы налогов [00:28:13] 1006 (9) - суммы НДС [00:28:13] 1010 (1) - 0% - код ставки НДС [00:28:13] 1011 (0) - 0.00 - сумма НДС по ставке [00:28:13] 1006 (9) - суммы НДС [00:28:13] 1010 (1) - 12% - код ставки НДС [00:28:13] 1011 (0) - 0.00 - сумма НДС по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 0% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 1% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 2% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 3% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 5% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 0,50% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1007 (9) - суммы НСП [00:28:13] 1014 (1) - 1,50% - код ставки НСП [00:28:13] 1015 (0) - 0.00 - сумма НСП по ставке [00:28:13] 1133 (588) - - счетчики коррекции - не используются [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1194 (04AA) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1134 (046E) [00:28:13]Malloc new data [00:28:13]Processing tag 1129 (0469) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1135 (046F) [00:28:13]Malloc new data [00:28:13]Processing tag 1201 (04B1) [00:28:13]Malloc new data [00:28:13]Processing tag 1136 (0470) [00:28:13]Malloc new data [00:28:13]Processing tag 1138 (0472) [00:28:13]Malloc new data [00:28:13]Processing tag 1024 (0400) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1006 (03EE) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1010 (03F2) [00:28:13]Malloc new data [00:28:13]Processing tag 1011 (03F3) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1006 (03EE) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1010 (03F2) [00:28:13]Malloc new data [00:28:13]Processing tag 1011 (03F3) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]SetTLVBufToDocument err=0 [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1130 (046A) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1135 (046F) [00:28:13]Malloc new data [00:28:13]Processing tag 1201 (04B1) [00:28:13]Malloc new data [00:28:13]Processing tag 1136 (0470) [00:28:13]Malloc new data [00:28:13]Processing tag 1138 (0472) [00:28:13]Malloc new data [00:28:13]Processing tag 1024 (0400) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1006 (03EE) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1010 (03F2) [00:28:13]Malloc new data [00:28:13]Processing tag 1011 (03F3) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1006 (03EE) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1010 (03F2) [00:28:13]Malloc new data [00:28:13]Processing tag 1011 (03F3) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]SetTLVBufToDocument err=0 [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1131 (046B) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1135 (046F) [00:28:13]Malloc new data [00:28:13]Processing tag 1201 (04B1) [00:28:13]Malloc new data [00:28:13]Processing tag 1136 (0470) [00:28:13]Malloc new data [00:28:13]Processing tag 1138 (0472) [00:28:13]Malloc new data [00:28:13]Processing tag 1024 (0400) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1006 (03EE) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1010 (03F2) [00:28:13]Malloc new data [00:28:13]Processing tag 1011 (03F3) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1006 (03EE) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1010 (03F2) [00:28:13]Malloc new data [00:28:13]Processing tag 1011 (03F3) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]SetTLVBufToDocument err=0 [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1132 (046C) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1135 (046F) [00:28:13]Malloc new data [00:28:13]Processing tag 1201 (04B1) [00:28:13]Malloc new data [00:28:13]Processing tag 1136 (0470) [00:28:13]Malloc new data [00:28:13]Processing tag 1138 (0472) [00:28:13]Malloc new data [00:28:13]Processing tag 1024 (0400) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1006 (03EE) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1010 (03F2) [00:28:13]Malloc new data [00:28:13]Processing tag 1011 (03F3) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1006 (03EE) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1010 (03F2) [00:28:13]Malloc new data [00:28:13]Processing tag 1011 (03F3) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1007 (03EF) [00:28:13]Load OK [00:28:13]SetTLVBufToDocument [00:28:13]Processing tag 1014 (03F6) [00:28:13]Malloc new data [00:28:13]Processing tag 1015 (03F7) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]SetTLVBufToDocument err=0 [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Processing tag 1133 (046D) [00:28:13]Malloc new data [00:28:13]SetTLVBufToDocument err=0 [00:28:13]SetTLVBufToDocument err=0 [00:28:13]Malloc new data [00:28:13]SAM_PROTO_GetFMData [00:28:13]wFMCommunicate request_size=4 [00:28:13]MH_SAM_APDU [00:28:13]CAPDU: 80 13 03 00 [00:28:13]Write to MH i2c: E2 08 00 8C 00 80 13 03 00 00 00 00 00 0B [00:28:13]Write i2c OK [00:28:13]MH_I2C_Read... [00:28:14]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:28:14]Read from MH i2c: E2 [00:28:14]MH_I2C_Read... [00:28:14]Read from MH i2c: E2 FD 00 [00:28:14]MH_I2C_Read... [00:28:14]Read from MH i2c: E2 FD 00 8C 00 00 C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 77 [00:28:14]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:28:14]wFMCommunicate OK [00:28:14]wFMCommunicate request_size=4 [00:28:14]MH_SAM_APDU [00:28:14]CAPDU: 80 17 00 00 [00:28:14]Write to MH i2c: E2 08 00 8D 00 80 17 00 00 00 00 00 00 0D [00:28:14]Write i2c OK [00:28:14]MH_I2C_Read... [00:28:14]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:14]Read from MH i2c: E2 [00:28:14]MH_I2C_Read... [00:28:14]Read from MH i2c: E2 FD 00 [00:28:14]MH_I2C_Read... [00:28:14]Read from MH i2c: E2 FD 00 8D 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 A6 [00:28:14]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:28:15]wFMCommunicate OK [00:28:15]wFMCommunicate request_size=4 [00:28:15]MH_SAM_APDU [00:28:15]CAPDU: 80 17 00 00 [00:28:15]Write to MH i2c: E2 08 00 8E 00 80 17 00 00 00 00 00 00 0E [00:28:15]Write i2c OK [00:28:15]MH_I2C_Read... [00:28:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:15]Read from MH i2c: E2 [00:28:15]MH_I2C_Read... [00:28:15]Read from MH i2c: E2 FD 00 [00:28:15]MH_I2C_Read... [00:28:15]Read from MH i2c: E2 FD 00 8E 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 23 [00:28:15]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:15]wFMCommunicate OK [00:28:15]wFMCommunicate request_size=4 [00:28:15]MH_SAM_APDU [00:28:15]CAPDU: 80 17 00 00 [00:28:15]Write to MH i2c: E2 08 00 8F 00 80 17 00 00 00 00 00 00 0F [00:28:15]Write i2c OK [00:28:15]MH_I2C_Read... [00:28:15]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:28:15]Read from MH i2c: E2 [00:28:15]MH_I2C_Read... [00:28:15]Read from MH i2c: E2 FD 00 [00:28:15]MH_I2C_Read... [00:28:15]Read from MH i2c: E2 FD 00 8F 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 87 [00:28:15]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:28:16]wFMCommunicate OK [00:28:16]wFMCommunicate request_size=4 [00:28:16]MH_SAM_APDU [00:28:16]CAPDU: 80 17 00 00 [00:28:16]Write to MH i2c: E2 08 00 90 00 80 17 00 00 00 00 00 00 10 [00:28:16]Write i2c OK [00:28:16]MH_I2C_Read... [00:28:16]OFD Sender: No OFD packet to send [00:28:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:28:16]Read from MH i2c: E2 [00:28:16]MH_I2C_Read... [00:28:16]Read from MH i2c: E2 E1 00 [00:28:16]MH_I2C_Read... [00:28:16]Read from MH i2c: E2 E1 00 90 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 FE [00:28:16]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:28:16]wFMCommunicate OK [00:28:16]SAM_PROTO_GetFMData done [00:28:16]FM_GetFMData:85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:28:17]oper:6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:28:17]total:43 09 84 6D [00:28:17]Malloc new data [00:28:17]oper:6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:28:17]total:44 ED 68 01 [00:28:17]Malloc new data [00:28:17]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:28:17]total: [00:28:17]Malloc new data [00:28:17]oper:6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 [00:28:17]total: [00:28:17]Malloc new data [00:28:17]KKMPrepareXReportFMData err=0 [00:28:17]Х отчет ИНН: 02508201610067 Кассир: Мундусбаева Г. 15.07.2024 00:28 Смена: 266 РНМ: 0000000000091208 ЗНМ: 0300000132 СНО: Общий режим Всего чеков: 120 ИТОГИ ПРИХОД Чеков: 118 Общий итог: 39088.47 Итого наличными: 31142.00 Итого безнал.: 7946.47 НДС 0% : 0.00 НДС 12% : 4151.23 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 345.79 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 1704.00 Итого наличными: 999.00 Итого безнал.: 705.00 НДС 0% : 0.00 НДС 12% : 180.95 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 15.08 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 30143.00 НС Приход: 18373696.67 НС Возвр.Прихода: 236537.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФМ: 0000000000874857 [00:28:17]StoreToDocumentArchive [00:28:17]MH_GetDate [00:28:17]Write to MH i2c: F0 00 00 91 00 80 [00:28:17]Write i2c OK [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: F0 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: F0 09 00 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: F0 09 00 91 00 00 22 6D 94 66 2D 25 5D 64 25 [00:28:17]shift 266 fd 1721003298 [00:28:17]Create dir for shift 0266 [00:28:17]save to /storage/0266/doc_1721003298 [00:28:17]save last doc name /storage/0266/doc_1721003298 to /storage/kkm_last_doc_name [00:28:17]save OK [00:28:17]Clear old archive folders... [00:28:17]NVStorageSaveData kkm_last_timestamp [00:28:17]File name is /storage/kkm_last_timestamp [00:28:17]Write 4 bytes [00:28:17]NVStorageSaveData done [00:28:17]ExternCall_PrintAddStr [00:28:17]wPrintStart [00:28:17]Write to MH i2c: 01 00 00 92 00 92 [00:28:17]Write i2c OK [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: 01 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: 01 07 00 [00:28:17]MH_I2C_Read... [00:28:17]Read from MH i2c: 01 07 00 92 00 00 00 00 00 00 FF 0F A7 [00:28:17]RasterBufferAndPrint [00:28:17]line Х отчет [00:28:17]line ИНН: 02508201610067 [00:28:17]line Кассир: Мундусбаева Г. [00:28:17]line 15.07.2024 00:28 [00:28:17]line Смена: 266 [00:28:17]line РНМ: 0000000000091208 [00:28:17]line ЗНМ: 0300000132 [00:28:17]line СНО: Общий режим [00:28:17]line Всего чеков: 120 [00:28:17]line ИТОГИ ПРИХОД [00:28:17]line Чеков: 118 [00:28:17]line Общий итог: 39088.47 [00:28:17]line Итого наличными: 31142.00 [00:28:17]line Итого безнал.: 7946.47 [00:28:17]line НДС 0% : 0.00 [00:28:17]line НДС 12% : 4151.23 [00:28:17]line НСП 0% : 0.00 [00:28:17]line НСП 1,50% : 0.00 [00:28:17]line НСП 0,50% : 0.00 [00:28:17]line НСП 5% : 0.00 [00:28:17]line НСП 3% : 0.00 [00:28:17]line НСП 2% : 0.00 [00:28:17]line НСП 1% : 345.79 [00:28:17]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:28:17]line Чеков: 2 [00:28:17]line Общий итог: 1704.00 [00:28:17]line Итого наличными: 999.00 [00:28:17]line Итого безнал.: 705.00 [00:28:17]line НДС 0% : 0.00 [00:28:17]line НДС 12% : 180.95 [00:28:17]line НСП 0% : 0.00 [00:28:17]line НСП 1,50% : 0.00 [00:28:17]line НСП 0,50% : 0.00 [00:28:17]line НСП 5% : 0.00 [00:28:17]line НСП 3% : 0.00 [00:28:17]line НСП 2% : 0.00 [00:28:17]line НСП 1% : 15.08 [00:28:17]line ИТОГИ РАСХОД [00:28:17]line Чеков: 0 [00:28:17]line Общий итог: 0.00 [00:28:17]line Итого наличными: 0.00 [00:28:17]line Итого безнал.: 0.00 [00:28:17]line НДС 0% : 0.00 [00:28:17]line НДС 12% : 0.00 [00:28:17]line НСП 0% : 0.00 [00:28:17]line НСП 1,50% : 0.00 [00:28:17]line НСП 0,50% : 0.00 [00:28:17]line НСП 5% : 0.00 [00:28:17]line НСП 3% : 0.00 [00:28:17]line НСП 2% : 0.00 [00:28:17]line НСП 1% : 0.00 [00:28:17]line ИТОГИ ВОЗВРАТ РАСХОДА [00:28:17]line Чеков: 0 [00:28:17]line Общий итог: 0.00 [00:28:17]line Итого наличными: 0.00 [00:28:17]line Итого безнал.: 0.00 [00:28:17]line НДС 0% : 0.00 [00:28:17]line НДС 12% : 0.00 [00:28:17]line НСП 0% : 0.00 [00:28:17]line НСП 1,50% : 0.00 [00:28:17]line НСП 0,50% : 0.00 [00:28:17]line НСП 5% : 0.00 [00:28:17]line НСП 3% : 0.00 [00:28:17]line НСП 2% : 0.00 [00:28:17]line НСП 1% : 0.00 [00:28:17]line Сумма внесений: 0.00 [00:28:17]line Сумма выплат: 0.00 [00:28:17]line Нал. в кассе: 30143.00 [00:28:17]line НС Приход: 18373696.67 [00:28:17]line НС Возвр.Прихода: 236537.00 [00:28:17]line НС Расход: 0.00 [00:28:17]line НС Возвр.Расхода: 0.00 [00:28:17]line ФМ: 0000000000874857 [00:28:17]written 0, free lines is 4095 [00:28:18]Write to MH i2c: 01 00 00 DD 00 DD [00:28:18]Write i2c OK [00:28:18]MH_I2C_Read... [00:28:18]Read from MH i2c: 01 [00:28:18]MH_I2C_Read... [00:28:18]Read from MH i2c: 01 07 00 [00:28:18]MH_I2C_Read... [00:28:18]Read from MH i2c: 01 07 00 DD 00 00 00 00 00 00 D9 0A C7 [00:28:18]RasterBufferAndPrint [00:28:18]line [00:28:18]line [00:28:18]line [00:28:18]line [00:28:18]line [00:28:18]written 0, free lines is 2812 [00:28:18]MH_Cut [00:28:18]Write to MH i2c: D1 01 00 E4 00 01 B6 [00:28:18]Write i2c OK [00:28:18]MH_I2C_Read... [00:28:18]Read from MH i2c: D1 [00:28:18]MH_I2C_Read... [00:28:18]Read from MH i2c: D1 01 00 [00:28:18]MH_I2C_Read... [00:28:18]Read from MH i2c: D1 01 00 E4 00 00 B5 [00:28:18]Write to MH i2c: 01 00 00 E5 00 E5 [00:28:18]Write i2c OK [00:28:18]MH_I2C_Read... [00:28:19]*** Cut start [00:28:19]*** Partial cut [00:28:19]*** CUTSNS_PIN = 1 [00:28:19]*** CUTSNS_PIN = 0 [00:28:19]*** Brake cut motor [00:28:19]Read from MH i2c: 01 [00:28:19]MH_I2C_Read... [00:28:19]*** Stop cut motor [00:28:19]*** Cut end [00:28:19]Read from MH i2c: 01 07 00 [00:28:19]MH_I2C_Read... [00:28:19]Read from MH i2c: 01 07 00 E5 00 00 00 00 00 00 FF 0F FA [00:28:19]process_action x_report done [00:28:19]requested_data is exist [00:28:19]produce_requested_data [00:28:19]requested_item fd.num is exist - process it [00:28:19]SAM_PROTO_GetFieldsCounters [00:28:19]wFMCommunicate request_size=4 [00:28:19]MH_SAM_APDU [00:28:19]CAPDU: 80 13 00 00 [00:28:19]Write to MH i2c: E2 08 00 E6 00 80 13 00 00 00 00 00 00 62 [00:28:19]Write i2c OK [00:28:19]MH_I2C_Read... [00:28:20]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:28:20]Read from MH i2c: E2 [00:28:20]MH_I2C_Read... [00:28:20]Read from MH i2c: E2 62 00 [00:28:20]MH_I2C_Read... [00:28:20]Read from MH i2c: E2 62 00 E6 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 CC [00:28:20]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:28:20]wFMCommunicate OK [00:28:20]SAM_PROTO_GetFieldsCounters done [00:28:20]requested_item shift.num is exist - process it [00:28:20]requested_item shift.opened is exist - process it [00:28:20]req_shift_opened [00:28:20]FM_GetShiftState [00:28:20]SAM_PROTO_GetShiftState [00:28:20]wFMCommunicate request_size=4 [00:28:20]MH_SAM_APDU [00:28:20]CAPDU: 80 13 01 00 [00:28:20]Write to MH i2c: E2 08 00 E7 00 80 13 01 00 00 00 00 00 64 [00:28:20]Write i2c OK [00:28:20]MH_I2C_Read... [00:28:20]Read from MH i2c: E2 [00:28:20]MH_I2C_Read... [00:28:20]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:28:20]Read from MH i2c: E2 0E 00 [00:28:20]MH_I2C_Read... [00:28:20]Read from MH i2c: E2 0E 00 E7 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 0B [00:28:20]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:28:20]wFMCommunicate OK [00:28:20]SAM_PROTO_GetShiftState done [00:28:20]FM_GetShiftState done [00:28:20]req_shift_opened done [00:28:20]requested_item shift.open_date is exist - process it [00:28:20]req_shift_open_date [00:28:20]req_shift_open_date done [00:28:20]produce_requested_data done [00:28:20]produce_requested_data return {"fd.num":57103,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126} [00:28:20]process_action_free x_report [00:28:20]json_value_free [00:28:20]json_value_free done [00:28:20]process_json_proto returns [00:28:20]Send response to host [00:28:20]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":57103,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126}}} [00:28:20]free response buf [00:28:20]execute_script done [00:28:20]execute_script returns [00:28:20]free content buf [00:28:20]Sock 8.Close socket [00:28:20]Sock 8.Thread stoped [00:28:21]OFD Sender: No OFD packet to send [00:28:26]OFD Sender: No OFD packet to send [00:28:31]OFD Sender: No OFD packet to send [00:28:36]OFD Sender: No OFD packet to send [00:28:41]OFD Sender: No OFD packet to send [00:28:46]OFD Sender: No OFD packet to send [00:28:51]OFD Sender: No OFD packet to send [00:28:56]OFD Sender: No OFD packet to send [00:29:01]OFD Sender: No OFD packet to send [00:29:06]OFD Sender: No OFD packet to send [00:29:11]OFD Sender: No OFD packet to send [00:29:15]accept exits with 9 [00:29:15]New connection [00:29:15]New thread 3066924388 created [00:29:15]Thread 3067067748 joined [00:29:15]Waiting for new connection... [00:29:15] Sock 9.Parse request [00:29:15]Sock 9.Check first char [00:29:15]Sock 9.First char is OK [00:29:15]request: POST /json_proto HTTP/1.0 [00:29:15]Method: POST [00:29:15]URL: /json_proto [00:29:15]Method is POST - this is cgi request [00:29:15]url: /json_proto [00:29:15]query_string will be loaded in cgi processing [00:29:15]execute_cgi json_proto POST (null) [00:29:15]execute_cgi path=json_proto method=POST [00:29:15]POST find Content-Length [00:29:15]Host: 172.17.39.4:8080 [00:29:15]Content-Length: 215 [00:29:15]Content-Type: application/json [00:29:15] [00:29:15]POST finish read [00:29:15]Found Content-Length = 215 [00:29:15]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:29:15]execute_script... [00:29:15]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:29:15]POST & json_proto [00:29:15]process_json_proto [00:29:15]json parsed OK: [00:29:15]protocol is kg_v1.0 [00:29:15]action value=get_value [00:29:15]process_action get_value [00:29:15]cmd_get_value [00:29:15]process_action get_value done [00:29:15]requested_data is exist [00:29:15]produce_requested_data [00:29:15]requested_item kkm.sn is exist - process it [00:29:15]requested_item kkm.ver is exist - process it [00:29:15]requested_item fm.sn is exist - process it [00:29:15]wFMCommunicate request_size=4 [00:29:15]MH_SAM_APDU [00:29:15]CAPDU: 80 11 00 00 [00:29:15]Write to MH i2c: E2 08 00 E8 00 80 11 00 00 00 00 00 00 62 [00:29:15]Write i2c OK [00:29:15]MH_I2C_Read... [00:29:15]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:29:15]Read from MH i2c: E2 [00:29:15]MH_I2C_Read... [00:29:15]Read from MH i2c: E2 17 00 [00:29:15]MH_I2C_Read... [00:29:15]Read from MH i2c: E2 17 00 E8 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BC [00:29:15]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:29:15]wFMCommunicate OK [00:29:15]requested_item fd.num is exist - process it [00:29:15]SAM_PROTO_GetFieldsCounters [00:29:15]wFMCommunicate request_size=4 [00:29:15]MH_SAM_APDU [00:29:15]CAPDU: 80 13 00 00 [00:29:15]Write to MH i2c: E2 08 00 E9 00 80 13 00 00 00 00 00 00 65 [00:29:15]Write i2c OK [00:29:15]MH_I2C_Read... [00:29:15]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:29:15]Read from MH i2c: E2 [00:29:15]MH_I2C_Read... [00:29:15]Read from MH i2c: E2 62 00 [00:29:15]MH_I2C_Read... [00:29:15]Read from MH i2c: E2 62 00 E9 00 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 CF [00:29:15]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 0F DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 79 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:29:15]wFMCommunicate OK [00:29:15]SAM_PROTO_GetFieldsCounters done [00:29:15]requested_item shift.num is exist - process it [00:29:15]requested_item shift.opened is exist - process it [00:29:15]req_shift_opened [00:29:15]FM_GetShiftState [00:29:15]SAM_PROTO_GetShiftState [00:29:15]wFMCommunicate request_size=4 [00:29:15]MH_SAM_APDU [00:29:15]CAPDU: 80 13 01 00 [00:29:15]Write to MH i2c: E2 08 00 EA 00 80 13 01 00 00 00 00 00 67 [00:29:15]Write i2c OK [00:29:15]MH_I2C_Read... [00:29:15]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:15]Read from MH i2c: E2 [00:29:15]MH_I2C_Read... [00:29:15]Read from MH i2c: E2 0E 00 [00:29:15]MH_I2C_Read... [00:29:15]Read from MH i2c: E2 0E 00 EA 00 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 0E [00:29:15]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:29:15]wFMCommunicate OK [00:29:15]SAM_PROTO_GetShiftState done [00:29:15]FM_GetShiftState done [00:29:15]req_shift_opened done [00:29:15]requested_item shift.open_date is exist - process it [00:29:15]req_shift_open_date [00:29:15]req_shift_open_date done [00:29:15]produce_requested_data done [00:29:15]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57103,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126} [00:29:15]process_action_free get_value [00:29:15]json_value_free [00:29:15]json_value_free done [00:29:15]process_json_proto returns [00:29:15]Send response to host [00:29:15]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57103,"shift.num":496,"shift.opened":1,"shift.open_date":1720917126}}} [00:29:15]free response buf [00:29:15]execute_script done [00:29:15]execute_script returns [00:29:15]free content buf [00:29:15]Sock 9.Close socket [00:29:15]Sock 9.Thread stoped [00:29:15]accept exits with 8 [00:29:15]New connection [00:29:15]New thread 3067067748 created [00:29:15]Thread 3066924388 joined [00:29:15]Waiting for new connection... [00:29:15] Sock 8.Parse request [00:29:15]Sock 8.Check first char [00:29:15]Sock 8.First char is OK [00:29:15]request: POST /json_proto HTTP/1.0 [00:29:15]Method: POST [00:29:15]URL: /json_proto [00:29:15]Method is POST - this is cgi request [00:29:15]url: /json_proto [00:29:15]query_string will be loaded in cgi processing [00:29:15]execute_cgi json_proto POST (null) [00:29:15]execute_cgi path=json_proto method=POST [00:29:15]POST find Content-Length [00:29:15]Host: 172.17.39.4:8080 [00:29:15]Content-Length: 331 [00:29:15]Content-Type: application/json [00:29:15] [00:29:15]POST finish read [00:29:15]Found Content-Length = 331 [00:29:15]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:29:15]execute_script... [00:29:16]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:29:16]POST & json_proto [00:29:16]process_json_proto [00:29:16]json parsed OK: [00:29:16]protocol is kg_v1.0 [00:29:16]action value=get_value [00:29:16]process_action get_value [00:29:16]cmd_get_value [00:29:16]process_action get_value done [00:29:16]requested_data is exist [00:29:16]produce_requested_data [00:29:16]requested_item fm.sale.total is exist - process it [00:29:16]SAM_PROTO_GetFMData [00:29:16]wFMCommunicate request_size=4 [00:29:16]MH_SAM_APDU [00:29:16]CAPDU: 80 13 03 00 [00:29:16]Write to MH i2c: E2 08 00 EB 00 80 13 03 00 00 00 00 00 6A [00:29:16]Write i2c OK [00:29:16]MH_I2C_Read... [00:29:16]OFD Sender: No OFD packet to send [00:29:16]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:29:16]Read from MH i2c: E2 [00:29:16]MH_I2C_Read... [00:29:16]Read from MH i2c: E2 FD 00 [00:29:16]MH_I2C_Read... [00:29:16]Read from MH i2c: E2 FD 00 EB 00 00 C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 D6 [00:29:16]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:29:16]wFMCommunicate OK [00:29:16]wFMCommunicate request_size=4 [00:29:16]MH_SAM_APDU [00:29:16]CAPDU: 80 17 00 00 [00:29:16]Write to MH i2c: E2 08 00 EC 00 80 17 00 00 00 00 00 00 6C [00:29:16]Write i2c OK [00:29:16]MH_I2C_Read... [00:29:16]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:16]Read from MH i2c: E2 [00:29:16]MH_I2C_Read... [00:29:16]Read from MH i2c: E2 FD 00 [00:29:16]MH_I2C_Read... [00:29:16]Read from MH i2c: E2 FD 00 EC 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 05 [00:29:16]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:29:16]wFMCommunicate OK [00:29:16]wFMCommunicate request_size=4 [00:29:16]MH_SAM_APDU [00:29:16]CAPDU: 80 17 00 00 [00:29:16]Write to MH i2c: E2 08 00 ED 00 80 17 00 00 00 00 00 00 6D [00:29:16]Write i2c OK [00:29:16]MH_I2C_Read... [00:29:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:17]Read from MH i2c: E2 [00:29:17]MH_I2C_Read... [00:29:17]Read from MH i2c: E2 FD 00 [00:29:17]MH_I2C_Read... [00:29:17]Read from MH i2c: E2 FD 00 ED 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 82 [00:29:17]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:17]wFMCommunicate OK [00:29:17]wFMCommunicate request_size=4 [00:29:17]MH_SAM_APDU [00:29:17]CAPDU: 80 17 00 00 [00:29:17]Write to MH i2c: E2 08 00 EE 00 80 17 00 00 00 00 00 00 6E [00:29:17]Write i2c OK [00:29:17]MH_I2C_Read... [00:29:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:17]Read from MH i2c: E2 [00:29:17]MH_I2C_Read... [00:29:17]Read from MH i2c: E2 FD 00 [00:29:17]MH_I2C_Read... [00:29:17]Read from MH i2c: E2 FD 00 EE 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E6 [00:29:17]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:17]wFMCommunicate OK [00:29:17]wFMCommunicate request_size=4 [00:29:17]MH_SAM_APDU [00:29:17]CAPDU: 80 17 00 00 [00:29:17]Write to MH i2c: E2 08 00 EF 00 80 17 00 00 00 00 00 00 6F [00:29:17]Write i2c OK [00:29:17]MH_I2C_Read... [00:29:17]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:29:17]Read from MH i2c: E2 [00:29:17]MH_I2C_Read... [00:29:17]Read from MH i2c: E2 E1 00 [00:29:17]MH_I2C_Read... [00:29:17]Read from MH i2c: E2 E1 00 EF 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 5D [00:29:17]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:29:17]wFMCommunicate OK [00:29:17]SAM_PROTO_GetFMData done [00:29:17]requested_item fm.sale_refund.total is exist - process it [00:29:17]requested_item fm.buy.total is exist - process it [00:29:17]requested_item shift.sale.total is exist - process it [00:29:17]SAM_PROTO_GetShiftData [00:29:17]wFMCommunicate request_size=4 [00:29:17]MH_SAM_APDU [00:29:17]CAPDU: 80 13 02 00 [00:29:17]Write to MH i2c: E2 08 00 F0 00 80 13 02 00 00 00 00 00 6E [00:29:17]Write i2c OK [00:29:17]MH_I2C_Read... [00:29:17]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:29:18]Read from MH i2c: E2 [00:29:18]MH_I2C_Read... [00:29:18]Read from MH i2c: E2 FD 00 [00:29:18]MH_I2C_Read... [00:29:18]Read from MH i2c: E2 FD 00 F0 00 00 BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 F9 [00:29:18]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:29:18]wFMCommunicate OK [00:29:18]wFMCommunicate request_size=4 [00:29:18]MH_SAM_APDU [00:29:18]CAPDU: 80 17 00 00 [00:29:18]Write to MH i2c: E2 08 00 F1 00 80 17 00 00 00 00 00 00 71 [00:29:18]Write i2c OK [00:29:18]MH_I2C_Read... [00:29:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:18]Read from MH i2c: E2 [00:29:18]MH_I2C_Read... [00:29:18]Read from MH i2c: E2 FD 00 [00:29:18]MH_I2C_Read... [00:29:18]Read from MH i2c: E2 FD 00 F1 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 04 [00:29:18]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:18]wFMCommunicate OK [00:29:18]wFMCommunicate request_size=4 [00:29:18]MH_SAM_APDU [00:29:18]CAPDU: 80 17 00 00 [00:29:18]Write to MH i2c: E2 08 00 F2 00 80 17 00 00 00 00 00 00 72 [00:29:18]Write i2c OK [00:29:18]MH_I2C_Read... [00:29:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:18]Read from MH i2c: E2 [00:29:18]MH_I2C_Read... [00:29:18]Read from MH i2c: E2 FD 00 [00:29:18]MH_I2C_Read... [00:29:18]Read from MH i2c: E2 FD 00 F2 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9E [00:29:18]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:18]wFMCommunicate OK [00:29:18]wFMCommunicate request_size=4 [00:29:18]MH_SAM_APDU [00:29:18]CAPDU: 80 17 00 00 [00:29:18]Write to MH i2c: E2 08 00 F3 00 80 17 00 00 00 00 00 00 73 [00:29:18]Write i2c OK [00:29:18]MH_I2C_Read... [00:29:18]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:18]Read from MH i2c: E2 [00:29:18]MH_I2C_Read... [00:29:18]Read from MH i2c: E2 FD 00 [00:29:18]MH_I2C_Read... [00:29:18]Read from MH i2c: E2 FD 00 F3 00 00 00 00 EF 03 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 90 00 E8 [00:29:18]RAPDU: 00 00 EF 03 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 90 00 [00:29:18]wFMCommunicate OK [00:29:18]wFMCommunicate request_size=4 [00:29:18]MH_SAM_APDU [00:29:18]CAPDU: 80 17 00 00 [00:29:18]Write to MH i2c: E2 08 00 F4 00 80 17 00 00 00 00 00 00 74 [00:29:18]Write i2c OK [00:29:18]MH_I2C_Read... [00:29:19]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:29:19]Read from MH i2c: E2 [00:29:19]MH_I2C_Read... [00:29:19]Read from MH i2c: E2 D8 00 [00:29:19]MH_I2C_Read... [00:29:19]Read from MH i2c: E2 D8 00 F4 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:29:19]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:29:19]wFMCommunicate OK [00:29:19]SAM_PROTO_GetShiftData done [00:29:19]requested_item shift.sale.total_cash is exist - process it [00:29:19]requested_item shift.sale_refund.total is exist - process it [00:29:19]requested_item shift.sale_refund.total_cash is exist - process it [00:29:19]requested_item shift.buy.total is exist - process it [00:29:19]requested_item shift.buy.total_cash is exist - process it [00:29:19]produce_requested_data done [00:29:19]produce_requested_data return {"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:29:19]process_action_free get_value [00:29:19]json_value_free [00:29:19]json_value_free done [00:29:19]process_json_proto returns [00:29:19]Send response to host [00:29:19]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:29:19]free response buf [00:29:19]execute_script done [00:29:19]execute_script returns [00:29:19]free content buf [00:29:19]Sock 8.Close socket [00:29:19]Sock 8.Thread stoped [00:29:19]accept exits with 9 [00:29:19]New connection [00:29:19]New thread 3066924388 created [00:29:19]Thread 3067067748 joined [00:29:19]Waiting for new connection... [00:29:19] Sock 9.Parse request [00:29:19]Sock 9.Check first char [00:29:19]Sock 9.First char is OK [00:29:19]request: POST /json_proto HTTP/1.0 [00:29:19]Method: POST [00:29:19]URL: /json_proto [00:29:19]Method is POST - this is cgi request [00:29:19]url: /json_proto [00:29:19]query_string will be loaded in cgi processing [00:29:19]execute_cgi json_proto POST (null) [00:29:19]execute_cgi path=json_proto method=POST [00:29:19]POST find Content-Length [00:29:19]Host: 172.17.39.4:8080 [00:29:19]Content-Length: 331 [00:29:19]Content-Type: application/json [00:29:19] [00:29:19]POST finish read [00:29:19]Found Content-Length = 331 [00:29:19]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:29:19]execute_script... [00:29:19]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:29:19]POST & json_proto [00:29:19]process_json_proto [00:29:19]json parsed OK: [00:29:19]protocol is kg_v1.0 [00:29:19]action value=get_value [00:29:19]process_action get_value [00:29:19]cmd_get_value [00:29:19]process_action get_value done [00:29:19]requested_data is exist [00:29:19]produce_requested_data [00:29:19]requested_item fm.sale.total is exist - process it [00:29:19]SAM_PROTO_GetFMData [00:29:19]wFMCommunicate request_size=4 [00:29:19]MH_SAM_APDU [00:29:19]CAPDU: 80 13 03 00 [00:29:19]Write to MH i2c: E2 08 00 F5 00 80 13 03 00 00 00 00 00 74 [00:29:19]Write i2c OK [00:29:19]MH_I2C_Read... [00:29:19]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:29:19]Read from MH i2c: E2 [00:29:19]MH_I2C_Read... [00:29:19]Read from MH i2c: E2 FD 00 [00:29:19]MH_I2C_Read... [00:29:19]Read from MH i2c: E2 FD 00 F5 00 00 C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 E0 [00:29:19]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:29:19]wFMCommunicate OK [00:29:19]wFMCommunicate request_size=4 [00:29:19]MH_SAM_APDU [00:29:19]CAPDU: 80 17 00 00 [00:29:19]Write to MH i2c: E2 08 00 F6 00 80 17 00 00 00 00 00 00 76 [00:29:19]Write i2c OK [00:29:19]MH_I2C_Read... [00:29:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:20]Read from MH i2c: E2 [00:29:20]MH_I2C_Read... [00:29:20]Read from MH i2c: E2 FD 00 [00:29:20]MH_I2C_Read... [00:29:20]Read from MH i2c: E2 FD 00 F6 00 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 0F [00:29:20]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:29:20]wFMCommunicate OK [00:29:20]wFMCommunicate request_size=4 [00:29:20]MH_SAM_APDU [00:29:20]CAPDU: 80 17 00 00 [00:29:20]Write to MH i2c: E2 08 00 F7 00 80 17 00 00 00 00 00 00 77 [00:29:20]Write i2c OK [00:29:20]MH_I2C_Read... [00:29:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:20]Read from MH i2c: E2 [00:29:20]MH_I2C_Read... [00:29:20]Read from MH i2c: E2 FD 00 [00:29:20]MH_I2C_Read... [00:29:20]Read from MH i2c: E2 FD 00 F7 00 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8C [00:29:20]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:20]wFMCommunicate OK [00:29:20]wFMCommunicate request_size=4 [00:29:20]MH_SAM_APDU [00:29:20]CAPDU: 80 17 00 00 [00:29:20]Write to MH i2c: E2 08 00 F8 00 80 17 00 00 00 00 00 00 78 [00:29:20]Write i2c OK [00:29:20]MH_I2C_Read... [00:29:20]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:20]Read from MH i2c: E2 [00:29:20]MH_I2C_Read... [00:29:20]Read from MH i2c: E2 FD 00 [00:29:20]MH_I2C_Read... [00:29:20]Read from MH i2c: E2 FD 00 F8 00 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F0 [00:29:20]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:20]wFMCommunicate OK [00:29:20]wFMCommunicate request_size=4 [00:29:20]MH_SAM_APDU [00:29:20]CAPDU: 80 17 00 00 [00:29:20]Write to MH i2c: E2 08 00 F9 00 80 17 00 00 00 00 00 00 79 [00:29:20]Write i2c OK [00:29:20]MH_I2C_Read... [00:29:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:29:21]Read from MH i2c: E2 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: E2 E1 00 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: E2 E1 00 F9 00 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 67 [00:29:21]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:29:21]wFMCommunicate OK [00:29:21]SAM_PROTO_GetFMData done [00:29:21]requested_item fm.sale_refund.total is exist - process it [00:29:21]requested_item fm.buy.total is exist - process it [00:29:21]requested_item shift.sale.total is exist - process it [00:29:21]SAM_PROTO_GetShiftData [00:29:21]wFMCommunicate request_size=4 [00:29:21]MH_SAM_APDU [00:29:21]CAPDU: 80 13 02 00 [00:29:21]Write to MH i2c: E2 08 00 FA 00 80 13 02 00 00 00 00 00 78 [00:29:21]Write i2c OK [00:29:21]MH_I2C_Read... [00:29:21]OFD Sender: No OFD packet to send [00:29:21]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:29:21]Read from MH i2c: E2 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: E2 FD 00 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: E2 FD 00 FA 00 00 BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 03 [00:29:21]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:29:21]wFMCommunicate OK [00:29:21]wFMCommunicate request_size=4 [00:29:21]MH_SAM_APDU [00:29:21]CAPDU: 80 17 00 00 [00:29:21]Write to MH i2c: E2 08 00 FB 00 80 17 00 00 00 00 00 00 7B [00:29:21]Write i2c OK [00:29:21]MH_I2C_Read... [00:29:21]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:21]Read from MH i2c: E2 [00:29:21]MH_I2C_Read... [00:29:21]Read from MH i2c: E2 FD 00 [00:29:21]MH_I2C_Read... [00:29:22]Read from MH i2c: E2 FD 00 FB 00 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [00:29:22]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:22]wFMCommunicate OK [00:29:22]wFMCommunicate request_size=4 [00:29:22]MH_SAM_APDU [00:29:22]CAPDU: 80 17 00 00 [00:29:22]Write to MH i2c: E2 08 00 FC 00 80 17 00 00 00 00 00 00 7C [00:29:22]Write i2c OK [00:29:22]MH_I2C_Read... [00:29:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:22]Read from MH i2c: E2 [00:29:22]MH_I2C_Read... [00:29:22]Read from MH i2c: E2 FD 00 [00:29:22]MH_I2C_Read... [00:29:22]Read from MH i2c: E2 FD 00 FC 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A8 [00:29:22]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:22]wFMCommunicate OK [00:29:22]wFMCommunicate request_size=4 [00:29:22]MH_SAM_APDU [00:29:22]CAPDU: 80 17 00 00 [00:29:22]Write to MH i2c: E2 08 00 FD 00 80 17 00 00 00 00 00 00 7D [00:29:22]Write i2c OK [00:29:22]MH_I2C_Read... [00:29:22]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:22]Read from MH i2c: E2 [00:29:22]MH_I2C_Read... [00:29:22]Read from MH i2c: E2 FD 00 [00:29:22]MH_I2C_Read... [00:29:22]Read from MH i2c: E2 FD 00 FD 00 00 00 00 EF 03 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 90 00 F2 [00:29:22]RAPDU: 00 00 EF 03 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 90 00 [00:29:22]wFMCommunicate OK [00:29:22]wFMCommunicate request_size=4 [00:29:22]MH_SAM_APDU [00:29:22]CAPDU: 80 17 00 00 [00:29:22]Write to MH i2c: E2 08 00 FE 00 80 17 00 00 00 00 00 00 7E [00:29:22]Write i2c OK [00:29:22]MH_I2C_Read... [00:29:23]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:29:23]Read from MH i2c: E2 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 D8 00 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 D8 00 FE 00 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 65 [00:29:23]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:29:23]wFMCommunicate OK [00:29:23]SAM_PROTO_GetShiftData done [00:29:23]requested_item shift.sale.total_cash is exist - process it [00:29:23]requested_item shift.sale_refund.total is exist - process it [00:29:23]requested_item shift.sale_refund.total_cash is exist - process it [00:29:23]requested_item shift.buy.total is exist - process it [00:29:23]requested_item shift.buy.total_cash is exist - process it [00:29:23]produce_requested_data done [00:29:23]produce_requested_data return {"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:29:23]process_action_free get_value [00:29:23]json_value_free [00:29:23]json_value_free done [00:29:23]process_json_proto returns [00:29:23]Send response to host [00:29:23]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:29:23]free response buf [00:29:23]execute_script done [00:29:23]execute_script returns [00:29:23]free content buf [00:29:23]Sock 9.Close socket [00:29:23]Sock 9.Thread stoped [00:29:23]accept exits with 8 [00:29:23]New connection [00:29:23]New thread 3067067748 created [00:29:23]Thread 3066924388 joined [00:29:23]Waiting for new connection... [00:29:23] Sock 8.Parse request [00:29:23]Sock 8.Check first char [00:29:23]Sock 8.First char is OK [00:29:23]request: POST /json_proto HTTP/1.0 [00:29:23]Method: POST [00:29:23]URL: /json_proto [00:29:23]Method is POST - this is cgi request [00:29:23]url: /json_proto [00:29:23]query_string will be loaded in cgi processing [00:29:23]execute_cgi json_proto POST (null) [00:29:23]execute_cgi path=json_proto method=POST [00:29:23]POST find Content-Length [00:29:23]Host: 172.17.39.4:8080 [00:29:23]Content-Length: 278 [00:29:23]Content-Type: application/json [00:29:23] [00:29:23]POST finish read [00:29:23]Found Content-Length = 278 [00:29:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0443\u043D\u0434\u0443\u0441\u0431\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:29:23]execute_script... [00:29:23]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_shift", "params" : { "operator" : "\u041C\u0443\u043D\u0434\u0443\u0441\u0431\u0430\u0435\u0432\u0430 \u0413. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:29:23]POST & json_proto [00:29:23]process_json_proto [00:29:23]json parsed OK: [00:29:23]protocol is kg_v1.0 [00:29:23]action value=close_shift [00:29:23]process_action close_shift [00:29:23]cmd_close_shift [00:29:23]MH_GetDate [00:29:23]Write to MH i2c: F0 00 00 FF 00 EE [00:29:23]Write i2c OK [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: F0 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: F0 09 00 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: F0 09 00 FF 00 00 64 6D 94 66 2D 25 5D 64 D5 [00:29:23]GetLastDocTimeStamp 1721003291 [00:29:23]current date 1721003364 [00:29:23]FM_GetShiftState [00:29:23]SAM_PROTO_GetShiftState [00:29:23]wFMCommunicate request_size=4 [00:29:23]MH_SAM_APDU [00:29:23]CAPDU: 80 13 01 00 [00:29:23]Write to MH i2c: E2 08 00 00 01 80 13 01 00 00 00 00 00 7E [00:29:23]Write i2c OK [00:29:23]MH_I2C_Read... [00:29:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:23]Read from MH i2c: E2 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 0E 00 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 0E 00 00 01 00 09 00 01 86 1C 93 66 00 00 00 00 90 00 25 [00:29:23]RAPDU: 09 00 01 86 1C 93 66 00 00 00 00 90 00 [00:29:23]wFMCommunicate OK [00:29:23]SAM_PROTO_GetShiftState done [00:29:23]FM_GetShiftState done [00:29:23]KKMCreateCloseShiftDocument [00:29:23]Load OK [00:29:23]Malloc new data [00:29:23]MH_GetDate [00:29:23]Write to MH i2c: F0 00 00 01 01 F1 [00:29:23]Write i2c OK [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: F0 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: F0 09 00 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: F0 09 00 01 01 00 64 6D 94 66 2D 25 5D 64 D8 [00:29:23]Malloc new data [00:29:23]Malloc new data [00:29:23]Malloc new data [00:29:23]Malloc new data [00:29:23]KKMCreateCloseShiftDocument OK [00:29:23]KKMSetCloseShiftData OK [00:29:23]ProcessDocumentItem done err = 0, tmpTLVsize=77 [00:29:23]tlvbuf is 00980ED0 [00:29:23]KKMLoadAndSignCloseShiftData [00:29:23]SAM_PROTO_ProcessDocument [00:29:23]wFMCommunicate request_size=9 [00:29:23]MH_SAM_APDU [00:29:23]CAPDU: 80 15 01 00 04 05 00 4D 00 [00:29:23]Write to MH i2c: E2 0C 00 02 01 80 15 01 00 04 00 05 00 4D 00 00 00 DC [00:29:23]Write i2c OK [00:29:23]MH_I2C_Read... [00:29:23]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:29:23]Read from MH i2c: E2 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 03 00 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 03 00 02 01 00 90 00 77 [00:29:23]RAPDU: 90 00 [00:29:23]wFMCommunicate OK [00:29:23]wFMCommunicate request_size=23 [00:29:23]MH_SAM_APDU [00:29:23]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:29:23]Write to MH i2c: E2 1A 00 03 01 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 79 [00:29:23]Write i2c OK [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 [00:29:23]MH_I2C_Read... [00:29:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:23]Read from MH i2c: E2 03 00 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 03 00 03 01 00 90 00 78 [00:29:23]RAPDU: 90 00 [00:29:23]wFMCommunicate OK [00:29:23]wFMCommunicate request_size=36 [00:29:23]MH_SAM_APDU [00:29:23]CAPDU: 80 15 02 00 1F FD 03 1B 00 D0 9C D1 83 D0 BD D0 B4 D1 83 D1 81 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 [00:29:23]Write to MH i2c: E2 27 00 04 01 80 15 02 00 1F 00 FD 03 1B 00 D0 9C D1 83 D0 BD D0 B4 D1 83 D1 81 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 00 00 AE [00:29:23]Write i2c OK [00:29:23]MH_I2C_Read... [00:29:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:23]Read from MH i2c: E2 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 03 00 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 03 00 04 01 00 90 00 79 [00:29:23]RAPDU: 90 00 [00:29:23]wFMCommunicate OK [00:29:23]wFMCommunicate request_size=13 [00:29:23]MH_SAM_APDU [00:29:23]CAPDU: 80 15 02 00 08 F4 03 04 00 64 6D 94 66 [00:29:23]Write to MH i2c: E2 10 00 05 01 80 15 02 00 08 00 F4 03 04 00 64 6D 94 66 00 00 5C [00:29:23]Write i2c OK [00:29:23]MH_I2C_Read... [00:29:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:23]Read from MH i2c: E2 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 03 00 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 03 00 05 01 00 90 00 7A [00:29:23]RAPDU: 90 00 [00:29:23]wFMCommunicate OK [00:29:23]wFMCommunicate request_size=25 [00:29:23]MH_SAM_APDU [00:29:23]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [00:29:23]Write to MH i2c: E2 1C 00 06 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 E4 [00:29:23]Write i2c OK [00:29:23]MH_I2C_Read... [00:29:23]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:29:23]Read from MH i2c: E2 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 03 00 [00:29:23]MH_I2C_Read... [00:29:23]Read from MH i2c: E2 03 00 06 01 00 90 00 7B [00:29:23]RAPDU: 90 00 [00:29:23]wFMCommunicate OK [00:29:23]wFMCommunicate request_size=4 [00:29:23]MH_SAM_APDU [00:29:23]CAPDU: 80 15 03 00 [00:29:23]Write to MH i2c: E2 08 00 07 01 80 15 03 00 00 00 00 00 89 [00:29:23]Write i2c OK [00:29:23]MH_I2C_Read... [00:29:24]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 250! [00:29:24]Read from MH i2c: E2 [00:29:24]MH_I2C_Read... [00:29:24]Read from MH i2c: E2 FD 00 [00:29:24]MH_I2C_Read... [00:29:24]Read from MH i2c: E2 FD 00 07 01 00 FE 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 10 DF 00 00 0E 04 04 00 F0 01 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 90 00 37 [00:29:24]RAPDU: FE 04 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 10 DF 00 00 0E 04 04 00 F0 01 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 90 00 [00:29:24]wFMCommunicate OK [00:29:24]SAM_PROTO_ProcessDocument answer len = 1278 [00:29:24]SAM_PROTO_ProcessDocument remain to read = 1030 [00:29:24]wFMCommunicate request_size=4 [00:29:24]MH_SAM_APDU [00:29:24]CAPDU: 80 17 00 00 [00:29:24]Write to MH i2c: E2 08 00 08 01 80 17 00 00 00 00 00 00 89 [00:29:24]Write i2c OK [00:29:24]MH_I2C_Read... [00:29:24]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:24]Read from MH i2c: E2 [00:29:24]MH_I2C_Read... [00:29:24]Read from MH i2c: E2 FD 00 [00:29:24]MH_I2C_Read... [00:29:24]Read from MH i2c: E2 FD 00 08 01 00 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 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 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0E [00:29:24]RAPDU: 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 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 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:24]wFMCommunicate OK [00:29:24]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:29:24]SAM_PROTO_ProcessDocument remain to read = 780 [00:29:24]wFMCommunicate request_size=4 [00:29:24]MH_SAM_APDU [00:29:24]CAPDU: 80 17 00 00 [00:29:24]Write to MH i2c: E2 08 00 09 01 80 17 00 00 00 00 00 00 8A [00:29:24]Write i2c OK [00:29:24]MH_I2C_Read... [00:29:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:25]Read from MH i2c: E2 [00:29:25]MH_I2C_Read... [00:29:25]Read from MH i2c: E2 FD 00 [00:29:25]MH_I2C_Read... [00:29:25]Read from MH i2c: E2 FD 00 09 01 00 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 F0 [00:29:25]RAPDU: 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:29:25]wFMCommunicate OK [00:29:25]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:29:25]SAM_PROTO_ProcessDocument remain to read = 530 [00:29:25]wFMCommunicate request_size=4 [00:29:25]MH_SAM_APDU [00:29:25]CAPDU: 80 17 00 00 [00:29:25]Write to MH i2c: E2 08 00 0A 01 80 17 00 00 00 00 00 00 8B [00:29:25]Write i2c OK [00:29:25]MH_I2C_Read... [00:29:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:25]Read from MH i2c: E2 [00:29:25]MH_I2C_Read... [00:29:25]Read from MH i2c: E2 FD 00 [00:29:25]MH_I2C_Read... [00:29:25]Read from MH i2c: E2 FD 00 0A 01 00 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 29 [00:29:25]RAPDU: 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:25]wFMCommunicate OK [00:29:25]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:29:25]SAM_PROTO_ProcessDocument remain to read = 280 [00:29:25]wFMCommunicate request_size=4 [00:29:25]MH_SAM_APDU [00:29:25]CAPDU: 80 17 00 00 [00:29:25]Write to MH i2c: E2 08 00 0B 01 80 17 00 00 00 00 00 00 8C [00:29:25]Write i2c OK [00:29:25]MH_I2C_Read... [00:29:25]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:25]Read from MH i2c: E2 [00:29:25]MH_I2C_Read... [00:29:25]Read from MH i2c: E2 FD 00 [00:29:25]MH_I2C_Read... [00:29:25]Read from MH i2c: E2 FD 00 0B 01 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3B [00:29:26]RAPDU: 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 [00:29:26]wFMCommunicate OK [00:29:26]SAM_PROTO_ProcessDocument received (without SW) 250 bytes [00:29:26]SAM_PROTO_ProcessDocument remain to read = 30 [00:29:26]wFMCommunicate request_size=4 [00:29:26]MH_SAM_APDU [00:29:26]CAPDU: 80 17 00 00 [00:29:26]Write to MH i2c: E2 08 00 0C 01 80 17 00 00 00 00 00 00 8D [00:29:26]Write i2c OK [00:29:26]MH_I2C_Read... [00:29:26]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 30! [00:29:26]Read from MH i2c: E2 [00:29:26]MH_I2C_Read... [00:29:26]Read from MH i2c: E2 21 00 [00:29:26]MH_I2C_Read... [00:29:26]Read from MH i2c: E2 21 00 0C 01 00 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 39 05 42 27 29 23 90 00 C6 [00:29:26]RAPDU: 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 35 04 06 00 39 05 42 27 29 23 90 00 [00:29:26]wFMCommunicate OK [00:29:26]SAM_PROTO_ProcessDocument received (without SW) 30 bytes [00:29:26]SAM_PROTO_ProcessDocument done [00:29:26]1209 (1) - 1.0 - номер версии ФФД [00:29:26]1041 (16) - 0000000000874857 - номер ФМ [00:29:26]1040 (4) - 57104 - номер ФД [00:29:26]1038 (4) - 496 - номер смены [00:29:26]1118 (4) - 120 - количество кассовых чеков за смену [00:29:26]1111 (4) - 122 - общее количество ФД за смену [00:29:26]1194 (1207) - счетчики итогов смены [00:29:26] 1134 (4) - 120 - количество чеков со всеми признаками расчетов [00:29:26] 1129 (155) - счетчики операций «приход» [00:29:26] 1135 (4) - 118 - количество чеков по признаку расчетов [00:29:26] 1201 (3) - 39088.47 - общая итоговая сумма в чеках [00:29:26] 1136 (3) - 31142.00 - итоговая сумма в чеках наличными [00:29:26] 1138 (3) - 7946.47 - итоговая сумма в чеках безналичными [00:29:26] 1024 (122) - суммы налогов [00:29:26] 1006 (9) - суммы НДС [00:29:26] 1010 (1) - 0% - код ставки НДС [00:29:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:29:26] 1006 (12) - суммы НДС [00:29:26] 1010 (1) - 12% - код ставки НДС [00:29:26] 1011 (3) - 4151.23 - сумма НДС по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 0% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (11) - суммы НСП [00:29:26] 1014 (1) - 1% - код ставки НСП [00:29:26] 1015 (2) - 345.79 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 2% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 3% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 5% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 0,50% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 1,50% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1130 (154) - счетчики операций «возврат прихода» [00:29:26] 1135 (4) - 2 - количество чеков по признаку расчетов [00:29:26] 1201 (3) - 1704.00 - общая итоговая сумма в чеках [00:29:26] 1136 (3) - 999.00 - итоговая сумма в чеках наличными [00:29:26] 1138 (3) - 705.00 - итоговая сумма в чеках безналичными [00:29:26] 1024 (121) - суммы налогов [00:29:26] 1006 (9) - суммы НДС [00:29:26] 1010 (1) - 0% - код ставки НДС [00:29:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:29:26] 1006 (11) - суммы НДС [00:29:26] 1010 (1) - 12% - код ставки НДС [00:29:26] 1011 (2) - 180.95 - сумма НДС по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 0% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (11) - суммы НСП [00:29:26] 1014 (1) - 1% - код ставки НСП [00:29:26] 1015 (2) - 15.08 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 2% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 3% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 5% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 0,50% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 1,50% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1131 (141) - счетчики операций «расход» [00:29:26] 1135 (4) - 0 - количество чеков по признаку расчетов [00:29:26] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:29:26] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:29:26] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:29:26] 1024 (117) - суммы налогов [00:29:26] 1006 (9) - суммы НДС [00:29:26] 1010 (1) - 0% - код ставки НДС [00:29:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:29:26] 1006 (9) - суммы НДС [00:29:26] 1010 (1) - 12% - код ставки НДС [00:29:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 0% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 1% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 2% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 3% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 5% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 0,50% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 1,50% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1132 (141) - счетчики операций «возврат расхода» [00:29:26] 1135 (4) - 0 - количество чеков по признаку расчетов [00:29:26] 1201 (0) - 0.00 - общая итоговая сумма в чеках [00:29:26] 1136 (0) - 0.00 - итоговая сумма в чеках наличными [00:29:26] 1138 (0) - 0.00 - итоговая сумма в чеках безналичными [00:29:26] 1024 (117) - суммы налогов [00:29:26] 1006 (9) - суммы НДС [00:29:26] 1010 (1) - 0% - код ставки НДС [00:29:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:29:26] 1006 (9) - суммы НДС [00:29:26] 1010 (1) - 12%OFD Sender: No OFD packet to send [00:29:26] - код ставки НДС [00:29:26] 1011 (0) - 0.00 - сумма НДС по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 0% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 1% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 2% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 3% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 5% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 0,50% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1007 (9) - суммы НСП [00:29:26] 1014 (1) - 1,50% - код ставки НСП [00:29:26] 1015 (0) - 0.00 - сумма НСП по ставке [00:29:26] 1133 (588) - - счетчики коррекции - не используются [00:29:26]1077 (6) - 62694747482403 - ФПД [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1209 (04B9) [00:29:26]Malloc new data [00:29:26]Processing tag 1041 (0411) [00:29:26]Processing tag 1040 (0410) [00:29:26]Malloc new data [00:29:26]Processing tag 1038 (040E) [00:29:26]Malloc new data [00:29:26]Processing tag 1118 (045E) [00:29:26]Malloc new data [00:29:26]Processing tag 1111 (0457) [00:29:26]Malloc new data [00:29:26]Processing tag 1194 (04AA) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1134 (046E) [00:29:26]Malloc new data [00:29:26]Processing tag 1129 (0469) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1135 (046F) [00:29:26]Malloc new data [00:29:26]Processing tag 1201 (04B1) [00:29:26]Malloc new data [00:29:26]Processing tag 1136 (0470) [00:29:26]Malloc new data [00:29:26]Processing tag 1138 (0472) [00:29:26]Malloc new data [00:29:26]Processing tag 1024 (0400) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1006 (03EE) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1010 (03F2) [00:29:26]Malloc new data [00:29:26]Processing tag 1011 (03F3) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1006 (03EE) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1010 (03F2) [00:29:26]Malloc new data [00:29:26]Processing tag 1011 (03F3) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]SetTLVBufToDocument err=0 [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1130 (046A) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1135 (046F) [00:29:26]Malloc new data [00:29:26]Processing tag 1201 (04B1) [00:29:26]Malloc new data [00:29:26]Processing tag 1136 (0470) [00:29:26]Malloc new data [00:29:26]Processing tag 1138 (0472) [00:29:26]Malloc new data [00:29:26]Processing tag 1024 (0400) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1006 (03EE) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1010 (03F2) [00:29:26]Malloc new data [00:29:26]Processing tag 1011 (03F3) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1006 (03EE) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1010 (03F2) [00:29:26]Malloc new data [00:29:26]Processing tag 1011 (03F3) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1007 (03EF) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:26]Processing tag 1014 (03F6) [00:29:26]Malloc new data [00:29:26]Processing tag 1015 (03F7) [00:29:26]Malloc new data [00:29:26]SetTLVBufToDocument err=0 [00:29:26]SetTLVBufToDocument err=0 [00:29:26]SetTLVBufToDocument err=0 [00:29:26]Processing tag 1131 (046B) [00:29:26]Load OK [00:29:26]SetTLVBufToDocument [00:29:27]Processing tag 1135 (046F) [00:29:27]Malloc new data [00:29:27]Processing tag 1201 (04B1) [00:29:27]Malloc new data [00:29:27]Processing tag 1136 (0470) [00:29:27]Malloc new data [00:29:27]Processing tag 1138 (0472) [00:29:27]Malloc new data [00:29:27]Processing tag 1024 (0400) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1006 (03EE) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1010 (03F2) [00:29:27]Malloc new data [00:29:27]Processing tag 1011 (03F3) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1006 (03EE) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1010 (03F2) [00:29:27]Malloc new data [00:29:27]Processing tag 1011 (03F3) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]SetTLVBufToDocument err=0 [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1132 (046C) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1135 (046F) [00:29:27]Malloc new data [00:29:27]Processing tag 1201 (04B1) [00:29:27]Malloc new data [00:29:27]Processing tag 1136 (0470) [00:29:27]Malloc new data [00:29:27]Processing tag 1138 (0472) [00:29:27]Malloc new data [00:29:27]Processing tag 1024 (0400) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1006 (03EE) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1010 (03F2) [00:29:27]Malloc new data [00:29:27]Processing tag 1011 (03F3) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1006 (03EE) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1010 (03F2) [00:29:27]Malloc new data [00:29:27]Processing tag 1011 (03F3) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1007 (03EF) [00:29:27]Load OK [00:29:27]SetTLVBufToDocument [00:29:27]Processing tag 1014 (03F6) [00:29:27]Malloc new data [00:29:27]Processing tag 1015 (03F7) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]SetTLVBufToDocument err=0 [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1133 (046D) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Processing tag 1077 (0435) [00:29:27]Malloc new data [00:29:27]SetTLVBufToDocument err=0 [00:29:27]Malloc new data [00:29:27]SAM_PROTO_GetFMData [00:29:27]wFMCommunicate request_size=4 [00:29:27]MH_SAM_APDU [00:29:27]CAPDU: 80 13 03 00 [00:29:27]Write to MH i2c: E2 08 00 0D 01 80 13 03 00 00 00 00 00 8D [00:29:27]Write i2c OK [00:29:27]MH_I2C_Read... [00:29:27]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:29:27]Read from MH i2c: E2 [00:29:27]MH_I2C_Read... [00:29:27]Read from MH i2c: E2 FD 00 [00:29:27]MH_I2C_Read... [00:29:27]Read from MH i2c: E2 FD 00 0D 01 00 C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 F9 [00:29:28]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:29:28]wFMCommunicate OK [00:29:28]wFMCommunicate request_size=4 [00:29:28]MH_SAM_APDU [00:29:28]CAPDU: 80 17 00 00 [00:29:28]Write to MH i2c: E2 08 00 0E 01 80 17 00 00 00 00 00 00 8F [00:29:28]Write i2c OK [00:29:28]MH_I2C_Read... [00:29:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:28]Read from MH i2c: E2 [00:29:28]MH_I2C_Read... [00:29:28]Read from MH i2c: E2 FD 00 [00:29:28]MH_I2C_Read... [00:29:28]Read from MH i2c: E2 FD 00 0E 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 28 [00:29:28]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:29:28]wFMCommunicate OK [00:29:28]wFMCommunicate request_size=4 [00:29:28]MH_SAM_APDU [00:29:28]CAPDU: 80 17 00 00 [00:29:28]Write to MH i2c: E2 08 00 0F 01 80 17 00 00 00 00 00 00 90 [00:29:28]Write i2c OK [00:29:28]MH_I2C_Read... [00:29:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:28]Read from MH i2c: E2 [00:29:28]MH_I2C_Read... [00:29:28]Read from MH i2c: E2 FD 00 [00:29:28]MH_I2C_Read... [00:29:28]Read from MH i2c: E2 FD 00 0F 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 A5 [00:29:28]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:29]wFMCommunicate OK [00:29:29]wFMCommunicate request_size=4 [00:29:29]MH_SAM_APDU [00:29:29]CAPDU: 80 17 00 00 [00:29:29]Write to MH i2c: E2 08 00 10 01 80 17 00 00 00 00 00 00 91 [00:29:29]Write i2c OK [00:29:29]MH_I2C_Read... [00:29:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:29:29]Read from MH i2c: E2 [00:29:29]MH_I2C_Read... [00:29:29]Read from MH i2c: E2 FD 00 [00:29:29]MH_I2C_Read... [00:29:29]Read from MH i2c: E2 FD 00 10 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 09 [00:29:29]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:29:29]wFMCommunicate OK [00:29:29]wFMCommunicate request_size=4 [00:29:29]MH_SAM_APDU [00:29:29]CAPDU: 80 17 00 00 [00:29:29]Write to MH i2c: E2 08 00 11 01 80 17 00 00 00 00 00 00 92 [00:29:29]Write i2c OK [00:29:29]MH_I2C_Read... [00:29:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:29:29]Read from MH i2c: E2 [00:29:29]MH_I2C_Read... [00:29:29]Read from MH i2c: E2 E1 00 [00:29:29]MH_I2C_Read... [00:29:29]Read from MH i2c: E2 E1 00 11 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 80 [00:29:29]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:29:30]wFMCommunicate OK [00:29:30]SAM_PROTO_GetFMData done [00:29:30]Malloc new data [00:29:30]Malloc new data [00:29:30]Malloc new data [00:29:30]Malloc new data [00:29:30]KKMLoadAndSignCloseShiftData err=0 [00:29:30]Отчет о закрытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Мундусбаева Г. 15.07.2024 00:29 Смена: 496 РНМ: 0000000000091208 ЗНМ: 0300000132 СНО: Общий режим Чеков за смену: 120 ФД за смену: 122 Всего чеков: 120 ИТОГИ ПРИХОД Чеков: 118 Общий итог: 39088.47 Итого наличными: 31142.00 Итого безнал.: 7946.47 НДС 0% : 0.00 НДС 12% : 4151.23 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 345.79 ИТОГИ ВОЗВРАТ ПРИХОДА Чеков: 2 Общий итог: 1704.00 Итого наличными: 999.00 Итого безнал.: 705.00 НДС 0% : 0.00 НДС 12% : 180.95 НСП 0% : 0.00 НСП 1,50% : 0.00 НСП 0,50% : 0.00 НСП 5% : 0.00 НСП 3% : 0.00 НСП 2% : 0.00 НСП 1% : 15.08 ИТОГИ РАСХОД Чеков: 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 Нал. в кассе: 30143.00 НС Приход: 18373696.67 НС Возвр.Прихода: 236537.00 НС Расход: 0.00 НС Возвр.Расхода: 0.00 ФД: 57104 ФМ: 0000000000874857 ФПД: 62694747482403 [00:29:30]StoreToDocumentArchive [00:29:30]shift 496 fd 57104 [00:29:30]save to /storage/0496/doc_00057104 [00:29:30]save last doc name /storage/0496/doc_00057104 to /storage/kkm_last_doc_name [00:29:30]save OK [00:29:30]Clear old archive folders... [00:29:30]Remove dir /storage/0266 [00:29:30]opendir ok [00:29:30]file . [00:29:30]file .. [00:29:30]file doc_1721003298 [00:29:30]remove file /storage/0266/doc_1721003298 [00:29:30]remove dir /storage/0266 [00:29:30]NVStorageSaveData kkm_registers [00:29:30]File name is /storage/kkm_registers [00:29:30]Write 24 bytes [00:29:30]NVStorageSaveData done [00:29:30]NVStorageSaveData kkm_registers [00:29:30]File name is /storage/kkm_registers [00:29:30]Write 24 bytes [00:29:30]NVStorageSaveData done [00:29:30]ProcessDocumentItem done err = 0, tmpTLVsize=1393 [00:29:30]tlvbuf is 00A98740 [00:29:30]SAM_PROTO_ClearQueue [00:29:30]wFMCommunicate request_size=4 [00:29:30]MH_SAM_APDU [00:29:30]CAPDU: 80 09 00 00 [00:29:30]Write to MH i2c: E2 08 00 12 01 80 09 00 00 00 00 00 00 85 [00:29:30]Write i2c OK [00:29:30]MH_I2C_Read... [00:29:30]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:29:30]Read from MH i2c: E2 [00:29:30]MH_I2C_Read... [00:29:30]Read from MH i2c: E2 03 00 [00:29:30]MH_I2C_Read... [00:29:30]Read from MH i2c: E2 03 00 12 01 00 90 00 87 [00:29:30]RAPDU: 90 00 [00:29:30]wFMCommunicate OK [00:29:30]SAM_PROTO_ClearQueue done [00:29:30]KKMCreateOFDPacket [00:29:30]OFDProtocolAddRootSTLVToBuf [00:29:30]FM_MakeSignedData [00:29:30]FM_MakeSignedData [00:29:30]SAM_PROTO_SignData [00:29:30]wFMCommunicate request_size=4 [00:29:30]MH_SAM_APDU [00:29:30]CAPDU: 80 0D 01 02 [00:29:30]Write to MH i2c: E2 08 00 13 01 80 0D 01 02 00 00 00 00 8D [00:29:30]Write i2c OK [00:29:30]MH_I2C_Read... [00:29:30]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:29:30]Read from MH i2c: E2 [00:29:30]MH_I2C_Read... [00:29:30]Read from MH i2c: E2 03 00 [00:29:30]MH_I2C_Read... [00:29:30]Read from MH i2c: E2 03 00 13 01 00 90 00 88 [00:29:30]RAPDU: 90 00 [00:29:30]wFMCommunicate OK [00:29:30]wFMCommunicate request_size=255 [00:29:30]MH_SAM_APDU [00:29:30]CAPDU: 80 0D 02 02 FA 05 00 71 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 1B 00 D0 9C D1 83 D0 BD D0 B4 D1 83 D1 81 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 64 6D 94 66 0E 04 04 00 F0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 AA 04 DD 04 6E 04 04 00 78 00 00 00 69 04 A2 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 [00:29:30]Write to MH i2c: E2 02 01 14 01 80 0D 02 02 FA 00 05 00 71 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 1B 00 D0 9C D1 83 D0 BD D0 B4 D1 83 D1 81 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 64 6D 94 66 0E 04 04 00 F0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 AA 04 DD 04 6E 04 04 00 78 00 00 00 69 04 A2 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 00 00 FD [00:29:30]Write i2c OK [00:29:30]MH_I2C_Read... [00:29:30]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:29:30]Read from MH i2c: E2 [00:29:30]MH_I2C_Read... [00:29:30]Read from MH i2c: E2 03 00 [00:29:30]MH_I2C_Read... [00:29:30]Read from MH i2c: E2 03 00 14 01 00 90 00 89 [00:29:30]RAPDU: 90 00 [00:29:30]wFMCommunicate OK [00:29:30]wFMCommunicate request_size=255 [00:29:30]MH_SAM_APDU [00:29:30]CAPDU: 80 0D 02 02 FA 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 13 87 6A 04 A1 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 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 E4 05 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 [00:29:30]Write to MH i2c: E2 02 01 15 01 80 0D 02 02 FA 00 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 13 87 6A 04 A1 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 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 E4 05 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 00 00 0D [00:29:31]Write i2c OK [00:29:31]MH_I2C_Read... [00:29:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:29:31]Read from MH i2c: E2 [00:29:31]MH_I2C_Read... [00:29:31]Read from MH i2c: E2 03 00 [00:29:31]MH_I2C_Read... [00:29:31]Read from MH i2c: E2 03 00 15 01 00 90 00 8A [00:29:31]RAPDU: 90 00 [00:29:31]wFMCommunicate OK [00:29:31]wFMCommunicate request_size=255 [00:29:31]MH_SAM_APDU [00:29:31]CAPDU: 80 0D 02 02 FA 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 [00:29:31]Write to MH i2c: E2 02 01 16 01 80 0D 02 02 FA 00 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 00 00 58 [00:29:31]OFD Sender: No OFD packet to send [00:29:31]Write i2c OK [00:29:31]MH_I2C_Read... [00:29:31]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:29:31]Read from MH i2c: E2 [00:29:31]MH_I2C_Read... [00:29:31]Read from MH i2c: E2 03 00 [00:29:31]MH_I2C_Read... [00:29:31]Read from MH i2c: E2 03 00 16 01 00 90 00 8B [00:29:31]RAPDU: 90 00 [00:29:31]wFMCommunicate OK [00:29:31]wFMCommunicate request_size=255 [00:29:31]MH_SAM_APDU [00:29:31]CAPDU: 80 0D 02 02 FA 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 [00:29:32]Write to MH i2c: E2 02 01 17 01 80 0D 02 02 FA 00 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 00 00 5F [00:29:32]Write i2c OK [00:29:32]MH_I2C_Read... [00:29:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:29:32]Read from MH i2c: E2 [00:29:32]MH_I2C_Read... [00:29:32]Read from MH i2c: E2 03 00 [00:29:32]MH_I2C_Read... [00:29:32]Read from MH i2c: E2 03 00 17 01 00 90 00 8C [00:29:32]RAPDU: 90 00 [00:29:32]wFMCommunicate OK [00:29:32]wFMCommunicate request_size=255 [00:29:32]MH_SAM_APDU [00:29:32]CAPDU: 80 0D 02 02 FA F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:29:32]Write to MH i2c: E2 02 01 18 01 80 0D 02 02 FA 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 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 00 27 [00:29:32]Write i2c OK [00:29:32]MH_I2C_Read... [00:29:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:29:33]Read from MH i2c: E2 [00:29:33]MH_I2C_Read... [00:29:33]Read from MH i2c: E2 03 00 [00:29:33]MH_I2C_Read... [00:29:33]Read from MH i2c: E2 03 00 18 01 00 90 00 8D [00:29:33]RAPDU: 90 00 [00:29:33]wFMCommunicate OK [00:29:33]wFMCommunicate request_size=152 [00:29:33]MH_SAM_APDU [00:29:33]CAPDU: 80 0D 02 02 93 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 10 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 39 05 42 27 29 23 [00:29:33]Write to MH i2c: E2 9B 00 19 01 80 0D 02 02 93 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 10 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 39 05 42 27 29 23 00 00 BA [00:29:33]Write i2c OK [00:29:33]MH_I2C_Read... [00:29:33]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:29:33]Read from MH i2c: E2 [00:29:33]MH_I2C_Read... [00:29:33]Read from MH i2c: E2 03 00 [00:29:33]MH_I2C_Read... [00:29:33]Read from MH i2c: E2 03 00 19 01 00 90 00 8E [00:29:33]RAPDU: 90 00 [00:29:33]wFMCommunicate OK [00:29:33]wFMCommunicate request_size=4 [00:29:33]MH_SAM_APDU [00:29:33]CAPDU: 80 0D 03 02 [00:29:33]Write to MH i2c: E2 08 00 1A 01 80 0D 03 02 00 00 00 00 96 [00:29:33]Write i2c OK [00:29:33]MH_I2C_Read... [00:29:33]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:29:33]Read from MH i2c: E2 [00:29:33]MH_I2C_Read... [00:29:33]Read from MH i2c: E2 0B 00 [00:29:33]MH_I2C_Read... [00:29:33]Read from MH i2c: E2 0B 00 1A 01 00 04 75 E1 A7 66 9F CF C7 90 00 33 [00:29:33]RAPDU: 04 75 E1 A7 66 9F CF C7 90 00 [00:29:33]wFMCommunicate OK [00:29:33]SAM_PROTO_SignData done [00:29:33]FM_MakeSignedData done [00:29:33]CreateOFDProtocolMessage [00:29:33]wFMCommunicate request_size=4 [00:29:33]MH_SAM_APDU [00:29:33]CAPDU: 80 11 00 00 [00:29:33]Write to MH i2c: E2 08 00 1B 01 80 11 00 00 00 00 00 00 96 [00:29:33]Write i2c OK [00:29:33]MH_I2C_Read... [00:29:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:29:33]Read from MH i2c: E2 [00:29:33]MH_I2C_Read... [00:29:33]Read from MH i2c: E2 17 00 [00:29:33]MH_I2C_Read... [00:29:33]Read from MH i2c: E2 17 00 1B 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F0 [00:29:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:29:33]wFMCommunicate OK [00:29:33]CreateOFDProtocolMessage done [00:29:33]OFDSenderStorePacket 57104 [00:29:33]StoreOFDPacket docnum=57104 [00:29:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 85 05 00 00 05 20 7D 05 0F D6 5A 05 01 00 05 00 71 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 1B 00 D0 9C D1 83 D0 BD D0 B4 D1 83 D1 81 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 64 6D 94 66 0E 04 04 00 F0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 AA 04 DD 04 6E 04 04 00 78 00 00 00 69 04 A2 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 6A 04 A1 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 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 E4 05 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 10 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 39 05 42 27 29 23 04 75 E1 A7 66 9F CF C7 [00:29:33]CheckFolder [00:29:33]dirname=/storage/ofd_packets [00:29:33]CheckFolder done [00:29:33]ProducePacketName [00:29:33]name=ofd_packets/00057104 [00:29:33]NVStorageSaveData ofd_packets/00057104 [00:29:33]File name is /storage/ofd_packets/00057104 [00:29:33]Write 1443 bytes [00:29:33]NVStorageSaveData done [00:29:33]OFDSenderStorePacket done [00:29:34]KKMCreateOFDPacket done [00:29:34]NVStorageSaveData kkm_last_timestamp [00:29:34]File name is /storage/kkm_last_timestamp [00:29:34]Write 4 bytes [00:29:34]NVStorageSaveData done [00:29:34]ExternCall_PrintAddStr [00:29:34]wPrintStart [00:29:34]Write to MH i2c: 01 00 00 1C 01 1D [00:29:34]OFD Sender: Processing packet 57104 [packets to send 38, broken 37] [00:29:34]ProducePacketName [00:29:34]name=ofd_packets/00057104 [00:29:34]OFD Sender: To server: pG, [00:29:34]CommunicateWithHost lk.salyk.kg:30040 [00:29:34]ConnectInit lk.salyk.kg [00:29:34]Write i2c OK [00:29:34]MH_I2C_Read... [00:29:34]Read from MH i2c: 01 [00:29:34]MH_I2C_Read... [00:29:34]Read from MH i2c: 01 07 00 [00:29:34]MH_I2C_Read... [00:29:34]Read from MH i2c: 01 07 00 1C 01 00 00 00 00 00 FF 0F 32 [00:29:34]RasterBufferAndPrint [00:29:34]line Отчет о закрытии смены [00:29:34]line ФФД: 1.0 [00:29:34]line ИНН: 02508201610067 [00:29:34]line Кассир: Мундусбаева Г. [00:29:34]line 15.07.2024 00:29 [00:29:34]line Смена: 496 [00:29:34]line РНМ: 0000000000091208 [00:29:34]line ЗНМ: 0300000132 [00:29:34]line СНО: Общий режим [00:29:34]line Чеков за смену: 120 [00:29:34]line ФД за смену: 122 [00:29:34]line Всего чеков: 120 [00:29:34]line ИТОГИ ПРИХОД [00:29:34]line Чеков: 118 [00:29:34]line Общий итог: 39088.47 [00:29:34]line Итого наличными: 31142.00 [00:29:34]line Итого безнал.: 7946.47 [00:29:34]line НДС 0% : 0.00 [00:29:34]line НДС 12% : 4151.23 [00:29:34]line НСП 0% : 0.00 [00:29:34]line НСП 1,50% : 0.00 [00:29:34]line НСП 0,50% : 0.00 [00:29:34]line НСП 5% : 0.00 [00:29:34]line НСП 3% : 0.00 [00:29:34]line НСП 2% : 0.00 [00:29:34]line НСП 1% : 345.79 [00:29:34]line ИТОГИ ВОЗВРАТ ПРИХОДА [00:29:34]line Чеков: 2 [00:29:34]line Общий итог: 1704.00 [00:29:34]line Итого наличными: 999.00 [00:29:34]line Итого безнал.: 705.00 [00:29:34]line НДС 0% : 0.00 [00:29:34]line НДС 12% : 180.95 [00:29:34]line НСП 0% : 0.00 [00:29:34]line НСП 1,50% : 0.00 [00:29:34]line НСП 0,50% : 0.00 [00:29:34]line НСП 5% : 0.00 [00:29:34]line НСП 3% : 0.00 [00:29:34]line НСП 2% : 0.00 [00:29:34]line НСП 1% : 15.08 [00:29:34]line ИТОГИ РАСХОД [00:29:34]line Чеков: 0 [00:29:34]line Общий итог: 0.00 [00:29:34]line Итого наличными: 0.00 [00:29:34]line Итого безнал.: 0.00 [00:29:34]line НДС 0% : 0.00 [00:29:34]line НДС 12% : 0.00 [00:29:34]line НСП 0% : 0.00 [00:29:34]line НСП 1,50% : 0.00 [00:29:34]line НСП 0,50% : 0.00 [00:29:34]line НСП 5% : 0.00 [00:29:34]line НСП 3% : 0.00 [00:29:34]line НСП 2% : 0.00 [00:29:34]line НСП 1% : 0.00 [00:29:34]line ИТОГИ ВОЗВРАТ РАСХОДА [00:29:34]line Чеков: 0 [00:29:34]line Общий итог: 0.00 [00:29:34]line Итого наличными: 0.00 [00:29:34]line Итого безнал.: 0.00 [00:29:34]line НДС 0% : 0.00 [00:29:34]line НДС 12% : 0.00 [00:29:34]line НСП 0% : 0.00 [00:29:34]line НСП 1,50% : 0.00 [00:29:34]line НСП 0,50% : 0.00 [00:29:34]line НСП 5% : 0.00 [00:29:34]line НСП 3% : 0.00 [00:29:34]line НСП 2% : 0.00 [00:29:34]line НСП 1% : 0.00 [00:29:34]line Сумма внесений: 0.00 [00:29:34]line Сумма выплат: 0.00 [00:29:34]line Нал. в кассе: 30143.00 [00:29:34]line НС Приход: 18373696.67 [00:29:34]line НС Возвр.Прихода: 236537.00 [00:29:34]line НС Расход: 0.00 [00:29:34]line НС Возвр.Расхода: 0.00 [00:29:34]line ФД: 57104 [00:29:34]line ФМ: 0000000000874857 [00:29:34]line ФПД: 62694747482403 [00:29:34]written 0, free lines is 4095 [00:29:34]Connected sock=10 [00:29:34]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 85 05 00 00 05 20 7D 05 0F D6 5A 05 01 00 05 00 71 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 1B 00 D0 9C D1 83 D0 BD D0 B4 D1 83 D1 81 D0 B1 D0 B0 D0 B5 D0 B2 D0 B0 20 D0 93 2E 20 F4 03 04 00 64 6D 94 66 0E 04 04 00 F0 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 AA 04 DD 04 6E 04 04 00 78 00 00 00 69 04 A2 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 0A 00 F6 03 01 00 00 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 06 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 05 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 04 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 03 F7 03 01 00 00 EF 03 0A 00 F6 03 01 00 02 F7 03 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 6A 04 A1 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 80 00 EE 03 0A 00 F2 03 01 00 00 F3 03 01 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 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 E4 05 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 Write to MH i2c: F7 01 03 00 00 00 00 6C EF 01 03 6D 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 [00:29:34]01 00 Write i2c OK [00:29:34]03 MH_I2C_Read... [00:29:34]F7 Read from MH i2c: 03 01 00 [00:29:34]00 MH_I2C_Read... [00:29:34]EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 10 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 39 05 42 27 29 23 04 75 E1 A7 66 9F CF C7 [00:29:35]Read from MH i2c: 01 07 00 [00:29:35]MH_I2C_Read... [00:29:35]Read from MH i2c: 01 07 00 6C 01 00 00 00 00 00 B9 0A 37 [00:29:35]RasterBufferAndPrint [00:29:35]line [00:29:35]line [00:29:35]line [00:29:35]line [00:29:35]line [00:29:35]written 0, free lines is 2961 [00:29:35]MH_Cut [00:29:35]Write to MH i2c: D1 01 00 73 01 01 46 [00:29:35]Write i2c OK [00:29:35]MH_I2C_Read... [00:29:35]Read from MH i2c: D1 [00:29:35]MH_I2C_Read... [00:29:35]Read from MH i2c: D1 01 00 [00:29:35]MH_I2C_Read... [00:29:35]Read from MH i2c: D1 01 00 73 01 00 45 [00:29:35]Write to MH i2c: 01 00 00 74 01 75 [00:29:35]Write i2c OK [00:29:35]MH_I2C_Read... [00:29:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 AF B5 47 00 0A 36 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 10 DF 00 00 F4 03 04 00 BD 13 94 66 B6 04 01 00 00 2F DD 67 CA 17 25 03 6A [00:29:35]CommunicateWithHost err = 0 [00:29:35]CheckOFDResponse [00:29:35]1017 (14) - 77093643461234 [00:29:35]1041 (16) - 0000000000874857 [00:29:35]1040 (4) - 57104 [00:29:35]1012 (4) - 14.07.2024 18:06 [00:29:35]1206 (1) - 0 [00:29:35]OFD Sender: Remove packet 57104 [00:29:35]ProducePacketName [00:29:35]name=ofd_packets/00057104 [00:29:35]NVStorageDeleteData [00:29:35]OFD Sender: No OFD packet to send [00:29:35]*** Cut start [00:29:35]*** Partial cut [00:29:35]*** CUTSNS_PIN = 1 [00:29:36]*** CUTSNS_PIN = 0 [00:29:36]*** Brake cut motor [00:29:36]Read from MH i2c: 01 [00:29:36]MH_I2C_Read... [00:29:36]*** Stop cut motor [00:29:36]*** Cut end [00:29:36]Read from MH i2c: 01 07 00 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: 01 07 00 74 01 00 00 00 00 00 FF 0F 8A [00:29:36]process_action close_shift done [00:29:36]requested_data is exist [00:29:36]produce_requested_data [00:29:36]requested_item fd.num is exist - process it [00:29:36]SAM_PROTO_GetFieldsCounters [00:29:36]wFMCommunicate request_size=4 [00:29:36]MH_SAM_APDU [00:29:36]CAPDU: 80 13 00 00 [00:29:36]Write to MH i2c: E2 08 00 75 01 80 13 00 00 00 00 00 00 F2 [00:29:36]Write i2c OK [00:29:36]MH_I2C_Read... [00:29:36]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:29:36]Read from MH i2c: E2 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 62 00 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 62 00 75 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 10 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 5E [00:29:36]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 10 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:29:36]wFMCommunicate OK [00:29:36]SAM_PROTO_GetFieldsCounters done [00:29:36]requested_item shift.num is exist - process it [00:29:36]requested_item shift.opened is exist - process it [00:29:36]req_shift_opened [00:29:36]FM_GetShiftState [00:29:36]SAM_PROTO_GetShiftState [00:29:36]wFMCommunicate request_size=4 [00:29:36]MH_SAM_APDU [00:29:36]CAPDU: 80 13 01 00 [00:29:36]Write to MH i2c: E2 08 00 76 01 80 13 01 00 00 00 00 00 F4 [00:29:36]Write i2c OK [00:29:36]MH_I2C_Read... [00:29:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:36]Read from MH i2c: E2 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 0E 00 [00:29:36]MH_I2C_Read... [00:29:36]Read from MH i2c: E2 0E 00 76 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 FF [00:29:37]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:29:37]wFMCommunicate OK [00:29:37]SAM_PROTO_GetShiftState done [00:29:37]FM_GetShiftState done [00:29:37]req_shift_opened done [00:29:37]requested_item shift.open_date is exist - process it [00:29:37]req_shift_open_date [00:29:37]FM_GetShiftState [00:29:37]SAM_PROTO_GetShiftState [00:29:37]wFMCommunicate request_size=4 [00:29:37]MH_SAM_APDU [00:29:37]CAPDU: 80 13 01 00 [00:29:37]Write to MH i2c: E2 08 00 77 01 80 13 01 00 00 00 00 00 F5 [00:29:37]Write i2c OK [00:29:37]MH_I2C_Read... [00:29:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:29:37]Read from MH i2c: E2 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: E2 0E 00 [00:29:37]MH_I2C_Read... [00:29:37]Read from MH i2c: E2 0E 00 77 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 00 [00:29:37]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:29:37]wFMCommunicate OK [00:29:37]SAM_PROTO_GetShiftState done [00:29:37]FM_GetShiftState done [00:29:37]req_shift_open_date done [00:29:37]produce_requested_data done [00:29:37]produce_requested_data return {"fd.num":57104,"shift.num":496,"shift.opened":0,"shift.open_date":0} [00:29:37]process_action_free close_shift [00:29:37]json_value_free [00:29:37]json_value_free done [00:29:37]process_json_proto returns [00:29:37]Send response to host [00:29:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":57104,"shift.num":496,"shift.opened":0,"shift.open_date":0}}} [00:29:37]free response buf [00:29:37]execute_script done [00:29:37]execute_script returns [00:29:37]free content buf [00:29:37]Sock 8.Close socket [00:29:37]Sock 8.Thread stoped [00:29:40]OFD Sender: No OFD packet to send [00:29:45]OFD Sender: No OFD packet to send [00:29:50]OFD Sender: No OFD packet to send [00:29:55]OFD Sender: No OFD packet to send [00:30:00]OFD Sender: No OFD packet to send [00:30:05]OFD Sender: No OFD packet to send [00:30:10]OFD Sender: No OFD packet to send [00:30:15]OFD Sender: No OFD packet to send [00:30:20]OFD Sender: No OFD packet to send [00:30:25]OFD Sender: No OFD packet to send [00:30:30]OFD Sender: No OFD packet to send [00:30:35]OFD Sender: No OFD packet to send [00:30:40]OFD Sender: No OFD packet to send [00:30:45]OFD Sender: No OFD packet to send [00:30:50]OFD Sender: No OFD packet to send [00:30:55]OFD Sender: No OFD packet to send [00:31:00]OFD Sender: No OFD packet to send [00:31:05]OFD Sender: No OFD packet to send [00:31:10]OFD Sender: No OFD packet to send [00:31:15]OFD Sender: No OFD packet to send [00:31:20]OFD Sender: No OFD packet to send [00:31:25]OFD Sender: No OFD packet to send [00:31:30]OFD Sender: No OFD packet to send [00:31:35]OFD Sender: No OFD packet to send [00:31:40]OFD Sender: No OFD packet to send [00:31:45]OFD Sender: No OFD packet to send [00:31:50]OFD Sender: No OFD packet to send [00:31:55]OFD Sender: No OFD packet to send [00:32:00]accept exits with 9 [00:32:00]New connection [00:32:00]New thread 3066924388 created [00:32:00]Thread 3067067748 joined [00:32:00]Waiting for new connection... [00:32:00] Sock 9.Parse request [00:32:00]Sock 9.Check first char [00:32:00]Sock 9.First char is OK [00:32:00]request: POST /json_proto HTTP/1.0 [00:32:00]Method: POST [00:32:00]URL: /json_proto [00:32:00]Method is POST - this is cgi request [00:32:00]url: /json_proto [00:32:00]query_string will be loaded in cgi processing [00:32:00]execute_cgi json_proto POST (null) [00:32:00]execute_cgi path=json_proto method=POST [00:32:00]POST find Content-Length [00:32:00]Host: 172.17.39.4:8080 [00:32:00]Content-Length: 215 [00:32:00]Content-Type: application/json [00:32:00] [00:32:00]POST finish read [00:32:00]Found Content-Length = 215 [00:32:00]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:00]execute_script... [00:32:00]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "kkm.sn", "kkm.ver", "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:00]POST & json_proto [00:32:00]process_json_proto [00:32:00]json parsed OK: [00:32:00]protocol is kg_v1.0 [00:32:00]action value=get_value [00:32:00]process_action get_value [00:32:00]cmd_get_value [00:32:00]process_action get_value done [00:32:00]requested_data is exist [00:32:00]produce_requested_data [00:32:00]requested_item kkm.sn is exist - process it [00:32:00]requested_item kkm.ver is exist - process it [00:32:00]requested_item fm.sn is exist - process it [00:32:00]wFMCommunicate request_size=4 [00:32:00]MH_SAM_APDU [00:32:00]CAPDU: 80 11 00 00 [00:32:00]Write to MH i2c: E2 08 00 78 01 80 11 00 00 00 00 00 00 F3 [00:32:00]Write i2c OK [00:32:00]MH_I2C_Read... [00:32:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:32:00]Read from MH i2c: E2 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 17 00 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 17 00 78 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4D [00:32:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:32:00]wFMCommunicate OK [00:32:00]requested_item fd.num is exist - process it [00:32:00]SAM_PROTO_GetFieldsCounters [00:32:00]wFMCommunicate request_size=4 [00:32:00]MH_SAM_APDU [00:32:00]CAPDU: 80 13 00 00 [00:32:00]Write to MH i2c: E2 08 00 79 01 80 13 00 00 00 00 00 00 F6 [00:32:00]Write i2c OK [00:32:00]MH_I2C_Read... [00:32:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:32:00]Read from MH i2c: E2 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 62 00 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 62 00 79 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 10 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 62 [00:32:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 10 DF 00 00 0E 04 04 00 F0 01 00 00 12 04 04 00 78 00 00 00 5E 04 04 00 78 00 00 00 57 04 04 00 7A 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:32:00]wFMCommunicate OK [00:32:00]SAM_PROTO_GetFieldsCounters done [00:32:00]requested_item shift.num is exist - process it [00:32:00]requested_item shift.opened is exist - process it [00:32:00]req_shift_opened [00:32:00]FM_GetShiftState [00:32:00]SAM_PROTO_GetShiftState [00:32:00]wFMCommunicate request_size=4 [00:32:00]MH_SAM_APDU [00:32:00]CAPDU: 80 13 01 00 [00:32:00]Write to MH i2c: E2 08 00 7A 01 80 13 01 00 00 00 00 00 F8 [00:32:00]Write i2c OK [00:32:00]MH_I2C_Read... [00:32:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:00]Read from MH i2c: E2 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 0E 00 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 0E 00 7A 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 03 [00:32:00]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:32:00]wFMCommunicate OK [00:32:00]SAM_PROTO_GetShiftState done [00:32:00]FM_GetShiftState done [00:32:00]req_shift_opened done [00:32:00]requested_item shift.open_date is exist - process it [00:32:00]req_shift_open_date [00:32:00]FM_GetShiftState [00:32:00]SAM_PROTO_GetShiftState [00:32:00]wFMCommunicate request_size=4 [00:32:00]MH_SAM_APDU [00:32:00]CAPDU: 80 13 01 00 [00:32:00]Write to MH i2c: E2 08 00 7B 01 80 13 01 00 00 00 00 00 F9 [00:32:00]Write i2c OK [00:32:00]MH_I2C_Read... [00:32:00]OFD Sender: No OFD packet to send [00:32:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:00]Read from MH i2c: E2 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 0E 00 [00:32:00]MH_I2C_Read... [00:32:00]Read from MH i2c: E2 0E 00 7B 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 04 [00:32:00]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:32:00]wFMCommunicate OK [00:32:00]SAM_PROTO_GetShiftState done [00:32:00]FM_GetShiftState done [00:32:00]req_shift_open_date done [00:32:00]produce_requested_data done [00:32:00]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57104,"shift.num":496,"shift.opened":0,"shift.open_date":0} [00:32:00]process_action_free get_value [00:32:00]json_value_free [00:32:00]json_value_free done [00:32:00]process_json_proto returns [00:32:00]Send response to host [00:32:00]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57104,"shift.num":496,"shift.opened":0,"shift.open_date":0}}} [00:32:00]free response buf [00:32:00]execute_script done [00:32:00]execute_script returns [00:32:00]free content buf [00:32:00]Sock 9.Close socket [00:32:00]Sock 9.Thread stoped [00:32:00]accept exits with 10 [00:32:00]New connection [00:32:00]New thread 3067067748 created [00:32:00]Thread 3066924388 joined [00:32:00]Waiting for new connection... [00:32:00] Sock 10.Parse request [00:32:00]Sock 10.Check first char [00:32:00]Sock 10.First char is OK [00:32:01]request: POST /json_proto HTTP/1.0 [00:32:01]Method: POST [00:32:01]URL: /json_proto [00:32:01]Method is POST - this is cgi request [00:32:01]url: /json_proto [00:32:01]query_string will be loaded in cgi processing [00:32:01]execute_cgi json_proto POST (null) [00:32:01]execute_cgi path=json_proto method=POST [00:32:01]POST find Content-Length [00:32:01]Host: 172.17.39.4:8080 [00:32:01]Content-Length: 331 [00:32:01]Content-Type: application/json [00:32:01] [00:32:01]POST finish read [00:32:01]Found Content-Length = 331 [00:32:01]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:32:01]execute_script... [00:32:01]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:32:01]POST & json_proto [00:32:01]process_json_proto [00:32:01]json parsed OK: [00:32:01]protocol is kg_v1.0 [00:32:01]action value=get_value [00:32:01]process_action get_value [00:32:01]cmd_get_value [00:32:01]process_action get_value done [00:32:01]requested_data is exist [00:32:01]produce_requested_data [00:32:01]requested_item fm.sale.total is exist - process it [00:32:01]SAM_PROTO_GetFMData [00:32:01]wFMCommunicate request_size=4 [00:32:01]MH_SAM_APDU [00:32:01]CAPDU: 80 13 03 00 [00:32:01]Write to MH i2c: E2 08 00 7C 01 80 13 03 00 00 00 00 00 FC [00:32:01]Write i2c OK [00:32:01]MH_I2C_Read... [00:32:01]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:32:01]Read from MH i2c: E2 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 FD 00 [00:32:01]MH_I2C_Read... [00:32:01]Read from MH i2c: E2 FD 00 7C 01 00 C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 68 [00:32:01]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:32:01]wFMCommunicate OK [00:32:01]wFMCommunicate request_size=4 [00:32:01]MH_SAM_APDU [00:32:01]CAPDU: 80 17 00 00 [00:32:01]Write to MH i2c: E2 08 00 7D 01 80 17 00 00 00 00 00 00 FE [00:32:01]Write i2c OK [00:32:01]MH_I2C_Read... [00:32:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:02]Read from MH i2c: E2 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 7D 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 97 [00:32:02]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:32:02]wFMCommunicate OK [00:32:02]wFMCommunicate request_size=4 [00:32:02]MH_SAM_APDU [00:32:02]CAPDU: 80 17 00 00 [00:32:02]Write to MH i2c: E2 08 00 7E 01 80 17 00 00 00 00 00 00 FF [00:32:02]Write i2c OK [00:32:02]MH_I2C_Read... [00:32:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:02]Read from MH i2c: E2 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 7E 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 14 [00:32:02]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:02]wFMCommunicate OK [00:32:02]wFMCommunicate request_size=4 [00:32:02]MH_SAM_APDU [00:32:02]CAPDU: 80 17 00 00 [00:32:02]Write to MH i2c: E2 08 00 7F 01 80 17 00 00 00 00 00 00 00 [00:32:02]Write i2c OK [00:32:02]MH_I2C_Read... [00:32:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:02]Read from MH i2c: E2 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 FD 00 7F 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 78 [00:32:02]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:02]wFMCommunicate OK [00:32:02]wFMCommunicate request_size=4 [00:32:02]MH_SAM_APDU [00:32:02]CAPDU: 80 17 00 00 [00:32:02]Write to MH i2c: E2 08 00 80 01 80 17 00 00 00 00 00 00 01 [00:32:02]Write i2c OK [00:32:02]MH_I2C_Read... [00:32:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:32:02]Read from MH i2c: E2 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 E1 00 [00:32:02]MH_I2C_Read... [00:32:02]Read from MH i2c: E2 E1 00 80 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 EF [00:32:02]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:32:02]wFMCommunicate OK [00:32:02]SAM_PROTO_GetFMData done [00:32:02]requested_item fm.sale_refund.total is exist - process it [00:32:02]requested_item fm.buy.total is exist - process it [00:32:02]requested_item shift.sale.total is exist - process it [00:32:02]SAM_PROTO_GetShiftData [00:32:02]wFMCommunicate request_size=4 [00:32:02]MH_SAM_APDU [00:32:02]CAPDU: 80 13 02 00 [00:32:02]Write to MH i2c: E2 08 00 81 01 80 13 02 00 00 00 00 00 00 [00:32:02]Write i2c OK [00:32:02]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 FD 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 FD 00 81 01 00 BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 8B [00:32:03]RAPDU: BB 04 AA 04 B7 04 6E 04 04 00 78 00 00 00 69 04 9B 00 6F 04 04 00 76 00 00 00 B1 04 03 00 EF A4 3B 70 04 03 00 D8 84 2F 72 04 03 00 17 20 0C 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 93 55 06 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 13 87 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 9A 00 6F 04 04 00 02 00 00 00 B1 04 03 00 A0 99 02 70 04 03 00 3C 86 01 72 04 03 00 64 13 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 AF 46 EF 03 09 00 F6 03 01 00 00 F7 03 00 90 00 [00:32:03]wFMCommunicate OK [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 17 00 00 [00:32:03]Write to MH i2c: E2 08 00 82 01 80 17 00 00 00 00 00 00 03 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 FD 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 FD 00 82 01 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 96 [00:32:03]RAPDU: 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 E4 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:03]wFMCommunicate OK [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 17 00 00 [00:32:03]Write to MH i2c: E2 08 00 83 01 80 17 00 00 00 00 00 00 04 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:03]Read from MH i2c: E2 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 FD 00 [00:32:03]MH_I2C_Read... [00:32:03]Read from MH i2c: E2 FD 00 83 01 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 30 [00:32:03]RAPDU: 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:03]wFMCommunicate OK [00:32:03]wFMCommunicate request_size=4 [00:32:03]MH_SAM_APDU [00:32:03]CAPDU: 80 17 00 00 [00:32:03]Write to MH i2c: E2 08 00 84 01 80 17 00 00 00 00 00 00 05 [00:32:03]Write i2c OK [00:32:03]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 FD 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 FD 00 84 01 00 00 00 EF 03 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 90 00 7A [00:32:04]RAPDU: 00 00 EF 03 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 90 00 [00:32:04]wFMCommunicate OK [00:32:04]wFMCommunicate request_size=4 [00:32:04]MH_SAM_APDU [00:32:04]CAPDU: 80 17 00 00 [00:32:04]Write to MH i2c: E2 08 00 85 01 80 17 00 00 00 00 00 00 06 [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 213! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 D8 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 D8 00 85 01 00 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 ED [00:32:04]RAPDU: 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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:32:04]wFMCommunicate OK [00:32:04]SAM_PROTO_GetShiftData done [00:32:04]requested_item shift.sale.total_cash is exist - process it [00:32:04]requested_item shift.sale_refund.total is exist - process it [00:32:04]requested_item shift.sale_refund.total_cash is exist - process it [00:32:04]requested_item shift.buy.total is exist - process it [00:32:04]requested_item shift.buy.total_cash is exist - process it [00:32:04]produce_requested_data done [00:32:04]produce_requested_data return {"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00} [00:32:04]process_action_free get_value [00:32:04]json_value_free [00:32:04]json_value_free done [00:32:04]process_json_proto returns [00:32:04]Send response to host [00:32:04]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":39088.47,"shift.sale.total_cash":31142.00,"shift.sale_refund.total":1704.00,"shift.sale_refund.total_cash":999.00,"shift.buy.total":0.00,"shift.buy.total_cash":0.00}}} [00:32:04]free response buf [00:32:04]execute_script done [00:32:04]execute_script returns [00:32:04]free content buf [00:32:04]Sock 10.Close socket [00:32:04]Sock 10.Thread stoped [00:32:04]accept exits with 8 [00:32:04]New connection [00:32:04]New thread 3066924388 created [00:32:04]Thread 3067067748 joined [00:32:04]Waiting for new connection... [00:32:04] Sock 8.Parse request [00:32:04]Sock 8.Check first char [00:32:04]Sock 8.First char is OK [00:32:04]request: POST /json_proto HTTP/1.0 [00:32:04]Method: POST [00:32:04]URL: /json_proto [00:32:04]Method is POST - this is cgi request [00:32:04]url: /json_proto [00:32:04]query_string will be loaded in cgi processing [00:32:04]execute_cgi json_proto POST (null) [00:32:04]execute_cgi path=json_proto method=POST [00:32:04]POST find Content-Length [00:32:04]Host: 172.17.39.4:8080 [00:32:04]Content-Length: 259 [00:32:04]Content-Type: application/json [00:32:04] [00:32:04]POST finish read [00:32:04]Found Content-Length = 259 [00:32:04]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:04]execute_script... [00:32:04]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "open_shift", "params" : { "operator" : "\u0411\u0430\u043A\u0438\u0440\u043E\u0432\u0430 \u0417. " } , "requested_data" : [ "fd.num", "shift.num", "shift.opened", "shift.open_date" ] } } [00:32:04]POST & json_proto [00:32:04]process_json_proto [00:32:04]json parsed OK: [00:32:04]protocol is kg_v1.0 [00:32:04]action value=open_shift [00:32:04]process_action open_shift [00:32:04]cmd_open_shift [00:32:04]MH_GetDate [00:32:04]Write to MH i2c: F0 00 00 86 01 76 [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: F0 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: F0 09 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: F0 09 00 86 01 00 05 6E 94 66 2D 25 5D 64 FF [00:32:04]GetLastDocTimeStamp 1721003364 [00:32:04]current date 1721003525 [00:32:04]FM_GetShiftState [00:32:04]SAM_PROTO_GetShiftState [00:32:04]wFMCommunicate request_size=4 [00:32:04]MH_SAM_APDU [00:32:04]CAPDU: 80 13 01 00 [00:32:04]Write to MH i2c: E2 08 00 87 01 80 13 01 00 00 00 00 00 05 [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 0E 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 0E 00 87 01 00 09 00 00 00 00 00 00 00 00 00 00 90 00 10 [00:32:04]RAPDU: 09 00 00 00 00 00 00 00 00 00 00 90 00 [00:32:04]wFMCommunicate OK [00:32:04]SAM_PROTO_GetShiftState done [00:32:04]FM_GetShiftState done [00:32:04]KKMCreateOpenShiftDocument [00:32:04]Load OK [00:32:04]Malloc new data [00:32:04]MH_GetDate [00:32:04]Write to MH i2c: F0 00 00 88 01 78 [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: F0 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: F0 09 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: F0 09 00 88 01 00 05 6E 94 66 2D 25 5D 64 01 [00:32:04]Malloc new data [00:32:04]KKMCreateOpenShiftDocument OK [00:32:04]KKMSetOpenShiftData OK [00:32:04]ProcessDocumentItem done err = 0, tmpTLVsize=199 [00:32:04]tlvbuf is 00AB4580 [00:32:04]KKMLoadAndSignOpenShiftData [00:32:04]SAM_PROTO_ProcessDocument [00:32:04]wFMCommunicate request_size=9 [00:32:04]MH_SAM_APDU [00:32:04]CAPDU: 80 15 01 00 04 02 00 C7 00 [00:32:04]Write to MH i2c: E2 0C 00 89 01 80 15 01 00 04 00 02 00 C7 00 00 00 DA [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 15 01 00... Resp OK rsp.len_out = 0! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 03 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 03 00 89 01 00 90 00 FE [00:32:04]RAPDU: 90 00 [00:32:04]wFMCommunicate OK [00:32:04]wFMCommunicate request_size=23 [00:32:04]MH_SAM_APDU [00:32:04]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:32:04]Write to MH i2c: E2 1A 00 8A 01 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 00 [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 03 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 03 00 8A 01 00 90 00 FF [00:32:04]RAPDU: 90 00 [00:32:04]wFMCommunicate OK [00:32:04]wFMCommunicate request_size=30 [00:32:04]MH_SAM_APDU [00:32:04]CAPDU: 80 15 02 00 19 FD 03 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 [00:32:04]Write to MH i2c: E2 21 00 8B 01 80 15 02 00 19 00 FD 03 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 00 00 FC [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 03 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 03 00 8B 01 00 90 00 00 [00:32:04]RAPDU: 90 00 [00:32:04]wFMCommunicate OK [00:32:04]wFMCommunicate request_size=87 [00:32:04]MH_SAM_APDU [00:32:04]CAPDU: 80 15 02 00 52 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 [00:32:04]Write to MH i2c: E2 5A 00 8C 01 80 15 02 00 52 00 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 00 00 B3 [00:32:04]Write i2c OK [00:32:04]MH_I2C_Read... [00:32:04]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:04]Read from MH i2c: E2 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 03 00 [00:32:04]MH_I2C_Read... [00:32:04]Read from MH i2c: E2 03 00 8C 01 00 90 00 01 [00:32:04]RAPDU: 90 00 [00:32:04]wFMCommunicate OK [00:32:04]wFMCommunicate request_size=51 [00:32:04]MH_SAM_APDU [00:32:04]CAPDU: 80 15 02 00 2E A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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:32:04]Write to MH i2c: E2 36 00 8D 01 80 15 02 00 2E 00 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 B6 [00:32:05]Write i2c OK [00:32:05]MH_I2C_Read... [00:32:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:05]Read from MH i2c: E2 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 03 00 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 03 00 8D 01 00 90 00 02 [00:32:05]RAPDU: 90 00 [00:32:05]wFMCommunicate OK [00:32:05]wFMCommunicate request_size=13 [00:32:05]MH_SAM_APDU [00:32:05]CAPDU: 80 15 02 00 08 F4 03 04 00 05 6E 94 66 [00:32:05]Write to MH i2c: E2 10 00 8E 01 80 15 02 00 08 00 F4 03 04 00 05 6E 94 66 00 00 87 [00:32:05]Write i2c OK [00:32:05]MH_I2C_Read... [00:32:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:05]Read from MH i2c: E2 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 03 00 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 03 00 8E 01 00 90 00 03 [00:32:05]RAPDU: 90 00 [00:32:05]wFMCommunicate OK [00:32:05]wFMCommunicate request_size=25 [00:32:05]MH_SAM_APDU [00:32:05]CAPDU: 80 15 02 00 14 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [00:32:05]Write to MH i2c: E2 1C 00 8F 01 80 15 02 00 14 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 6D [00:32:05]Write i2c OK [00:32:05]MH_I2C_Read... [00:32:05]*** iso7816_exchange 80 15 02 00... Resp OK rsp.len_out = 0! [00:32:05]Read from MH i2c: E2 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 03 00 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 03 00 8F 01 00 90 00 04 [00:32:05]RAPDU: 90 00 [00:32:05]wFMCommunicate OK [00:32:05]wFMCommunicate request_size=4 [00:32:05]MH_SAM_APDU [00:32:05]CAPDU: 80 15 03 00 [00:32:05]Write to MH i2c: E2 08 00 90 01 80 15 03 00 00 00 00 00 12 [00:32:05]Write i2c OK [00:32:05]MH_I2C_Read... [00:32:05]*** iso7816_exchange 80 15 03 00... Resp OK rsp.len_out = 53! [00:32:05]Read from MH i2c: E2 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 38 00 [00:32:05]MH_I2C_Read... [00:32:05]Read from MH i2c: E2 38 00 90 01 00 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 11 DF 00 00 0E 04 04 00 F1 01 00 00 35 04 06 00 69 37 FB 60 5E 81 90 00 A1 [00:32:05]RAPDU: 33 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 11 DF 00 00 0E 04 04 00 F1 01 00 00 35 04 06 00 69 37 FB 60 5E 81 90 00 [00:32:05]wFMCommunicate OK [00:32:05]SAM_PROTO_ProcessDocument answer len = 51 [00:32:05]SAM_PROTO_ProcessDocument done [00:32:05]SetTLVBufToDocument [00:32:05]Processing tag 1209 (04B9) [00:32:05]Malloc new data [00:32:05]Processing tag 1041 (0411) [00:32:05]Processing tag 1040 (0410) [00:32:05]Malloc new data [00:32:05]Processing tag 1038 (040E) [00:32:05]Malloc new data [00:32:05]Processing tag 1077 (0435) [00:32:05]Malloc new data [00:32:05]SetTLVBufToDocument err=0 [00:32:05]KKMLoadAndSignOpenShiftData store KKM data [00:32:05]KKMLoadAndSignOpenShiftData err=0 [00:32:05]Отчет об открытии смены ФФД: 1.0 ИНН: 02508201610067 Кассир: Бакирова З. Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 Место: АЗС № 132 "Партнер Нефть" 15.07.2024 00:32 Смена: 497 РНМ: 0000000000091208 ЗНМ: 0300000132 ФД: 57105 ФМ: 0000000000874857 ФПД: 115689161514625 [00:32:05]StoreToDocumentArchive [00:32:05]shift 497 fd 57105 [00:32:05]Create dir for shift 0497 [00:32:05]save to /storage/0497/doc_00057105 [00:32:05]save last doc name /storage/0497/doc_00057105 to /storage/kkm_last_doc_name [00:32:05]save OK [00:32:05]Clear old archive folders... [00:32:05]Remove dir /storage/0496 [00:32:05]opendir ok [00:32:05]file . [00:32:05]file .. [00:32:05]file doc_00056983 [00:32:05]remove file /storage/0496/doc_00056983 [00:32:05]file doc_00056984 [00:32:05]remove file /storage/0496/doc_00056984 [00:32:05]file doc_00056985 [00:32:05]remove file /storage/0496/doc_00056985 [00:32:05]file doc_00056986 [00:32:05]remove file /storage/0496/doc_00056986 [00:32:05]file doc_00056987 [00:32:05]remove file /storage/0496/doc_00056987 [00:32:05]file doc_00056988 [00:32:05]remove file /storage/0496/doc_00056988 [00:32:05]file doc_00056989 [00:32:05]remove file /storage/0496/doc_00056989 [00:32:05]file doc_00056990 [00:32:05]remove file /storage/0496/doc_00056990 [00:32:05]file doc_00056991 [00:32:05]remove file /storage/0496/doc_00056991 [00:32:05]file doc_00056992 [00:32:05]remove file /storage/0496/doc_00056992 [00:32:05]file doc_00056993 [00:32:05]remove file /storage/0496/doc_00056993 [00:32:05]file doc_00056994 [00:32:05]remove file /storage/0496/doc_00056994 [00:32:05]file doc_00056995 [00:32:05]remove file /storage/0496/doc_00056995 [00:32:05]file doc_00056996 [00:32:05]remove file /storage/0496/doc_00056996 [00:32:05]file doc_00056997 [00:32:05]remove file /storage/0496/doc_00056997 [00:32:05]file doc_00056998 [00:32:05]remove file /storage/0496/doc_00056998 [00:32:05]file doc_00056999 [00:32:05]remove file /storage/0496/doc_00056999 [00:32:05]file doc_00057000 [00:32:05]remove file /storage/0496/doc_00057000 [00:32:05]file doc_00057001 [00:32:05]remove file /storage/0496/doc_00057001 [00:32:05]file doc_00057002 [00:32:05]remove file /storage/0496/doc_00057002 [00:32:05]file doc_00057003 [00:32:05]remove file /storage/0496/doc_00057003 [00:32:05]file doc_00057004 [00:32:05]remove file /storage/0496/doc_00057004 [00:32:05]file doc_00057005 [00:32:05]remove file /storage/0496/doc_00057005 [00:32:05]file doc_00057006 [00:32:05]remove file /storage/0496/doc_00057006 [00:32:05]file doc_00057007 [00:32:05]remove file /storage/0496/doc_00057007 [00:32:05]file doc_00057008 [00:32:05]remove file /storage/0496/doc_00057008 [00:32:05]file doc_00057009 [00:32:05]remove file /storage/0496/doc_00057009 [00:32:05]file doc_00057010 [00:32:05]remove file /storage/0496/doc_00057010 [00:32:05]file doc_00057011 [00:32:05]remove file /storage/0496/doc_00057011 [00:32:05]file doc_00057012 [00:32:05]remove file /storage/0496/doc_00057012 [00:32:05]file doc_00057013 [00:32:05]remove file /storage/0496/doc_00057013 [00:32:05]file doc_00057014 [00:32:05]remove file /storage/0496/doc_00057014 [00:32:05]file doc_00057015 [00:32:05]remove file /storage/0496/doc_00057015 [00:32:05]file doc_00057016 [00:32:05]remove file /storage/0496/doc_00057016 [00:32:05]file doc_00057017 [00:32:05]remove file /storage/0496/doc_00057017 [00:32:05]file doc_00057018 [00:32:05]remove file /storage/0496/doc_00057018 [00:32:05]file doc_00057019 [00:32:05]remove file /storage/0496/doc_00057019 [00:32:05]file doc_00057020 [00:32:05]remove file /storage/0496/doc_00057020 [00:32:05]file doc_00057021 [00:32:05]remove file /storage/0496/doc_00057021 [00:32:05]file doc_00057022 [00:32:05]remove file /storage/0496/doc_00057022 [00:32:05]file doc_00057023 [00:32:05]remove file /storage/0496/doc_00057023 [00:32:05]file doc_00057024 [00:32:05]remove file /storage/0496/doc_00057024 [00:32:05]file doc_00057025 [00:32:05]remove file /storage/0496/doc_00057025 [00:32:05]file doc_00057026 [00:32:05]remove file /storage/0496/doc_00057026 [00:32:05]file doc_00057027 [00:32:05]remove file /storage/0496/doc_00057027 [00:32:05]file doc_00057028 [00:32:05]remove file /storage/0496/doc_00057028 [00:32:05]file doc_00057029 [00:32:05]remove file /storage/0496/doc_00057029 [00:32:05]file doc_00057030 [00:32:05]remove file /storage/0496/doc_00057030 [00:32:05]file doc_00057031 [00:32:05]remove file /storage/0496/doc_00057031 [00:32:05]file doc_00057032 [00:32:05]remove file /storage/0496/doc_00057032 [00:32:05]file doc_00057033 [00:32:05]remove file /storage/0496/doc_00057033 [00:32:05]file doc_00057034 [00:32:05]remove file /storage/0496/doc_00057034 [00:32:05]file doc_00057035 [00:32:05]remove file /storage/0496/doc_00057035 [00:32:05]file doc_00057036 [00:32:05]remove file /storage/0496/doc_00057036 [00:32:05]file doc_00057037 [00:32:05]remove file /storage/0496/doc_00057037 [00:32:05]file doc_00057038 [00:32:05]remove file /storage/0496/doc_00057038 [00:32:05]file doc_00057039 [00:32:05]remove file /storage/0496/doc_00057039 [00:32:05]file doc_00057040 [00:32:05]remove file /storage/0496/doc_00057040 [00:32:05]file doc_00057041 [00:32:05]remove file /storage/0496/doc_00057041 [00:32:05]file doc_00057042 [00:32:05]remove file /storage/0496/doc_00057042 [00:32:05]file doc_00057043 [00:32:05]remove file /storage/0496/doc_00057043 [00:32:05]file doc_00057044 [00:32:05]remove file /storage/0496/doc_00057044 [00:32:05]file doc_00057045 [00:32:05]remove file /storage/0496/doc_00057045 [00:32:05]file doc_00057046 [00:32:05]remove file /storage/0496/doc_00057046 [00:32:05]file doc_00057047 [00:32:05]remove file /storage/0496/doc_00057047 [00:32:06]file doc_00057048 [00:32:06]remove file /storage/0496/doc_00057048 [00:32:06]file doc_00057049 [00:32:06]remove file /storage/0496/doc_00057049 [00:32:06]file doc_00057050 [00:32:06]remove file /storage/0496/doc_00057050 [00:32:06]file doc_00057051 [00:32:06]remove file /storage/0496/doc_00057051 [00:32:06]file doc_00057052 [00:32:06]remove file /storage/0496/doc_00057052 [00:32:06]file doc_00057053 [00:32:06]remove file /storage/0496/doc_00057053 [00:32:06]file doc_00057054 [00:32:06]remove file /storage/0496/doc_00057054 [00:32:06]file doc_00057055 [00:32:06]remove file /storage/0496/doc_00057055 [00:32:06]file doc_00057056 [00:32:06]remove file /storage/0496/doc_00057056 [00:32:06]file doc_00057057 [00:32:06]remove file /storage/0496/doc_00057057 [00:32:06]file doc_00057058 [00:32:06]remove file /storage/0496/doc_00057058 [00:32:06]file doc_00057059 [00:32:06]remove file /storage/0496/doc_00057059 [00:32:06]file doc_00057060 [00:32:06]remove file /storage/0496/doc_00057060 [00:32:06]file doc_00057061 [00:32:06]remove file /storage/0496/doc_00057061 [00:32:06]file doc_00057062 [00:32:06]remove file /storage/0496/doc_00057062 [00:32:06]file doc_00057063 [00:32:06]remove file /storage/0496/doc_00057063 [00:32:06]file doc_00057064 [00:32:06]remove file /storage/0496/doc_00057064 [00:32:06]file doc_00057065 [00:32:06]remove file /storage/0496/doc_00057065 [00:32:06]file doc_00057066 [00:32:06]remove file /storage/0496/doc_00057066 [00:32:06]file doc_00057067 [00:32:06]remove file /storage/0496/doc_00057067 [00:32:06]file doc_00057068 [00:32:06]remove file /storage/0496/doc_00057068 [00:32:06]file doc_00057069 [00:32:06]remove file /storage/0496/doc_00057069 [00:32:06]file doc_00057070 [00:32:06]remove file /storage/0496/doc_00057070 [00:32:06]file doc_00057071 [00:32:06]remove file /storage/0496/doc_00057071 [00:32:06]file doc_00057072 [00:32:06]remove file /storage/0496/doc_00057072 [00:32:06]file doc_00057073 [00:32:06]remove file /storage/0496/doc_00057073 [00:32:06]OFD Sender: No OFD packet to send [00:32:06]file doc_00057074 [00:32:06]remove file /storage/0496/doc_00057074 [00:32:06]file doc_00057075 [00:32:06]remove file /storage/0496/doc_00057075 [00:32:06]file doc_00057076 [00:32:06]remove file /storage/0496/doc_00057076 [00:32:06]file doc_00057077 [00:32:06]remove file /storage/0496/doc_00057077 [00:32:06]file doc_00057078 [00:32:06]remove file /storage/0496/doc_00057078 [00:32:06]file doc_00057079 [00:32:06]remove file /storage/0496/doc_00057079 [00:32:06]file doc_00057080 [00:32:06]remove file /storage/0496/doc_00057080 [00:32:06]file doc_00057081 [00:32:06]remove file /storage/0496/doc_00057081 [00:32:06]file doc_00057082 [00:32:06]remove file /storage/0496/doc_00057082 [00:32:06]file doc_00057083 [00:32:06]remove file /storage/0496/doc_00057083 [00:32:06]file doc_00057084 [00:32:06]remove file /storage/0496/doc_00057084 [00:32:06]file doc_00057085 [00:32:06]remove file /storage/0496/doc_00057085 [00:32:06]file doc_00057086 [00:32:06]remove file /storage/0496/doc_00057086 [00:32:06]file doc_00057087 [00:32:06]remove file /storage/0496/doc_00057087 [00:32:06]file doc_00057088 [00:32:06]remove file /storage/0496/doc_00057088 [00:32:06]file doc_00057089 [00:32:06]remove file /storage/0496/doc_00057089 [00:32:06]file doc_00057090 [00:32:06]remove file /storage/0496/doc_00057090 [00:32:06]file doc_00057091 [00:32:06]remove file /storage/0496/doc_00057091 [00:32:06]file doc_00057092 [00:32:06]remove file /storage/0496/doc_00057092 [00:32:06]file doc_00057093 [00:32:06]remove file /storage/0496/doc_00057093 [00:32:06]file doc_00057094 [00:32:06]remove file /storage/0496/doc_00057094 [00:32:06]file doc_00057095 [00:32:06]remove file /storage/0496/doc_00057095 [00:32:06]file doc_00057096 [00:32:06]remove file /storage/0496/doc_00057096 [00:32:06]file doc_00057097 [00:32:06]remove file /storage/0496/doc_00057097 [00:32:06]file doc_00057098 [00:32:06]remove file /storage/0496/doc_00057098 [00:32:06]file doc_00057099 [00:32:06]remove file /storage/0496/doc_00057099 [00:32:06]file doc_00057100 [00:32:06]remove file /storage/0496/doc_00057100 [00:32:06]file doc_00057101 [00:32:06]remove file /storage/0496/doc_00057101 [00:32:06]file doc_00057102 [00:32:06]remove file /storage/0496/doc_00057102 [00:32:06]file doc_00057103 [00:32:06]remove file /storage/0496/doc_00057103 [00:32:06]file doc_00057104 [00:32:06]remove file /storage/0496/doc_00057104 [00:32:06]remove dir /storage/0496 [00:32:06]ProcessDocumentItem done err = 0, tmpTLVsize=250 [00:32:06]tlvbuf is B6EF6E20 [00:32:06]SAM_PROTO_ClearQueue [00:32:06]wFMCommunicate request_size=4 [00:32:06]MH_SAM_APDU [00:32:06]CAPDU: 80 09 00 00 [00:32:06]Write to MH i2c: E2 08 00 91 01 80 09 00 00 00 00 00 00 04 [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:06]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:32:06]Read from MH i2c: E2 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 03 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 03 00 91 01 00 90 00 06 [00:32:06]RAPDU: 90 00 [00:32:06]wFMCommunicate OK [00:32:06]SAM_PROTO_ClearQueue done [00:32:06]KKMCreateOFDPacket [00:32:06]OFDProtocolAddRootSTLVToBuf [00:32:06]FM_MakeSignedData [00:32:06]FM_MakeSignedData [00:32:06]SAM_PROTO_SignData [00:32:06]wFMCommunicate request_size=4 [00:32:06]MH_SAM_APDU [00:32:06]CAPDU: 80 0D 01 02 [00:32:06]Write to MH i2c: E2 08 00 92 01 80 0D 01 02 00 00 00 00 0C [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:06]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:32:06]Read from MH i2c: E2 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 03 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 03 00 92 01 00 90 00 07 [00:32:06]RAPDU: 90 00 [00:32:06]wFMCommunicate OK [00:32:06]wFMCommunicate request_size=255 [00:32:06]MH_SAM_APDU [00:32:06]CAPDU: 80 0D 02 02 FA 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 05 6E 94 66 0E 04 04 00 F1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 11 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 69 37 [00:32:06]Write to MH i2c: E2 02 01 93 01 80 0D 02 02 FA 00 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 05 6E 94 66 0E 04 04 00 F1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 11 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 69 37 00 00 73 [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:32:06]Read from MH i2c: E2 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 03 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 03 00 93 01 00 90 00 08 [00:32:06]RAPDU: 90 00 [00:32:06]wFMCommunicate OK [00:32:06]wFMCommunicate request_size=9 [00:32:06]MH_SAM_APDU [00:32:06]CAPDU: 80 0D 02 02 04 FB 60 5E 81 [00:32:06]Write to MH i2c: E2 0C 00 94 01 80 0D 02 02 04 00 FB 60 5E 81 00 00 51 [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:06]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:32:06]Read from MH i2c: E2 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 03 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 03 00 94 01 00 90 00 09 [00:32:06]RAPDU: 90 00 [00:32:06]wFMCommunicate OK [00:32:06]wFMCommunicate request_size=4 [00:32:06]MH_SAM_APDU [00:32:06]CAPDU: 80 0D 03 02 [00:32:06]Write to MH i2c: E2 08 00 95 01 80 0D 03 02 00 00 00 00 11 [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:06]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:32:06]Read from MH i2c: E2 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 0B 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 0B 00 95 01 00 97 A4 F0 D2 7D 8D DF 6F 90 00 67 [00:32:06]RAPDU: 97 A4 F0 D2 7D 8D DF 6F 90 00 [00:32:06]wFMCommunicate OK [00:32:06]SAM_PROTO_SignData done [00:32:06]FM_MakeSignedData done [00:32:06]CreateOFDProtocolMessage [00:32:06]wFMCommunicate request_size=4 [00:32:06]MH_SAM_APDU [00:32:06]CAPDU: 80 11 00 00 [00:32:06]Write to MH i2c: E2 08 00 96 01 80 11 00 00 00 00 00 00 11 [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:32:06]Read from MH i2c: E2 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 17 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: E2 17 00 96 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6B [00:32:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:32:06]wFMCommunicate OK [00:32:06]CreateOFDProtocolMessage done [00:32:06]OFDSenderStorePacket 57105 [00:32:06]StoreOFDPacket docnum=57105 [00:32:06]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0E 01 00 00 BF 76 06 01 DE 67 5A 02 01 00 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 05 6E 94 66 0E 04 04 00 F1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 11 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 69 37 FB 60 5E 81 97 A4 F0 D2 7D 8D DF 6F [00:32:06]CheckFolder [00:32:06]dirname=/storage/ofd_packets [00:32:06]CheckFolder done [00:32:06]ProducePacketName [00:32:06]name=ofd_packets/00057105 [00:32:06]NVStorageSaveData ofd_packets/00057105 [00:32:06]File name is /storage/ofd_packets/00057105 [00:32:06]Write 300 bytes [00:32:06]NVStorageSaveData done [00:32:06]OFDSenderStorePacket done [00:32:06]KKMCreateOFDPacket done [00:32:06]NVStorageSaveData kkm_last_timestamp [00:32:06]File name is /storage/kkm_last_timestamp [00:32:06]Write 4 bytes [00:32:06]NVStorageSaveData done [00:32:06]ExternCall_PrintAddStr [00:32:06]wPrintStart [00:32:06]Write to MH i2c: 01 00 00 97 01 98 [00:32:06]Write i2c OK [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: 01 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: 01 07 00 [00:32:06]MH_I2C_Read... [00:32:06]Read from MH i2c: 01 07 00 97 01 00 00 00 00 00 FF 0F AD [00:32:06]RasterBufferAndPrint [00:32:06]line Отчет об открытии смены [00:32:06]line ФФД: 1.0 [00:32:06]line ИНН: 02508201610067 [00:32:06]line Кассир: Бакирова З. [00:32:06]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:32:06]line Место: АЗС № 132 "Партнер Нефть" [00:32:06]line 15.07.2024 00:32 [00:32:06]line Смена: 497 [00:32:06]line РНМ: 0000000000091208 [00:32:06]line ЗНМ: 0300000132 [00:32:06]line ФД: 57105 [00:32:06]line ФМ: 0000000000874857 [00:32:06]line ФПД: 115689161514625 [00:32:06]written 0, free lines is 4095 [00:32:06]OFD Sender: Processing packet 57105 [packets to send 38, broken 37] [00:32:06]ProducePacketName [00:32:06]name=ofd_packets/00057105 [00:32:06]OFD Sender: To server: pG, [00:32:06]CommunicateWithHost lk.salyk.kg:30040 [00:32:06]ConnectInit lk.salyk.kg [00:32:06]Connected sock=10 [00:32:06]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0E 01 00 00 BF 76 06 01 DE 67 5A 02 01 00 02 00 FA 00 B9 04 01 00 01 FA 03 0E 00 30 32 35 30 38 32 30 31 36 31 30 30 36 37 FD 03 15 00 D0 91 D0 B0 D0 BA D0 B8 D1 80 D0 BE D0 B2 D0 B0 20 D0 97 2E 20 F1 03 4E 00 37 32 30 30 30 31 2C 20 D1 81 2E 20 D0 9A D1 8B D0 B7 D1 8B D0 BB 20 D0 A1 D0 B0 D0 B9 2C 20 D1 83 D0 BB 2E 20 D0 9A D0 BE D1 87 D0 BE D1 80 D0 BA D1 83 D0 BB 20 31 36 2C 20 34 32 2E 35 35 38 33 33 33 2C 20 37 31 2E 39 32 39 36 36 37 A3 04 2A 00 D0 90 D0 97 D0 A1 20 E2 84 96 20 31 33 32 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 05 6E 94 66 0E 04 04 00 F1 01 00 00 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 11 DF 00 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 35 04 06 00 69 37 FB 60 5E 81 97 A4 F0 D2 7D 8D DF 6F [00:32:07]Write to MH i2c: 01 00 00 A9 01 AA [00:32:07]Write i2c OK [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: 01 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: 01 07 00 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: 01 07 00 A9 01 00 00 00 00 00 61 0E 20 [00:32:07]RasterBufferAndPrint [00:32:07]line [00:32:07]line [00:32:07]line [00:32:07]line [00:32:07]line [00:32:07]written 0, free lines is 3695 [00:32:07]MH_Cut [00:32:07]Write to MH i2c: D1 01 00 B0 01 01 83 [00:32:07]Write i2c OK [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: D1 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: D1 01 00 [00:32:07]MH_I2C_Read... [00:32:07]Read from MH i2c: D1 01 00 B0 01 00 82 [00:32:07]Write to MH i2c: 01 00 00 B1 01 B2 [00:32:07]Write i2c OK [00:32:07]MH_I2C_Read... [00:32:07]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 BB D3 47 00 42 F0 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 11 DF 00 00 F4 03 04 00 55 14 94 66 B6 04 01 00 00 76 5F 0C 47 98 3F AF BA [00:32:07]CommunicateWithHost err = 0 [00:32:07]CheckOFDResponse [00:32:07]1017 (14) - 77093643461234 [00:32:07]1041 (16) - 0000000000874857 [00:32:07]1040 (4) - 57105 [00:32:07]1012 (4) - 14.07.2024 18:09 [00:32:07]1206 (1) - 0 [00:32:07]OFD Sender: Remove packet 57105 [00:32:07]ProducePacketName [00:32:07]name=ofd_packets/00057105 [00:32:07]NVStorageDeleteData [00:32:07]*** Cut start [00:32:07]*** Partial cut [00:32:07]*** CUTSNS_PIN = 1 [00:32:07]*** CUTSNS_PIN = 0 [00:32:07]OFD Sender: No OFD packet to send [00:32:07]*** Brake cut motor [00:32:08]Read from MH i2c: 01 [00:32:08]MH_I2C_Read... [00:32:08]*** Stop cut motor [00:32:08]*** Cut end [00:32:08]Read from MH i2c: 01 07 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: 01 07 00 B1 01 00 00 00 00 00 FF 0F C7 [00:32:08]process_action open_shift done [00:32:08]requested_data is exist [00:32:08]produce_requested_data [00:32:08]requested_item fd.num is exist - process it [00:32:08]SAM_PROTO_GetFieldsCounters [00:32:08]wFMCommunicate request_size=4 [00:32:08]MH_SAM_APDU [00:32:08]CAPDU: 80 13 00 00 [00:32:08]Write to MH i2c: E2 08 00 B2 01 80 13 00 00 00 00 00 00 2F [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 62 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 62 00 B2 01 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 11 DF 00 00 0E 04 04 00 F1 01 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 34 [00:32:08]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 11 DF 00 00 0E 04 04 00 F1 01 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:32:08]wFMCommunicate OK [00:32:08]SAM_PROTO_GetFieldsCounters done [00:32:08]requested_item shift.num is exist - process it [00:32:08]requested_item shift.opened is exist - process it [00:32:08]req_shift_opened [00:32:08]FM_GetShiftState [00:32:08]SAM_PROTO_GetShiftState [00:32:08]wFMCommunicate request_size=4 [00:32:08]MH_SAM_APDU [00:32:08]CAPDU: 80 13 01 00 [00:32:08]Write to MH i2c: E2 08 00 B3 01 80 13 01 00 00 00 00 00 31 [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 0E 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 0E 00 B3 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 AA [00:32:08]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:32:08]wFMCommunicate OK [00:32:08]SAM_PROTO_GetShiftState done [00:32:08]FM_GetShiftState done [00:32:08]req_shift_opened done [00:32:08]requested_item shift.open_date is exist - process it [00:32:08]req_shift_open_date [00:32:08]req_shift_open_date done [00:32:08]produce_requested_data done [00:32:08]produce_requested_data return {"fd.num":57105,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525} [00:32:08]process_action_free open_shift [00:32:08]json_value_free [00:32:08]json_value_free done [00:32:08]process_json_proto returns [00:32:08]Send response to host [00:32:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fd.num":57105,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525}}} [00:32:08]free response buf [00:32:08]execute_script done [00:32:08]execute_script returns [00:32:08]free content buf [00:32:08]Sock 8.Close socket [00:32:08]Sock 8.Thread stoped [00:32:08]accept exits with 9 [00:32:08]New connection [00:32:08]New thread 3067067748 created [00:32:08]Thread 3066924388 joined [00:32:08]Waiting for new connection... [00:32:08] Sock 9.Parse request [00:32:08]Sock 9.Check first char [00:32:08]Sock 9.First char is OK [00:32:08]request: POST /json_proto HTTP/1.0 [00:32:08]Method: POST [00:32:08]URL: /json_proto [00:32:08]Method is POST - this is cgi request [00:32:08]url: /json_proto [00:32:08]query_string will be loaded in cgi processing [00:32:08]execute_cgi json_proto POST (null) [00:32:08]execute_cgi path=json_proto method=POST [00:32:08]POST find Content-Length [00:32:08]Host: 172.17.39.4:8080 [00:32:08]Content-Length: 331 [00:32:08]Content-Type: application/json [00:32:08] [00:32:08]POST finish read [00:32:08]Found Content-Length = 331 [00:32:08]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "get_value", "params" : { } , "requested_data" : [ "fm.sale.total", "fm.sale_refund.total", "fm.buy.total", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash", "shift.buy.total", "shift.buy.total_cash" ] } } [00:32:08]execute_script... [00:32:08]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:32:08]POST & json_proto [00:32:08]process_json_proto [00:32:08]json parsed OK: [00:32:08]protocol is kg_v1.0 [00:32:08]action value=get_value [00:32:08]process_action get_value [00:32:08]cmd_get_value [00:32:08]process_action get_value done [00:32:08]requested_data is exist [00:32:08]produce_requested_data [00:32:08]requested_item fm.sale.total is exist - process it [00:32:08]SAM_PROTO_GetFMData [00:32:08]wFMCommunicate request_size=4 [00:32:08]MH_SAM_APDU [00:32:08]CAPDU: 80 13 03 00 [00:32:08]Write to MH i2c: E2 08 00 B4 01 80 13 03 00 00 00 00 00 34 [00:32:08]Write i2c OK [00:32:08]MH_I2C_Read... [00:32:08]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:32:08]Read from MH i2c: E2 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 FD 00 [00:32:08]MH_I2C_Read... [00:32:08]Read from MH i2c: E2 FD 00 B4 01 00 C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 A0 [00:32:08]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 2E DB 00 00 69 04 A0 00 6F 04 04 00 7D DA 00 00 B1 04 04 00 43 09 84 6D 70 04 04 00 F4 02 2F 61 72 04 04 00 4F 06 55 0C 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 84 A5 A1 0B 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 1B 0B F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:32:09]wFMCommunicate OK [00:32:09]wFMCommunicate request_size=4 [00:32:09]MH_SAM_APDU [00:32:09]CAPDU: 80 17 00 00 [00:32:09]Write to MH i2c: E2 08 00 B5 01 80 17 00 00 00 00 00 00 36 [00:32:09]Write i2c OK [00:32:09]MH_I2C_Read... [00:32:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:09]Read from MH i2c: E2 [00:32:09]MH_I2C_Read... [00:32:09]Read from MH i2c: E2 FD 00 [00:32:09]MH_I2C_Read... [00:32:09]Read from MH i2c: E2 FD 00 B5 01 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 CF [00:32:09]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:32:09]wFMCommunicate OK [00:32:09]wFMCommunicate request_size=4 [00:32:09]MH_SAM_APDU [00:32:09]CAPDU: 80 17 00 00 [00:32:09]Write to MH i2c: E2 08 00 B6 01 80 17 00 00 00 00 00 00 37 [00:32:09]Write i2c OK [00:32:09]MH_I2C_Read... [00:32:09]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:09]Read from MH i2c: E2 [00:32:09]MH_I2C_Read... [00:32:09]Read from MH i2c: E2 FD 00 [00:32:09]MH_I2C_Read... [00:32:09]Read from MH i2c: E2 FD 00 B6 01 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4C [00:32:09]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:09]wFMCommunicate OK [00:32:09]wFMCommunicate request_size=4 [00:32:09]MH_SAM_APDU [00:32:09]CAPDU: 80 17 00 00 [00:32:09]Write to MH i2c: E2 08 00 B7 01 80 17 00 00 00 00 00 00 38 [00:32:09]Write i2c OK [00:32:09]MH_I2C_Read... [00:32:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:10]Read from MH i2c: E2 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 FD 00 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 FD 00 B7 01 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B0 [00:32:10]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:32:10]wFMCommunicate OK [00:32:10]wFMCommunicate request_size=4 [00:32:10]MH_SAM_APDU [00:32:10]CAPDU: 80 17 00 00 [00:32:10]Write to MH i2c: E2 08 00 B8 01 80 17 00 00 00 00 00 00 39 [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32:10]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:32:10]Read from MH i2c: E2 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 E1 00 [00:32:10]MH_I2C_Read... [00:32:10]Read from MH i2c: E2 E1 00 B8 01 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 27 [00:32:10]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:32:10]wFMCommunicate OK [00:32:10]SAM_PROTO_GetFMData done [00:32:10]requested_item fm.sale_refund.total is exist - process it [00:32:10]requested_item fm.buy.total is exist - process it [00:32:10]requested_item shift.sale.total is exist - process it [00:32:10]SAM_PROTO_GetShiftData [00:32:10]wFMCommunicate request_size=4 [00:32:10]MH_SAM_APDU [00:32:10]CAPDU: 80 13 02 00 [00:32:10]Write to MH i2c: E2 08 00 B9 01 80 13 02 00 00 00 00 00 38 [00:32:10]Write i2c OK [00:32:10]MH_I2C_Read... [00:32:11]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:32:11]Read from MH i2c: E2 [00:32:11]MH_I2C_Read... [00:32:11]Read from MH i2c: E2 FD 00 [00:32:11]MH_I2C_Read... [00:32:11]Read from MH i2c: E2 FD 00 B9 01 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 AB [00:32:11]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:32:11]wFMCommunicate OK [00:32:11]wFMCommunicate request_size=4 [00:32:11]MH_SAM_APDU [00:32:11]CAPDU: 80 17 00 00 [00:32:11]Write to MH i2c: E2 08 00 BA 01 80 17 00 00 00 00 00 00 3B [00:32:11]Write i2c OK [00:32:11]MH_I2C_Read... [00:32:11]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:11]Read from MH i2c: E2 [00:32:11]MH_I2C_Read... [00:32:11]Read from MH i2c: E2 FD 00 [00:32:11]MH_I2C_Read... [00:32:11]Read from MH i2c: E2 FD 00 BA 01 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 43 [00:32:11]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:32:11]wFMCommunicate OK [00:32:11]wFMCommunicate request_size=4 [00:32:11]MH_SAM_APDU [00:32:11]CAPDU: 80 17 00 00 [00:32:11]Write to MH i2c: E2 08 00 BB 01 80 17 00 00 00 00 00 00 3C [00:32:11]Write i2c OK [00:32:11]MH_I2C_Read... [00:32:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:12]Read from MH i2c: E2 [00:32:12]MH_I2C_Read... [00:32:12]Read from MH i2c: E2 FD 00 [00:32:12]MH_I2C_Read... [00:32:12]Read from MH i2c: E2 FD 00 BB 01 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 0E [00:32:12]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:32:12]wFMCommunicate OK [00:32:12]wFMCommunicate request_size=4 [00:32:12]MH_SAM_APDU [00:32:12]CAPDU: 80 17 00 00 [00:32:12]Write to MH i2c: E2 08 00 BC 01 80 17 00 00 00 00 00 00 3D [00:32:12]Write i2c OK [00:32:12]MH_I2C_Read... [00:32:12]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:32:12]Read from MH i2c: E2 [00:32:12]MH_I2C_Read... [00:32:12]Read from MH i2c: E2 FD 00 [00:32:12]MH_I2C_Read... [00:32:12]Read from MH i2c: E2 FD 00 BC 01 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 AF [00:32:12]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:32:12]wFMCommunicate OK [00:32:12]wFMCommunicate request_size=4 [00:32:12]MH_SAM_APDU [00:32:12]CAPDU: 80 17 00 00 [00:32:12]Write to MH i2c: E2 08 00 BD 01 80 17 00 00 00 00 00 00 3E [00:32:12]OFD Sender: No OFD packet to send [00:32:12]Write i2c OK [00:32:12]MH_I2C_Read... [00:32:13]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 186! [00:32:13]Read from MH i2c: E2 [00:32:13]MH_I2C_Read... [00:32:13]Read from MH i2c: E2 BD 00 [00:32:13]MH_I2C_Read... [00:32:13]Read from MH i2c: E2 BD 00 BD 01 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 24 [00:32:13]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:32:13]wFMCommunicate OK [00:32:13]SAM_PROTO_GetShiftData done [00:32:13]requested_item shift.sale.total_cash is exist - process it [00:32:13]requested_item shift.sale_refund.total is exist - process it [00:32:13]requested_item shift.sale_refund.total_cash is exist - process it [00:32:13]requested_item shift.buy.total is exist - process it [00:32:13]requested_item shift.buy.total_cash is exist - process it [00:32:13]produce_requested_data done [00:32:13]produce_requested_data return {"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.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:32:13]process_action_free get_value [00:32:13]json_value_free [00:32:13]json_value_free done [00:32:13]process_json_proto returns [00:32:13]Send response to host [00:32:13]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18373696.67,"fm.sale_refund.total":236537.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:32:13]free response buf [00:32:13]execute_script done [00:32:13]execute_script returns [00:32:13]free content buf [00:32:13]Sock 9.Close socket [00:32:13]Sock 9.Thread stoped [00:32:17]OFD Sender: No OFD packet to send [00:32:22]OFD Sender: No OFD packet to send [00:32:27]OFD Sender: No OFD packet to send [00:32:32]OFD Sender: No OFD packet to send [00:32:37]OFD Sender: No OFD packet to send [00:32:42]OFD Sender: No OFD packet to send [00:32:47]OFD Sender: No OFD packet to send [00:32:52]OFD Sender: No OFD packet to send [00:32:57]OFD Sender: No OFD packet to send [00:33:02]OFD Sender: No OFD packet to send [00:33:07]OFD Sender: No OFD packet to send [00:33:12]OFD Sender: No OFD packet to send [00:33:17]OFD Sender: No OFD packet to send [00:33:23]OFD Sender: No OFD packet to send [00:33:28]OFD Sender: No OFD packet to send [00:33:33]OFD Sender: No OFD packet to send [00:33:38]OFD Sender: No OFD packet to send [00:33:43]OFD Sender: No OFD packet to send [00:33:48]OFD Sender: No OFD packet to send [00:33:53]OFD Sender: No OFD packet to send [00:33:58]OFD Sender: No OFD packet to send [00:34:03]OFD Sender: No OFD packet to send [00:34:08]OFD Sender: No OFD packet to send [00:34:13]OFD Sender: No OFD packet to send [00:34:18]OFD Sender: No OFD packet to send [00:34:23]OFD Sender: No OFD packet to send [00:34:28]OFD Sender: No OFD packet to send [00:34:33]OFD Sender: No OFD packet to send [00:34:38]OFD Sender: No OFD packet to send [00:34:43]OFD Sender: No OFD packet to send [00:34:48]OFD Sender: No OFD packet to send [00:34:53]OFD Sender: No OFD packet to send [00:34:58]OFD Sender: No OFD packet to send [00:35:03]OFD Sender: No OFD packet to send [00:35:08]OFD Sender: No OFD packet to send [00:35:13]OFD Sender: No OFD packet to send [00:35:18]OFD Sender: No OFD packet to send [00:35:23]OFD Sender: No OFD packet to send [00:35:28]OFD Sender: No OFD packet to send [00:35:33]OFD Sender: No OFD packet to send [00:35:37]accept exits with 8 [00:35:37]New connection [00:35:37]New thread 3066924388 created [00:35:37]Thread 3067067748 joined [00:35:37]Waiting for new connection... [00:35:37] Sock 8.Parse request [00:35:37]Sock 8.Check first char [00:35:37]Sock 8.First char is OK [00:35:37]request: POST /json_proto HTTP/1.0 [00:35:37]Method: POST [00:35:37]URL: /json_proto [00:35:37]Method is POST - this is cgi request [00:35:37]url: /json_proto [00:35:37]query_string will be loaded in cgi processing [00:35:37]execute_cgi json_proto POST (null) [00:35:37]execute_cgi path=json_proto method=POST [00:35:37]POST find Content-Length [00:35:37]Host: 172.17.39.4:8080 [00:35:37]Content-Length: 760 [00:35:37]Content-Type: application/json [00:35:37] [00:35:37]POST finish read [00:35:37]Found Content-Length = 760 [00:35:37]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129563", "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" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:35:37]execute_script... [00:35: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)129563", "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" : 95.00, "quantity" : 2.000, "sum" : 190.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 190.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:35:37]POST & json_proto [00:35:37]process_json_proto [00:35:37]json parsed OK: [00:35:37]protocol is kg_v1.0 [00:35:37]action value=close_receipt [00:35:37]process_action close_receipt [00:35:37]cmd_close_receipt [00:35:37]MH_GetDate [00:35:37]Write to MH i2c: F0 00 00 BE 01 AE [00:35:37]Write i2c OK [00:35:37]MH_I2C_Read... [00:35:37]Read from MH i2c: F0 [00:35:37]MH_I2C_Read... [00:35:37]Read from MH i2c: F0 09 00 [00:35:37]MH_I2C_Read... [00:35:37]Read from MH i2c: F0 09 00 BE 01 00 DA 6E 94 66 2D 25 5D 64 0C [00:35:37]GetLastDocTimeStamp 1721003525 [00:35:37]current date 1721003738 [00:35:37]FM_GetShiftState [00:35:37]SAM_PROTO_GetShiftState [00:35:37]wFMCommunicate request_size=4 [00:35:37]MH_SAM_APDU [00:35:37]CAPDU: 80 13 01 00 [00:35:37]Write to MH i2c: E2 08 00 BF 01 80 13 01 00 00 00 00 00 3D [00:35:37]Write i2c OK [00:35:37]MH_I2C_Read... [00:35:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:37]Read from MH i2c: E2 [00:35:37]MH_I2C_Read... [00:35:37]Read from MH i2c: E2 0E 00 [00:35:37]MH_I2C_Read... [00:35:37]Read from MH i2c: E2 0E 00 BF 01 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 B6 [00:35:37]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:35:37]wFMCommunicate OK [00:35:37]SAM_PROTO_GetShiftState done [00:35:37]FM_GetShiftState done [00:35:37]opened in 1721003525 [00:35:37]opened+sec_in_day 1721089925 [00:35:37]quantity*price = 19000 [00:35:37]sum+1 = 19001 [00:35:37]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 190.00 НСП 1% : 1.68 НДС 12% : 20.18 Наличными: 190.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 1 15.07.2024 00:35 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57106 ФПД: 98250023766983 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T003538&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57106&fm=98250023766983&tin=02508201610067®Number=0000000000091208&sum=19000 0 [00:35:38]StoreToDocumentArchive [00:35:38]shift 497 fd 57106 [00:35:38]save to /storage/0497/doc_00057106 [00:35:38]save last doc name /storage/0497/doc_00057106 to /storage/kkm_last_doc_name [00:35:38]save OK [00:35:38]Clear old archive folders... [00:35:38]ProcessDocumentItem done err = 0, tmpTLVsize=293 [00:35:38]tlvbuf is 00982D80 [00:35:38]SAM_PROTO_ClearQueue [00:35:38]wFMCommunicate request_size=4 [00:35:38]MH_SAM_APDU [00:35:38]CAPDU: 80 09 00 00 [00:35:38]Write to MH i2c: E2 08 00 CC 01 80 09 00 00 00 00 00 00 3F [00:35:38]Write i2c OK [00:35:38]MH_I2C_Read... [00:35:38]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:35:38]Read from MH i2c: E2 [00:35:38]MH_I2C_Read... [00:35:38]Read from MH i2c: E2 03 00 [00:35:38]MH_I2C_Read... [00:35:38]Read from MH i2c: E2 03 00 CC 01 00 90 00 41 [00:35:38]RAPDU: 90 00 [00:35:38]wFMCommunicate OK [00:35:38]SAM_PROTO_ClearQueue done [00:35:38]KKMCreateOFDPacket [00:35:38]OFDProtocolAddRootSTLVToBuf [00:35:38]FM_MakeSignedData [00:35:38]FM_MakeSignedData [00:35:38]SAM_PROTO_SignData [00:35:38]wFMCommunicate request_size=4 [00:35:38]MH_SAM_APDU [00:35:38]CAPDU: 80 0D 01 02 [00:35:38]Write to MH i2c: E2 08 00 CD 01 80 0D 01 02 00 00 00 00 47 [00:35:38]Write i2c OK [00:35:38]MH_I2C_Read... [00:35:38]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:35:38]Read from MH i2c: E2 [00:35:38]MH_I2C_Read... [00:35:38]Read from MH i2c: E2 03 00 [00:35:38]MH_I2C_Read... [00:35:38]Read from MH i2c: E2 03 00 CD 01 00 90 00 42 [00:35:38]RAPDU: 90 00 [00:35:38]wFMCommunicate OK [00:35:38]wFMCommunicate request_size=255 [00:35:38]MH_SAM_APDU [00:35:38]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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 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 DA 6E 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 [00:35:38]Write to MH i2c: E2 02 01 CE 01 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 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 DA 6E 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 00 00 14 [00:35:38]Write i2c OK [00:35:38]MH_I2C_Read... [00:35:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:35:39]Read from MH i2c: E2 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: E2 03 00 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: E2 03 00 CE 01 00 90 00 43 [00:35:39]RAPDU: 90 00 [00:35:39]wFMCommunicate OK [00:35:39]wFMCommunicate request_size=52 [00:35:39]MH_SAM_APDU [00:35:39]CAPDU: 80 0D 02 02 2F 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DF 00 00 35 04 06 00 59 5B 9D C4 0B C7 [00:35:39]Write to MH i2c: E2 37 00 CF 01 80 0D 02 02 2F 00 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DF 00 00 35 04 06 00 59 5B 9D C4 0B C7 00 00 E7 [00:35:39]Write i2c OK [00:35:39]MH_I2C_Read... [00:35:39]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:35:39]Read from MH i2c: E2 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: E2 03 00 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: E2 03 00 CF 01 00 90 00 44 [00:35:39]RAPDU: 90 00 [00:35:39]wFMCommunicate OK [00:35:39]wFMCommunicate request_size=4 [00:35:39]MH_SAM_APDU [00:35:39]CAPDU: 80 0D 03 02 [00:35:39]Write to MH i2c: E2 08 00 D0 01 80 0D 03 02 00 00 00 00 4C [00:35:39]Write i2c OK [00:35:39]MH_I2C_Read... [00:35:39]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:35:39]Read from MH i2c: E2 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: E2 0B 00 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: E2 0B 00 D0 01 00 C9 AF 2D 23 0B FB 25 B2 90 00 F2 [00:35:39]RAPDU: C9 AF 2D 23 0B FB 25 B2 90 00 [00:35:39]wFMCommunicate OK [00:35:39]SAM_PROTO_SignData done [00:35:39]FM_MakeSignedData done [00:35:39]CreateOFDProtocolMessage [00:35:39]wFMCommunicate request_size=4 [00:35:39]MH_SAM_APDU [00:35:39]CAPDU: 80 11 00 00 [00:35:39]Write to MH i2c: E2 08 00 D1 01 80 11 00 00 00 00 00 00 4C [00:35:39]Write i2c OK [00:35:39]MH_I2C_Read... [00:35:39]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:39]Read from MH i2c: E2 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: E2 17 00 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: E2 17 00 D1 01 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A6 [00:35:39]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:35:39]wFMCommunicate OK [00:35:39]CreateOFDProtocolMessage done [00:35:39]OFDSenderStorePacket 57106 [00:35:39]StoreOFDPacket docnum=57106 [00:35:39]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 9A BA 31 01 F5 4F 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 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 DA 6E 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DF 00 00 35 04 06 00 59 5B 9D C4 0B C7 C9 AF 2D 23 0B FB 25 B2 [00:35:39]CheckFolder [00:35:39]dirname=/storage/ofd_packets [00:35:39]CheckFolder done [00:35:39]ProducePacketName [00:35:39]name=ofd_packets/00057106 [00:35:39]NVStorageSaveData ofd_packets/00057106 [00:35:39]File name is /storage/ofd_packets/00057106 [00:35:39]Write 343 bytes [00:35:39]NVStorageSaveData done [00:35:39]OFDSenderStorePacket done [00:35:39]KKMCreateOFDPacket done [00:35:39]NVStorageSaveData kkm_last_timestamp [00:35:39]File name is /storage/kkm_last_timestamp [00:35:39]Write 4 bytes [00:35:39]NVStorageSaveData done [00:35:39]ExternCall_PrintAddStr [00:35:39]wPrintStart [00:35:39]Write to MH i2c: 01 00 00 D2 01 D3 [00:35:39]Write i2c OK [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: 01 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: 01 07 00 [00:35:39]MH_I2C_Read... [00:35:39]Read from MH i2c: 01 07 00 D2 01 00 00 00 00 00 FF 0F E8 [00:35:39]RasterBufferAndPrint [00:35:39]line Счет N : (3)129563 [00:35:39]line ИНН: 02508201610067 [00:35:39]line Контрольно-Кассовый Чек [00:35:39]line ПРОДАЖА [00:35:39]line Товар: 4700000480050 [00:35:39]line Напиток Nitro Energy эн green ж/б 0,45л [00:35:39]line 2.000 * 95.00 [00:35:39]line = 190.00 [00:35:39]line НДС 12% НСП 1% [00:35:39]line > о реализуемом товаре [00:35:39]line ИТОГО: 190.00 [00:35:39]line НСП 1% : 1.68 [00:35:39]line НДС 12% : 20.18 [00:35:39]line Наличными: 190.00 [00:35:39]line Безнал.: 0.00 [00:35:39]line Место: АЗС № 132 "Партнер Нефть" [00:35:39]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:35:39]line СНО: Общий режим [00:35:39]line Чек 1 15.07.2024 00:35 [00:35:39]line Смена: 497 ФФД: 1.0 [00:35:39]line ЗНМ: 0300000132 [00:35:39]line РНМ: 0000000000091208 [00:35:39]line Версия ККМ: 001 [00:35:39]line ФМ: 0000000000874857 [00:35:39]line ФД: 57106 [00:35:39]line ФПД: 98250023766983 [00:35:39]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T003538&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57106&fm=98250023766983&tin=02508201610067®Number=0000000000091208&sum=19000 [00:35:39]line 0 [00:35:39]OFD Sender: Processing packet 57106 [packets to send 38, broken 37] [00:35:39]ProducePacketName [00:35:39]name=ofd_packets/00057106 [00:35:39]OFD Sender: To server: pG, [00:35:39]CommunicateWithHost lk.salyk.kg:30040 [00:35:39]ConnectInit lk.salyk.kg [00:35:39]written 0, free lines is 4095 [00:35:39]Connected sock=9 [00:35:39]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 39 01 00 00 9A BA 31 01 F5 4F 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 D0 07 00 00 00 00 00 37 04 06 00 1C 25 00 00 00 00 13 04 06 00 38 4A 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 38 4A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 A8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E2 07 00 00 00 00 07 04 06 00 38 4A 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 DA 6E 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DF 00 00 35 04 06 00 59 5B 9D C4 0B C7 C9 AF 2D 23 0B FB 25 B2 [00:35:40]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B0 4B 47 00 A8 CD A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 12 DF 00 00 F4 03 04 00 2A 15 94 66 B6 04 01 00 00 DC FC B7 D2 5C 51 D5 D1 [00:35:40]CommunicateWithHost err = 0 [00:35:40]CheckOFDResponse [00:35:40]1017 (14) - 77093643461234 [00:35:40]1041 (16) - 0000000000874857 [00:35:40]1040 (4) - 57106 [00:35:40]1012 (4) - 14.07.2024 18:12 [00:35:40]1206 (1) - 0 [00:35:40]OFD Sender: Remove packet 57106 [00:35:40]ProducePacketName [00:35:40]name=ofd_packets/00057106 [00:35:40]NVStorageDeleteData [00:35:40]Write to MH i2c: 01 00 00 FB 01 FC [00:35:40]Write i2c OK [00:35:40]MH_I2C_Read... [00:35:40]Read from MH i2c: 01 [00:35:40]MH_I2C_Read... [00:35:40]Read from MH i2c: 01 07 00 [00:35:40]MH_I2C_Read... [00:35:40]Read from MH i2c: 01 07 00 FB 01 00 00 00 00 00 EB 0C FA [00:35:40]RasterBufferAndPrint [00:35:40]line [00:35:40]line [00:35:40]line [00:35:40]line [00:35:40]line [00:35:40]written 0, free lines is 3313 [00:35:40]MH_Cut [00:35:40]Write to MH i2c: D1 01 00 02 02 01 D6 [00:35:40]Write i2c OK [00:35:40]MH_I2C_Read... [00:35:40]Read from MH i2c: D1 [00:35:40]MH_I2C_Read... [00:35:40]Read from MH i2c: D1 01 00 [00:35:40]MH_I2C_Read... [00:35:40]Read from MH i2c: D1 01 00 02 02 00 D5 [00:35:40]Write to MH i2c: 01 00 00 03 02 05 [00:35:40]Write i2c OK [00:35:40]MH_I2C_Read... [00:35:40]OFD Sender: No OFD packet to send [00:35:40]*** Cut start [00:35:40]*** Partial cut [00:35:40]*** CUTSNS_PIN = 1 [00:35:40]*** CUTSNS_PIN = 0 [00:35:41]*** Brake cut motor [00:35:41]Read from MH i2c: 01 [00:35:41]MH_I2C_Read... [00:35:41]*** Stop cut motor [00:35:41]*** Cut end [00:35:41]Read from MH i2c: 01 07 00 [00:35:41]MH_I2C_Read... [00:35:41]Read from MH i2c: 01 07 00 03 02 00 00 00 00 00 FF 0F 1A [00:35:41]process_action close_receipt done [00:35:41]requested_data is exist [00:35:41]produce_requested_data [00:35:41]requested_item fm.sn is exist - process it [00:35:41]wFMCommunicate request_size=4 [00:35:41]MH_SAM_APDU [00:35:41]CAPDU: 80 11 00 00 [00:35:41]Write to MH i2c: E2 08 00 04 02 80 11 00 00 00 00 00 00 80 [00:35:41]Write i2c OK [00:35:41]MH_I2C_Read... [00:35:41]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:35:41]Read from MH i2c: E2 [00:35:41]MH_I2C_Read... [00:35:41]Read from MH i2c: E2 17 00 [00:35:41]MH_I2C_Read... [00:35:41]Read from MH i2c: E2 17 00 04 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DA [00:35:41]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:35:41]wFMCommunicate OK [00:35:41]requested_item fd.num is exist - process it [00:35:41]SAM_PROTO_GetFieldsCounters [00:35:41]wFMCommunicate request_size=4 [00:35:41]MH_SAM_APDU [00:35:41]CAPDU: 80 13 00 00 [00:35:41]Write to MH i2c: E2 08 00 05 02 80 13 00 00 00 00 00 00 83 [00:35:41]Write i2c OK [00:35:41]MH_I2C_Read... [00:35:41]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:35:41]Read from MH i2c: E2 [00:35:41]MH_I2C_Read... [00:35:41]Read from MH i2c: E2 62 00 [00:35:41]MH_I2C_Read... [00:35:41]Read from MH i2c: E2 62 00 05 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 12 DF 00 00 0E 04 04 00 F1 01 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 8C [00:35:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 12 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 01 00 00 00 5E 04 04 00 01 00 00 00 57 04 04 00 02 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:35:41]wFMCommunicate OK [00:35:41]SAM_PROTO_GetFieldsCounters done [00:35:41]requested_item shift.num is exist - process it [00:35:41]requested_item shift.opened is exist - process it [00:35:41]req_shift_opened [00:35:41]FM_GetShiftState [00:35:41]SAM_PROTO_GetShiftState [00:35:41]wFMCommunicate request_size=4 [00:35:41]MH_SAM_APDU [00:35:41]CAPDU: 80 13 01 00 [00:35:41]Write to MH i2c: E2 08 00 06 02 80 13 01 00 00 00 00 00 85 [00:35:41]Write i2c OK [00:35:41]MH_I2C_Read... [00:35:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:35:41]Read from MH i2c: E2 [00:35:41]MH_I2C_Read... [00:35:41]Read from MH i2c: E2 0E 00 [00:35:41]MH_I2C_Read... [00:35:41]Read from MH i2c: E2 0E 00 06 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 FE [00:35:41]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:35:41]wFMCommunicate OK [00:35:41]SAM_PROTO_GetShiftState done [00:35:41]FM_GetShiftState done [00:35:41]req_shift_opened done [00:35:41]requested_item shift.open_date is exist - process it [00:35:41]req_shift_open_date [00:35:41]req_shift_open_date done [00:35:41]requested_item shift.sale.total is exist - process it [00:35:41]SAM_PROTO_GetShiftData [00:35:41]wFMCommunicate request_size=4 [00:35:41]MH_SAM_APDU [00:35:41]CAPDU: 80 13 02 00 [00:35:41]Write to MH i2c: E2 08 00 07 02 80 13 02 00 00 00 00 00 87 [00:35:41]Write i2c OK [00:35:41]MH_I2C_Read... [00:35:42]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:35:42]Read from MH i2c: E2 [00:35:42]MH_I2C_Read... [00:35:42]Read from MH i2c: E2 FD 00 [00:35:42]MH_I2C_Read... [00:35:42]Read from MH i2c: E2 FD 00 07 02 00 A7 04 AA 04 A3 04 6E 04 04 00 01 00 00 00 69 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 38 4A 70 04 02 00 38 4A 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 E2 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 A8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 BD [00:35:42]RAPDU: A7 04 AA 04 A3 04 6E 04 04 00 01 00 00 00 69 04 94 00 6F 04 04 00 01 00 00 00 B1 04 02 00 38 4A 70 04 02 00 38 4A 72 04 00 00 00 04 78 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 E2 07 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0A 00 F6 03 01 00 01 F7 03 01 00 A8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:42]wFMCommunicate OK [00:35:42]wFMCommunicate request_size=4 [00:35:42]MH_SAM_APDU [00:35:42]CAPDU: 80 17 00 00 [00:35:42]Write to MH i2c: E2 08 00 08 02 80 17 00 00 00 00 00 00 8A [00:35:42]Write i2c OK [00:35:42]MH_I2C_Read... [00:35:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:42]Read from MH i2c: E2 [00:35:42]MH_I2C_Read... [00:35:42]Read from MH i2c: E2 FD 00 [00:35:42]MH_I2C_Read... [00:35:42]Read from MH i2c: E2 FD 00 08 02 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 9E [00:35:42]RAPDU: F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:42]wFMCommunicate OK [00:35:42]wFMCommunicate request_size=4 [00:35:42]MH_SAM_APDU [00:35:42]CAPDU: 80 17 00 00 [00:35:42]Write to MH i2c: E2 08 00 09 02 80 17 00 00 00 00 00 00 8B [00:35:42]Write i2c OK [00:35:42]MH_I2C_Read... [00:35:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:42]Read from MH i2c: E2 [00:35:42]MH_I2C_Read... [00:35:42]Read from MH i2c: E2 FD 00 [00:35:42]MH_I2C_Read... [00:35:42]Read from MH i2c: E2 FD 00 09 02 00 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 43 [00:35:42]RAPDU: 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:35:42]wFMCommunicate OK [00:35:42]wFMCommunicate request_size=4 [00:35:42]MH_SAM_APDU [00:35:42]CAPDU: 80 17 00 00 [00:35:42]Write to MH i2c: E2 08 00 0A 02 80 17 00 00 00 00 00 00 8C [00:35:42]Write i2c OK [00:35:42]MH_I2C_Read... [00:35:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:35:43]Read from MH i2c: E2 [00:35:43]MH_I2C_Read... [00:35:43]Read from MH i2c: E2 FD 00 [00:35:43]MH_I2C_Read... [00:35:43]Read from MH i2c: E2 FD 00 0A 02 00 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 90 00 0B [00:35:43]RAPDU: 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 90 00 [00:35:43]wFMCommunicate OK [00:35:43]wFMCommunicate request_size=4 [00:35:43]MH_SAM_APDU [00:35:43]CAPDU: 80 17 00 00 [00:35:43]Write to MH i2c: E2 08 00 0B 02 80 17 00 00 00 00 00 00 8D [00:35:43]Write i2c OK [00:35:43]MH_I2C_Read... [00:35:43]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 193! [00:35:43]Read from MH i2c: E2 [00:35:43]MH_I2C_Read... [00:35:43]Read from MH i2c: E2 C4 00 [00:35:43]MH_I2C_Read... [00:35:43]Read from MH i2c: E2 C4 00 0B 02 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 71 [00:35:43]RAPDU: F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:35:43]wFMCommunicate OK [00:35:43]SAM_PROTO_GetShiftData done [00:35:43]requested_item shift.sale.total_cash is exist - process it [00:35:43]requested_item shift.sale_refund.total is exist - process it [00:35:43]requested_item shift.sale_refund.total_cash is exist - process it [00:35:43]produce_requested_data done [00:35:43]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57106,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":190.00,"shift.sale.total_cash":190.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:35:43]process_action_free close_receipt [00:35:43]json_value_free [00:35:43]json_value_free done [00:35:43]process_json_proto returns [00:35:43]Send response to host [00:35:43]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57106,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":190.00,"shift.sale.total_cash":190.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:35:43]free response buf [00:35:43]execute_script done [00:35:43]execute_script returns [00:35:43]free content buf [00:35:43]Sock 8.Close socket [00:35:43]Sock 8.Thread stoped [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:53]accept exits with 10 [00:38:53]New connection [00:38:53]New thread 3067067748 created [00:38:53]Thread 3066924388 joined [00:38:53]Waiting for new connection... [00:38:53] Sock 10.Parse request [00:38:53]Sock 10.Check first char [00:38:53]Sock 10.First char is OK [00:38:53]request: POST /json_proto HTTP/1.0 [00:38:53]Method: POST [00:38:53]URL: /json_proto [00:38:53]Method is POST - this is cgi request [00:38:53]url: /json_proto [00:38:53]query_string will be loaded in cgi processing [00:38:53]execute_cgi json_proto POST (null) [00:38:53]execute_cgi path=json_proto method=POST [00:38:53]POST find Content-Length [00:38:53]Host: 172.17.39.4:8080 [00:38:53]Content-Length: 941 [00:38:53]Content-Type: application/json [00:38:53] [00:38:53]POST finish read [00:38:53]Found Content-Length = 941 [00:38:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129564", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:38:53]execute_script... [00:38: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)129564", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.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: \u0411\u0430\u043A\u0430\u0439 \u0411\u0430\u043D\u043A", "payments": [ { "type": 1, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:38:53]POST & json_proto [00:38:53]process_json_proto [00:38:53]json parsed OK: [00:38:53]protocol is kg_v1.0 [00:38:53]action value=close_receipt [00:38:53]process_action close_receipt [00:38:53]cmd_close_receipt [00:38:53]MH_GetDate [00:38:53]Write to MH i2c: F0 00 00 0C 02 FD [00:38:53]Write i2c OK [00:38:53]MH_I2C_Read... [00:38:53]Read from MH i2c: F0 [00:38:53]MH_I2C_Read... [00:38:53]Read from MH i2c: F0 09 00 [00:38:53]MH_I2C_Read... [00:38:53]Read from MH i2c: F0 09 00 0C 02 00 9E 6F 94 66 2D 25 5D 64 20 [00:38:53]GetLastDocTimeStamp 1721003738 [00:38:53]current date 1721003934 [00:38:53]FM_GetShiftState [00:38:53]SAM_PROTO_GetShiftState [00:38:53]wFMCommunicate request_size=4 [00:38:53]MH_SAM_APDU [00:38:53]CAPDU: 80 13 01 00 [00:38:53]Write to MH i2c: E2 08 00 0D 02 80 13 01 00 00 00 00 00 8C [00:38:53]Write i2c OK [00:38:53]MH_I2C_Read... [00:38:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:38:53]Read from MH i2c: E2 [00:38:53]MH_I2C_Read... [00:38:53]Read from MH i2c: E2 0E 00 [00:38:53]MH_I2C_Read... [00:38:53]Read from MH i2c: E2 0E 00 0D 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 05 [00:38:53]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:38:53]wFMCommunicate OK [00:38:53]SAM_PROTO_GetShiftState done [00:38:53]FM_GetShiftState done [00:38:53]opened in 1721003525 [00:38:53]opened+sec_in_day 1721089925 [00:38:53]quantity*price = 45000 [00:38:53]sum+1 = 45001 [00:38:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 450.00 НСП 1% : 3.98 НДС 12% : 47.79 Наличными: 0.00 Безнал.: 450.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 2 15.07.2024 00:38 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: Бакай Банк ФМ: 0000000000874857 ФД: 57107 ФПД: 160768514887618 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T003854&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57107&fm=160768514887618&tin=02508201610067®Number=0000000000091208&sum=45000 0 [00:38:54]StoreToDocumentArchive [00:38:54]shift 497 fd 57107 [00:38:54]save to /storage/0497/doc_00057107 [00:38:54]save last doc name /storage/0497/doc_00057107 to /storage/kkm_last_doc_name [00:38:54]save OK [00:38:54]Clear old archive folders... [00:38:54]ProcessDocumentItem done err = 0, tmpTLVsize=280 [00:38:54]tlvbuf is 009875F0 [00:38:54]SAM_PROTO_ClearQueue [00:38:54]wFMCommunicate request_size=4 [00:38:54]MH_SAM_APDU [00:38:54]CAPDU: 80 09 00 00 [00:38:54]Write to MH i2c: E2 08 00 1A 02 80 09 00 00 00 00 00 00 8E [00:38:54]Write i2c OK [00:38:54]MH_I2C_Read... [00:38:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:38:54]Read from MH i2c: E2 [00:38:54]MH_I2C_Read... [00:38:54]Read from MH i2c: E2 03 00 [00:38:54]MH_I2C_Read... [00:38:54]Read from MH i2c: E2 03 00 1A 02 00 90 00 90 [00:38:54]RAPDU: 90 00 [00:38:54]wFMCommunicate OK [00:38:54]SAM_PROTO_ClearQueue done [00:38:54]KKMCreateOFDPacket [00:38:54]OFDProtocolAddRootSTLVToBuf [00:38:54]FM_MakeSignedData [00:38:54]FM_MakeSignedData [00:38:54]SAM_PROTO_SignData [00:38:54]wFMCommunicate request_size=4 [00:38:54]MH_SAM_APDU [00:38:54]CAPDU: 80 0D 01 02 [00:38:54]Write to MH i2c: E2 08 00 1B 02 80 0D 01 02 00 00 00 00 96 [00:38:55]Write i2c OK [00:38:55]MH_I2C_Read... [00:38:55]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:38:55]Read from MH i2c: E2 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 03 00 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 03 00 1B 02 00 90 00 91 [00:38:55]RAPDU: 90 00 [00:38:55]wFMCommunicate OK [00:38:55]wFMCommunicate request_size=255 [00:38:55]MH_SAM_APDU [00:38:55]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 AF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [00:38:55]Write to MH i2c: E2 02 01 1C 02 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 AF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 00 00 4E [00:38:55]Write i2c OK [00:38:55]MH_I2C_Read... [00:38:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:38:55]Read from MH i2c: E2 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 03 00 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 03 00 1C 02 00 90 00 92 [00:38:55]RAPDU: 90 00 [00:38:55]wFMCommunicate OK [00:38:55]wFMCommunicate request_size=39 [00:38:55]MH_SAM_APDU [00:38:55]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 13 DF 00 00 35 04 06 00 92 37 D6 38 8F C2 [00:38:55]Write to MH i2c: E2 2A 00 1D 02 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 13 DF 00 00 35 04 06 00 92 37 D6 38 8F C2 00 00 75 [00:38:55]Write i2c OK [00:38:55]MH_I2C_Read... [00:38:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:38:55]Read from MH i2c: E2 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 03 00 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 03 00 1D 02 00 90 00 93 [00:38:55]RAPDU: 90 00 [00:38:55]wFMCommunicate OK [00:38:55]wFMCommunicate request_size=4 [00:38:55]MH_SAM_APDU [00:38:55]CAPDU: 80 0D 03 02 [00:38:55]Write to MH i2c: E2 08 00 1E 02 80 0D 03 02 00 00 00 00 9B [00:38:55]Write i2c OK [00:38:55]MH_I2C_Read... [00:38:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:38:55]Read from MH i2c: E2 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 0B 00 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 0B 00 1E 02 00 22 81 64 83 42 FA 6E 1F 90 00 EF [00:38:55]RAPDU: 22 81 64 83 42 FA 6E 1F 90 00 [00:38:55]wFMCommunicate OK [00:38:55]SAM_PROTO_SignData done [00:38:55]FM_MakeSignedData done [00:38:55]CreateOFDProtocolMessage [00:38:55]wFMCommunicate request_size=4 [00:38:55]MH_SAM_APDU [00:38:55]CAPDU: 80 11 00 00 [00:38:55]Write to MH i2c: E2 08 00 1F 02 80 11 00 00 00 00 00 00 9B [00:38:55]Write i2c OK [00:38:55]MH_I2C_Read... [00:38:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:38:55]Read from MH i2c: E2 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 17 00 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: E2 17 00 1F 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F5 [00:38:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:38:55]wFMCommunicate OK [00:38:55]CreateOFDProtocolMessage done [00:38:55]OFDSenderStorePacket 57107 [00:38:55]StoreOFDPacket docnum=57107 [00:38:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 16 B3 24 01 BC D4 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 AF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 13 DF 00 00 35 04 06 00 92 37 D6 38 8F C2 22 81 64 83 42 FA 6E 1F [00:38:55]CheckFolder [00:38:55]dirname=/storage/ofd_packets [00:38:55]CheckFolder done [00:38:55]ProducePacketName [00:38:55]name=ofd_packets/00057107 [00:38:55]NVStorageSaveData ofd_packets/00057107 [00:38:55]File name is /storage/ofd_packets/00057107 [00:38:55]Write 330 bytes [00:38:55]NVStorageSaveData done [00:38:55]OFDSenderStorePacket done [00:38:55]KKMCreateOFDPacket done [00:38:55]NVStorageSaveData kkm_last_timestamp [00:38:55]File name is /storage/kkm_last_timestamp [00:38:55]Write 4 bytes [00:38:55]NVStorageSaveData done [00:38:55]ExternCall_PrintAddStr [00:38:55]wPrintStart [00:38:55]Write to MH i2c: 01 00 00 20 02 22 [00:38:55]Write i2c OK [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: 01 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: 01 07 00 [00:38:55]MH_I2C_Read... [00:38:55]Read from MH i2c: 01 07 00 20 02 00 00 00 00 00 FF 0F 37 [00:38:55]RasterBufferAndPrint [00:38:55]line Счет N : (3)129564 [00:38:55]line ИНН: 02508201610067 [00:38:55]line Контрольно-Кассовый Чек [00:38:55]line ПРОДАЖА [00:38:55]line Товар: 4700002083266 [00:38:55]line Водка Атилла Гунн 0,5л [00:38:55]line 1.000 * 450.00 [00:38:55]line = 450.00 [00:38:55]line НДС 12% НСП 1% [00:38:55]line > о реализуемом товаре [00:38:55]line ИТОГО: 450.00 [00:38:55]line НСП 1% : 3.98 [00:38:55]line НДС 12% : 47.79 [00:38:55]line Наличными: 0.00 [00:38:55]line Безнал.: 450.00 [00:38:55]line Место: АЗС № 132 "Партнер Нефть" [00:38:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:38:55]line СНО: Общий режим [00:38:55]line Чек 2 15.07.2024 00:38 [00:38:55]line Смена: 497 ФФД: 1.0 [00:38:55]line ЗНМ: 0300000132 [00:38:55]line РНМ: 0000000000091208 [00:38:55]line Версия ККМ: 001 [00:38:55]line Платежная система: Бакай Банк [00:38:55]line ФМ: 0000000000874857 [00:38:55]line ФД: 57107 [00:38:55]line ФПД: 160768514887618 [00:38:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T003854&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57107&fm=160768514887618&tin=02508201610067®Number=0000000000091208&sum=45000 [00:38:55]line 0 [00:38:55]OFD Sender: Processing packet 57107 [packets to send 38, broken 37] [00:38:55]ProducePacketName [00:38:55]name=ofd_packets/00057107 [00:38:55]OFD Sender: To server: pG, [00:38:55]CommunicateWithHost lk.salyk.kg:30040 [00:38:55]ConnectInit lk.salyk.kg [00:38:55]written 0, free lines is 4095 [00:38:55]Connected sock=9 [00:38:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 16 B3 24 01 BC D4 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 C8 AF 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 02 00 00 00 F4 03 04 00 9E 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 13 DF 00 00 35 04 06 00 92 37 D6 38 8F C2 22 81 64 83 42 FA 6E 1F [00:38:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B1 CB 47 00 EB 2E A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 13 DF 00 00 F4 03 04 00 EE 15 94 66 B6 04 01 00 00 AD 9F C4 29 1B 66 8E F3 [00:38:56]CommunicateWithHost err = 0 [00:38:56]CheckOFDResponse [00:38:56]1017 (14) - 77093643461234 [00:38:56]1041 (16) - 0000000000874857 [00:38:56]1040 (4) - 57107 [00:38:56]1012 (4) - 14.07.2024 18:16 [00:38:56]1206 (1) - 0 [00:38:56]OFD Sender: Remove packet 57107 [00:38:56]ProducePacketName [00:38:56]name=ofd_packets/00057107 [00:38:56]NVStorageDeleteData [00:38:56]Write to MH i2c: 01 00 00 4A 02 4C [00:38:56]Write i2c OK [00:38:56]MH_I2C_Read... [00:38:56]Read from MH i2c: 01 [00:38:56]MH_I2C_Read... [00:38:56]Read from MH i2c: 01 07 00 [00:38:56]MH_I2C_Read... [00:38:56]Read from MH i2c: 01 07 00 4A 02 00 00 00 00 00 ED 0C 4C [00:38:56]RasterBufferAndPrint [00:38:56]line [00:38:56]line [00:38:56]line [00:38:56]line [00:38:56]line [00:38:56]written 0, free lines is 3319 [00:38:56]MH_Cut [00:38:56]Write to MH i2c: D1 01 00 51 02 01 25 [00:38:56]Write i2c OK [00:38:56]MH_I2C_Read... [00:38:56]Read from MH i2c: D1 [00:38:56]MH_I2C_Read... [00:38:56]Read from MH i2c: D1 01 00 [00:38:56]MH_I2C_Read... [00:38:56]Read from MH i2c: D1 01 00 51 02 00 24 [00:38:56]Write to MH i2c: 01 00 00 52 02 54 [00:38:56]Write i2c OK [00:38:56]MH_I2C_Read... [00:38:56]OFD Sender: No OFD packet to send [00:38:57]*** Cut start [00:38:57]*** Partial cut [00:38:57]*** CUTSNS_PIN = 1 [00:38:57]*** CUTSNS_PIN = 0 [00:38:57]*** Brake cut motor [00:38:57]Read from MH i2c: 01 [00:38:57]MH_I2C_Read... [00:38:57]*** Stop cut motor [00:38:57]*** Cut end [00:38:57]Read from MH i2c: 01 07 00 [00:38:57]MH_I2C_Read... [00:38:57]Read from MH i2c: 01 07 00 52 02 00 00 00 00 00 FF 0F 69 [00:38:57]process_action close_receipt done [00:38:57]requested_data is exist [00:38:57]produce_requested_data [00:38:57]requested_item fm.sn is exist - process it [00:38:57]wFMCommunicate request_size=4 [00:38:57]MH_SAM_APDU [00:38:57]CAPDU: 80 11 00 00 [00:38:57]Write to MH i2c: E2 08 00 53 02 80 11 00 00 00 00 00 00 CF [00:38:57]Write i2c OK [00:38:57]MH_I2C_Read... [00:38:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:38:57]Read from MH i2c: E2 [00:38:57]MH_I2C_Read... [00:38:57]Read from MH i2c: E2 17 00 [00:38:57]MH_I2C_Read... [00:38:57]Read from MH i2c: E2 17 00 53 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 29 [00:38:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:38:57]wFMCommunicate OK [00:38:57]requested_item fd.num is exist - process it [00:38:57]SAM_PROTO_GetFieldsCounters [00:38:57]wFMCommunicate request_size=4 [00:38:57]MH_SAM_APDU [00:38:57]CAPDU: 80 13 00 00 [00:38:57]Write to MH i2c: E2 08 00 54 02 80 13 00 00 00 00 00 00 D2 [00:38:57]Write i2c OK [00:38:57]MH_I2C_Read... [00:38:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:38:57]Read from MH i2c: E2 [00:38:57]MH_I2C_Read... [00:38:57]Read from MH i2c: E2 62 00 [00:38:57]MH_I2C_Read... [00:38:57]Read from MH i2c: E2 62 00 54 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 13 DF 00 00 0E 04 04 00 F1 01 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 DF [00:38:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 13 DF 00 00 0E 04 04 00 F1 01 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 [00:38:57]wFMCommunicate OK [00:38:57]SAM_PROTO_GetFieldsCounters done [00:38:57]requested_item shift.num is exist - process it [00:38:57]requested_item shift.opened is exist - process it [00:38:57]req_shift_opened [00:38:57]FM_GetShiftState [00:38:57]SAM_PROTO_GetShiftState [00:38:57]wFMCommunicate request_size=4 [00:38:57]MH_SAM_APDU [00:38:57]CAPDU: 80 13 01 00 [00:38:57]Write to MH i2c: E2 08 00 55 02 80 13 01 00 00 00 00 00 D4 [00:38:57]Write i2c OK [00:38:57]MH_I2C_Read... [00:38:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:38:57]Read from MH i2c: E2 [00:38:57]MH_I2C_Read... [00:38:57]Read from MH i2c: E2 0E 00 [00:38:57]MH_I2C_Read... [00:38:57]Read from MH i2c: E2 0E 00 55 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 4D [00:38:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:38:57]wFMCommunicate OK [00:38:57]SAM_PROTO_GetShiftState done [00:38:57]FM_GetShiftState done [00:38:57]req_shift_opened done [00:38:57]requested_item shift.open_date is exist - process it [00:38:57]req_shift_open_date [00:38:57]req_shift_open_date done [00:38:57]requested_item shift.sale.total is exist - process it [00:38:57]SAM_PROTO_GetShiftData [00:38:57]wFMCommunicate request_size=4 [00:38:57]MH_SAM_APDU [00:38:57]CAPDU: 80 13 02 00 [00:38:57]Write to MH i2c: E2 08 00 56 02 80 13 02 00 00 00 00 00 D6 [00:38:57]Write i2c OK [00:38:57]MH_I2C_Read... [00:38:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:38:58]Read from MH i2c: E2 [00:38:58]MH_I2C_Read... [00:38:58]Read from MH i2c: E2 FD 00 [00:38:58]MH_I2C_Read... [00:38:58]Read from MH i2c: E2 FD 00 56 02 00 AA 04 AA 04 A6 04 6E 04 04 00 02 00 00 00 69 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 00 FA 70 04 02 00 38 4A 72 04 02 00 C8 AF 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 8D 1A 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 36 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4D [00:38:58]RAPDU: AA 04 AA 04 A6 04 6E 04 04 00 02 00 00 00 69 04 97 00 6F 04 04 00 02 00 00 00 B1 04 02 00 00 FA 70 04 02 00 38 4A 72 04 02 00 C8 AF 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 8D 1A 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 36 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:38:58]wFMCommunicate OK [00:38:58]wFMCommunicate request_size=4 [00:38:58]MH_SAM_APDU [00:38:58]CAPDU: 80 17 00 00 [00:38:58]Write to MH i2c: E2 08 00 57 02 80 17 00 00 00 00 00 00 D9 [00:38:58]Write i2c OK [00:38:58]MH_I2C_Read... [00:38:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:58]Read from MH i2c: E2 [00:38:58]MH_I2C_Read... [00:38:58]Read from MH i2c: E2 FD 00 [00:38:58]MH_I2C_Read... [00:38:58]Read from MH i2c: E2 FD 00 57 02 00 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 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 90 00 FF [00:38:58]RAPDU: 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:38:58]wFMCommunicate OK [00:38:58]wFMCommunicate request_size=4 [00:38:58]MH_SAM_APDU [00:38:58]CAPDU: 80 17 00 00 [00:38:58]Write to MH i2c: E2 08 00 58 02 80 17 00 00 00 00 00 00 DA [00:38:58]Write i2c OK [00:38:58]MH_I2C_Read... [00:38:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:58]Read from MH i2c: E2 [00:38:58]MH_I2C_Read... [00:38:58]Read from MH i2c: E2 FD 00 [00:38:58]MH_I2C_Read... [00:38:58]Read from MH i2c: E2 FD 00 58 02 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8D [00:38:58]RAPDU: EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:38:58]wFMCommunicate OK [00:38:58]wFMCommunicate request_size=4 [00:38:58]MH_SAM_APDU [00:38:58]CAPDU: 80 17 00 00 [00:38:58]Write to MH i2c: E2 08 00 59 02 80 17 00 00 00 00 00 00 DB [00:38:58]Write i2c OK [00:38:58]MH_I2C_Read... [00:38:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:38:59]Read from MH i2c: E2 [00:38:59]MH_I2C_Read... [00:38:59]Read from MH i2c: E2 FD 00 [00:38:59]MH_I2C_Read... [00:38:59]Read from MH i2c: E2 FD 00 59 02 00 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 90 00 4D [00:38:59]RAPDU: 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 90 00 [00:38:59]wFMCommunicate OK [00:38:59]wFMCommunicate request_size=4 [00:38:59]MH_SAM_APDU [00:38:59]CAPDU: 80 17 00 00 [00:38:59]Write to MH i2c: E2 08 00 5A 02 80 17 00 00 00 00 00 00 DC [00:38:59]Write i2c OK [00:38:59]MH_I2C_Read... [00:38:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 196! [00:38:59]Read from MH i2c: E2 [00:38:59]MH_I2C_Read... [00:38:59]Read from MH i2c: E2 C7 00 [00:38:59]MH_I2C_Read... [00:38:59]Read from MH i2c: E2 C7 00 5A 02 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 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 CF [00:38:59]RAPDU: 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:38:59]wFMCommunicate OK [00:38:59]SAM_PROTO_GetShiftData done [00:38:59]requested_item shift.sale.total_cash is exist - process it [00:38:59]requested_item shift.sale_refund.total is exist - process it [00:38:59]requested_item shift.sale_refund.total_cash is exist - process it [00:38:59]produce_requested_data done [00:38:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57107,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":640.00,"shift.sale.total_cash":190.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:38:59]process_action_free close_receipt [00:38:59]json_value_free [00:38:59]json_value_free done [00:38:59]process_json_proto returns [00:38:59]Send response to host [00:38:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57107,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":640.00,"shift.sale.total_cash":190.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:38:59]free response buf [00:38:59]execute_script done [00:38:59]execute_script returns [00:38:59]free content buf [00:38:59]Sock 10.Close socket [00:38:59]Sock 10.Thread stoped [00:39:01]OFD Sender: No OFD packet to send [00:39:02]accept exits with 8 [00:39:02]New connection [00:39:02]New thread 3066924388 created [00:39:02]Thread 3067067748 joined [00:39:02]Waiting for new connection... [00:39:02] Sock 8.Parse request [00:39:02]Sock 8.Check first char [00:39:02]Sock 8.First char is OK [00:39:02]request: POST /json_proto HTTP/1.0 [00:39:02]Method: POST [00:39:02]URL: /json_proto [00:39:02]Method is POST - this is cgi request [00:39:02]url: /json_proto [00:39:02]query_string will be loaded in cgi processing [00:39:02]execute_cgi json_proto POST (null) [00:39:02]execute_cgi path=json_proto method=POST [00:39:02]POST find Content-Length [00:39:02]Host: 172.17.39.4:8080 [00:39:02]Content-Length: 764 [00:39:02]Content-Type: application/json [00:39:02] [00:39:02]POST finish read [00:39:02]Found Content-Length = 764 [00:39:02]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129565", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:39:02]execute_script... [00:39: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)129565", "tax_sys" : 0, "items" : [ { "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 155.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:39:02]POST & json_proto [00:39:02]process_json_proto [00:39:02]json parsed OK: [00:39:02]protocol is kg_v1.0 [00:39:02]action value=close_receipt [00:39:02]process_action close_receipt [00:39:02]cmd_close_receipt [00:39:02]MH_GetDate [00:39:02]Write to MH i2c: F0 00 00 5B 02 4C [00:39:02]Write i2c OK [00:39:02]MH_I2C_Read... [00:39:02]Read from MH i2c: F0 [00:39:02]MH_I2C_Read... [00:39:02]Read from MH i2c: F0 09 00 [00:39:02]MH_I2C_Read... [00:39:02]Read from MH i2c: F0 09 00 5B 02 00 A7 6F 94 66 2D 25 5D 64 78 [00:39:02]GetLastDocTimeStamp 1721003934 [00:39:02]current date 1721003943 [00:39:02]FM_GetShiftState [00:39:02]SAM_PROTO_GetShiftState [00:39:02]wFMCommunicate request_size=4 [00:39:02]MH_SAM_APDU [00:39:02]CAPDU: 80 13 01 00 [00:39:02]Write to MH i2c: E2 08 00 5C 02 80 13 01 00 00 00 00 00 DB [00:39:02]Write i2c OK [00:39:02]MH_I2C_Read... [00:39:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:39:02]Read from MH i2c: E2 [00:39:02]MH_I2C_Read... [00:39:02]Read from MH i2c: E2 0E 00 [00:39:02]MH_I2C_Read... [00:39:02]Read from MH i2c: E2 0E 00 5C 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 54 [00:39:02]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:39:02]wFMCommunicate OK [00:39:02]SAM_PROTO_GetShiftState done [00:39:02]FM_GetShiftState done [00:39:02]opened in 1721003525 [00:39:02]opened+sec_in_day 1721089925 [00:39:02]quantity*price = 15500 [00:39:02]sum+1 = 15501 [00:39:02]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 155.00 НСП 1% : 1.37 НДС 12% : 16.46 Наличными: 155.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 3 15.07.2024 00:39 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57108 ФПД: 223094541881368 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T003903&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57108&fm=223094541881368&tin=02508201610067®Number=0000000000091208&sum=15500 0 [00:39:03]StoreToDocumentArchive [00:39:03]shift 497 fd 57108 [00:39:03]save to /storage/0497/doc_00057108 [00:39:03]save last doc name /storage/0497/doc_00057108 to /storage/kkm_last_doc_name [00:39:03]save OK [00:39:03]Clear old archive folders... [00:39:03]ProcessDocumentItem done err = 0, tmpTLVsize=280 [00:39:03]tlvbuf is 009D0920 [00:39:03]SAM_PROTO_ClearQueue [00:39:03]wFMCommunicate request_size=4 [00:39:03]MH_SAM_APDU [00:39:03]CAPDU: 80 09 00 00 [00:39:03]Write to MH i2c: E2 08 00 69 02 80 09 00 00 00 00 00 00 DD [00:39:03]Write i2c OK [00:39:03]MH_I2C_Read... [00:39:03]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:39:03]Read from MH i2c: E2 [00:39:03]MH_I2C_Read... [00:39:03]Read from MH i2c: E2 03 00 [00:39:03]MH_I2C_Read... [00:39:03]Read from MH i2c: E2 03 00 69 02 00 90 00 DF [00:39:03]RAPDU: 90 00 [00:39:03]wFMCommunicate OK [00:39:03]SAM_PROTO_ClearQueue done [00:39:03]KKMCreateOFDPacket [00:39:03]OFDProtocolAddRootSTLVToBuf [00:39:03]FM_MakeSignedData [00:39:03]FM_MakeSignedData [00:39:03]SAM_PROTO_SignData [00:39:03]wFMCommunicate request_size=4 [00:39:03]MH_SAM_APDU [00:39:03]CAPDU: 80 0D 01 02 [00:39:03]Write to MH i2c: E2 08 00 6A 02 80 0D 01 02 00 00 00 00 E5 [00:39:03]Write i2c OK [00:39:03]MH_I2C_Read... [00:39:03]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:39:03]Read from MH i2c: E2 [00:39:03]MH_I2C_Read... [00:39:03]Read from MH i2c: E2 03 00 [00:39:03]MH_I2C_Read... [00:39:03]Read from MH i2c: E2 03 00 6A 02 00 90 00 E0 [00:39:03]RAPDU: 90 00 [00:39:03]wFMCommunicate OK [00:39:03]wFMCommunicate request_size=255 [00:39:03]MH_SAM_APDU [00:39:03]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 A7 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [00:39:03]Write to MH i2c: E2 02 01 6B 02 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 A7 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 00 00 FE [00:39:03]Write i2c OK [00:39:03]MH_I2C_Read... [00:39:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:39:04]Read from MH i2c: E2 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: E2 03 00 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: E2 03 00 6B 02 00 90 00 E1 [00:39:04]RAPDU: 90 00 [00:39:04]wFMCommunicate OK [00:39:04]wFMCommunicate request_size=39 [00:39:04]MH_SAM_APDU [00:39:04]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 14 DF 00 00 35 04 06 00 CA E7 3E EB 90 18 [00:39:04]Write to MH i2c: E2 2A 00 6C 02 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 14 DF 00 00 35 04 06 00 CA E7 3E EB 90 18 00 00 1F [00:39:04]Write i2c OK [00:39:04]MH_I2C_Read... [00:39:04]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:39:04]Read from MH i2c: E2 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: E2 03 00 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: E2 03 00 6C 02 00 90 00 E2 [00:39:04]RAPDU: 90 00 [00:39:04]wFMCommunicate OK [00:39:04]wFMCommunicate request_size=4 [00:39:04]MH_SAM_APDU [00:39:04]CAPDU: 80 0D 03 02 [00:39:04]Write to MH i2c: E2 08 00 6D 02 80 0D 03 02 00 00 00 00 EA [00:39:04]Write i2c OK [00:39:04]MH_I2C_Read... [00:39:04]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:39:04]Read from MH i2c: E2 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: E2 0B 00 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: E2 0B 00 6D 02 00 72 62 03 2A 9F 96 88 34 90 00 DD [00:39:04]RAPDU: 72 62 03 2A 9F 96 88 34 90 00 [00:39:04]wFMCommunicate OK [00:39:04]SAM_PROTO_SignData done [00:39:04]FM_MakeSignedData done [00:39:04]CreateOFDProtocolMessage [00:39:04]wFMCommunicate request_size=4 [00:39:04]MH_SAM_APDU [00:39:04]CAPDU: 80 11 00 00 [00:39:04]Write to MH i2c: E2 08 00 6E 02 80 11 00 00 00 00 00 00 EA [00:39:04]Write i2c OK [00:39:04]MH_I2C_Read... [00:39:04]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:39:04]Read from MH i2c: E2 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: E2 17 00 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: E2 17 00 6E 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 44 [00:39:04]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:39:04]wFMCommunicate OK [00:39:04]CreateOFDProtocolMessage done [00:39:04]OFDSenderStorePacket 57108 [00:39:04]StoreOFDPacket docnum=57108 [00:39:04]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 85 32 24 01 D4 1D 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 A7 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 14 DF 00 00 35 04 06 00 CA E7 3E EB 90 18 72 62 03 2A 9F 96 88 34 [00:39:04]CheckFolder [00:39:04]dirname=/storage/ofd_packets [00:39:04]CheckFolder done [00:39:04]ProducePacketName [00:39:04]name=ofd_packets/00057108 [00:39:04]NVStorageSaveData ofd_packets/00057108 [00:39:04]File name is /storage/ofd_packets/00057108 [00:39:04]Write 330 bytes [00:39:04]NVStorageSaveData done [00:39:04]OFDSenderStorePacket done [00:39:04]KKMCreateOFDPacket done [00:39:04]NVStorageSaveData kkm_last_timestamp [00:39:04]File name is /storage/kkm_last_timestamp [00:39:04]Write 4 bytes [00:39:04]NVStorageSaveData done [00:39:04]ExternCall_PrintAddStr [00:39:04]wPrintStart [00:39:04]Write to MH i2c: 01 00 00 6F 02 71 [00:39:04]Write i2c OK [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: 01 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: 01 07 00 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: 01 07 00 6F 02 00 00 00 00 00 FF 0F 86 [00:39:04]RasterBufferAndPrint [00:39:04]line Счет N : (3)129565 [00:39:04]line ИНН: 02508201610067 [00:39:04]line Контрольно-Кассовый Чек [00:39:04]line ПРОДАЖА [00:39:04]line Товар: 5449000000439 [00:39:04]line Напиток Кока-Кола 1,5л [00:39:04]line 1.000 * 155.00 [00:39:04]line = 155.00 [00:39:04]line НДС 12% НСП 1% [00:39:04]line > о реализуемом товаре [00:39:04]line ИТОГО: 155.00 [00:39:04]line НСП 1% : 1.37 [00:39:04]line НДС 12% : 16.46 [00:39:04]line Наличными: 155.00 [00:39:04]line Безнал.: 0.00 [00:39:04]line Место: АЗС № 132 "Партнер Нефть" [00:39:04]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:39:04]line СНО: Общий режим [00:39:04]line Чек 3 15.07.2024 00:39 [00:39:04]line Смена: 497 ФФД: 1.0 [00:39:04]line ЗНМ: 0300000132 [00:39:04]line РНМ: 0000000000091208 [00:39:04]line Версия ККМ: 001 [00:39:04]line ФМ: 0000000000874857 [00:39:04]line ФД: 57108 [00:39:04]line ФПД: 223094541881368 [00:39:04]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T003903&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57108&fm=223094541881368&tin=02508201610067®Number=0000000000091208&sum=15500 [00:39:04]line 0 [00:39:04]written 0, free lines is 4095 [00:39:04]OFD Sender: Processing packet 57108 [packets to send 38, broken 37] [00:39:04]ProducePacketName [00:39:04]name=ofd_packets/00057108 [00:39:04]OFD Sender: To server: pG, [00:39:04]CommunicateWithHost lk.salyk.kg:30040 [00:39:04]ConnectInit lk.salyk.kg [00:39:04]Connected sock=10 [00:39:04]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 85 32 24 01 D4 1D 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 8C 3C 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 89 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 6E 06 00 00 00 00 07 04 06 00 8C 3C 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 03 00 00 00 F4 03 04 00 A7 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 14 DF 00 00 35 04 06 00 CA E7 3E EB 90 18 72 62 03 2A 9F 96 88 34 [00:39:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 00 73 47 00 C4 4C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 14 DF 00 00 F4 03 04 00 F7 15 94 66 B6 04 01 00 00 9D 62 0B 2A 12 3F F9 40 [00:39:04]CommunicateWithHost err = 0 [00:39:04]CheckOFDResponse [00:39:04]1017 (14) - 77093643461234 [00:39:04]1041 (16) - 0000000000874857 [00:39:04]1040 (4) - 57108 [00:39:04]1012 (4) - 14.07.2024 18:16 [00:39:04]1206 (1) - 0 [00:39:04]OFD Sender: Remove packet 57108 [00:39:04]ProducePacketName [00:39:04]name=ofd_packets/00057108 [00:39:04]NVStorageDeleteData [00:39:04]Write to MH i2c: 01 00 00 97 02 99 [00:39:04]Write i2c OK [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: 01 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: 01 07 00 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: 01 07 00 97 02 00 00 00 00 00 24 0D D1 [00:39:04]RasterBufferAndPrint [00:39:04]line [00:39:04]line [00:39:04]line [00:39:04]line [00:39:04]line [00:39:04]written 0, free lines is 3383 [00:39:04]MH_Cut [00:39:04]Write to MH i2c: D1 01 00 9E 02 01 72 [00:39:04]Write i2c OK [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: D1 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: D1 01 00 [00:39:04]MH_I2C_Read... [00:39:04]Read from MH i2c: D1 01 00 9E 02 00 71 [00:39:04]Write to MH i2c: 01 00 00 9F 02 A1 [00:39:04]Write i2c OK [00:39:04]MH_I2C_Read... [00:39:05]OFD Sender: No OFD packet to send [00:39:05]*** Cut start [00:39:05]*** Partial cut [00:39:05]*** CUTSNS_PIN = 1 [00:39:05]*** CUTSNS_PIN = 0 [00:39:05]*** Brake cut motor [00:39:06]Read from MH i2c: 01 [00:39:06]MH_I2C_Read... [00:39:06]*** Stop cut motor [00:39:06]*** Cut end [00:39:06]Read from MH i2c: 01 07 00 [00:39:06]MH_I2C_Read... [00:39:06]Read from MH i2c: 01 07 00 9F 02 00 00 00 00 00 FF 0F B6 [00:39:06]process_action close_receipt done [00:39:06]requested_data is exist [00:39:06]produce_requested_data [00:39:06]requested_item fm.sn is exist - process it [00:39:06]wFMCommunicate request_size=4 [00:39:06]MH_SAM_APDU [00:39:06]CAPDU: 80 11 00 00 [00:39:06]Write to MH i2c: E2 08 00 A0 02 80 11 00 00 00 00 00 00 1C [00:39:06]Write i2c OK [00:39:06]MH_I2C_Read... [00:39:06]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:39:06]Read from MH i2c: E2 [00:39:06]MH_I2C_Read... [00:39:06]Read from MH i2c: E2 17 00 [00:39:06]MH_I2C_Read... [00:39:06]Read from MH i2c: E2 17 00 A0 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 76 [00:39:06]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:39:06]wFMCommunicate OK [00:39:06]requested_item fd.num is exist - process it [00:39:06]SAM_PROTO_GetFieldsCounters [00:39:06]wFMCommunicate request_size=4 [00:39:06]MH_SAM_APDU [00:39:06]CAPDU: 80 13 00 00 [00:39:06]Write to MH i2c: E2 08 00 A1 02 80 13 00 00 00 00 00 00 1F [00:39:06]Write i2c OK [00:39:06]MH_I2C_Read... [00:39:06]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:39:06]Read from MH i2c: E2 [00:39:06]MH_I2C_Read... [00:39:06]Read from MH i2c: E2 62 00 [00:39:06]MH_I2C_Read... [00:39:06]Read from MH i2c: E2 62 00 A1 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 14 DF 00 00 0E 04 04 00 F1 01 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 30 [00:39:06]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 14 DF 00 00 0E 04 04 00 F1 01 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 [00:39:06]wFMCommunicate OK [00:39:06]SAM_PROTO_GetFieldsCounters done [00:39:06]requested_item shift.num is exist - process it [00:39:06]requested_item shift.opened is exist - process it [00:39:06]req_shift_opened [00:39:06]FM_GetShiftState [00:39:06]SAM_PROTO_GetShiftState [00:39:06]wFMCommunicate request_size=4 [00:39:06]MH_SAM_APDU [00:39:06]CAPDU: 80 13 01 00 [00:39:06]Write to MH i2c: E2 08 00 A2 02 80 13 01 00 00 00 00 00 21 [00:39:06]Write i2c OK [00:39:06]MH_I2C_Read... [00:39:06]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:39:06]Read from MH i2c: E2 [00:39:06]MH_I2C_Read... [00:39:06]Read from MH i2c: E2 0E 00 [00:39:06]MH_I2C_Read... [00:39:06]Read from MH i2c: E2 0E 00 A2 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 9A [00:39:06]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:39:06]wFMCommunicate OK [00:39:06]SAM_PROTO_GetShiftState done [00:39:06]FM_GetShiftState done [00:39:06]req_shift_opened done [00:39:06]requested_item shift.open_date is exist - process it [00:39:06]req_shift_open_date [00:39:06]req_shift_open_date done [00:39:06]requested_item shift.sale.total is exist - process it [00:39:06]SAM_PROTO_GetShiftData [00:39:06]wFMCommunicate request_size=4 [00:39:06]MH_SAM_APDU [00:39:06]CAPDU: 80 13 02 00 [00:39:06]Write to MH i2c: E2 08 00 A3 02 80 13 02 00 00 00 00 00 23 [00:39:06]Write i2c OK [00:39:06]MH_I2C_Read... [00:39:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:39:07]Read from MH i2c: E2 [00:39:07]MH_I2C_Read... [00:39:07]Read from MH i2c: E2 FD 00 [00:39:07]MH_I2C_Read... [00:39:07]Read from MH i2c: E2 FD 00 A3 02 00 AB 04 AA 04 A7 04 6E 04 04 00 03 00 00 00 69 04 98 00 6F 04 04 00 03 00 00 00 B1 04 03 00 8C 36 01 70 04 02 00 C4 86 72 04 02 00 C8 AF 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FB 20 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 BF 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3F [00:39:07]RAPDU: AB 04 AA 04 A7 04 6E 04 04 00 03 00 00 00 69 04 98 00 6F 04 04 00 03 00 00 00 B1 04 03 00 8C 36 01 70 04 02 00 C4 86 72 04 02 00 C8 AF 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 FB 20 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 BF 02 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:39:07]wFMCommunicate OK [00:39:07]wFMCommunicate request_size=4 [00:39:07]MH_SAM_APDU [00:39:07]CAPDU: 80 17 00 00 [00:39:07]Write to MH i2c: E2 08 00 A4 02 80 17 00 00 00 00 00 00 26 [00:39:07]Write i2c OK [00:39:07]MH_I2C_Read... [00:39:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:39:07]Read from MH i2c: E2 [00:39:07]MH_I2C_Read... [00:39:07]Read from MH i2c: E2 FD 00 [00:39:07]MH_I2C_Read... [00:39:07]Read from MH i2c: E2 FD 00 A4 02 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 3B [00:39:07]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:39:07]wFMCommunicate OK [00:39:07]wFMCommunicate request_size=4 [00:39:07]MH_SAM_APDU [00:39:07]CAPDU: 80 17 00 00 [00:39:07]Write to MH i2c: E2 08 00 A5 02 80 17 00 00 00 00 00 00 27 [00:39:07]Write i2c OK [00:39:07]MH_I2C_Read... [00:39:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:39:07]Read from MH i2c: E2 [00:39:07]MH_I2C_Read... [00:39:07]Read from MH i2c: E2 FD 00 [00:39:07]MH_I2C_Read... [00:39:07]Read from MH i2c: E2 FD 00 A5 02 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D7 [00:39:07]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:39:08]wFMCommunicate OK [00:39:08]wFMCommunicate request_size=4 [00:39:08]MH_SAM_APDU [00:39:08]CAPDU: 80 17 00 00 [00:39:08]Write to MH i2c: E2 08 00 A6 02 80 17 00 00 00 00 00 00 28 [00:39:08]Write i2c OK [00:39:08]MH_I2C_Read... [00:39:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:39:08]Read from MH i2c: E2 [00:39:08]MH_I2C_Read... [00:39:08]Read from MH i2c: E2 FD 00 [00:39:08]MH_I2C_Read... [00:39:08]Read from MH i2c: E2 FD 00 A6 02 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 AE [00:39:08]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:39:08]wFMCommunicate OK [00:39:08]wFMCommunicate request_size=4 [00:39:08]MH_SAM_APDU [00:39:08]CAPDU: 80 17 00 00 [00:39:08]Write to MH i2c: E2 08 00 A7 02 80 17 00 00 00 00 00 00 29 [00:39:08]Write i2c OK [00:39:08]MH_I2C_Read... [00:39:08]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 197! [00:39:08]Read from MH i2c: E2 [00:39:08]MH_I2C_Read... [00:39:08]Read from MH i2c: E2 C8 00 [00:39:08]MH_I2C_Read... [00:39:08]Read from MH i2c: E2 C8 00 A7 02 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 0C [00:39:08]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:39:08]wFMCommunicate OK [00:39:08]SAM_PROTO_GetShiftData done [00:39:08]requested_item shift.sale.total_cash is exist - process it [00:39:08]requested_item shift.sale_refund.total is exist - process it [00:39:08]requested_item shift.sale_refund.total_cash is exist - process it [00:39:08]produce_requested_data done [00:39:08]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57108,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":795.00,"shift.sale.total_cash":345.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:39:08]process_action_free close_receipt [00:39:08]json_value_free [00:39:08]json_value_free done [00:39:08]process_json_proto returns [00:39:08]Send response to host [00:39:08]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57108,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":795.00,"shift.sale.total_cash":345.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:39:08]free response buf [00:39:08]execute_script done [00:39:08]execute_script returns [00:39:08]free content buf [00:39:08]Sock 8.Close socket [00:39:08]Sock 8.Thread stoped [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:25]accept exits with 9 [00:40:25]New connection [00:40:25]New thread 3067067748 created [00:40:25]Thread 3066924388 joined [00:40:25]Waiting for new connection... [00:40:25] Sock 9.Parse request [00:40:25]Sock 9.Check first char [00:40:25]Sock 9.First char is OK [00:40:25]request: POST /json_proto HTTP/1.0 [00:40:25]Method: POST [00:40:25]URL: /json_proto [00:40:25]Method is POST - this is cgi request [00:40:25]url: /json_proto [00:40:25]query_string will be loaded in cgi processing [00:40:25]execute_cgi json_proto POST (null) [00:40:25]execute_cgi path=json_proto method=POST [00:40:25]POST find Content-Length [00:40:25]Host: 172.17.39.4:8080 [00:40:25]Content-Length: 1173 [00:40:25]Content-Type: application/json [00:40:25] [00:40:25]POST finish read [00:40:25]Found Content-Length = 1173 [00:40:25]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129566", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:40:25]execute_script... [00:40: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)129566", "tax_sys" : 0, "items" : [ { "code": "4700000160051", "name": "\u0412\u043E\u0434\u0430 \u042B\u0441\u0441\u044B\u043A \u0410\u0442\u0430 1\u043B", "price" : 50.00, "quantity" : 1.000, "sum" : 50.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870001570095", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 2\u043B", "price" : 210.00, "quantity" : 1.000, "sum" : 210.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 260.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:40:25]POST & json_proto [00:40:25]process_json_proto [00:40:25]json parsed OK: [00:40:25]protocol is kg_v1.0 [00:40:25]action value=close_receipt [00:40:25]process_action close_receipt [00:40:25]cmd_close_receipt [00:40:25]MH_GetDate [00:40:25]Write to MH i2c: F0 00 00 A8 02 99 [00:40:25]Write i2c OK [00:40:25]MH_I2C_Read... [00:40:25]Read from MH i2c: F0 [00:40:25]MH_I2C_Read... [00:40:25]Read from MH i2c: F0 09 00 [00:40:25]MH_I2C_Read... [00:40:25]Read from MH i2c: F0 09 00 A8 02 00 FA 6F 94 66 2D 25 5D 64 18 [00:40:25]GetLastDocTimeStamp 1721003943 [00:40:25]current date 1721004026 [00:40:25]FM_GetShiftState [00:40:25]SAM_PROTO_GetShiftState [00:40:25]wFMCommunicate request_size=4 [00:40:25]MH_SAM_APDU [00:40:25]CAPDU: 80 13 01 00 [00:40:25]Write to MH i2c: E2 08 00 A9 02 80 13 01 00 00 00 00 00 28 [00:40:25]Write i2c OK [00:40:25]MH_I2C_Read... [00:40:26]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:40:26]Read from MH i2c: E2 [00:40:26]MH_I2C_Read... [00:40:26]Read from MH i2c: E2 0E 00 [00:40:26]MH_I2C_Read... [00:40:26]Read from MH i2c: E2 0E 00 A9 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A1 [00:40:26]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:40:26]wFMCommunicate OK [00:40:26]SAM_PROTO_GetShiftState done [00:40:26]FM_GetShiftState done [00:40:26]opened in 1721003525 [00:40:26]opened+sec_in_day 1721089925 [00:40:26]quantity*price = 5000 [00:40:26]sum+1 = 5001 [00:40:26]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870001570095 Напиток Pepsi 2л 1.000 * 210.00 = 210.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 0.00 Безнал.: 260.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 4 15.07.2024 00:40 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57109 ФПД: 148390845985415 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T004027&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57109&fm=148390845985415&tin=02508201610067®Number=0000000000091208&sum=26000 0 [00:40:27]StoreToDocumentArchive [00:40:27]shift 497 fd 57109 [00:40:27]save to /storage/0497/doc_00057109 [00:40:27]save last doc name /storage/0497/doc_00057109 to /storage/kkm_last_doc_name [00:40:27]save OK [00:40:27]Clear old archive folders... [00:40:27]ProcessDocumentItem done err = 0, tmpTLVsize=368 [00:40:27]tlvbuf is 00979800 [00:40:27]SAM_PROTO_ClearQueue [00:40:27]wFMCommunicate request_size=4 [00:40:27]MH_SAM_APDU [00:40:27]CAPDU: 80 09 00 00 [00:40:27]Write to MH i2c: E2 08 00 B6 02 80 09 00 00 00 00 00 00 2A [00:40:27]Write i2c OK [00:40:27]MH_I2C_Read... [00:40:27]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:40:27]Read from MH i2c: E2 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 03 00 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 03 00 B6 02 00 90 00 2C [00:40:27]RAPDU: 90 00 [00:40:27]wFMCommunicate OK [00:40:27]SAM_PROTO_ClearQueue done [00:40:27]KKMCreateOFDPacket [00:40:27]OFDProtocolAddRootSTLVToBuf [00:40:27]FM_MakeSignedData [00:40:27]FM_MakeSignedData [00:40:27]SAM_PROTO_SignData [00:40:27]wFMCommunicate request_size=4 [00:40:27]MH_SAM_APDU [00:40:27]CAPDU: 80 0D 01 02 [00:40:27]Write to MH i2c: E2 08 00 B7 02 80 0D 01 02 00 00 00 00 32 [00:40:27]Write i2c OK [00:40:27]MH_I2C_Read... [00:40:27]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:40:27]Read from MH i2c: E2 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 03 00 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 03 00 B7 02 00 90 00 2D [00:40:27]RAPDU: 90 00 [00:40:27]wFMCommunicate OK [00:40:27]wFMCommunicate request_size=255 [00:40:27]MH_SAM_APDU [00:40:27]CAPDU: 80 0D 02 02 FA 03 00 70 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 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 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 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 [00:40:27]Write to MH i2c: E2 02 01 B8 02 80 0D 02 02 FA 00 03 00 70 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 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 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 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 00 00 00 [00:40:27]Write i2c OK [00:40:27]MH_I2C_Read... [00:40:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:40:27]Read from MH i2c: E2 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 03 00 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 03 00 B8 02 00 90 00 2E [00:40:27]RAPDU: 90 00 [00:40:27]wFMCommunicate OK [00:40:27]wFMCommunicate request_size=127 [00:40:27]MH_SAM_APDU [00:40:27]CAPDU: 80 0D 02 02 7A 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FB 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 15 DF 00 00 35 04 06 00 86 F5 EF A9 B2 87 [00:40:27]Write to MH i2c: E2 82 00 B9 02 80 0D 02 02 7A 00 03 06 00 C9 0A 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FB 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 15 DF 00 00 35 04 06 00 86 F5 EF A9 B2 87 00 00 D0 [00:40:27]Write i2c OK [00:40:27]MH_I2C_Read... [00:40:27]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:40:27]Read from MH i2c: E2 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 03 00 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 03 00 B9 02 00 90 00 2F [00:40:27]RAPDU: 90 00 [00:40:27]wFMCommunicate OK [00:40:27]wFMCommunicate request_size=4 [00:40:27]MH_SAM_APDU [00:40:27]CAPDU: 80 0D 03 02 [00:40:27]Write to MH i2c: E2 08 00 BA 02 80 0D 03 02 00 00 00 00 37 [00:40:27]Write i2c OK [00:40:27]MH_I2C_Read... [00:40:27]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:40:27]Read from MH i2c: E2 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 0B 00 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 0B 00 BA 02 00 43 BA 12 E5 D0 05 30 33 90 00 64 [00:40:27]RAPDU: 43 BA 12 E5 D0 05 30 33 90 00 [00:40:27]wFMCommunicate OK [00:40:27]SAM_PROTO_SignData done [00:40:27]FM_MakeSignedData done [00:40:27]CreateOFDProtocolMessage [00:40:27]wFMCommunicate request_size=4 [00:40:27]MH_SAM_APDU [00:40:27]CAPDU: 80 11 00 00 [00:40:27]Write to MH i2c: E2 08 00 BB 02 80 11 00 00 00 00 00 00 37 [00:40:27]Write i2c OK [00:40:27]MH_I2C_Read... [00:40:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:40:27]Read from MH i2c: E2 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 17 00 [00:40:27]MH_I2C_Read... [00:40:27]Read from MH i2c: E2 17 00 BB 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 91 [00:40:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:40:27]wFMCommunicate OK [00:40:27]CreateOFDProtocolMessage done [00:40:27]OFDSenderStorePacket 57109 [00:40:27]StoreOFDPacket docnum=57109 [00:40:27]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 84 01 00 00 CE D8 7C 01 06 62 5A 03 01 00 03 00 70 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 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 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FB 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 15 DF 00 00 35 04 06 00 86 F5 EF A9 B2 87 43 BA 12 E5 D0 05 30 33 [00:40:27]CheckFolder [00:40:27]dirname=/storage/ofd_packets [00:40:27]CheckFolder done [00:40:27]ProducePacketName [00:40:27]name=ofd_packets/00057109 [00:40:27]NVStorageSaveData ofd_packets/00057109 [00:40:27]File name is /storage/ofd_packets/00057109 [00:40:27]Write 418 bytes [00:40:27]NVStorageSaveData done [00:40:27]OFDSenderStorePacket done [00:40:27]KKMCreateOFDPacket done [00:40:28]NVStorageSaveData kkm_last_timestamp [00:40:28]File name is /storage/kkm_last_timestamp [00:40:28]Write 4 bytes [00:40:28]NVStorageSaveData done [00:40:28]ExternCall_PrintAddStr [00:40:28]wPrintStart [00:40:28]Write to MH i2c: 01 00 00 BC 02 BE [00:40:28]OFD Sender: Processing packet 57109 [packets to send 38, broken 37] [00:40:28]ProducePacketName [00:40:28]name=ofd_packets/00057109 [00:40:28]OFD Sender: To server: pG, [00:40:28]CommunicateWithHost lk.salyk.kg:30040 [00:40:28]ConnectInit lk.salyk.kg [00:40:28]Write i2c OK [00:40:28]MH_I2C_Read... [00:40:28]Read from MH i2c: 01 [00:40:28]MH_I2C_Read... [00:40:28]Read from MH i2c: 01 07 00 [00:40:28]MH_I2C_Read... [00:40:28]Read from MH i2c: 01 07 00 BC 02 00 00 00 00 00 FF 0F D3 [00:40:28]RasterBufferAndPrint [00:40:28]line Счет N : (3)129566 [00:40:28]line ИНН: 02508201610067 [00:40:28]line Контрольно-Кассовый Чек [00:40:28]line ПРОДАЖА [00:40:28]line Товар: 4700000160051 [00:40:28]line Вода Ыссык Ата 1л [00:40:28]line 1.000 * 50.00 [00:40:28]line = 50.00 [00:40:28]line НДС 12% НСП 1% [00:40:28]line > о реализуемом товаре [00:40:28]line Товар: 4870001570095 [00:40:28]line Напиток Pepsi 2л [00:40:28]line 1.000 * 210.00 [00:40:28]line = 210.00 [00:40:28]line НДС 12% НСП 1% [00:40:28]line > о реализуемом товаре [00:40:28]line ИТОГО: 260.00 [00:40:28]line НСП 1% : 2.30 [00:40:28]line НДС 12% : 27.61 [00:40:28]line Наличными: 0.00 [00:40:28]line Безнал.: 260.00 [00:40:28]line Место: АЗС № 132 "Партнер Нефть" [00:40:28]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:40:28]line СНО: Общий режим [00:40:28]line Чек 4 15.07.2024 00:40 [00:40:28]line Смена: 497 ФФД: 1.0 [00:40:28]line ЗНМ: 0300000132 [00:40:28]line РНМ: 0000000000091208 [00:40:28]line Версия ККМ: 001 [00:40:28]line Платежная система: АКБ Кыргызстан [00:40:28]line ФМ: 0000000000874857 [00:40:28]line ФД: 57109 [00:40:28]line ФПД: 148390845985415 [00:40:28]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T004027&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57109&fm=148390845985415&tin=02508201610067®Number=0000000000091208&sum=26000 [00:40:28]line 0 [00:40:28]written 0, free lines is 4095 [00:40:28]Connected sock=10 [00:40:28]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 84 01 00 00 CE D8 7C 01 06 62 5A 03 01 00 03 00 70 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 31 36 30 30 35 31 06 04 1E 00 D0 92 D0 BE D0 B4 D0 B0 20 D0 AB D1 81 D1 81 D1 8B D0 BA 20 D0 90 D1 82 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 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 39 35 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 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 08 52 00 00 00 00 13 04 06 00 08 52 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 00 00 00 00 00 00 39 04 06 00 90 65 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 04 00 00 00 F4 03 04 00 FB 6F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 15 DF 00 00 35 04 06 00 86 F5 EF A9 B2 87 43 BA 12 E5 D0 05 30 33 [00:40:28]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 80 09 47 00 A4 1C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 15 DF 00 00 F4 03 04 00 4A 16 94 66 B6 04 01 00 00 1B D4 48 1E 54 56 59 68 [00:40:28]CommunicateWithHost err = 0 [00:40:28]CheckOFDResponse [00:40:28]1017 (14) - 77093643461234 [00:40:28]1041 (16) - 0000000000874857 [00:40:28]1040 (4) - 57109 [00:40:28]1012 (4) - 14.07.2024 18:17 [00:40:28]1206 (1) - 0 [00:40:28]OFD Sender: Remove packet 57109 [00:40:28]ProducePacketName [00:40:28]name=ofd_packets/00057109 [00:40:28]NVStorageDeleteData [00:40:28]Write to MH i2c: 01 00 00 EC 02 EE [00:40:28]Write i2c OK [00:40:28]MH_I2C_Read... [00:40:28]Read from MH i2c: 01 [00:40:28]MH_I2C_Read... [00:40:28]Read from MH i2c: 01 07 00 [00:40:28]MH_I2C_Read... [00:40:28]Read from MH i2c: 01 07 00 EC 02 00 00 00 00 00 9E 0C 9F [00:40:28]RasterBufferAndPrint [00:40:28]line [00:40:28]line [00:40:28]line [00:40:28]line [00:40:28]line [00:40:28]written 0, free lines is 3242 [00:40:28]MH_Cut [00:40:28]Write to MH i2c: D1 01 00 F3 02 01 C7 [00:40:28]Write i2c OK [00:40:28]MH_I2C_Read... [00:40:28]Read from MH i2c: D1 [00:40:28]MH_I2C_Read... [00:40:28]Read from MH i2c: D1 01 00 [00:40:28]MH_I2C_Read... [00:40:28]Read from MH i2c: D1 01 00 F3 02 00 C6 [00:40:28]Write to MH i2c: 01 00 00 F4 02 F6 [00:40:28]Write i2c OK [00:40:28]MH_I2C_Read... [00:40:28]OFD Sender: No OFD packet to send [00:40:29]*** Cut start [00:40:29]*** Partial cut [00:40:29]*** CUTSNS_PIN = 1 [00:40:29]*** CUTSNS_PIN = 0 [00:40:29]*** Brake cut motor [00:40:30]Read from MH i2c: 01 [00:40:30]MH_I2C_Read... [00:40:30]*** Stop cut motor [00:40:30]*** Cut end [00:40:30]Read from MH i2c: 01 07 00 [00:40:30]MH_I2C_Read... [00:40:30]Read from MH i2c: 01 07 00 F4 02 00 00 00 00 00 FF 0F 0B [00:40:30]process_action close_receipt done [00:40:30]requested_data is exist [00:40:30]produce_requested_data [00:40:30]requested_item fm.sn is exist - process it [00:40:30]wFMCommunicate request_size=4 [00:40:30]MH_SAM_APDU [00:40:30]CAPDU: 80 11 00 00 [00:40:30]Write to MH i2c: E2 08 00 F5 02 80 11 00 00 00 00 00 00 71 [00:40:30]Write i2c OK [00:40:30]MH_I2C_Read... [00:40:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:40:30]Read from MH i2c: E2 [00:40:30]MH_I2C_Read... [00:40:30]Read from MH i2c: E2 17 00 [00:40:30]MH_I2C_Read... [00:40:30]Read from MH i2c: E2 17 00 F5 02 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 CB [00:40:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:40:30]wFMCommunicate OK [00:40:30]requested_item fd.num is exist - process it [00:40:30]SAM_PROTO_GetFieldsCounters [00:40:30]wFMCommunicate request_size=4 [00:40:30]MH_SAM_APDU [00:40:30]CAPDU: 80 13 00 00 [00:40:30]Write to MH i2c: E2 08 00 F6 02 80 13 00 00 00 00 00 00 74 [00:40:30]Write i2c OK [00:40:30]MH_I2C_Read... [00:40:30]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:40:30]Read from MH i2c: E2 [00:40:30]MH_I2C_Read... [00:40:30]Read from MH i2c: E2 62 00 [00:40:30]MH_I2C_Read... [00:40:30]Read from MH i2c: E2 62 00 F6 02 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 15 DF 00 00 0E 04 04 00 F1 01 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 89 [00:40:30]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 15 DF 00 00 0E 04 04 00 F1 01 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 [00:40:30]wFMCommunicate OK [00:40:30]SAM_PROTO_GetFieldsCounters done [00:40:30]requested_item shift.num is exist - process it [00:40:30]requested_item shift.opened is exist - process it [00:40:30]req_shift_opened [00:40:30]FM_GetShiftState [00:40:30]SAM_PROTO_GetShiftState [00:40:30]wFMCommunicate request_size=4 [00:40:30]MH_SAM_APDU [00:40:30]CAPDU: 80 13 01 00 [00:40:30]Write to MH i2c: E2 08 00 F7 02 80 13 01 00 00 00 00 00 76 [00:40:30]Write i2c OK [00:40:30]MH_I2C_Read... [00:40:30]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:40:30]Read from MH i2c: E2 [00:40:30]MH_I2C_Read... [00:40:30]Read from MH i2c: E2 0E 00 [00:40:30]MH_I2C_Read... [00:40:30]Read from MH i2c: E2 0E 00 F7 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 EF [00:40:30]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:40:30]wFMCommunicate OK [00:40:30]SAM_PROTO_GetShiftState done [00:40:30]FM_GetShiftState done [00:40:30]req_shift_opened done [00:40:30]requested_item shift.open_date is exist - process it [00:40:30]req_shift_open_date [00:40:30]req_shift_open_date done [00:40:30]requested_item shift.sale.total is exist - process it [00:40:30]SAM_PROTO_GetShiftData [00:40:30]wFMCommunicate request_size=4 [00:40:30]MH_SAM_APDU [00:40:30]CAPDU: 80 13 02 00 [00:40:30]Write to MH i2c: E2 08 00 F8 02 80 13 02 00 00 00 00 00 78 [00:40:30]Write i2c OK [00:40:30]MH_I2C_Read... [00:40:30]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:40:30]Read from MH i2c: E2 [00:40:30]MH_I2C_Read... [00:40:30]Read from MH i2c: E2 FD 00 [00:40:30]MH_I2C_Read... [00:40:30]Read from MH i2c: E2 FD 00 F8 02 00 AC 04 AA 04 A8 04 6E 04 04 00 04 00 00 00 69 04 99 00 6F 04 04 00 04 00 00 00 B1 04 03 00 1C 9C 01 70 04 02 00 C4 86 72 04 03 00 58 15 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 C4 2B 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 A5 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 42 [00:40:30]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 04 00 00 00 69 04 99 00 6F 04 04 00 04 00 00 00 B1 04 03 00 1C 9C 01 70 04 02 00 C4 86 72 04 03 00 58 15 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 C4 2B 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 A5 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [00:40:30]wFMCommunicate OK [00:40:30]wFMCommunicate request_size=4 [00:40:30]MH_SAM_APDU [00:40:30]CAPDU: 80 17 00 00 [00:40:30]Write to MH i2c: E2 08 00 F9 02 80 17 00 00 00 00 00 00 7B [00:40:30]Write i2c OK [00:40:30]MH_I2C_Read... [00:40:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:40:31]Read from MH i2c: E2 [00:40:31]MH_I2C_Read... [00:40:31]Read from MH i2c: E2 FD 00 [00:40:31]MH_I2C_Read... [00:40:31]Read from MH i2c: E2 FD 00 F9 02 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 90 [00:40:31]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [00:40:31]wFMCommunicate OK [00:40:31]wFMCommunicate request_size=4 [00:40:31]MH_SAM_APDU [00:40:31]CAPDU: 80 17 00 00 [00:40:31]Write to MH i2c: E2 08 00 FA 02 80 17 00 00 00 00 00 00 7C [00:40:31]Write i2c OK [00:40:31]MH_I2C_Read... [00:40:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:40:31]Read from MH i2c: E2 [00:40:31]MH_I2C_Read... [00:40:31]Read from MH i2c: E2 FD 00 [00:40:31]MH_I2C_Read... [00:40:31]Read from MH i2c: E2 FD 00 FA 02 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 3D [00:40:31]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [00:40:31]wFMCommunicate OK [00:40:31]wFMCommunicate request_size=4 [00:40:31]MH_SAM_APDU [00:40:31]CAPDU: 80 17 00 00 [00:40:31]Write to MH i2c: E2 08 00 FB 02 80 17 00 00 00 00 00 00 7D [00:40:31]Write i2c OK [00:40:31]MH_I2C_Read... [00:40:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:40:31]Read from MH i2c: E2 [00:40:31]MH_I2C_Read... [00:40:31]Read from MH i2c: E2 FD 00 [00:40:31]MH_I2C_Read... [00:40:31]Read from MH i2c: E2 FD 00 FB 02 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 F2 [00:40:31]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [00:40:31]wFMCommunicate OK [00:40:31]wFMCommunicate request_size=4 [00:40:31]MH_SAM_APDU [00:40:31]CAPDU: 80 17 00 00 [00:40:31]Write to MH i2c: E2 08 00 FC 02 80 17 00 00 00 00 00 00 7E [00:40:31]Write i2c OK [00:40:31]MH_I2C_Read... [00:40:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:40:31]Read from MH i2c: E2 [00:40:31]MH_I2C_Read... [00:40:31]Read from MH i2c: E2 C9 00 [00:40:31]MH_I2C_Read... [00:40:31]Read from MH i2c: E2 C9 00 FC 02 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 62 [00:40:31]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:40:31]wFMCommunicate OK [00:40:31]SAM_PROTO_GetShiftData done [00:40:31]requested_item shift.sale.total_cash is exist - process it [00:40:31]requested_item shift.sale_refund.total is exist - process it [00:40:31]requested_item shift.sale_refund.total_cash is exist - process it [00:40:31]produce_requested_data done [00:40:31]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57109,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1055.00,"shift.sale.total_cash":345.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:40:31]process_action_free close_receipt [00:40:31]json_value_free [00:40:31]json_value_free done [00:40:31]process_json_proto returns [00:40:31]Send response to host [00:40:31]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57109,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1055.00,"shift.sale.total_cash":345.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:40:31]free response buf [00:40:31]execute_script done [00:40:31]execute_script returns [00:40:31]free content buf [00:40:31]Sock 9.Close socket [00:40:31]Sock 9.Thread stoped [00:40:33]OFD Sender: No OFD packet to send [00:40:38]OFD Sender: No OFD packet to send [00:40:43]OFD Sender: No OFD packet to send [00:40:48]OFD Sender: No OFD packet to send [00:40:53]OFD Sender: No OFD packet to send [00:40:58]OFD Sender: No OFD packet to send [00:41:03]OFD Sender: No OFD packet to send [00:41:08]OFD Sender: No OFD packet to send [00:41:13]OFD Sender: No OFD packet to send [00:41:18]OFD Sender: No OFD packet to send [00:41:23]OFD Sender: No OFD packet to send [00:41:29]OFD Sender: No OFD packet to send [00:41:34]OFD Sender: No OFD packet to send [00:41:39]OFD Sender: No OFD packet to send [00:41:44]OFD Sender: No OFD packet to send [00:41:49]OFD Sender: No OFD packet to send [00:41:54]OFD Sender: No OFD packet to send [00:41:59]OFD Sender: No OFD packet to send [00:42:04]OFD Sender: No OFD packet to send [00:42:09]OFD Sender: No OFD packet to send [00:42:14]OFD Sender: No OFD packet to send [00:42:19]OFD Sender: No OFD packet to send [00:42:24]OFD Sender: No OFD packet to send [00:42:29]OFD Sender: No OFD packet to send [00:42:34]OFD Sender: No OFD packet to send [00:42:39]OFD Sender: No OFD packet to send [00:42:44]OFD Sender: No OFD packet to send [00:42:49]OFD Sender: No OFD packet to send [00:42:54]OFD Sender: No OFD packet to send [00:42:59]OFD Sender: No OFD packet to send [00:43:04]OFD Sender: No OFD packet to send [00:43:09]OFD Sender: No OFD packet to send [00:43:14]OFD Sender: No OFD packet to send [00:43:19]OFD Sender: No OFD packet to send [00:43:24]OFD Sender: No OFD packet to send [00:43:29]OFD Sender: No OFD packet to send [00:43:34]OFD Sender: No OFD packet to send [00:43:39]OFD Sender: No OFD packet to send [00:43:44]OFD Sender: No OFD packet to send [00:43:49]OFD Sender: No OFD packet to send [00:43:54]OFD Sender: No OFD packet to send [00:43:59]OFD Sender: No OFD packet to send [00:44:04]OFD Sender: No OFD packet to send [00:44:09]OFD Sender: No OFD packet to send [00:44:14]OFD Sender: No OFD packet to send [00:44:19]OFD Sender: No OFD packet to send [00:44:24]OFD Sender: No OFD packet to send [00:44:29]OFD Sender: No OFD packet to send [00:44:34]OFD Sender: No OFD packet to send [00:44:39]OFD Sender: No OFD packet to send [00:44:44]OFD Sender: No OFD packet to send [00:44:49]OFD Sender: No OFD packet to send [00:44:54]OFD Sender: No OFD packet to send [00:44:59]OFD Sender: No OFD packet to send [00:45:01]accept exits with 8 [00:45:01]New connection [00:45:01]New thread 3066924388 created [00:45:01]Thread 3067067748 joined [00:45:01]Waiting for new connection... [00:45:01] Sock 8.Parse request [00:45:01]Sock 8.Check first char [00:45:01]Sock 8.First char is OK [00:45:01]request: POST /json_proto HTTP/1.0 [00:45:01]Method: POST [00:45:01]URL: /json_proto [00:45:01]Method is POST - this is cgi request [00:45:01]url: /json_proto [00:45:01]query_string will be loaded in cgi processing [00:45:01]execute_cgi json_proto POST (null) [00:45:01]execute_cgi path=json_proto method=POST [00:45:01]POST find Content-Length [00:45:01]Host: 172.17.39.4:8080 [00:45:01]Content-Length: 830 [00:45:01]Content-Type: application/json [00:45:01] [00:45:01]POST finish read [00:45:01]Found Content-Length = 830 [00:45:01]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129567", "tax_sys" : 0, "items" : [ { "code": "4870145004968", "name": "\u041F\u0438\u0432\u043E \u0416\u0430\u0442\u0435\u0446\u043A\u0438\u0439 \u0413\u0443\u0441\u044C 9 \u043A\u0440\u0435\u043F\u043A\u043E\u0435 0,43\u043B \u0436/\u0431", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:45:01]execute_script... [00:45: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)129567", "tax_sys" : 0, "items" : [ { "code": "4870145004968", "name": "\u041F\u0438\u0432\u043E \u0416\u0430\u0442\u0435\u0446\u043A\u0438\u0439 \u0413\u0443\u0441\u044C 9 \u043A\u0440\u0435\u043F\u043A\u043E\u0435 0,43\u043B \u0436/\u0431", "price" : 105.00, "quantity" : 1.000, "sum" : 105.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 105.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:45:01]POST & json_proto [00:45:01]process_json_proto [00:45:01]json parsed OK: [00:45:01]protocol is kg_v1.0 [00:45:01]action value=close_receipt [00:45:01]process_action close_receipt [00:45:01]cmd_close_receipt [00:45:01]MH_GetDate [00:45:01]Write to MH i2c: F0 00 00 FD 02 EE [00:45:01]Write i2c OK [00:45:01]MH_I2C_Read... [00:45:01]Read from MH i2c: F0 [00:45:01]MH_I2C_Read... [00:45:01]Read from MH i2c: F0 09 00 [00:45:01]MH_I2C_Read... [00:45:01]Read from MH i2c: F0 09 00 FD 02 00 0E 71 94 66 2D 25 5D 64 83 [00:45:01]GetLastDocTimeStamp 1721004027 [00:45:01]current date 1721004302 [00:45:01]FM_GetShiftState [00:45:01]SAM_PROTO_GetShiftState [00:45:01]wFMCommunicate request_size=4 [00:45:01]MH_SAM_APDU [00:45:01]CAPDU: 80 13 01 00 [00:45:01]Write to MH i2c: E2 08 00 FE 02 80 13 01 00 00 00 00 00 7D [00:45:01]Write i2c OK [00:45:01]MH_I2C_Read... [00:45:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:45:01]Read from MH i2c: E2 [00:45:01]MH_I2C_Read... [00:45:01]Read from MH i2c: E2 0E 00 [00:45:01]MH_I2C_Read... [00:45:01]Read from MH i2c: E2 0E 00 FE 02 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F6 [00:45:01]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:45:01]wFMCommunicate OK [00:45:01]SAM_PROTO_GetShiftState done [00:45:01]FM_GetShiftState done [00:45:01]opened in 1721003525 [00:45:01]opened+sec_in_day 1721089925 [00:45:01]quantity*price = 10500 [00:45:01]sum+1 = 10501 [00:45:01]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 105.00 НСП 1% : 0.93 НДС 12% : 11.15 Наличными: 105.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 5 15.07.2024 00:45 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57110 ФПД: 75766297283872 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T004502&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57110&fm=75766297283872&tin=02508201610067®Number=0000000000091208&sum=10500 0 [00:45:02]StoreToDocumentArchive [00:45:02]shift 497 fd 57110 [00:45:02]save to /storage/0497/doc_00057110 [00:45:02]save last doc name /storage/0497/doc_00057110 to /storage/kkm_last_doc_name [00:45:02]save OK [00:45:02]Clear old archive folders... [00:45:02]ProcessDocumentItem done err = 0, tmpTLVsize=306 [00:45:02]tlvbuf is 009A5C40 [00:45:02]SAM_PROTO_ClearQueue [00:45:02]wFMCommunicate request_size=4 [00:45:02]MH_SAM_APDU [00:45:02]CAPDU: 80 09 00 00 [00:45:02]Write to MH i2c: E2 08 00 0B 03 80 09 00 00 00 00 00 00 80 [00:45:02]Write i2c OK [00:45:02]MH_I2C_Read... [00:45:02]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:45:02]Read from MH i2c: E2 [00:45:02]MH_I2C_Read... [00:45:02]Read from MH i2c: E2 03 00 [00:45:02]MH_I2C_Read... [00:45:02]Read from MH i2c: E2 03 00 0B 03 00 90 00 82 [00:45:02]RAPDU: 90 00 [00:45:02]wFMCommunicate OK [00:45:02]SAM_PROTO_ClearQueue done [00:45:02]KKMCreateOFDPacket [00:45:02]OFDProtocolAddRootSTLVToBuf [00:45:02]FM_MakeSignedData [00:45:02]FM_MakeSignedData [00:45:02]SAM_PROTO_SignData [00:45:02]wFMCommunicate request_size=4 [00:45:02]MH_SAM_APDU [00:45:02]CAPDU: 80 0D 01 02 [00:45:02]Write to MH i2c: E2 08 00 0C 03 80 0D 01 02 00 00 00 00 88 [00:45:02]Write i2c OK [00:45:02]MH_I2C_Read... [00:45:02]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:45:02]Read from MH i2c: E2 [00:45:02]MH_I2C_Read... [00:45:02]Read from MH i2c: E2 03 00 [00:45:02]MH_I2C_Read... [00:45:02]Read from MH i2c: E2 03 00 0C 03 00 90 00 83 [00:45:02]RAPDU: 90 00 [00:45:02]wFMCommunicate OK [00:45:02]wFMCommunicate request_size=255 [00:45:02]MH_SAM_APDU [00:45:02]CAPDU: 80 0D 02 02 FA 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 36 38 06 04 40 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 39 20 D0 BA D1 80 D0 B5 D0 BF D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 0E 71 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 [00:45:02]Write to MH i2c: E2 02 01 0D 03 80 0D 02 02 FA 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 36 38 06 04 40 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 39 20 D0 BA D1 80 D0 B5 D0 BF D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 0E 71 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 00 8C [00:45:02]Write i2c OK [00:45:02]MH_I2C_Read... [00:45:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:45:03]Read from MH i2c: E2 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: E2 03 00 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: E2 03 00 0D 03 00 90 00 84 [00:45:03]RAPDU: 90 00 [00:45:03]wFMCommunicate OK [00:45:03]wFMCommunicate request_size=65 [00:45:03]MH_SAM_APDU [00:45:03]CAPDU: 80 0D 02 02 3C 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 16 DF 00 00 35 04 06 00 44 E8 B7 3C 4D 20 [00:45:03]Write to MH i2c: E2 44 00 0E 03 80 0D 02 02 3C 00 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 16 DF 00 00 35 04 06 00 44 E8 B7 3C 4D 20 00 00 5D [00:45:03]Write i2c OK [00:45:03]MH_I2C_Read... [00:45:03]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:45:03]Read from MH i2c: E2 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: E2 03 00 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: E2 03 00 0E 03 00 90 00 85 [00:45:03]RAPDU: 90 00 [00:45:03]wFMCommunicate OK [00:45:03]wFMCommunicate request_size=4 [00:45:03]MH_SAM_APDU [00:45:03]CAPDU: 80 0D 03 02 [00:45:03]Write to MH i2c: E2 08 00 0F 03 80 0D 03 02 00 00 00 00 8D [00:45:03]Write i2c OK [00:45:03]MH_I2C_Read... [00:45:03]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:45:03]Read from MH i2c: E2 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: E2 0B 00 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: E2 0B 00 0F 03 00 95 2A 03 9E E0 BE E6 8D 90 00 FF [00:45:03]RAPDU: 95 2A 03 9E E0 BE E6 8D 90 00 [00:45:03]wFMCommunicate OK [00:45:03]SAM_PROTO_SignData done [00:45:03]FM_MakeSignedData done [00:45:03]CreateOFDProtocolMessage [00:45:03]wFMCommunicate request_size=4 [00:45:03]MH_SAM_APDU [00:45:03]CAPDU: 80 11 00 00 [00:45:03]Write to MH i2c: E2 08 00 10 03 80 11 00 00 00 00 00 00 8D [00:45:03]Write i2c OK [00:45:03]MH_I2C_Read... [00:45:03]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:45:03]Read from MH i2c: E2 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: E2 17 00 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: E2 17 00 10 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E7 [00:45:03]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:45:03]wFMCommunicate OK [00:45:03]CreateOFDProtocolMessage done [00:45:03]OFDSenderStorePacket 57110 [00:45:03]StoreOFDPacket docnum=57110 [00:45:03]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 46 01 00 00 87 C0 3E 01 68 04 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 36 38 06 04 40 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 39 20 D0 BA D1 80 D0 B5 D0 BF D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 0E 71 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 16 DF 00 00 35 04 06 00 44 E8 B7 3C 4D 20 95 2A 03 9E E0 BE E6 8D [00:45:03]CheckFolder [00:45:03]dirname=/storage/ofd_packets [00:45:03]CheckFolder done [00:45:03]ProducePacketName [00:45:03]name=ofd_packets/00057110 [00:45:03]NVStorageSaveData ofd_packets/00057110 [00:45:03]File name is /storage/ofd_packets/00057110 [00:45:03]Write 356 bytes [00:45:03]NVStorageSaveData done [00:45:03]OFDSenderStorePacket done [00:45:03]KKMCreateOFDPacket done [00:45:03]NVStorageSaveData kkm_last_timestamp [00:45:03]File name is /storage/kkm_last_timestamp [00:45:03]Write 4 bytes [00:45:03]NVStorageSaveData done [00:45:03]ExternCall_PrintAddStr [00:45:03]wPrintStart [00:45:03]Write to MH i2c: 01 00 00 11 03 14 [00:45:03]Write i2c OK [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: 01 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: 01 07 00 [00:45:03]MH_I2C_Read... [00:45:03]Read from MH i2c: 01 07 00 11 03 00 00 00 00 00 FF 0F 29 [00:45:03]RasterBufferAndPrint [00:45:03]line Счет N : (3)129567 [00:45:03]line ИНН: 02508201610067 [00:45:03]line Контрольно-Кассовый Чек [00:45:03]line ПРОДАЖА [00:45:03]line Товар: 4870145004968 [00:45:03]line Пиво Жатецкий Гусь 9 крепкое 0,43л ж/б [00:45:03]line 1.000 * 105.00 [00:45:03]line = 105.00 [00:45:03]line НДС 12% НСП 1% [00:45:03]line > о реализуемом товаре [00:45:03]line ИТОГО: 105.00 [00:45:03]line НСП 1% : 0.93 [00:45:03]line НДС 12% : 11.15 [00:45:03]line Наличными: 105.00 [00:45:03]line Безнал.: 0.00 [00:45:03]line Место: АЗС № 132 "Партнер Нефть" [00:45:03]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:45:03]line СНО: Общий режим [00:45:03]line Чек 5 15.07.2024 00:45 [00:45:03]line Смена: 497 ФФД: 1.0 [00:45:03]line ЗНМ: 0300000132 [00:45:03]line РНМ: 0000000000091208 [00:45:03]line Версия ККМ: 001 [00:45:03]line ФМ: 0000000000874857 [00:45:03]line ФД: 57110 [00:45:03]line ФПД: 75766297283872 [00:45:03]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T004502&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57110&fm=75766297283872&tin=02508201610067®Number=0000000000091208&sum=10500 [00:45:03]line 0 [00:45:03]OFD Sender: Processing packet 57110 [packets to send 38, broken 37] [00:45:03]ProducePacketName [00:45:03]name=ofd_packets/00057110 [00:45:03]OFD Sender: To server: pG, [00:45:03]CommunicateWithHost lk.salyk.kg:30040 [00:45:03]ConnectInit lk.salyk.kg [00:45:03]written 0, free lines is 4095 [00:45:03]Connected sock=10 [00:45:03]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 46 01 00 00 87 C0 3E 01 68 04 5A 03 01 00 03 00 32 01 1E 04 01 00 01 23 04 84 00 8A 04 0D 00 34 38 37 30 31 34 35 30 30 34 39 36 38 06 04 40 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B0 D1 82 D0 B5 D1 86 D0 BA D0 B8 D0 B9 20 D0 93 D1 83 D1 81 D1 8C 20 39 20 D0 BA D1 80 D0 B5 D0 BF D0 BA D0 BE D0 B5 20 30 2C 34 33 D0 BB 20 D0 B6 2F D0 B1 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 04 29 00 00 00 00 13 04 06 00 04 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 04 29 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 5D 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 5B 04 00 00 00 00 07 04 06 00 04 29 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 05 00 00 00 F4 03 04 00 0E 71 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 16 DF 00 00 35 04 06 00 44 E8 B7 3C 4D 20 95 2A 03 9E E0 BE E6 8D [00:45:04]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E0 6F 47 00 4C 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 38 37 34 38 35 37 10 04 04 00 16 DF 00 00 F4 03 04 00 5E 17 94 66 B6 04 01 00 00 26 56 68 7A DC 37 32 DA [00:45:04]CommunicateWithHost err = 0 [00:45:04]CheckOFDResponse [00:45:04]1017 (14) - 77093643461234 [00:45:04]1041 (16) - 0000000000874857 [00:45:04]1040 (4) - 57110 [00:45:04]1012 (4) - 14.07.2024 18:22 [00:45:04]1206 (1) - 0 [00:45:04]OFD Sender: Remove packet 57110 [00:45:04]ProducePacketName [00:45:04]name=ofd_packets/00057110 [00:45:04]NVStorageDeleteData [00:45:04]Write to MH i2c: 01 00 00 3A 03 3D [00:45:04]Write i2c OK [00:45:04]MH_I2C_Read... [00:45:04]Read from MH i2c: 01 [00:45:04]MH_I2C_Read... [00:45:04]Read from MH i2c: 01 07 00 [00:45:04]MH_I2C_Read... [00:45:04]Read from MH i2c: 01 07 00 3A 03 00 00 00 00 00 FA 0C 4A [00:45:04]RasterBufferAndPrint [00:45:04]line [00:45:04]line [00:45:04]line [00:45:04]line [00:45:04]line [00:45:04]written 0, free lines is 3327 [00:45:04]MH_Cut [00:45:04]Write to MH i2c: D1 01 00 41 03 01 16 [00:45:04]Write i2c OK [00:45:04]MH_I2C_Read... [00:45:04]Read from MH i2c: D1 [00:45:04]MH_I2C_Read... [00:45:04]Read from MH i2c: D1 01 00 [00:45:04]MH_I2C_Read... [00:45:04]Read from MH i2c: D1 01 00 41 03 00 15 [00:45:04]Write to MH i2c: 01 00 00 42 03 45 [00:45:04]Write i2c OK [00:45:04]MH_I2C_Read... [00:45:04]OFD Sender: No OFD packet to send [00:45:04]*** Cut start [00:45:04]*** Partial cut [00:45:04]*** CUTSNS_PIN = 1 [00:45:04]*** CUTSNS_PIN = 0 [00:45:05]*** Brake cut motor [00:45:05]Read from MH i2c: 01 [00:45:05]MH_I2C_Read... [00:45:05]*** Stop cut motor [00:45:05]*** Cut end [00:45:05]Read from MH i2c: 01 07 00 [00:45:05]MH_I2C_Read... [00:45:05]Read from MH i2c: 01 07 00 42 03 00 00 00 00 00 FF 0F 5A [00:45:05]process_action close_receipt done [00:45:05]requested_data is exist [00:45:05]produce_requested_data [00:45:05]requested_item fm.sn is exist - process it [00:45:05]wFMCommunicate request_size=4 [00:45:05]MH_SAM_APDU [00:45:05]CAPDU: 80 11 00 00 [00:45:05]Write to MH i2c: E2 08 00 43 03 80 11 00 00 00 00 00 00 C0 [00:45:05]Write i2c OK [00:45:05]MH_I2C_Read... [00:45:05]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:45:05]Read from MH i2c: E2 [00:45:05]MH_I2C_Read... [00:45:05]Read from MH i2c: E2 17 00 [00:45:05]MH_I2C_Read... [00:45:05]Read from MH i2c: E2 17 00 43 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1A [00:45:05]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:45:05]wFMCommunicate OK [00:45:05]requested_item fd.num is exist - process it [00:45:05]SAM_PROTO_GetFieldsCounters [00:45:05]wFMCommunicate request_size=4 [00:45:05]MH_SAM_APDU [00:45:05]CAPDU: 80 13 00 00 [00:45:05]Write to MH i2c: E2 08 00 44 03 80 13 00 00 00 00 00 00 C3 [00:45:05]Write i2c OK [00:45:05]MH_I2C_Read... [00:45:05]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:45:05]Read from MH i2c: E2 [00:45:05]MH_I2C_Read... [00:45:05]Read from MH i2c: E2 62 00 [00:45:05]MH_I2C_Read... [00:45:05]Read from MH i2c: E2 62 00 44 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 16 DF 00 00 0E 04 04 00 F1 01 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 DC [00:45:05]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 16 DF 00 00 0E 04 04 00 F1 01 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 [00:45:05]wFMCommunicate OK [00:45:05]SAM_PROTO_GetFieldsCounters done [00:45:05]requested_item shift.num is exist - process it [00:45:05]requested_item shift.opened is exist - process it [00:45:05]req_shift_opened [00:45:05]FM_GetShiftState [00:45:05]SAM_PROTO_GetShiftState [00:45:05]wFMCommunicate request_size=4 [00:45:05]MH_SAM_APDU [00:45:05]CAPDU: 80 13 01 00 [00:45:05]Write to MH i2c: E2 08 00 45 03 80 13 01 00 00 00 00 00 C5 [00:45:05]Write i2c OK [00:45:05]MH_I2C_Read... [00:45:05]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:45:05]Read from MH i2c: E2 [00:45:05]MH_I2C_Read... [00:45:05]Read from MH i2c: E2 0E 00 [00:45:05]MH_I2C_Read... [00:45:05]Read from MH i2c: E2 0E 00 45 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 3E [00:45:05]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:45:05]wFMCommunicate OK [00:45:05]SAM_PROTO_GetShiftState done [00:45:05]FM_GetShiftState done [00:45:05]req_shift_opened done [00:45:05]requested_item shift.open_date is exist - process it [00:45:05]req_shift_open_date [00:45:05]req_shift_open_date done [00:45:05]requested_item shift.sale.total is exist - process it [00:45:05]SAM_PROTO_GetShiftData [00:45:05]wFMCommunicate request_size=4 [00:45:05]MH_SAM_APDU [00:45:05]CAPDU: 80 13 02 00 [00:45:05]Write to MH i2c: E2 08 00 46 03 80 13 02 00 00 00 00 00 C7 [00:45:05]Write i2c OK [00:45:05]MH_I2C_Read... [00:45:06]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:45:06]Read from MH i2c: E2 [00:45:06]MH_I2C_Read... [00:45:06]Read from MH i2c: E2 FD 00 [00:45:06]MH_I2C_Read... [00:45:06]Read from MH i2c: E2 FD 00 46 03 00 AC 04 AA 04 A8 04 6E 04 04 00 05 00 00 00 69 04 99 00 6F 04 04 00 05 00 00 00 B1 04 03 00 20 C5 01 70 04 02 00 C8 AF 72 04 03 00 58 15 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 1F 30 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 02 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 AB [00:45:06]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 05 00 00 00 69 04 99 00 6F 04 04 00 05 00 00 00 B1 04 03 00 20 C5 01 70 04 02 00 C8 AF 72 04 03 00 58 15 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 1F 30 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 02 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [00:45:06]wFMCommunicate OK [00:45:06]wFMCommunicate request_size=4 [00:45:06]MH_SAM_APDU [00:45:06]CAPDU: 80 17 00 00 [00:45:06]Write to MH i2c: E2 08 00 47 03 80 17 00 00 00 00 00 00 CA [00:45:06]Write i2c OK [00:45:06]MH_I2C_Read... [00:45:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:45:06]Read from MH i2c: E2 [00:45:06]MH_I2C_Read... [00:45:06]Read from MH i2c: E2 FD 00 [00:45:06]MH_I2C_Read... [00:45:06]Read from MH i2c: E2 FD 00 47 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 DF [00:45:06]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [00:45:06]wFMCommunicate OK [00:45:06]wFMCommunicate request_size=4 [00:45:06]MH_SAM_APDU [00:45:06]CAPDU: 80 17 00 00 [00:45:06]Write to MH i2c: E2 08 00 48 03 80 17 00 00 00 00 00 00 CB [00:45:06]Write i2c OK [00:45:06]MH_I2C_Read... [00:45:06]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:45:06]Read from MH i2c: E2 [00:45:06]MH_I2C_Read... [00:45:06]Read from MH i2c: E2 FD 00 [00:45:06]MH_I2C_Read... [00:45:06]Read from MH i2c: E2 FD 00 48 03 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 8C [00:45:06]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [00:45:06]wFMCommunicate OK [00:45:06]wFMCommunicate request_size=4 [00:45:06]MH_SAM_APDU [00:45:06]CAPDU: 80 17 00 00 [00:45:06]Write to MH i2c: E2 08 00 49 03 80 17 00 00 00 00 00 00 CC [00:45:06]Write i2c OK [00:45:06]MH_I2C_Read... [00:45:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:45:07]Read from MH i2c: E2 [00:45:07]MH_I2C_Read... [00:45:07]Read from MH i2c: E2 FD 00 [00:45:07]MH_I2C_Read... [00:45:07]Read from MH i2c: E2 FD 00 49 03 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 41 [00:45:07]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [00:45:07]wFMCommunicate OK [00:45:07]wFMCommunicate request_size=4 [00:45:07]MH_SAM_APDU [00:45:07]CAPDU: 80 17 00 00 [00:45:07]Write to MH i2c: E2 08 00 4A 03 80 17 00 00 00 00 00 00 CD [00:45:07]Write i2c OK [00:45:07]MH_I2C_Read... [00:45:07]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:45:07]Read from MH i2c: E2 [00:45:07]MH_I2C_Read... [00:45:07]Read from MH i2c: E2 C9 00 [00:45:07]MH_I2C_Read... [00:45:07]Read from MH i2c: E2 C9 00 4A 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 B1 [00:45:07]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:45:07]wFMCommunicate OK [00:45:07]SAM_PROTO_GetShiftData done [00:45:07]requested_item shift.sale.total_cash is exist - process it [00:45:07]requested_item shift.sale_refund.total is exist - process it [00:45:07]requested_item shift.sale_refund.total_cash is exist - process it [00:45:07]produce_requested_data done [00:45:07]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57110,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1160.00,"shift.sale.total_cash":450.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:45:07]process_action_free close_receipt [00:45:07]json_value_free [00:45:07]json_value_free done [00:45:07]process_json_proto returns [00:45:07]Send response to host [00:45:07]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57110,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1160.00,"shift.sale.total_cash":450.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:45:07]free response buf [00:45:07]execute_script done [00:45:07]execute_script returns [00:45:07]free content buf [00:45:07]Sock 8.Close socket [00:45:07]Sock 8.Thread stoped [00:45:09]OFD Sender: No OFD packet to send [00:45:14]OFD Sender: No OFD packet to send [00:45:19]OFD Sender: No OFD packet to send [00:45:24]OFD Sender: No OFD packet to send [00:45:29]OFD Sender: No OFD packet to send [00:45:34]OFD Sender: No OFD packet to send [00:45:39]OFD Sender: No OFD packet to send [00:45:44]OFD Sender: No OFD packet to send [00:45:49]OFD Sender: No OFD packet to send [00:45:54]OFD Sender: No OFD packet to send [00:45:59]OFD Sender: No OFD packet to send [00:46:04]OFD Sender: No OFD packet to send [00:46:09]OFD Sender: No OFD packet to send [00:46:14]OFD Sender: No OFD packet to send [00:46:19]OFD Sender: No OFD packet to send [00:46:24]OFD Sender: No OFD packet to send [00:46:29]OFD Sender: No OFD packet to send [00:46:34]OFD Sender: No OFD packet to send [00:46:39]OFD Sender: No OFD packet to send [00:46:44]OFD Sender: No OFD packet to send [00:46:49]OFD Sender: No OFD packet to send [00:46:54]OFD Sender: No OFD packet to send [00:46:59]OFD Sender: No OFD packet to send [00:47:04]OFD Sender: No OFD packet to send [00:47:06]int [00:47:06]Write to MH i2c: 01 00 00 4B 03 4E [00:47:06]*** FLAG_PRN_PAP1 set [00:47:06]Write i2c OK [00:47:06]MH_I2C_Read... [00:47:06]Read from MH i2c: 01 [00:47:06]MH_I2C_Read... [00:47:06]Read from MH i2c: 01 07 00 [00:47:06]MH_I2C_Read... [00:47:06]Read from MH i2c: 01 07 00 4B 03 00 01 00 00 00 FF 0F 64 [00:47:06]state=0 [00:47:06]No paper [00:47:06]int [00:47:06]Write to MH i2c: 01 00 00 4C 03 4F [00:47:06]*** FLAG_PRN_PAP2 set [00:47:06]Write i2c OK [00:47:06]MH_I2C_Read... [00:47:06]Read from MH i2c: 01 [00:47:06]MH_I2C_Read... [00:47:06]Read from MH i2c: 01 07 00 [00:47:06]MH_I2C_Read... [00:47:06]Read from MH i2c: 01 07 00 4C 03 00 03 00 00 00 FF 0F 67 [00:47:06]state=0 [00:47:06]No paper [00:47:06]Cover opened [00:47:08]int [00:47:08]Write to MH i2c: 01 00 00 4D 03 50 [00:47:08]*** FLAG_PRN_PAP2 reset [00:47:08]Write i2c OK [00:47:08]MH_I2C_Read... [00:47:08]Read from MH i2c: 01 [00:47:08]MH_I2C_Read... [00:47:08]Read from MH i2c: 01 07 00 [00:47:08]MH_I2C_Read... [00:47:08]Read from MH i2c: 01 07 00 4D 03 00 01 00 00 00 FF 0F 66 [00:47:08]state=3 [00:47:08]No paper [00:47:08]Cover closed [00:47:09]int [00:47:09]Write to MH i2c: 01 00 00 4E 03 51 [00:47:09]*** FLAG_PRN_PAP2 set [00:47:09]Write i2c OK [00:47:09]MH_I2C_Read... [00:47:09]Read from MH i2c: 01 [00:47:09]MH_I2C_Read... [00:47:09]Read from MH i2c: 01 07 00 [00:47:09]MH_I2C_Read... [00:47:09]Read from MH i2c: 01 07 00 4E 03 00 03 00 00 00 FF 0F 69 [00:47:09]state=0 [00:47:09]No paper [00:47:09]Cover opened [00:47:09]OFD Sender: No OFD packet to send [00:47:14]Write to MH i2c: 01 00 00 4F 03 52 [00:47:14]Write i2c OK [00:47:14]MH_I2C_Read... [00:47:14]Read from MH i2c: 01 [00:47:14]MH_I2C_Read... [00:47:14]Read from MH i2c: 01 07 00 [00:47:14]MH_I2C_Read... [00:47:14]Read from MH i2c: 01 07 00 4F 03 00 03 00 00 00 FF 0F 6A [00:47:14]state=3 [00:47:14]No paper [00:47:14]Cover opened [00:47:14]OFD Sender: No OFD packet to send [00:47:19]Write to MH i2c: 01 00 00 50 03 53 [00:47:19]Write i2c OK [00:47:19]MH_I2C_Read... [00:47:19]Read from MH i2c: 01 [00:47:19]MH_I2C_Read... [00:47:19]Read from MH i2c: 01 07 00 [00:47:19]MH_I2C_Read... [00:47:19]Read from MH i2c: 01 07 00 50 03 00 03 00 00 00 FF 0F 6B [00:47:19]state=3 [00:47:19]No paper [00:47:19]Cover opened [00:47:19]OFD Sender: No OFD packet to send [00:47:21]int [00:47:21]Write to MH i2c: 01 00 00 51 03 54 [00:47:21]*** FLAG_PRN_PAP1 reset [00:47:21]Write i2c OK [00:47:21]MH_I2C_Read... [00:47:21]Read from MH i2c: 01 [00:47:21]MH_I2C_Read... [00:47:21]Read from MH i2c: 01 07 00 [00:47:21]MH_I2C_Read... [00:47:21]Read from MH i2c: 01 07 00 51 03 00 02 00 00 00 FF 0F 6B [00:47:21]state=3 [00:47:21]Cover opened [00:47:21]int [00:47:21]Write to MH i2c: 01 00 00 52 03 55 [00:47:21]*** FLAG_PRN_PAP2 reset [00:47:21]Write i2c OK [00:47:21]MH_I2C_Read... [00:47:21]Read from MH i2c: 01 [00:47:21]MH_I2C_Read... [00:47:21]Read from MH i2c: 01 07 00 [00:47:21]MH_I2C_Read... [00:47:21]Read from MH i2c: 01 07 00 52 03 00 00 00 00 00 FF 0F 6A [00:47:21]state=3 [00:47:21]Cover closed [00:47:24]OFD Sender: No OFD packet to send [00:47:27]accept exits with 9 [00:47:27]New connection [00:47:27]New thread 3067067748 created [00:47:27]Thread 3066924388 joined [00:47:27]Waiting for new connection... [00:47:27] Sock 9.Parse request [00:47:27]Sock 9.Check first char [00:47:27]Sock 9.First char is OK [00:47:27]request: POST /json_proto HTTP/1.0 [00:47:27]Method: POST [00:47:27]URL: /json_proto [00:47:27]Method is POST - this is cgi request [00:47:27]url: /json_proto [00:47:27]query_string will be loaded in cgi processing [00:47:27]execute_cgi json_proto POST (null) [00:47:27]execute_cgi path=json_proto method=POST [00:47:27]POST find Content-Length [00:47:27]Host: 172.17.39.4:8080 [00:47:27]Content-Length: 215 [00:47:27]Content-Type: application/json [00:47:27] [00:47:27]POST finish read [00:47:27]Found Content-Length = 215 [00:47:27]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:47:27]execute_script... [00:47:27]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:47:27]POST & json_proto [00:47:27]process_json_proto [00:47:27]json parsed OK: [00:47:27]protocol is kg_v1.0 [00:47:27]action value=get_value [00:47:27]process_action get_value [00:47:27]cmd_get_value [00:47:27]process_action get_value done [00:47:27]requested_data is exist [00:47:27]produce_requested_data [00:47:27]requested_item kkm.sn is exist - process it [00:47:27]requested_item kkm.ver is exist - process it [00:47:27]requested_item fm.sn is exist - process it [00:47:27]wFMCommunicate request_size=4 [00:47:27]MH_SAM_APDU [00:47:27]CAPDU: 80 11 00 00 [00:47:27]Write to MH i2c: E2 08 00 53 03 80 11 00 00 00 00 00 00 D0 [00:47:27]Write i2c OK [00:47:27]MH_I2C_Read... [00:47:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:47:27]Read from MH i2c: E2 [00:47:27]MH_I2C_Read... [00:47:27]Read from MH i2c: E2 17 00 [00:47:27]MH_I2C_Read... [00:47:27]Read from MH i2c: E2 17 00 53 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2A [00:47:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:47:27]wFMCommunicate OK [00:47:27]requested_item fd.num is exist - process it [00:47:27]SAM_PROTO_GetFieldsCounters [00:47:27]wFMCommunicate request_size=4 [00:47:27]MH_SAM_APDU [00:47:27]CAPDU: 80 13 00 00 [00:47:27]Write to MH i2c: E2 08 00 54 03 80 13 00 00 00 00 00 00 D3 [00:47:27]Write i2c OK [00:47:27]MH_I2C_Read... [00:47:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:47:27]Read from MH i2c: E2 [00:47:27]MH_I2C_Read... [00:47:27]Read from MH i2c: E2 62 00 [00:47:27]MH_I2C_Read... [00:47:27]Read from MH i2c: E2 62 00 54 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 16 DF 00 00 0E 04 04 00 F1 01 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 EC [00:47:27]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 16 DF 00 00 0E 04 04 00 F1 01 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 [00:47:27]wFMCommunicate OK [00:47:27]SAM_PROTO_GetFieldsCounters done [00:47:27]requested_item shift.num is exist - process it [00:47:27]requested_item shift.opened is exist - process it [00:47:27]req_shift_opened [00:47:27]FM_GetShiftState [00:47:27]SAM_PROTO_GetShiftState [00:47:27]wFMCommunicate request_size=4 [00:47:27]MH_SAM_APDU [00:47:27]CAPDU: 80 13 01 00 [00:47:27]Write to MH i2c: E2 08 00 55 03 80 13 01 00 00 00 00 00 D5 [00:47:27]Write i2c OK [00:47:27]MH_I2C_Read... [00:47:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:47:27]Read from MH i2c: E2 [00:47:27]MH_I2C_Read... [00:47:27]Read from MH i2c: E2 0E 00 [00:47:27]MH_I2C_Read... [00:47:27]Read from MH i2c: E2 0E 00 55 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 4E [00:47:27]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:47:27]wFMCommunicate OK [00:47:27]SAM_PROTO_GetShiftState done [00:47:27]FM_GetShiftState done [00:47:27]req_shift_opened done [00:47:27]requested_item shift.open_date is exist - process it [00:47:27]req_shift_open_date [00:47:27]req_shift_open_date done [00:47:27]produce_requested_data done [00:47:27]produce_requested_data return {"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57110,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525} [00:47:27]process_action_free get_value [00:47:27]json_value_free [00:47:27]json_value_free done [00:47:27]process_json_proto returns [00:47:27]Send response to host [00:47:27]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"kkm.sn":"0300000132","kkm.ver":"001","fm.sn":"0000000000874857","fd.num":57110,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525}}} [00:47:27]free response buf [00:47:27]execute_script done [00:47:27]execute_script returns [00:47:27]free content buf [00:47:27]Sock 9.Close socket [00:47:27]Sock 9.Thread stoped [00:47:27]accept exits with 8 [00:47:27]New connection [00:47:27]New thread 3066924388 created [00:47:27]Thread 3067067748 joined [00:47:27]Waiting for new connection... [00:47:27] Sock 8.Parse request [00:47:27]Sock 8.Check first char [00:47:27]Sock 8.First char is OK [00:47:27]request: POST /json_proto HTTP/1.0 [00:47:27]Method: POST [00:47:27]URL: /json_proto [00:47:27]Method is POST - this is cgi request [00:47:27]url: /json_proto [00:47:27]query_string will be loaded in cgi processing [00:47:27]execute_cgi json_proto POST (null) [00:47:27]execute_cgi path=json_proto method=POST [00:47:27]POST find Content-Length [00:47:27]Host: 172.17.39.4:8080 [00:47:27]Content-Length: 331 [00:47:27]Content-Type: application/json [00:47:27] [00:47:27]POST finish read [00:47:27]Found Content-Length = 331 [00:47:27]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:47:27]execute_script... [00:47:27]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:47:27]POST & json_proto [00:47:27]process_json_proto [00:47:27]json parsed OK: [00:47:27]protocol is kg_v1.0 [00:47:27]action value=get_value [00:47:27]process_action get_value [00:47:27]cmd_get_value [00:47:27]process_action get_value done [00:47:27]requested_data is exist [00:47:27]produce_requested_data [00:47:27]requested_item fm.sale.total is exist - process it [00:47:27]SAM_PROTO_GetFMData [00:47:27]wFMCommunicate request_size=4 [00:47:27]MH_SAM_APDU [00:47:27]CAPDU: 80 13 03 00 [00:47:27]Write to MH i2c: E2 08 00 56 03 80 13 03 00 00 00 00 00 D8 [00:47:27]Write i2c OK [00:47:27]MH_I2C_Read... [00:47:28]*** iso7816_exchange 80 13 03 00... Resp OK rsp.len_out = 250! [00:47:28]Read from MH i2c: E2 [00:47:28]MH_I2C_Read... [00:47:28]Read from MH i2c: E2 FD 00 [00:47:28]MH_I2C_Read... [00:47:28]Read from MH i2c: E2 FD 00 56 03 00 C4 04 85 04 C0 04 6E 04 04 00 33 DB 00 00 69 04 A0 00 6F 04 04 00 82 DA 00 00 B1 04 04 00 63 CE 85 6D 70 04 04 00 BC B2 2F 61 72 04 04 00 A7 1B 56 0C 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 A3 D5 A1 0B 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 1D 0F F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 6F [00:47:28]RAPDU: C4 04 85 04 C0 04 6E 04 04 00 33 DB 00 00 69 04 A0 00 6F 04 04 00 82 DA 00 00 B1 04 04 00 63 CE 85 6D 70 04 04 00 BC B2 2F 61 72 04 04 00 A7 1B 56 0C 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 A3 D5 A1 0B 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 1D 0F F8 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 9E 00 6F 04 04 00 B1 00 00 00 B1 04 04 00 44 ED 68 01 70 04 04 00 78 9B 5E 01 72 04 03 00 CC 51 0A 00 04 7B 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 25 55 26 EF 03 09 00 90 00 [00:47:28]wFMCommunicate OK [00:47:28]wFMCommunicate request_size=4 [00:47:28]MH_SAM_APDU [00:47:28]CAPDU: 80 17 00 00 [00:47:28]Write to MH i2c: E2 08 00 57 03 80 17 00 00 00 00 00 00 DA [00:47:28]Write i2c OK [00:47:28]MH_I2C_Read... [00:47:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:47:28]Read from MH i2c: E2 [00:47:28]MH_I2C_Read... [00:47:28]Read from MH i2c: E2 FD 00 [00:47:28]MH_I2C_Read... [00:47:28]Read from MH i2c: E2 FD 00 57 03 00 F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 73 [00:47:28]RAPDU: F6 03 01 00 00 F7 03 00 00 EF 03 0C 00 F6 03 01 00 01 F7 03 03 00 AF 31 03 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 90 00 [00:47:28]wFMCommunicate OK [00:47:28]wFMCommunicate request_size=4 [00:47:28]MH_SAM_APDU [00:47:28]CAPDU: 80 17 00 00 [00:47:28]Write to MH i2c: E2 08 00 58 03 80 17 00 00 00 00 00 00 DB [00:47:28]Write i2c OK [00:47:28]MH_I2C_Read... [00:47:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:47:28]Read from MH i2c: E2 [00:47:28]MH_I2C_Read... [00:47:28]Read from MH i2c: E2 FD 00 [00:47:28]MH_I2C_Read... [00:47:28]Read from MH i2c: E2 FD 00 58 03 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 F0 [00:47:28]RAPDU: 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:47:28]wFMCommunicate OK [00:47:28]wFMCommunicate request_size=4 [00:47:28]MH_SAM_APDU [00:47:28]CAPDU: 80 17 00 00 [00:47:28]Write to MH i2c: E2 08 00 59 03 80 17 00 00 00 00 00 00 DC [00:47:28]Write i2c OK [00:47:28]MH_I2C_Read... [00:47:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:47:28]Read from MH i2c: E2 [00:47:28]MH_I2C_Read... [00:47:28]Read from MH i2c: E2 FD 00 [00:47:28]MH_I2C_Read... [00:47:28]Read from MH i2c: E2 FD 00 59 03 00 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 54 [00:47:29]RAPDU: 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [00:47:29]wFMCommunicate OK [00:47:29]wFMCommunicate request_size=4 [00:47:29]MH_SAM_APDU [00:47:29]CAPDU: 80 17 00 00 [00:47:29]Write to MH i2c: E2 08 00 5A 03 80 17 00 00 00 00 00 00 DD [00:47:29]Write i2c OK [00:47:29]MH_I2C_Read... [00:47:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 222! [00:47:29]Read from MH i2c: E2 [00:47:29]MH_I2C_Read... [00:47:29]Read from MH i2c: E2 E1 00 [00:47:29]MH_I2C_Read... [00:47:29]Read from MH i2c: E2 E1 00 5A 03 00 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 CB [00:47:29]RAPDU: 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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:47:29]wFMCommunicate OK [00:47:29]SAM_PROTO_GetFMData done [00:47:29]requested_item fm.sale_refund.total is exist - process it [00:47:29]requested_item fm.buy.total is exist - process it [00:47:29]requested_item shift.sale.total is exist - process it [00:47:29]SAM_PROTO_GetShiftData [00:47:29]wFMCommunicate request_size=4 [00:47:29]MH_SAM_APDU [00:47:29]CAPDU: 80 13 02 00 [00:47:29]Write to MH i2c: E2 08 00 5B 03 80 13 02 00 00 00 00 00 DC [00:47:29]Write i2c OK [00:47:29]MH_I2C_Read... [00:47:29]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:47:29]Read from MH i2c: E2 [00:47:29]MH_I2C_Read... [00:47:29]Read from MH i2c: E2 FD 00 [00:47:29]MH_I2C_Read... [00:47:29]Read from MH i2c: E2 FD 00 5B 03 00 AC 04 AA 04 A8 04 6E 04 04 00 05 00 00 00 69 04 99 00 6F 04 04 00 05 00 00 00 B1 04 03 00 20 C5 01 70 04 02 00 C8 AF 72 04 03 00 58 15 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 1F 30 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 02 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 C0 [00:47:29]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 05 00 00 00 69 04 99 00 6F 04 04 00 05 00 00 00 B1 04 03 00 20 C5 01 70 04 02 00 C8 AF 72 04 03 00 58 15 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 1F 30 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 02 04 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [00:47:29]wFMCommunicate OK [00:47:29]wFMCommunicate request_size=4 [00:47:29]MH_SAM_APDU [00:47:29]CAPDU: 80 17 00 00 [00:47:29]Write to MH i2c: E2 08 00 5C 03 80 17 00 00 00 00 00 00 DF [00:47:29]Write i2c OK [00:47:29]MH_I2C_Read... [00:47:29]OFD Sender: No OFD packet to send [00:47:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:47:29]Read from MH i2c: E2 [00:47:29]MH_I2C_Read... [00:47:29]Read from MH i2c: E2 FD 00 [00:47:29]MH_I2C_Read... [00:47:29]Read from MH i2c: E2 FD 00 5C 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 F4 [00:47:29]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [00:47:30]wFMCommunicate OK [00:47:30]wFMCommunicate request_size=4 [00:47:30]MH_SAM_APDU [00:47:30]CAPDU: 80 17 00 00 [00:47:30]Write to MH i2c: E2 08 00 5D 03 80 17 00 00 00 00 00 00 E0 [00:47:30]Write i2c OK [00:47:30]MH_I2C_Read... [00:47:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:47:30]Read from MH i2c: E2 [00:47:30]MH_I2C_Read... [00:47:30]Read from MH i2c: E2 FD 00 [00:47:30]MH_I2C_Read... [00:47:30]Read from MH i2c: E2 FD 00 5D 03 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 A1 [00:47:30]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [00:47:30]wFMCommunicate OK [00:47:30]wFMCommunicate request_size=4 [00:47:30]MH_SAM_APDU [00:47:30]CAPDU: 80 17 00 00 [00:47:30]Write to MH i2c: E2 08 00 5E 03 80 17 00 00 00 00 00 00 E1 [00:47:30]Write i2c OK [00:47:30]MH_I2C_Read... [00:47:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:47:30]Read from MH i2c: E2 [00:47:30]MH_I2C_Read... [00:47:30]Read from MH i2c: E2 FD 00 [00:47:30]MH_I2C_Read... [00:47:30]Read from MH i2c: E2 FD 00 5E 03 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 56 [00:47:30]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [00:47:30]wFMCommunicate OK [00:47:30]wFMCommunicate request_size=4 [00:47:30]MH_SAM_APDU [00:47:30]CAPDU: 80 17 00 00 [00:47:30]Write to MH i2c: E2 08 00 5F 03 80 17 00 00 00 00 00 00 E2 [00:47:30]Write i2c OK [00:47:30]MH_I2C_Read... [00:47:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:47:30]Read from MH i2c: E2 [00:47:30]MH_I2C_Read... [00:47:30]Read from MH i2c: E2 C9 00 [00:47:30]MH_I2C_Read... [00:47:30]Read from MH i2c: E2 C9 00 5F 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 C6 [00:47:30]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:47:30]wFMCommunicate OK [00:47:30]SAM_PROTO_GetShiftData done [00:47:30]requested_item shift.sale.total_cash is exist - process it [00:47:30]requested_item shift.sale_refund.total is exist - process it [00:47:30]requested_item shift.sale_refund.total_cash is exist - process it [00:47:30]requested_item shift.buy.total is exist - process it [00:47:30]requested_item shift.buy.total_cash is exist - process it [00:47:30]produce_requested_data done [00:47:30]produce_requested_data return {"fm.sale.total":18374856.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":1160.00,"shift.sale.total_cash":450.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:47:30]process_action_free get_value [00:47:30]json_value_free [00:47:30]json_value_free done [00:47:30]process_json_proto returns [00:47:30]Send response to host [00:47:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sale.total":18374856.67,"fm.sale_refund.total":236537.00,"fm.buy.total":0.00,"shift.sale.total":1160.00,"shift.sale.total_cash":450.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:47:30]free response buf [00:47:30]execute_script done [00:47:30]execute_script returns [00:47:30]free content buf [00:47:30]Sock 8.Close socket [00:47:30]Sock 8.Thread stoped [00:47:34]OFD Sender: No OFD packet to send [00:47:39]OFD Sender: No OFD packet to send [00:47:44]int [00:47:44]Write to MH i2c: 01 00 00 60 03 63 [00:47:44]*** FLAG_PRN_KEY set [00:47:44]Write i2c OK [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: 01 [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: 01 07 00 [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: 01 07 00 60 03 00 08 00 00 00 FF 0F 80 [00:47:44]state=0 [00:47:44]Key pressed [00:47:44]Feed [00:47:44]Write to MH i2c: D8 00 00 61 03 3B [00:47:44]Write i2c OK [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: D8 [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: D8 01 00 [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: D8 01 00 61 03 00 3C [00:47:44]int [00:47:44]Write to MH i2c: 01 00 00 62 03 65 [00:47:44]Write i2c OK [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: 01 [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: 01 07 00 [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: 01 07 00 62 03 00 48 00 00 00 3C 00 F0 [00:47:44]state=2 [00:47:44]Key pressed [00:47:44]OFD Sender: No OFD packet to send [00:47:44]int [00:47:44]Write to MH i2c: 01 00 00 63 03 66 [00:47:44]*** FLAG_PRN_KEY reset [00:47:44]Write i2c OK [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: 01 [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: 01 07 00 [00:47:44]MH_I2C_Read... [00:47:44]Read from MH i2c: 01 07 00 63 03 00 00 00 00 00 F6 0F 72 [00:47:44]state=2 [00:47:44]Stop feed [00:47:49]OFD Sender: No OFD packet to send [00:47:54]OFD Sender: No OFD packet to send [00:47:59]OFD Sender: No OFD packet to send [00:48:04]OFD Sender: No OFD packet to send [00:48:09]OFD Sender: No OFD packet to send [00:48:14]OFD Sender: No OFD packet to send [00:48:19]OFD Sender: No OFD packet to send [00:48:24]OFD Sender: No OFD packet to send [00:48:29]OFD Sender: No OFD packet to send [00:48:34]OFD Sender: No OFD packet to send [00:48:39]OFD Sender: No OFD packet to send [00:48:44]OFD Sender: No OFD packet to send [00:48:49]OFD Sender: No OFD packet to send [00:48:53]accept exits with 9 [00:48:53]New connection [00:48:53]New thread 3067067748 created [00:48:53]Thread 3066924388 joined [00:48:53]Waiting for new connection... [00:48:53] Sock 9.Parse request [00:48:53]Sock 9.Check first char [00:48:53]Sock 9.First char is OK [00:48:53]request: POST /json_proto HTTP/1.0 [00:48:53]Method: POST [00:48:53]URL: /json_proto [00:48:53]Method is POST - this is cgi request [00:48:53]url: /json_proto [00:48:53]query_string will be loaded in cgi processing [00:48:53]execute_cgi json_proto POST (null) [00:48:53]execute_cgi path=json_proto method=POST [00:48:53]POST find Content-Length [00:48:53]Host: 172.17.39.4:8080 [00:48:53]Content-Length: 941 [00:48:53]Content-Type: application/json [00:48:53] [00:48:53]POST finish read [00:48:53]Found Content-Length = 941 [00:48:53]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (1)855636", "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" : 72.60, "quantity" : 6.890, "sum" : 500.21, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.21 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:48:53]execute_script... [00: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 : (1)855636", "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" : 72.60, "quantity" : 6.890, "sum" : 500.21, "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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 500.21 } ] } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:48:53]POST & json_proto [00:48:53]process_json_proto [00:48:53]json parsed OK: [00:48:53]protocol is kg_v1.0 [00:48:53]action value=close_receipt [00:48:53]process_action close_receipt [00:48:53]cmd_close_receipt [00:48:53]MH_GetDate [00:48:53]Write to MH i2c: F0 00 00 64 03 56 [00:48:53]Write i2c OK [00:48:53]MH_I2C_Read... [00:48:53]Read from MH i2c: F0 [00:48:53]MH_I2C_Read... [00:48:53]Read from MH i2c: F0 09 00 [00:48:53]MH_I2C_Read... [00:48:53]Read from MH i2c: F0 09 00 64 03 00 F6 71 94 66 2D 25 5D 64 D3 [00:48:53]GetLastDocTimeStamp 1721004302 [00:48:53]current date 1721004534 [00:48:53]FM_GetShiftState [00:48:53]SAM_PROTO_GetShiftState [00:48:53]wFMCommunicate request_size=4 [00:48:53]MH_SAM_APDU [00:48:53]CAPDU: 80 13 01 00 [00:48:53]Write to MH i2c: E2 08 00 65 03 80 13 01 00 00 00 00 00 E5 [00:48:53]Write i2c OK [00:48:53]MH_I2C_Read... [00:48:53]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:48:53]Read from MH i2c: E2 [00:48:53]MH_I2C_Read... [00:48:53]Read from MH i2c: E2 0E 00 [00:48:53]MH_I2C_Read... [00:48:53]Read from MH i2c: E2 0E 00 65 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 5E [00:48:53]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:48:53]wFMCommunicate OK [00:48:53]SAM_PROTO_GetShiftState done [00:48:53]FM_GetShiftState done [00:48:53]opened in 1721003525 [00:48:53]opened+sec_in_day 1721089925 [00:48:53]quantity*price = 50021 [00:48:53]sum+1 = 50022 [00:48:53]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 500.21 НСП 1% : 4.43 НДС 12% : 53.12 Наличными: 0.00 Безнал.: 500.21 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 6 15.07.2024 00:48 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57111 ФПД: 37662199801850 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T004854&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57111&fm=37662199801850&tin=02508201610067®Number=0000000000091208&sum=50021 [00:48:54]StoreToDocumentArchive [00:48:54]shift 497 fd 57111 [00:48:54]save to /storage/0497/doc_00057111 [00:48:54]save last doc name /storage/0497/doc_00057111 to /storage/kkm_last_doc_name [00:48:54]save OK [00:48:54]Clear old archive folders... [00:48:54]ProcessDocumentItem done err = 0, tmpTLVsize=248 [00:48:54]tlvbuf is 009A7E70 [00:48:54]SAM_PROTO_ClearQueue [00:48:54]wFMCommunicate request_size=4 [00:48:54]MH_SAM_APDU [00:48:54]CAPDU: 80 09 00 00 [00:48:54]Write to MH i2c: E2 08 00 72 03 80 09 00 00 00 00 00 00 E7 [00:48:54]OFD Sender: No OFD packet to send [00:48:54]Write i2c OK [00:48:54]MH_I2C_Read... [00:48:54]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:48:54]Read from MH i2c: E2 [00:48:54]MH_I2C_Read... [00:48:54]Read from MH i2c: E2 03 00 [00:48:54]MH_I2C_Read... [00:48:54]Read from MH i2c: E2 03 00 72 03 00 90 00 E9 [00:48:54]RAPDU: 90 00 [00:48:54]wFMCommunicate OK [00:48:54]SAM_PROTO_ClearQueue done [00:48:54]KKMCreateOFDPacket [00:48:54]OFDProtocolAddRootSTLVToBuf [00:48:54]FM_MakeSignedData [00:48:54]FM_MakeSignedData [00:48:54]SAM_PROTO_SignData [00:48:54]wFMCommunicate request_size=4 [00:48:54]MH_SAM_APDU [00:48:54]CAPDU: 80 0D 01 02 [00:48:54]Write to MH i2c: E2 08 00 73 03 80 0D 01 02 00 00 00 00 EF [00:48:54]Write i2c OK [00:48:54]MH_I2C_Read... [00:48:54]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:48:54]Read from MH i2c: E2 [00:48:54]MH_I2C_Read... [00:48:54]Read from MH i2c: E2 03 00 [00:48:54]MH_I2C_Read... [00:48:54]Read from MH i2c: E2 03 00 73 03 00 90 00 EA [00:48:54]RAPDU: 90 00 [00:48:54]wFMCommunicate OK [00:48:54]wFMCommunicate request_size=255 [00:48:54]MH_SAM_APDU [00:48:54]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 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 65 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 65 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F6 71 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 17 DF 00 00 35 04 06 00 22 40 EA 0A [00:48:54]Write to MH i2c: E2 02 01 74 03 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 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 65 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 65 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F6 71 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 17 DF 00 00 35 04 06 00 22 40 EA 0A 00 00 77 [00:48:54]Write i2c OK [00:48:54]MH_I2C_Read... [00:48:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:55]Read from MH i2c: E2 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: E2 03 00 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: E2 03 00 74 03 00 90 00 EB [00:48:55]RAPDU: 90 00 [00:48:55]wFMCommunicate OK [00:48:55]wFMCommunicate request_size=7 [00:48:55]MH_SAM_APDU [00:48:55]CAPDU: 80 0D 02 02 02 67 FA [00:48:55]Write to MH i2c: E2 0A 00 75 03 80 0D 02 02 02 00 67 FA 00 00 57 [00:48:55]Write i2c OK [00:48:55]MH_I2C_Read... [00:48:55]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:48:55]Read from MH i2c: E2 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: E2 03 00 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: E2 03 00 75 03 00 90 00 EC [00:48:55]RAPDU: 90 00 [00:48:55]wFMCommunicate OK [00:48:55]wFMCommunicate request_size=4 [00:48:55]MH_SAM_APDU [00:48:55]CAPDU: 80 0D 03 02 [00:48:55]Write to MH i2c: E2 08 00 76 03 80 0D 03 02 00 00 00 00 F4 [00:48:55]Write i2c OK [00:48:55]MH_I2C_Read... [00:48:55]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:48:55]Read from MH i2c: E2 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: E2 0B 00 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: E2 0B 00 76 03 00 D6 33 0B F5 2F 54 5C 61 90 00 3E [00:48:55]RAPDU: D6 33 0B F5 2F 54 5C 61 90 00 [00:48:55]wFMCommunicate OK [00:48:55]SAM_PROTO_SignData done [00:48:55]FM_MakeSignedData done [00:48:55]CreateOFDProtocolMessage [00:48:55]wFMCommunicate request_size=4 [00:48:55]MH_SAM_APDU [00:48:55]CAPDU: 80 11 00 00 [00:48:55]Write to MH i2c: E2 08 00 77 03 80 11 00 00 00 00 00 00 F4 [00:48:55]Write i2c OK [00:48:55]MH_I2C_Read... [00:48:55]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:55]Read from MH i2c: E2 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: E2 17 00 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: E2 17 00 77 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4E [00:48:55]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:48:55]wFMCommunicate OK [00:48:55]CreateOFDProtocolMessage done [00:48:55]OFDSenderStorePacket 57111 [00:48:55]StoreOFDPacket docnum=57111 [00:48:55]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 77 EA 04 01 3C EE 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 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 65 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 65 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F6 71 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 17 DF 00 00 35 04 06 00 22 40 EA 0A 67 FA D6 33 0B F5 2F 54 5C 61 [00:48:55]CheckFolder [00:48:55]dirname=/storage/ofd_packets [00:48:55]CheckFolder done [00:48:55]ProducePacketName [00:48:55]name=ofd_packets/00057111 [00:48:55]NVStorageSaveData ofd_packets/00057111 [00:48:55]File name is /storage/ofd_packets/00057111 [00:48:55]Write 298 bytes [00:48:55]NVStorageSaveData done [00:48:55]OFDSenderStorePacket done [00:48:55]KKMCreateOFDPacket done [00:48:55]NVStorageSaveData kkm_last_timestamp [00:48:55]File name is /storage/kkm_last_timestamp [00:48:55]Write 4 bytes [00:48:55]NVStorageSaveData done [00:48:55]ExternCall_PrintAddStr [00:48:55]wPrintStart [00:48:55]Write to MH i2c: 01 00 00 78 03 7B [00:48:55]Write i2c OK [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: 01 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: 01 07 00 [00:48:55]MH_I2C_Read... [00:48:55]Read from MH i2c: 01 07 00 78 03 00 00 00 00 00 FF 0F 90 [00:48:55]RasterBufferAndPrint [00:48:55]line Счет N : (1)855636 [00:48:55]line ИНН: 02508201610067 [00:48:55]line Контрольно-Кассовый Чек [00:48:55]line ПРОДАЖА [00:48:55]line ТРК (МРК, ГНК) : 31 [00:48:55]line Товар: 2710194210 [00:48:55]line ДТ-К-5 [00:48:55]line 6.890 * 72.60 [00:48:55]line = 500.21 [00:48:55]line НДС 12% НСП 1% [00:48:55]line > о реализуемом товаре [00:48:55]line ИТОГО: 500.21 [00:48:55]line НСП 1% : 4.43 [00:48:55]line НДС 12% : 53.12 [00:48:55]line Наличными: 0.00 [00:48:55]line Безнал.: 500.21 [00:48:55]line Место: АЗС № 132 "Партнер Нефть" [00:48:55]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:48:55]line СНО: Общий режим [00:48:55]line Чек 6 15.07.2024 00:48 [00:48:55]line Смена: 497 ФФД: 1.0 [00:48:55]line ЗНМ: 0300000132 [00:48:55]line РНМ: 0000000000091208 [00:48:55]line Версия ККМ: 001 [00:48:55]line Платежная система: АКБ Кыргызстан [00:48:55]line ФМ: 0000000000874857 [00:48:55]line ФД: 57111 [00:48:55]line ФПД: 37662199801850 [00:48:55]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T004854&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57111&fm=37662199801850&tin=02508201610067®Number=0000000000091208&sum=50021 [00:48:55]OFD Sender: Processing packet 57111 [packets to send 38, broken 37] [00:48:55]ProducePacketName [00:48:55]name=ofd_packets/00057111 [00:48:55]OFD Sender: To server: pG, [00:48:55]CommunicateWithHost lk.salyk.kg:30040 [00:48:55]ConnectInit lk.salyk.kg [00:48:55]written 0, free lines is 4095 [00:48:55]Connected sock=10 [00:48:55]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0C 01 00 00 77 EA 04 01 3C EE 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 EA 1A 00 00 00 00 00 37 04 06 00 5C 1C 00 00 00 00 13 04 06 00 65 C3 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 65 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 C0 14 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 65 C3 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 06 00 00 00 F4 03 04 00 F6 71 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 17 DF 00 00 35 04 06 00 22 40 EA 0A 67 FA D6 33 0B F5 2F 54 5C 61 [00:48:56]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 ED 7F 47 00 9A AC A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 17 DF 00 00 F4 03 04 00 46 18 94 66 B6 04 01 00 00 A6 D2 22 6A 9E 4E 4D EC [00:48:56]CommunicateWithHost err = 0 [00:48:56]CheckOFDResponse [00:48:56]1017 (14) - 77093643461234 [00:48:56]1041 (16) - 0000000000874857 [00:48:56]1040 (4) - 57111 [00:48:56]1012 (4) - 14.07.2024 18:26 [00:48:56]1206 (1) - 0 [00:48:56]OFD Sender: Remove packet 57111 [00:48:56]ProducePacketName [00:48:56]name=ofd_packets/00057111 [00:48:56]NVStorageDeleteData [00:48:56]Write to MH i2c: 01 00 00 A2 03 A5 [00:48:56]Write i2c OK [00:48:56]MH_I2C_Read... [00:48:56]Read from MH i2c: 01 [00:48:56]MH_I2C_Read... [00:48:56]Read from MH i2c: 01 07 00 [00:48:56]MH_I2C_Read... [00:48:56]Read from MH i2c: 01 07 00 A2 03 00 00 00 00 00 02 0D BB [00:48:56]RasterBufferAndPrint [00:48:56]line [00:48:56]line [00:48:56]line [00:48:56]line [00:48:56]line [00:48:56]written 0, free lines is 3336 [00:48:56]MH_Cut [00:48:56]Write to MH i2c: D1 01 00 A9 03 01 7E [00:48:56]Write i2c OK [00:48:56]MH_I2C_Read... [00:48:56]Read from MH i2c: D1 [00:48:56]MH_I2C_Read... [00:48:56]Read from MH i2c: D1 01 00 [00:48:56]MH_I2C_Read... [00:48:56]Read from MH i2c: D1 01 00 A9 03 00 7D [00:48:56]Write to MH i2c: 01 00 00 AA 03 AD [00:48:56]Write i2c OK [00:48:56]MH_I2C_Read... [00:48:56]OFD Sender: No OFD packet to send [00:48:56]*** Cut start [00:48:56]*** Partial cut [00:48:56]*** CUTSNS_PIN = 1 [00:48:56]*** CUTSNS_PIN = 0 [00:48:57]*** Brake cut motor [00:48:57]Read from MH i2c: 01 [00:48:57]MH_I2C_Read... [00:48:57]*** Stop cut motor [00:48:57]*** Cut end [00:48:57]Read from MH i2c: 01 07 00 [00:48:57]MH_I2C_Read... [00:48:57]Read from MH i2c: 01 07 00 AA 03 00 00 00 00 00 FF 0F C2 [00:48:57]process_action close_receipt done [00:48:57]requested_data is exist [00:48:57]produce_requested_data [00:48:57]requested_item fm.sn is exist - process it [00:48:57]wFMCommunicate request_size=4 [00:48:57]MH_SAM_APDU [00:48:57]CAPDU: 80 11 00 00 [00:48:57]Write to MH i2c: E2 08 00 AB 03 80 11 00 00 00 00 00 00 28 [00:48:57]Write i2c OK [00:48:57]MH_I2C_Read... [00:48:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:48:57]Read from MH i2c: E2 [00:48:57]MH_I2C_Read... [00:48:57]Read from MH i2c: E2 17 00 [00:48:57]MH_I2C_Read... [00:48:57]Read from MH i2c: E2 17 00 AB 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 82 [00:48:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:48:57]wFMCommunicate OK [00:48:57]requested_item fd.num is exist - process it [00:48:57]SAM_PROTO_GetFieldsCounters [00:48:57]wFMCommunicate request_size=4 [00:48:57]MH_SAM_APDU [00:48:57]CAPDU: 80 13 00 00 [00:48:57]Write to MH i2c: E2 08 00 AC 03 80 13 00 00 00 00 00 00 2B [00:48:57]Write i2c OK [00:48:57]MH_I2C_Read... [00:48:57]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:48:57]Read from MH i2c: E2 [00:48:57]MH_I2C_Read... [00:48:57]Read from MH i2c: E2 62 00 [00:48:57]MH_I2C_Read... [00:48:57]Read from MH i2c: E2 62 00 AC 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 17 DF 00 00 0E 04 04 00 F1 01 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 48 [00:48:57]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 17 DF 00 00 0E 04 04 00 F1 01 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 [00:48:57]wFMCommunicate OK [00:48:57]SAM_PROTO_GetFieldsCounters done [00:48:57]requested_item shift.num is exist - process it [00:48:57]requested_item shift.opened is exist - process it [00:48:57]req_shift_opened [00:48:57]FM_GetShiftState [00:48:57]SAM_PROTO_GetShiftState [00:48:57]wFMCommunicate request_size=4 [00:48:57]MH_SAM_APDU [00:48:57]CAPDU: 80 13 01 00 [00:48:57]Write to MH i2c: E2 08 00 AD 03 80 13 01 00 00 00 00 00 2D [00:48:57]Write i2c OK [00:48:57]MH_I2C_Read... [00:48:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:48:57]Read from MH i2c: E2 [00:48:57]MH_I2C_Read... [00:48:57]Read from MH i2c: E2 0E 00 [00:48:57]MH_I2C_Read... [00:48:57]Read from MH i2c: E2 0E 00 AD 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 A6 [00:48:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:48:57]wFMCommunicate OK [00:48:57]SAM_PROTO_GetShiftState done [00:48:57]FM_GetShiftState done [00:48:57]req_shift_opened done [00:48:57]requested_item shift.open_date is exist - process it [00:48:57]req_shift_open_date [00:48:57]req_shift_open_date done [00:48:57]requested_item shift.sale.total is exist - process it [00:48:57]SAM_PROTO_GetShiftData [00:48:57]wFMCommunicate request_size=4 [00:48:57]MH_SAM_APDU [00:48:57]CAPDU: 80 13 02 00 [00:48:57]Write to MH i2c: E2 08 00 AE 03 80 13 02 00 00 00 00 00 2F [00:48:57]Write i2c OK [00:48:57]MH_I2C_Read... [00:48:58]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:48:58]Read from MH i2c: E2 [00:48:58]MH_I2C_Read... [00:48:58]Read from MH i2c: E2 FD 00 [00:48:58]MH_I2C_Read... [00:48:58]Read from MH i2c: E2 FD 00 AE 03 00 AC 04 AA 04 A8 04 6E 04 04 00 06 00 00 00 69 04 99 00 6F 04 04 00 06 00 00 00 B1 04 03 00 85 88 02 70 04 02 00 C8 AF 72 04 03 00 BD D8 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 DF 44 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 BD 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 F6 [00:48:58]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 06 00 00 00 69 04 99 00 6F 04 04 00 06 00 00 00 B1 04 03 00 85 88 02 70 04 02 00 C8 AF 72 04 03 00 BD D8 01 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 DF 44 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 BD 05 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [00:48:58]wFMCommunicate OK [00:48:58]wFMCommunicate request_size=4 [00:48:58]MH_SAM_APDU [00:48:58]CAPDU: 80 17 00 00 [00:48:58]Write to MH i2c: E2 08 00 AF 03 80 17 00 00 00 00 00 00 32 [00:48:58]Write i2c OK [00:48:58]MH_I2C_Read... [00:48:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:48:58]Read from MH i2c: E2 [00:48:58]MH_I2C_Read... [00:48:58]Read from MH i2c: E2 FD 00 [00:48:58]MH_I2C_Read... [00:48:58]Read from MH i2c: E2 FD 00 AF 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 47 [00:48:58]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [00:48:58]wFMCommunicate OK [00:48:58]wFMCommunicate request_size=4 [00:48:58]MH_SAM_APDU [00:48:58]CAPDU: 80 17 00 00 [00:48:58]Write to MH i2c: E2 08 00 B0 03 80 17 00 00 00 00 00 00 33 [00:48:58]Write i2c OK [00:48:58]MH_I2C_Read... [00:48:58]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:48:58]Read from MH i2c: E2 [00:48:58]MH_I2C_Read... [00:48:58]Read from MH i2c: E2 FD 00 [00:48:58]MH_I2C_Read... [00:48:58]Read from MH i2c: E2 FD 00 B0 03 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 F4 [00:48:58]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [00:48:58]wFMCommunicate OK [00:48:58]wFMCommunicate request_size=4 [00:48:58]MH_SAM_APDU [00:48:58]CAPDU: 80 17 00 00 [00:48:58]Write to MH i2c: E2 08 00 B1 03 80 17 00 00 00 00 00 00 34 [00:48:58]Write i2c OK [00:48:58]MH_I2C_Read... [00:48:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:48:59]Read from MH i2c: E2 [00:48:59]MH_I2C_Read... [00:48:59]Read from MH i2c: E2 FD 00 [00:48:59]MH_I2C_Read... [00:48:59]Read from MH i2c: E2 FD 00 B1 03 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 A9 [00:48:59]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [00:48:59]wFMCommunicate OK [00:48:59]wFMCommunicate request_size=4 [00:48:59]MH_SAM_APDU [00:48:59]CAPDU: 80 17 00 00 [00:48:59]Write to MH i2c: E2 08 00 B2 03 80 17 00 00 00 00 00 00 35 [00:48:59]Write i2c OK [00:48:59]MH_I2C_Read... [00:48:59]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:48:59]Read from MH i2c: E2 [00:48:59]MH_I2C_Read... [00:48:59]Read from MH i2c: E2 C9 00 [00:48:59]MH_I2C_Read... [00:48:59]Read from MH i2c: E2 C9 00 B2 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 [00:48:59]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:48:59]wFMCommunicate OK [00:48:59]SAM_PROTO_GetShiftData done [00:48:59]requested_item shift.sale.total_cash is exist - process it [00:48:59]requested_item shift.sale_refund.total is exist - process it [00:48:59]requested_item shift.sale_refund.total_cash is exist - process it [00:48:59]produce_requested_data done [00:48:59]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57111,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1660.21,"shift.sale.total_cash":450.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:48:59]process_action_free close_receipt [00:48:59]json_value_free [00:48:59]json_value_free done [00:48:59]process_json_proto returns [00:48:59]Send response to host [00:48:59]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57111,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1660.21,"shift.sale.total_cash":450.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:48:59]free response buf [00:48:59]execute_script done [00:48:59]execute_script returns [00:48:59]free content buf [00:48:59]Sock 9.Close socket [00:48:59]Sock 9.Thread stoped [00:49:01]OFD Sender: No OFD packet to send [00:49:06]OFD Sender: No OFD packet to send [00:49:11]OFD Sender: No OFD packet to send [00:49:16]OFD Sender: No OFD packet to send [00:49:21]OFD Sender: No OFD packet to send [00:49:26]OFD Sender: No OFD packet to send [00:49:31]OFD Sender: No OFD packet to send [00:49:36]OFD Sender: No OFD packet to send [00:49:41]OFD Sender: No OFD packet to send [00:49:46]accept exits with 8 [00:49:46]New connection [00:49:46]New thread 3066924388 created [00:49:46]Thread 3067067748 joined [00:49:46]Waiting for new connection... [00:49:46] Sock 8.Parse request [00:49:46]Sock 8.Check first char [00:49:46]Sock 8.First char is OK [00:49:46]request: POST /json_proto HTTP/1.0 [00:49:46]Method: POST [00:49:46]URL: /json_proto [00:49:46]Method is POST - this is cgi request [00:49:46]url: /json_proto [00:49:46]query_string will be loaded in cgi processing [00:49:46]execute_cgi json_proto POST (null) [00:49:46]execute_cgi path=json_proto method=POST [00:49:46]POST find Content-Length [00:49:46]Host: 172.17.39.4:8080 [00:49:46]Content-Length: 945 [00:49:46]Content-Type: application/json [00:49:46] [00:49:46]POST finish read [00:49:46]Found Content-Length = 945 [00:49:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129568", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:49:46]execute_script... [00:49:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129568", "tax_sys" : 0, "items" : [ { "code": "4700000480517", "name": "\u041F\u0438\u0432\u043E \u0416\u0438\u0432\u043E\u0435 1\u043B \u041F\u042D\u0422", "price" : 180.00, "quantity" : 1.000, "sum" : 180.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 180.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:49:46]POST & json_proto [00:49:46]process_json_proto [00:49:46]json parsed OK: [00:49:46]protocol is kg_v1.0 [00:49:46]action value=close_receipt [00:49:46]process_action close_receipt [00:49:46]cmd_close_receipt [00:49:46]MH_GetDate [00:49:46]Write to MH i2c: F0 00 00 B3 03 A5 [00:49:46]Write i2c OK [00:49:46]MH_I2C_Read... [00:49:46]Read from MH i2c: F0 [00:49:46]MH_I2C_Read... [00:49:46]Read from MH i2c: F0 09 00 [00:49:46]MH_I2C_Read... [00:49:46]Read from MH i2c: F0 09 00 B3 03 00 2B 72 94 66 2D 25 5D 64 58 [00:49:46]GetLastDocTimeStamp 1721004534 [00:49:46]current date 1721004587 [00:49:46]FM_GetShiftState [00:49:46]SAM_PROTO_GetShiftState [00:49:46]wFMCommunicate request_size=4 [00:49:46]MH_SAM_APDU [00:49:46]CAPDU: 80 13 01 00 [00:49:46]Write to MH i2c: E2 08 00 B4 03 80 13 01 00 00 00 00 00 34 [00:49:46]Write i2c OK [00:49:46]MH_I2C_Read... [00:49:46]OFD Sender: No OFD packet to send [00:49:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:49:46]Read from MH i2c: E2 [00:49:46]MH_I2C_Read... [00:49:46]Read from MH i2c: E2 0E 00 [00:49:46]MH_I2C_Read... [00:49:46]Read from MH i2c: E2 0E 00 B4 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 AD [00:49:46]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:49:46]wFMCommunicate OK [00:49:46]SAM_PROTO_GetShiftState done [00:49:46]FM_GetShiftState done [00:49:46]opened in 1721003525 [00:49:46]opened+sec_in_day 1721089925 [00:49:46]quantity*price = 18000 [00:49:46]sum+1 = 18001 [00:49:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 180.00 НСП 1% : 1.59 НДС 12% : 19.11 Наличными: 0.00 Безнал.: 180.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 7 15.07.2024 00:49 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57112 ФПД: 229940308519866 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T004947&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57112&fm=229940308519866&tin=02508201610067®Number=0000000000091208&sum=18000 0 [00:49:47]StoreToDocumentArchive [00:49:47]shift 497 fd 57112 [00:49:47]save to /storage/0497/doc_00057112 [00:49:47]save last doc name /storage/0497/doc_00057112 to /storage/kkm_last_doc_name [00:49:47]save OK [00:49:47]Clear old archive folders... [00:49:47]ProcessDocumentItem done err = 0, tmpTLVsize=272 [00:49:47]tlvbuf is 009A7D10 [00:49:47]SAM_PROTO_ClearQueue [00:49:47]wFMCommunicate request_size=4 [00:49:47]MH_SAM_APDU [00:49:47]CAPDU: 80 09 00 00 [00:49:47]Write to MH i2c: E2 08 00 C1 03 80 09 00 00 00 00 00 00 36 [00:49:47]Write i2c OK [00:49:47]MH_I2C_Read... [00:49:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:49:47]Read from MH i2c: E2 [00:49:47]MH_I2C_Read... [00:49:47]Read from MH i2c: E2 03 00 [00:49:47]MH_I2C_Read... [00:49:47]Read from MH i2c: E2 03 00 C1 03 00 90 00 38 [00:49:47]RAPDU: 90 00 [00:49:47]wFMCommunicate OK [00:49:47]SAM_PROTO_ClearQueue done [00:49:47]KKMCreateOFDPacket [00:49:47]OFDProtocolAddRootSTLVToBuf [00:49:47]FM_MakeSignedData [00:49:47]FM_MakeSignedData [00:49:47]SAM_PROTO_SignData [00:49:47]wFMCommunicate request_size=4 [00:49:47]MH_SAM_APDU [00:49:47]CAPDU: 80 0D 01 02 [00:49:47]Write to MH i2c: E2 08 00 C2 03 80 0D 01 02 00 00 00 00 3E [00:49:47]Write i2c OK [00:49:47]MH_I2C_Read... [00:49:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:49:47]Read from MH i2c: E2 [00:49:47]MH_I2C_Read... [00:49:47]Read from MH i2c: E2 03 00 [00:49:47]MH_I2C_Read... [00:49:47]Read from MH i2c: E2 03 00 C2 03 00 90 00 39 [00:49:47]RAPDU: 90 00 [00:49:47]wFMCommunicate OK [00:49:47]wFMCommunicate request_size=255 [00:49:47]MH_SAM_APDU [00:49:47]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 2B 72 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [00:49:47]Write to MH i2c: E2 02 01 C3 03 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 2B 72 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 A6 [00:49:47]Write i2c OK [00:49:47]MH_I2C_Read... [00:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:49:48]Read from MH i2c: E2 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 03 00 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 03 00 C3 03 00 90 00 3A [00:49:48]RAPDU: 90 00 [00:49:48]wFMCommunicate OK [00:49:48]wFMCommunicate request_size=31 [00:49:48]MH_SAM_APDU [00:49:48]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 18 DF 00 00 35 04 06 00 D1 21 26 68 AB BA [00:49:48]Write to MH i2c: E2 22 00 C4 03 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 18 DF 00 00 35 04 06 00 D1 21 26 68 AB BA 00 00 4F [00:49:48]Write i2c OK [00:49:48]MH_I2C_Read... [00:49:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:49:48]Read from MH i2c: E2 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 03 00 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 03 00 C4 03 00 90 00 3B [00:49:48]RAPDU: 90 00 [00:49:48]wFMCommunicate OK [00:49:48]wFMCommunicate request_size=4 [00:49:48]MH_SAM_APDU [00:49:48]CAPDU: 80 0D 03 02 [00:49:48]Write to MH i2c: E2 08 00 C5 03 80 0D 03 02 00 00 00 00 43 [00:49:48]Write i2c OK [00:49:48]MH_I2C_Read... [00:49:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:49:48]Read from MH i2c: E2 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 0B 00 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 0B 00 C5 03 00 67 63 39 10 10 55 FA EF 90 00 A5 [00:49:48]RAPDU: 67 63 39 10 10 55 FA EF 90 00 [00:49:48]wFMCommunicate OK [00:49:48]SAM_PROTO_SignData done [00:49:48]FM_MakeSignedData done [00:49:48]CreateOFDProtocolMessage [00:49:48]wFMCommunicate request_size=4 [00:49:48]MH_SAM_APDU [00:49:48]CAPDU: 80 11 00 00 [00:49:48]Write to MH i2c: E2 08 00 C6 03 80 11 00 00 00 00 00 00 43 [00:49:48]Write i2c OK [00:49:48]MH_I2C_Read... [00:49:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:49:48]Read from MH i2c: E2 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 17 00 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: E2 17 00 C6 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 9D [00:49:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:49:48]wFMCommunicate OK [00:49:48]CreateOFDProtocolMessage done [00:49:48]OFDSenderStorePacket 57112 [00:49:48]StoreOFDPacket docnum=57112 [00:49:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 AC 1F 1C 01 BA E0 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 2B 72 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 18 DF 00 00 35 04 06 00 D1 21 26 68 AB BA 67 63 39 10 10 55 FA EF [00:49:48]CheckFolder [00:49:48]dirname=/storage/ofd_packets [00:49:48]CheckFolder done [00:49:48]ProducePacketName [00:49:48]name=ofd_packets/00057112 [00:49:48]NVStorageSaveData ofd_packets/00057112 [00:49:48]File name is /storage/ofd_packets/00057112 [00:49:48]Write 322 bytes [00:49:48]NVStorageSaveData done [00:49:48]OFDSenderStorePacket done [00:49:48]KKMCreateOFDPacket done [00:49:48]NVStorageSaveData kkm_last_timestamp [00:49:48]File name is /storage/kkm_last_timestamp [00:49:48]Write 4 bytes [00:49:48]NVStorageSaveData done [00:49:48]ExternCall_PrintAddStr [00:49:48]wPrintStart [00:49:48]Write to MH i2c: 01 00 00 C7 03 CA [00:49:48]Write i2c OK [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: 01 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: 01 07 00 [00:49:48]MH_I2C_Read... [00:49:48]Read from MH i2c: 01 07 00 C7 03 00 00 00 00 00 FF 0F DF [00:49:48]RasterBufferAndPrint [00:49:48]line Счет N : (3)129568 [00:49:48]line ИНН: 02508201610067 [00:49:48]line Контрольно-Кассовый Чек [00:49:48]line ПРОДАЖА [00:49:48]line Товар: 4700000480517 [00:49:48]line Пиво Живое 1л ПЭТ [00:49:48]line 1.000 * 180.00 [00:49:48]line = 180.00 [00:49:48]line НДС 12% НСП 1% [00:49:48]line > о реализуемом товаре [00:49:48]line ИТОГО: 180.00 [00:49:48]line НСП 1% : 1.59 [00:49:48]line НДС 12% : 19.11 [00:49:48]line Наличными: 0.00 [00:49:48]line Безнал.: 180.00 [00:49:48]line Место: АЗС № 132 "Партнер Нефть" [00:49:48]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:49:48]line СНО: Общий режим [00:49:48]line Чек 7 15.07.2024 00:49 [00:49:48]line Смена: 497 ФФД: 1.0 [00:49:48]line ЗНМ: 0300000132 [00:49:48]line РНМ: 0000000000091208 [00:49:48]line Версия ККМ: 001 [00:49:48]line Платежная система: АКБ Кыргызстан [00:49:48]line ФМ: 0000000000874857 [00:49:48]line ФД: 57112 [00:49:48]line ФПД: 229940308519866 [00:49:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T004947&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57112&fm=229940308519866&tin=02508201610067®Number=0000000000091208&sum=18000 [00:49:48]OFD Sender: Processing packet 57112 [packets to send 38, broken 37] [00:49:48]ProducePacketName [00:49:48]name=ofd_packets/00057112 [00:49:48]OFD Sender: To server: pG, [00:49:48]CommunicateWithHost lk.salyk.kg:30040 [00:49:48]ConnectInit lk.salyk.kg [00:49:48]line 0 [00:49:48]written 0, free lines is 4095 [00:49:48]Connected sock=10 [00:49:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 AC 1F 1C 01 BA E0 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 30 34 38 30 35 31 37 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 96 D0 B8 D0 B2 D0 BE D0 B5 20 31 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 50 46 00 00 00 00 13 04 06 00 50 46 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 50 46 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 9F 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 77 07 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 50 46 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 07 00 00 00 F4 03 04 00 2B 72 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 18 DF 00 00 35 04 06 00 D1 21 26 68 AB BA 67 63 39 10 10 55 FA EF [00:49:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 C3 C1 47 00 F0 2F A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 18 DF 00 00 F4 03 04 00 7B 18 94 66 B6 04 01 00 00 CA 8A D2 D0 F6 44 91 58 [00:49:49]CommunicateWithHost err = 0 [00:49:49]CheckOFDResponse [00:49:49]1017 (14) - 77093643461234 [00:49:49]1041 (16) - 0000000000874857 [00:49:49]1040 (4) - 57112 [00:49:49]1012 (4) - 14.07.2024 18:27 [00:49:49]1206 (1) - 0 [00:49:49]OFD Sender: Remove packet 57112 [00:49:49]ProducePacketName [00:49:49]name=ofd_packets/00057112 [00:49:49]NVStorageDeleteData [00:49:49]Write to MH i2c: 01 00 00 F1 03 F4 [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: 01 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: 01 07 00 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: 01 07 00 F1 03 00 00 00 00 00 F3 0C FA [00:49:49]RasterBufferAndPrint [00:49:49]line [00:49:49]line [00:49:49]line [00:49:49]line [00:49:49]line [00:49:49]written 0, free lines is 3319 [00:49:49]MH_Cut [00:49:49]Write to MH i2c: D1 01 00 F8 03 01 CD [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: D1 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: D1 01 00 [00:49:49]MH_I2C_Read... [00:49:49]Read from MH i2c: D1 01 00 F8 03 00 CC [00:49:49]Write to MH i2c: 01 00 00 F9 03 FC [00:49:49]Write i2c OK [00:49:49]MH_I2C_Read... [00:49:49]OFD Sender: No OFD packet to send [00:49:49]*** Cut start [00:49:49]*** Partial cut [00:49:49]*** CUTSNS_PIN = 1 [00:49:49]*** CUTSNS_PIN = 0 [00:49:50]*** Brake cut motor [00:49:50]Read from MH i2c: 01 [00:49:50]MH_I2C_Read... [00:49:50]*** Stop cut motor [00:49:50]*** Cut end [00:49:50]Read from MH i2c: 01 07 00 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: 01 07 00 F9 03 00 00 00 00 00 FF 0F 11 [00:49:50]process_action close_receipt done [00:49:50]requested_data is exist [00:49:50]produce_requested_data [00:49:50]requested_item fm.sn is exist - process it [00:49:50]wFMCommunicate request_size=4 [00:49:50]MH_SAM_APDU [00:49:50]CAPDU: 80 11 00 00 [00:49:50]Write to MH i2c: E2 08 00 FA 03 80 11 00 00 00 00 00 00 77 [00:49:50]Write i2c OK [00:49:50]MH_I2C_Read... [00:49:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:49:50]Read from MH i2c: E2 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: E2 17 00 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: E2 17 00 FA 03 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D1 [00:49:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:49:50]wFMCommunicate OK [00:49:50]requested_item fd.num is exist - process it [00:49:50]SAM_PROTO_GetFieldsCounters [00:49:50]wFMCommunicate request_size=4 [00:49:50]MH_SAM_APDU [00:49:50]CAPDU: 80 13 00 00 [00:49:50]Write to MH i2c: E2 08 00 FB 03 80 13 00 00 00 00 00 00 7A [00:49:50]Write i2c OK [00:49:50]MH_I2C_Read... [00:49:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:49:50]Read from MH i2c: E2 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: E2 62 00 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: E2 62 00 FB 03 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 18 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 9B [00:49:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 18 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 07 00 00 00 5E 04 04 00 07 00 00 00 57 04 04 00 08 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:49:50]wFMCommunicate OK [00:49:50]SAM_PROTO_GetFieldsCounters done [00:49:50]requested_item shift.num is exist - process it [00:49:50]requested_item shift.opened is exist - process it [00:49:50]req_shift_opened [00:49:50]FM_GetShiftState [00:49:50]SAM_PROTO_GetShiftState [00:49:50]wFMCommunicate request_size=4 [00:49:50]MH_SAM_APDU [00:49:50]CAPDU: 80 13 01 00 [00:49:50]Write to MH i2c: E2 08 00 FC 03 80 13 01 00 00 00 00 00 7C [00:49:50]Write i2c OK [00:49:50]MH_I2C_Read... [00:49:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:49:50]Read from MH i2c: E2 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: E2 0E 00 [00:49:50]MH_I2C_Read... [00:49:50]Read from MH i2c: E2 0E 00 FC 03 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 F5 [00:49:50]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:49:50]wFMCommunicate OK [00:49:50]SAM_PROTO_GetShiftState done [00:49:50]FM_GetShiftState done [00:49:50]req_shift_opened done [00:49:50]requested_item shift.open_date is exist - process it [00:49:50]req_shift_open_date [00:49:50]req_shift_open_date done [00:49:50]requested_item shift.sale.total is exist - process it [00:49:50]SAM_PROTO_GetShiftData [00:49:50]wFMCommunicate request_size=4 [00:49:50]MH_SAM_APDU [00:49:50]CAPDU: 80 13 02 00 [00:49:50]Write to MH i2c: E2 08 00 FD 03 80 13 02 00 00 00 00 00 7E [00:49:50]Write i2c OK [00:49:50]MH_I2C_Read... [00:49:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:49:51]Read from MH i2c: E2 [00:49:51]MH_I2C_Read... [00:49:51]Read from MH i2c: E2 FD 00 [00:49:51]MH_I2C_Read... [00:49:51]Read from MH i2c: E2 FD 00 FD 03 00 AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 D5 CE 02 70 04 02 00 C8 AF 72 04 03 00 0D 1F 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 56 4C 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 5C 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 94 [00:49:51]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 07 00 00 00 69 04 99 00 6F 04 04 00 07 00 00 00 B1 04 03 00 D5 CE 02 70 04 02 00 C8 AF 72 04 03 00 0D 1F 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 56 4C 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 5C 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [00:49:51]wFMCommunicate OK [00:49:51]wFMCommunicate request_size=4 [00:49:51]MH_SAM_APDU [00:49:51]CAPDU: 80 17 00 00 [00:49:51]Write to MH i2c: E2 08 00 FE 03 80 17 00 00 00 00 00 00 81 [00:49:51]Write i2c OK [00:49:51]MH_I2C_Read... [00:49:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:49:51]Read from MH i2c: E2 [00:49:51]MH_I2C_Read... [00:49:51]Read from MH i2c: E2 FD 00 [00:49:51]MH_I2C_Read... [00:49:51]Read from MH i2c: E2 FD 00 FE 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 96 [00:49:51]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [00:49:51]wFMCommunicate OK [00:49:51]wFMCommunicate request_size=4 [00:49:51]MH_SAM_APDU [00:49:51]CAPDU: 80 17 00 00 [00:49:51]Write to MH i2c: E2 08 00 FF 03 80 17 00 00 00 00 00 00 82 [00:49:51]Write i2c OK [00:49:51]MH_I2C_Read... [00:49:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:49:51]Read from MH i2c: E2 [00:49:51]MH_I2C_Read... [00:49:51]Read from MH i2c: E2 FD 00 [00:49:51]MH_I2C_Read... [00:49:51]Read from MH i2c: E2 FD 00 FF 03 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 43 [00:49:51]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [00:49:51]wFMCommunicate OK [00:49:51]wFMCommunicate request_size=4 [00:49:51]MH_SAM_APDU [00:49:51]CAPDU: 80 17 00 00 [00:49:51]Write to MH i2c: E2 08 00 00 04 80 17 00 00 00 00 00 00 84 [00:49:51]Write i2c OK [00:49:51]MH_I2C_Read... [00:49:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:49:52]Read from MH i2c: E2 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 FD 00 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 FD 00 00 04 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 F9 [00:49:52]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [00:49:52]wFMCommunicate OK [00:49:52]wFMCommunicate request_size=4 [00:49:52]MH_SAM_APDU [00:49:52]CAPDU: 80 17 00 00 [00:49:52]Write to MH i2c: E2 08 00 01 04 80 17 00 00 00 00 00 00 85 [00:49:52]Write i2c OK [00:49:52]MH_I2C_Read... [00:49:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:49:52]Read from MH i2c: E2 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 C9 00 [00:49:52]MH_I2C_Read... [00:49:52]Read from MH i2c: E2 C9 00 01 04 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 69 [00:49:52]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:49:52]wFMCommunicate OK [00:49:52]SAM_PROTO_GetShiftData done [00:49:52]requested_item shift.sale.total_cash is exist - process it [00:49:52]requested_item shift.sale_refund.total is exist - process it [00:49:52]requested_item shift.sale_refund.total_cash is exist - process it [00:49:52]produce_requested_data done [00:49:52]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57112,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1840.21,"shift.sale.total_cash":450.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:49:52]process_action_free close_receipt [00:49:52]json_value_free [00:49:52]json_value_free done [00:49:52]process_json_proto returns [00:49:52]Send response to host [00:49:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57112,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1840.21,"shift.sale.total_cash":450.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:49:52]free response buf [00:49:52]execute_script done [00:49:52]execute_script returns [00:49:52]free content buf [00:49:52]Sock 8.Close socket [00:49:52]Sock 8.Thread stoped [00:49:54]OFD Sender: No OFD packet to send [00:49:59]OFD Sender: No OFD packet to send [00:50:04]OFD Sender: No OFD packet to send [00:50:09]OFD Sender: No OFD packet to send [00:50:14]OFD Sender: No OFD packet to send [00:50:19]OFD Sender: No OFD packet to send [00:50:24]OFD Sender: No OFD packet to send [00:50:29]OFD Sender: No OFD packet to send [00:50:34]OFD Sender: No OFD packet to send [00:50:39]OFD Sender: No OFD packet to send [00:50:44]OFD Sender: No OFD packet to send [00:50:49]OFD Sender: No OFD packet to send [00:50:54]OFD Sender: No OFD packet to send [00:50:59]OFD Sender: No OFD packet to send [00:51:04]OFD Sender: No OFD packet to send [00:51:09]OFD Sender: No OFD packet to send [00:51:14]OFD Sender: No OFD packet to send [00:51:19]OFD Sender: No OFD packet to send [00:51:24]OFD Sender: No OFD packet to send [00:51:29]OFD Sender: No OFD packet to send [00:51:34]OFD Sender: No OFD packet to send [00:51:39]OFD Sender: No OFD packet to send [00:51:44]OFD Sender: No OFD packet to send [00:51:49]OFD Sender: No OFD packet to send [00:51:54]OFD Sender: No OFD packet to send [00:51:59]OFD Sender: No OFD packet to send [00:52:04]OFD Sender: No OFD packet to send [00:52:09]OFD Sender: No OFD packet to send [00:52:14]OFD Sender: No OFD packet to send [00:52:19]OFD Sender: No OFD packet to send [00:52:24]OFD Sender: No OFD packet to send [00:52:29]OFD Sender: No OFD packet to send [00:52:34]OFD Sender: No OFD packet to send [00:52:39]OFD Sender: No OFD packet to send [00:52:44]OFD Sender: No OFD packet to send [00:52:49]OFD Sender: No OFD packet to send [00:52:54]OFD Sender: No OFD packet to send [00:52:59]OFD Sender: No OFD packet to send [00:53:04]OFD Sender: No OFD packet to send [00:53:09]OFD Sender: No OFD packet to send [00:53:14]OFD Sender: No OFD packet to send [00:53:19]OFD Sender: No OFD packet to send [00:53:24]OFD Sender: No OFD packet to send [00:53:29]OFD Sender: No OFD packet to send [00:53:34]OFD Sender: No OFD packet to send [00:53:39]OFD Sender: No OFD packet to send [00:53:44]OFD Sender: No OFD packet to send [00:53:49]OFD Sender: No OFD packet to send [00:53:54]OFD Sender: No OFD packet to send [00:53:59]OFD Sender: No OFD packet to send [00:54:04]OFD Sender: No OFD packet to send [00:54:09]OFD Sender: No OFD packet to send [00:54:14]OFD Sender: No OFD packet to send [00:54:19]OFD Sender: No OFD packet to send [00:54:24]OFD Sender: No OFD packet to send [00:54:29]OFD Sender: No OFD packet to send [00:54:34]OFD Sender: No OFD packet to send [00:54:39]OFD Sender: No OFD packet to send [00:54:44]OFD Sender: No OFD packet to send [00:54:49]OFD Sender: No OFD packet to send [00:54:54]OFD Sender: No OFD packet to send [00:54:59]OFD Sender: No OFD packet to send [00:55:04]OFD Sender: No OFD packet to send [00:55:09]OFD Sender: No OFD packet to send [00:55:14]OFD Sender: No OFD packet to send [00:55:19]OFD Sender: No OFD packet to send [00:55:24]OFD Sender: No OFD packet to send [00:55:29]OFD Sender: No OFD packet to send [00:55:34]OFD Sender: No OFD packet to send [00:55:39]OFD Sender: No OFD packet to send [00:55:44]OFD Sender: No OFD packet to send [00:55:49]OFD Sender: No OFD packet to send [00:55:54]OFD Sender: No OFD packet to send [00:55:56]accept exits with 9 [00:55:56]New connection [00:55:56]New thread 3067067748 created [00:55:56]Thread 3066924388 joined [00:55:56]Waiting for new connection... [00:55:56] Sock 9.Parse request [00:55:56]Sock 9.Check first char [00:55:56]Sock 9.First char is OK [00:55:56]request: POST /json_proto HTTP/1.0 [00:55:56]Method: POST [00:55:56]URL: /json_proto [00:55:56]Method is POST - this is cgi request [00:55:56]url: /json_proto [00:55:56]query_string will be loaded in cgi processing [00:55:56]execute_cgi json_proto POST (null) [00:55:56]execute_cgi path=json_proto method=POST [00:55:56]POST find Content-Length [00:55:56]Host: 172.17.39.4:8080 [00:55:56]Content-Length: 1016 [00:55:56]Content-Type: application/json [00:55:56] [00:55:56]POST finish read [00:55:56]Found Content-Length = 1016 [00:55:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129569", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:55:56]execute_script... [00:55:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129569", "tax_sys" : 0, "items" : [ { "code": "4870202521216", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A MAXI \u0447\u0430\u0439 1,2 \u0437\u0435\u043B.\u043B\u0438\u043C\u043E\u043D (\u043D\u043E\u0432\u044B\u0439)", "price" : 110.00, "quantity" : 1.000, "sum" : 110.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 110.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [00:55:56]POST & json_proto [00:55:56]process_json_proto [00:55:56]json parsed OK: [00:55:56]protocol is kg_v1.0 [00:55:56]action value=close_receipt [00:55:56]process_action close_receipt [00:55:56]cmd_close_receipt [00:55:56]MH_GetDate [00:55:56]Write to MH i2c: F0 00 00 02 04 F5 [00:55:56]Write i2c OK [00:55:56]MH_I2C_Read... [00:55:56]Read from MH i2c: F0 [00:55:56]MH_I2C_Read... [00:55:56]Read from MH i2c: F0 09 00 [00:55:56]MH_I2C_Read... [00:55:56]Read from MH i2c: F0 09 00 02 04 00 9D 73 94 66 2D 25 5D 64 1B [00:55:56]GetLastDocTimeStamp 1721004587 [00:55:56]current date 1721004957 [00:55:56]FM_GetShiftState [00:55:56]SAM_PROTO_GetShiftState [00:55:56]wFMCommunicate request_size=4 [00:55:56]MH_SAM_APDU [00:55:56]CAPDU: 80 13 01 00 [00:55:56]Write to MH i2c: E2 08 00 03 04 80 13 01 00 00 00 00 00 84 [00:55:56]Write i2c OK [00:55:56]MH_I2C_Read... [00:55:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:55:56]Read from MH i2c: E2 [00:55:56]MH_I2C_Read... [00:55:56]Read from MH i2c: E2 0E 00 [00:55:56]MH_I2C_Read... [00:55:56]Read from MH i2c: E2 0E 00 03 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 FD [00:55:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:55:56]wFMCommunicate OK [00:55:56]SAM_PROTO_GetShiftState done [00:55:56]FM_GetShiftState done [00:55:56]opened in 1721003525 [00:55:56]opened+sec_in_day 1721089925 [00:55:56]quantity*price = 11000 [00:55:56]sum+1 = 11001 [00:55:56]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 110.00 НСП 1% : 0.97 НДС 12% : 11.68 Наличными: 0.00 Безнал.: 110.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 8 15.07.2024 00:55 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57113 ФПД: 34684260781209 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T005557&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57113&fm=34684260781209&tin=02508201610067®Number=0000000000091208&sum=11000 0 [00:55:57]StoreToDocumentArchive [00:55:57]shift 497 fd 57113 [00:55:57]save to /storage/0497/doc_00057113 [00:55:57]save last doc name /storage/0497/doc_00057113 to /storage/kkm_last_doc_name [00:55:57]save OK [00:55:57]Clear old archive folders... [00:55:57]ProcessDocumentItem done err = 0, tmpTLVsize=303 [00:55:57]tlvbuf is 009786F0 [00:55:57]SAM_PROTO_ClearQueue [00:55:57]wFMCommunicate request_size=4 [00:55:57]MH_SAM_APDU [00:55:57]CAPDU: 80 09 00 00 [00:55:57]Write to MH i2c: E2 08 00 10 04 80 09 00 00 00 00 00 00 86 [00:55:57]Write i2c OK [00:55:57]MH_I2C_Read... [00:55:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [00:55:57]Read from MH i2c: E2 [00:55:57]MH_I2C_Read... [00:55:57]Read from MH i2c: E2 03 00 [00:55:57]MH_I2C_Read... [00:55:57]Read from MH i2c: E2 03 00 10 04 00 90 00 88 [00:55:57]RAPDU: 90 00 [00:55:57]wFMCommunicate OK [00:55:57]SAM_PROTO_ClearQueue done [00:55:57]KKMCreateOFDPacket [00:55:57]OFDProtocolAddRootSTLVToBuf [00:55:57]FM_MakeSignedData [00:55:57]FM_MakeSignedData [00:55:57]SAM_PROTO_SignData [00:55:57]wFMCommunicate request_size=4 [00:55:57]MH_SAM_APDU [00:55:57]CAPDU: 80 0D 01 02 [00:55:57]Write to MH i2c: E2 08 00 11 04 80 0D 01 02 00 00 00 00 8E [00:55:57]Write i2c OK [00:55:57]MH_I2C_Read... [00:55:57]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [00:55:57]Read from MH i2c: E2 [00:55:57]MH_I2C_Read... [00:55:57]Read from MH i2c: E2 03 00 [00:55:57]MH_I2C_Read... [00:55:57]Read from MH i2c: E2 03 00 11 04 00 90 00 89 [00:55:57]RAPDU: 90 00 [00:55:57]wFMCommunicate OK [00:55:57]wFMCommunicate request_size=255 [00:55:57]MH_SAM_APDU [00:55:57]CAPDU: 80 0D 02 02 FA 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 9D 73 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D [00:55:57]Write to MH i2c: E2 02 01 12 04 80 0D 02 02 FA 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 9D 73 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 00 00 82 [00:55:57]Write i2c OK [00:55:57]MH_I2C_Read... [00:55:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:55:58]Read from MH i2c: E2 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: E2 03 00 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: E2 03 00 12 04 00 90 00 8A [00:55:58]RAPDU: 90 00 [00:55:58]wFMCommunicate OK [00:55:58]wFMCommunicate request_size=62 [00:55:58]MH_SAM_APDU [00:55:58]CAPDU: 80 0D 02 02 39 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 19 DF 00 00 35 04 06 00 1F 8B 8F 0B 0C 99 [00:55:58]Write to MH i2c: E2 41 00 13 04 80 0D 02 02 39 00 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 19 DF 00 00 35 04 06 00 1F 8B 8F 0B 0C 99 00 00 AF [00:55:58]Write i2c OK [00:55:58]MH_I2C_Read... [00:55:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [00:55:58]Read from MH i2c: E2 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: E2 03 00 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: E2 03 00 13 04 00 90 00 8B [00:55:58]RAPDU: 90 00 [00:55:58]wFMCommunicate OK [00:55:58]wFMCommunicate request_size=4 [00:55:58]MH_SAM_APDU [00:55:58]CAPDU: 80 0D 03 02 [00:55:58]Write to MH i2c: E2 08 00 14 04 80 0D 03 02 00 00 00 00 93 [00:55:58]Write i2c OK [00:55:58]MH_I2C_Read... [00:55:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [00:55:58]Read from MH i2c: E2 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: E2 0B 00 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: E2 0B 00 14 04 00 16 F9 97 B4 5E 09 82 A2 90 00 79 [00:55:58]RAPDU: 16 F9 97 B4 5E 09 82 A2 90 00 [00:55:58]wFMCommunicate OK [00:55:58]SAM_PROTO_SignData done [00:55:58]FM_MakeSignedData done [00:55:58]CreateOFDProtocolMessage [00:55:58]wFMCommunicate request_size=4 [00:55:58]MH_SAM_APDU [00:55:58]CAPDU: 80 11 00 00 [00:55:58]Write to MH i2c: E2 08 00 15 04 80 11 00 00 00 00 00 00 93 [00:55:58]Write i2c OK [00:55:58]MH_I2C_Read... [00:55:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:55:58]Read from MH i2c: E2 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: E2 17 00 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: E2 17 00 15 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 ED [00:55:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:55:58]wFMCommunicate OK [00:55:58]CreateOFDProtocolMessage done [00:55:58]OFDSenderStorePacket 57113 [00:55:58]StoreOFDPacket docnum=57113 [00:55:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 43 01 00 00 7C 58 3B 01 38 4A 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 9D 73 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 19 DF 00 00 35 04 06 00 1F 8B 8F 0B 0C 99 16 F9 97 B4 5E 09 82 A2 [00:55:58]CheckFolder [00:55:58]dirname=/storage/ofd_packets [00:55:58]CheckFolder done [00:55:58]ProducePacketName [00:55:58]name=ofd_packets/00057113 [00:55:58]NVStorageSaveData ofd_packets/00057113 [00:55:58]File name is /storage/ofd_packets/00057113 [00:55:58]Write 353 bytes [00:55:58]NVStorageSaveData done [00:55:58]OFDSenderStorePacket done [00:55:58]KKMCreateOFDPacket done [00:55:58]NVStorageSaveData kkm_last_timestamp [00:55:58]File name is /storage/kkm_last_timestamp [00:55:58]Write 4 bytes [00:55:58]NVStorageSaveData done [00:55:58]ExternCall_PrintAddStr [00:55:58]wPrintStart [00:55:58]Write to MH i2c: 01 00 00 16 04 1A [00:55:58]Write i2c OK [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: 01 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: 01 07 00 [00:55:58]MH_I2C_Read... [00:55:58]Read from MH i2c: 01 07 00 16 04 00 00 00 00 00 FF 0F 2F [00:55:58]RasterBufferAndPrint [00:55:58]line Счет N : (3)129569 [00:55:58]line ИНН: 02508201610067 [00:55:58]line Контрольно-Кассовый Чек [00:55:58]line ПРОДАЖА [00:55:58]line Товар: 4870202521216 [00:55:58]line Напиток MAXI чай 1,2 зел.лимон (новый) [00:55:58]line 1.000 * 110.00 [00:55:58]line = 110.00 [00:55:58]line НДС 12% НСП 1% [00:55:58]line > о реализуемом товаре [00:55:58]line ИТОГО: 110.00 [00:55:58]line НСП 1% : 0.97 [00:55:58]line НДС 12% : 11.68 [00:55:58]line Наличными: 0.00 [00:55:58]line Безнал.: 110.00 [00:55:58]line Место: АЗС № 132 "Партнер Нефть" [00:55:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [00:55:58]line СНО: Общий режим [00:55:58]line Чек 8 15.07.2024 00:55 [00:55:58]line Смена: 497 ФФД: 1.0 [00:55:58]line ЗНМ: 0300000132 [00:55:58]line РНМ: 0000000000091208 [00:55:58]line Версия ККМ: 001 [00:55:58]line Платежная система: АКБ Кыргызстан [00:55:58]line ФМ: 0000000000874857 [00:55:58]line ФД: 57113 [00:55:58]line ФПД: 34684260781209 [00:55:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T005557&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57113&fm=34684260781209&tin=02508201610067®Number=0000000000091208&sum=11000 [00:55:58]line 0 [00:55:58]OFD Sender: Processing packet 57113 [packets to send 38, broken 37] [00:55:58]ProducePacketName [00:55:58]name=ofd_packets/00057113 [00:55:58]OFD Sender: To server: pG, [00:55:58]CommunicateWithHost lk.salyk.kg:30040 [00:55:58]ConnectInit lk.salyk.kg [00:55:58]written 0, free lines is 4095 [00:55:58]Connected sock=10 [00:55:58]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 43 01 00 00 7C 58 3B 01 38 4A 5A 03 01 00 03 00 2F 01 1E 04 01 00 01 23 04 81 00 8A 04 0D 00 34 38 37 30 32 30 32 35 32 31 32 31 36 06 04 3D 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 D0 B7 D0 B5 D0 BB 2E D0 BB D0 B8 D0 BC D0 BE D0 BD 20 28 D0 BD D0 BE D0 B2 D1 8B D0 B9 29 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 FC 03 06 00 F8 2A 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 61 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 90 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 F8 2A 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 08 00 00 00 F4 03 04 00 9D 73 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 19 DF 00 00 35 04 06 00 1F 8B 8F 0B 0C 99 16 F9 97 B4 5E 09 82 A2 [00:55:58]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 96 B3 47 00 A4 52 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 19 DF 00 00 F4 03 04 00 ED 19 94 66 B6 04 01 00 00 D3 D3 CD C1 27 E2 2F 78 [00:55:58]CommunicateWithHost err = 0 [00:55:58]CheckOFDResponse [00:55:58]1017 (14) - 77093643461234 [00:55:58]1041 (16) - 0000000000874857 [00:55:58]1040 (4) - 57113 [00:55:58]1012 (4) - 14.07.2024 18:33 [00:55:58]1206 (1) - 0 [00:55:58]OFD Sender: Remove packet 57113 [00:55:58]ProducePacketName [00:55:58]name=ofd_packets/00057113 [00:55:58]NVStorageDeleteData [00:55:59]Write to MH i2c: 01 00 00 41 04 45 [00:55:59]Write i2c OK [00:55:59]MH_I2C_Read... [00:55:59]Read from MH i2c: 01 [00:55:59]MH_I2C_Read... [00:55:59]Read from MH i2c: 01 07 00 [00:55:59]MH_I2C_Read... [00:55:59]Read from MH i2c: 01 07 00 41 04 00 00 00 00 00 D7 0C 2F [00:55:59]RasterBufferAndPrint [00:55:59]line [00:55:59]line [00:55:59]line [00:55:59]line [00:55:59]line [00:55:59]written 0, free lines is 3294 [00:55:59]MH_Cut [00:55:59]Write to MH i2c: D1 01 00 48 04 01 1E [00:55:59]Write i2c OK [00:55:59]MH_I2C_Read... [00:55:59]Read from MH i2c: D1 [00:55:59]MH_I2C_Read... [00:55:59]Read from MH i2c: D1 01 00 [00:55:59]MH_I2C_Read... [00:55:59]Read from MH i2c: D1 01 00 48 04 00 1D [00:55:59]Write to MH i2c: 01 00 00 49 04 4D [00:55:59]Write i2c OK [00:55:59]MH_I2C_Read... [00:55:59]OFD Sender: No OFD packet to send [00:55:59]*** Cut start [00:55:59]*** Partial cut [00:55:59]*** CUTSNS_PIN = 1 [00:55:59]*** CUTSNS_PIN = 0 [00:56:00]*** Brake cut motor [00:56:00]Read from MH i2c: 01 [00:56:00]MH_I2C_Read... [00:56:00]*** Stop cut motor [00:56:00]*** Cut end [00:56:00]Read from MH i2c: 01 07 00 [00:56:00]MH_I2C_Read... [00:56:00]Read from MH i2c: 01 07 00 49 04 00 00 00 00 00 FF 0F 62 [00:56:00]process_action close_receipt done [00:56:00]requested_data is exist [00:56:00]produce_requested_data [00:56:00]requested_item fm.sn is exist - process it [00:56:00]wFMCommunicate request_size=4 [00:56:00]MH_SAM_APDU [00:56:00]CAPDU: 80 11 00 00 [00:56:00]Write to MH i2c: E2 08 00 4A 04 80 11 00 00 00 00 00 00 C8 [00:56:00]Write i2c OK [00:56:00]MH_I2C_Read... [00:56:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [00:56:00]Read from MH i2c: E2 [00:56:00]MH_I2C_Read... [00:56:00]Read from MH i2c: E2 17 00 [00:56:00]MH_I2C_Read... [00:56:00]Read from MH i2c: E2 17 00 4A 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 22 [00:56:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [00:56:00]wFMCommunicate OK [00:56:00]requested_item fd.num is exist - process it [00:56:00]SAM_PROTO_GetFieldsCounters [00:56:00]wFMCommunicate request_size=4 [00:56:00]MH_SAM_APDU [00:56:00]CAPDU: 80 13 00 00 [00:56:00]Write to MH i2c: E2 08 00 4B 04 80 13 00 00 00 00 00 00 CB [00:56:00]Write i2c OK [00:56:00]MH_I2C_Read... [00:56:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [00:56:00]Read from MH i2c: E2 [00:56:00]MH_I2C_Read... [00:56:00]Read from MH i2c: E2 62 00 [00:56:00]MH_I2C_Read... [00:56:00]Read from MH i2c: E2 62 00 4B 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 19 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [00:56:00]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 19 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 08 00 00 00 5E 04 04 00 08 00 00 00 57 04 04 00 09 00 00 00 19 04 04 00 00 00 00 00 90 00 [00:56:00]wFMCommunicate OK [00:56:00]SAM_PROTO_GetFieldsCounters done [00:56:00]requested_item shift.num is exist - process it [00:56:00]requested_item shift.opened is exist - process it [00:56:00]req_shift_opened [00:56:00]FM_GetShiftState [00:56:00]SAM_PROTO_GetShiftState [00:56:00]wFMCommunicate request_size=4 [00:56:00]MH_SAM_APDU [00:56:00]CAPDU: 80 13 01 00 [00:56:00]Write to MH i2c: E2 08 00 4C 04 80 13 01 00 00 00 00 00 CD [00:56:00]Write i2c OK [00:56:00]MH_I2C_Read... [00:56:00]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [00:56:00]Read from MH i2c: E2 [00:56:00]MH_I2C_Read... [00:56:00]Read from MH i2c: E2 0E 00 [00:56:00]MH_I2C_Read... [00:56:00]Read from MH i2c: E2 0E 00 4C 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 46 [00:56:00]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [00:56:00]wFMCommunicate OK [00:56:00]SAM_PROTO_GetShiftState done [00:56:00]FM_GetShiftState done [00:56:00]req_shift_opened done [00:56:00]requested_item shift.open_date is exist - process it [00:56:00]req_shift_open_date [00:56:00]req_shift_open_date done [00:56:00]requested_item shift.sale.total is exist - process it [00:56:00]SAM_PROTO_GetShiftData [00:56:00]wFMCommunicate request_size=4 [00:56:00]MH_SAM_APDU [00:56:00]CAPDU: 80 13 02 00 [00:56:00]Write to MH i2c: E2 08 00 4D 04 80 13 02 00 00 00 00 00 CF [00:56:00]Write i2c OK [00:56:00]MH_I2C_Read... [00:56:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [00:56:01]Read from MH i2c: E2 [00:56:01]MH_I2C_Read... [00:56:01]Read from MH i2c: E2 FD 00 [00:56:01]MH_I2C_Read... [00:56:01]Read from MH i2c: E2 FD 00 4D 04 00 AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 CD F9 02 70 04 02 00 C8 AF 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 E6 50 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 BD 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 22 [00:56:01]RAPDU: AC 04 AA 04 A8 04 6E 04 04 00 08 00 00 00 69 04 99 00 6F 04 04 00 08 00 00 00 B1 04 03 00 CD F9 02 70 04 02 00 C8 AF 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 E6 50 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 BD 06 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 90 00 [00:56:01]wFMCommunicate OK [00:56:01]wFMCommunicate request_size=4 [00:56:01]MH_SAM_APDU [00:56:01]CAPDU: 80 17 00 00 [00:56:01]Write to MH i2c: E2 08 00 4E 04 80 17 00 00 00 00 00 00 D2 [00:56:01]Write i2c OK [00:56:01]MH_I2C_Read... [00:56:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:56:01]Read from MH i2c: E2 [00:56:01]MH_I2C_Read... [00:56:01]Read from MH i2c: E2 FD 00 [00:56:01]MH_I2C_Read... [00:56:01]Read from MH i2c: E2 FD 00 4E 04 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 E7 [00:56:01]RAPDU: 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6B 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6C 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 90 00 [00:56:01]wFMCommunicate OK [00:56:01]wFMCommunicate request_size=4 [00:56:01]MH_SAM_APDU [00:56:01]CAPDU: 80 17 00 00 [00:56:01]Write to MH i2c: E2 08 00 4F 04 80 17 00 00 00 00 00 00 D3 [00:56:01]Write i2c OK [00:56:01]MH_I2C_Read... [00:56:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:56:01]Read from MH i2c: E2 [00:56:01]MH_I2C_Read... [00:56:01]Read from MH i2c: E2 FD 00 [00:56:01]MH_I2C_Read... [00:56:01]Read from MH i2c: E2 FD 00 4F 04 00 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 94 [00:56:01]RAPDU: 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6D 04 4C 02 78 04 04 00 00 00 00 00 79 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 90 00 [00:56:01]wFMCommunicate OK [00:56:01]wFMCommunicate request_size=4 [00:56:01]MH_SAM_APDU [00:56:01]CAPDU: 80 17 00 00 [00:56:01]Write to MH i2c: E2 08 00 50 04 80 17 00 00 00 00 00 00 D4 [00:56:01]Write i2c OK [00:56:01]MH_I2C_Read... [00:56:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [00:56:02]Read from MH i2c: E2 [00:56:02]MH_I2C_Read... [00:56:02]Read from MH i2c: E2 FD 00 [00:56:02]MH_I2C_Read... [00:56:02]Read from MH i2c: E2 FD 00 50 04 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 49 [00:56:02]RAPDU: EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D0 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 7A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 90 00 [00:56:02]wFMCommunicate OK [00:56:02]wFMCommunicate request_size=4 [00:56:02]MH_SAM_APDU [00:56:02]CAPDU: 80 17 00 00 [00:56:02]Write to MH i2c: E2 08 00 51 04 80 17 00 00 00 00 00 00 D5 [00:56:02]Write i2c OK [00:56:02]MH_I2C_Read... [00:56:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 198! [00:56:02]Read from MH i2c: E2 [00:56:02]MH_I2C_Read... [00:56:02]Read from MH i2c: E2 C9 00 [00:56:02]MH_I2C_Read... [00:56:02]Read from MH i2c: E2 C9 00 51 04 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 B9 [00:56:02]RAPDU: 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [00:56:02]wFMCommunicate OK [00:56:02]SAM_PROTO_GetShiftData done [00:56:02]requested_item shift.sale.total_cash is exist - process it [00:56:02]requested_item shift.sale_refund.total is exist - process it [00:56:02]requested_item shift.sale_refund.total_cash is exist - process it [00:56:02]produce_requested_data done [00:56:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57113,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1950.21,"shift.sale.total_cash":450.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [00:56:02]process_action_free close_receipt [00:56:02]json_value_free [00:56:02]json_value_free done [00:56:02]process_json_proto returns [00:56:02]Send response to host [00:56:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57113,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":1950.21,"shift.sale.total_cash":450.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [00:56:02]free response buf [00:56:02]execute_script done [00:56:02]execute_script returns [00:56:02]free content buf [00:56:02]Sock 9.Close socket [00:56:02]Sock 9.Thread stoped [00:56:04]OFD Sender: No OFD packet to send [00:56:09]OFD Sender: No OFD packet to send [00:56:14]OFD Sender: No OFD packet to send [00:56:19]OFD Sender: No OFD packet to send [00:56:24]OFD Sender: No OFD packet to send [00:56:29]OFD Sender: No OFD packet to send [00:56:34]OFD Sender: No OFD packet to send [00:56:39]OFD Sender: No OFD packet to send [00:56:44]OFD Sender: No OFD packet to send [00:56:49]OFD Sender: No OFD packet to send [00:56:54]OFD Sender: No OFD packet to send [00:56:59]OFD Sender: No OFD packet to send [00:57:04]OFD Sender: No OFD packet to send [00:57:09]OFD Sender: No OFD packet to send [00:57:14]OFD Sender: No OFD packet to send [00:57:19]OFD Sender: No OFD packet to send [00:57:24]OFD Sender: No OFD packet to send [00:57:29]OFD Sender: No OFD packet to send [00:57:34]OFD Sender: No OFD packet to send [00:57:39]OFD Sender: No OFD packet to send [00:57:44]OFD Sender: No OFD packet to send [00:57:49]OFD Sender: No OFD packet to send [00:57:54]OFD Sender: No OFD packet to send [00:57:59]OFD Sender: No OFD packet to send [00:58:04]OFD Sender: No OFD packet to send [00:58:09]OFD Sender: No OFD packet to send [00:58:14]OFD Sender: No OFD packet to send [00:58:19]OFD Sender: No OFD packet to send [00:58:24]OFD Sender: No OFD packet to send [00:58:29]OFD Sender: No OFD packet to send [00:58:34]OFD Sender: No OFD packet to send [00:58:39]OFD Sender: No OFD packet to send [00:58:44]OFD Sender: No OFD packet to send [00:58:49]OFD Sender: No OFD packet to send [00:58:54]OFD Sender: No OFD packet to send [00:58:59]OFD Sender: No OFD packet to send [00:59:04]OFD Sender: No OFD packet to send [00:59:09]OFD Sender: No OFD packet to send [00:59:14]OFD Sender: No OFD packet to send [00:59:19]OFD Sender: No OFD packet to send [00:59:24]OFD Sender: No OFD packet to send [00:59:29]OFD Sender: No OFD packet to send [00:59:34]OFD Sender: No OFD packet to send [00:59:39]OFD Sender: No OFD packet to send [00:59:44]OFD Sender: No OFD packet to send [00:59:49]OFD Sender: No OFD packet to send [00:59:54]OFD Sender: No OFD packet to send [00:59:59]OFD Sender: No OFD packet to send [01:00:04]OFD Sender: No OFD packet to send [01:00:09]OFD Sender: No OFD packet to send [01:00:14]OFD Sender: No OFD packet to send [01:00:19]OFD Sender: No OFD packet to send [01:00:24]OFD Sender: No OFD packet to send [01:00:29]OFD Sender: No OFD packet to send [01:00:34]OFD Sender: No OFD packet to send [01:00:39]OFD Sender: No OFD packet to send [01:00:44]OFD Sender: No OFD packet to send [01:00:49]OFD Sender: No OFD packet to send [01:00:54]OFD Sender: No OFD packet to send [01:00:59]OFD Sender: No OFD packet to send [01:01:04]OFD Sender: No OFD packet to send [01:01:09]OFD Sender: No OFD packet to send [01:01:14]OFD Sender: No OFD packet to send [01:01:19]OFD Sender: No OFD packet to send [01:01:24]OFD Sender: No OFD packet to send [01:01:29]OFD Sender: No OFD packet to send [01:01:34]OFD Sender: No OFD packet to send [01:01:39]OFD Sender: No OFD packet to send [01:01:44]OFD Sender: No OFD packet to send [01:01:49]OFD Sender: No OFD packet to send [01:01:54]OFD Sender: No OFD packet to send [01:01:59]OFD Sender: No OFD packet to send [01:02:04]OFD Sender: No OFD packet to send [01:02:09]OFD Sender: No OFD packet to send [01:02:14]OFD Sender: No OFD packet to send [01:02:19]OFD Sender: No OFD packet to send [01:02:24]OFD Sender: No OFD packet to send [01:02:29]OFD Sender: No OFD packet to send [01:02:34]OFD Sender: No OFD packet to send [01:02:39]OFD Sender: No OFD packet to send [01:02:44]OFD Sender: No OFD packet to send [01:02:49]OFD Sender: No OFD packet to send [01:02:54]OFD Sender: No OFD packet to send [01:02:59]OFD Sender: No OFD packet to send [01:03:04]OFD Sender: No OFD packet to send [01:03:09]OFD Sender: No OFD packet to send [01:03:14]OFD Sender: No OFD packet to send [01:03:19]OFD Sender: No OFD packet to send [01:03:24]OFD Sender: No OFD packet to send [01:03:29]OFD Sender: No OFD packet to send [01:03:34]OFD Sender: No OFD packet to send [01:03:39]OFD Sender: No OFD packet to send [01:03:44]OFD Sender: No OFD packet to send [01:03:49]OFD Sender: No OFD packet to send [01:03:54]OFD Sender: No OFD packet to send [01:03:59]OFD Sender: No OFD packet to send [01:04:04]OFD Sender: No OFD packet to send [01:04:09]OFD Sender: No OFD packet to send [01:04:14]OFD Sender: No OFD packet to send [01:04:19]OFD Sender: No OFD packet to send [01:04:24]OFD Sender: No OFD packet to send [01:04:29]OFD Sender: No OFD packet to send [01:04:34]OFD Sender: No OFD packet to send [01:04:39]OFD Sender: No OFD packet to send [01:04:44]OFD Sender: No OFD packet to send [01:04:49]OFD Sender: No OFD packet to send [01:04:54]OFD Sender: No OFD packet to send [01:04:59]OFD Sender: No OFD packet to send [01:05:04]OFD Sender: No OFD packet to send [01:05:10]OFD Sender: No OFD packet to send [01:05:15]OFD Sender: No OFD packet to send [01:05:20]OFD Sender: No OFD packet to send [01:05:25]OFD Sender: No OFD packet to send [01:05:30]OFD Sender: No OFD packet to send [01:05:35]OFD Sender: No OFD packet to send [01:05:40]OFD Sender: No OFD packet to send [01:05:45]OFD Sender: No OFD packet to send [01:05:50]OFD Sender: No OFD packet to send [01:05:55]OFD Sender: No OFD packet to send [01:06:00]OFD Sender: No OFD packet to send [01:06:05]OFD Sender: No OFD packet to send [01:06:10]OFD Sender: No OFD packet to send [01:06:15]OFD Sender: No OFD packet to send [01:06:20]OFD Sender: No OFD packet to send [01:06:25]OFD Sender: No OFD packet to send [01:06:30]OFD Sender: No OFD packet to send [01:06:35]OFD Sender: No OFD packet to send [01:06:40]OFD Sender: No OFD packet to send [01:06:45]OFD Sender: No OFD packet to send [01:06:50]OFD Sender: No OFD packet to send [01:06:55]OFD Sender: No OFD packet to send [01:07:00]OFD Sender: No OFD packet to send [01:07:05]OFD Sender: No OFD packet to send [01:07:10]OFD Sender: No OFD packet to send [01:07:15]OFD Sender: No OFD packet to send [01:07:20]OFD Sender: No OFD packet to send [01:07:25]OFD Sender: No OFD packet to send [01:07:30]OFD Sender: No OFD packet to send [01:07:35]OFD Sender: No OFD packet to send [01:07:40]OFD Sender: No OFD packet to send [01:07:45]OFD Sender: No OFD packet to send [01:07:50]OFD Sender: No OFD packet to send [01:07:55]OFD Sender: No OFD packet to send [01:08:00]OFD Sender: No OFD packet to send [01:08:05]OFD Sender: No OFD packet to send [01:08:10]OFD Sender: No OFD packet to send [01:08:15]OFD Sender: No OFD packet to send [01:08:20]OFD Sender: No OFD packet to send [01:08:25]OFD Sender: No OFD packet to send [01:08:30]OFD Sender: No OFD packet to send [01:08:35]OFD Sender: No OFD packet to send [01:08:40]OFD Sender: No OFD packet to send [01:08:45]OFD Sender: No OFD packet to send [01:08:50]OFD Sender: No OFD packet to send [01:08:55]OFD Sender: No OFD packet to send [01:09:00]OFD Sender: No OFD packet to send [01:09:05]OFD Sender: No OFD packet to send [01:09:10]OFD Sender: No OFD packet to send [01:09:15]OFD Sender: No OFD packet to send [01:09:20]OFD Sender: No OFD packet to send [01:09:25]OFD Sender: No OFD packet to send [01:09:30]OFD Sender: No OFD packet to send [01:09:35]OFD Sender: No OFD packet to send [01:09:40]OFD Sender: No OFD packet to send [01:09:45]OFD Sender: No OFD packet to send [01:09:50]OFD Sender: No OFD packet to send [01:09:55]OFD Sender: No OFD packet to send [01:10:00]OFD Sender: No OFD packet to send [01:10:05]OFD Sender: No OFD packet to send [01:10:10]OFD Sender: No OFD packet to send [01:10:15]OFD Sender: No OFD packet to send [01:10:20]OFD Sender: No OFD packet to send [01:10:25]OFD Sender: No OFD packet to send [01:10:30]OFD Sender: No OFD packet to send [01:10:35]OFD Sender: No OFD packet to send [01:10:40]OFD Sender: No OFD packet to send [01:10:45]OFD Sender: No OFD packet to send [01:10:50]OFD Sender: No OFD packet to send [01:10:55]OFD Sender: No OFD packet to send [01:11:00]OFD Sender: No OFD packet to send [01:11:05]OFD Sender: No OFD packet to send [01:11:10]OFD Sender: No OFD packet to send [01:11:15]OFD Sender: No OFD packet to send [01:11:20]OFD Sender: No OFD packet to send [01:11:25]OFD Sender: No OFD packet to send [01:11:30]OFD Sender: No OFD packet to send [01:11:35]OFD Sender: No OFD packet to send [01:11:40]OFD Sender: No OFD packet to send [01:11:45]OFD Sender: No OFD packet to send [01:11:50]OFD Sender: No OFD packet to send [01:11:55]OFD Sender: No OFD packet to send [01:12:00]OFD Sender: No OFD packet to send [01:12:05]OFD Sender: No OFD packet to send [01:12:10]OFD Sender: No OFD packet to send [01:12:15]OFD Sender: No OFD packet to send [01:12:20]OFD Sender: No OFD packet to send [01:12:25]OFD Sender: No OFD packet to send [01:12:30]OFD Sender: No OFD packet to send [01:12:35]OFD Sender: No OFD packet to send [01:12:40]OFD Sender: No OFD packet to send [01:12:45]OFD Sender: No OFD packet to send [01:12:50]OFD Sender: No OFD packet to send [01:12:55]OFD Sender: No OFD packet to send [01:13:00]OFD Sender: No OFD packet to send [01:13:05]OFD Sender: No OFD packet to send [01:13:10]OFD Sender: No OFD packet to send [01:13:15]OFD Sender: No OFD packet to send [01:13:20]OFD Sender: No OFD packet to send [01:13:25]OFD Sender: No OFD packet to send [01:13:30]OFD Sender: No OFD packet to send [01:13:35]OFD Sender: No OFD packet to send [01:13:40]OFD Sender: No OFD packet to send [01:13:45]OFD Sender: No OFD packet to send [01:13:50]OFD Sender: No OFD packet to send [01:13:55]OFD Sender: No OFD packet to send [01:14:00]OFD Sender: No OFD packet to send [01:14:05]OFD Sender: No OFD packet to send [01:14:10]OFD Sender: No OFD packet to send [01:14:15]OFD Sender: No OFD packet to send [01:14:20]OFD Sender: No OFD packet to send [01:14:25]OFD Sender: No OFD packet to send [01:14:30]OFD Sender: No OFD packet to send [01:14:35]OFD Sender: No OFD packet to send [01:14:40]OFD Sender: No OFD packet to send [01:14:45]OFD Sender: No OFD packet to send [01:14:50]OFD Sender: No OFD packet to send [01:14:55]OFD Sender: No OFD packet to send [01:15:00]OFD Sender: No OFD packet to send [01:15:05]OFD Sender: No OFD packet to send [01:15:10]OFD Sender: No OFD packet to send [01:15:15]OFD Sender: No OFD packet to send [01:15:20]OFD Sender: No OFD packet to send [01:15:25]OFD Sender: No OFD packet to send [01:15:30]OFD Sender: No OFD packet to send [01:15:35]OFD Sender: No OFD packet to send [01:15:40]OFD Sender: No OFD packet to send [01:15:45]OFD Sender: No OFD packet to send [01:15:50]OFD Sender: No OFD packet to send [01:15:55]OFD Sender: No OFD packet to send [01:16:00]OFD Sender: No OFD packet to send [01:16:05]OFD Sender: No OFD packet to send [01:16:10]OFD Sender: No OFD packet to send [01:16:15]OFD Sender: No OFD packet to send [01:16:20]OFD Sender: No OFD packet to send [01:16:25]OFD Sender: No OFD packet to send [01:16:30]OFD Sender: No OFD packet to send [01:16:35]OFD Sender: No OFD packet to send [01:16:40]OFD Sender: No OFD packet to send [01:16:45]OFD Sender: No OFD packet to send [01:16:50]OFD Sender: No OFD packet to send [01:16:55]OFD Sender: No OFD packet to send [01:17:00]OFD Sender: No OFD packet to send [01:17:05]OFD Sender: No OFD packet to send [01:17:10]OFD Sender: No OFD packet to send [01:17:15]OFD Sender: No OFD packet to send [01:17:20]OFD Sender: No OFD packet to send [01:17:25]OFD Sender: No OFD packet to send [01:17:30]OFD Sender: No OFD packet to send [01:17:35]OFD Sender: No OFD packet to send [01:17:40]OFD Sender: No OFD packet to send [01:17:45]OFD Sender: No OFD packet to send [01:17:50]OFD Sender: No OFD packet to send [01:17:55]OFD Sender: No OFD packet to send [01:18:00]OFD Sender: No OFD packet to send [01:18:05]OFD Sender: No OFD packet to send [01:18:10]OFD Sender: No OFD packet to send [01:18:15]OFD Sender: No OFD packet to send [01:18:20]OFD Sender: No OFD packet to send [01:18:25]OFD Sender: No OFD packet to send [01:18:30]OFD Sender: No OFD packet to send [01:18:35]OFD Sender: No OFD packet to send [01:18:40]OFD Sender: No OFD packet to send [01:18:45]OFD Sender: No OFD packet to send [01:18:50]OFD Sender: No OFD packet to send [01:18:55]OFD Sender: No OFD packet to send [01:19:00]OFD Sender: No OFD packet to send [01:19:05]OFD Sender: No OFD packet to send [01:19:10]OFD Sender: No OFD packet to send [01:19:15]OFD Sender: No OFD packet to send [01:19:20]OFD Sender: No OFD packet to send [01:19:25]OFD Sender: No OFD packet to send [01:19:30]OFD Sender: No OFD packet to send [01:19:35]OFD Sender: No OFD packet to send [01:19:40]OFD Sender: No OFD packet to send [01:19:45]OFD Sender: No OFD packet to send [01:19:50]OFD Sender: No OFD packet to send [01:19:55]OFD Sender: No OFD packet to send [01:20:00]OFD Sender: No OFD packet to send [01:20:05]OFD Sender: No OFD packet to send [01:20:10]OFD Sender: No OFD packet to send [01:20:15]OFD Sender: No OFD packet to send [01:20:20]OFD Sender: No OFD packet to send [01:20:25]OFD Sender: No OFD packet to send [01:20:30]OFD Sender: No OFD packet to send [01:20:35]OFD Sender: No OFD packet to send [01:20:40]OFD Sender: No OFD packet to send [01:20:45]OFD Sender: No OFD packet to send [01:20:50]OFD Sender: No OFD packet to send [01:20:55]OFD Sender: No OFD packet to send [01:21:00]OFD Sender: No OFD packet to send [01:21:05]OFD Sender: No OFD packet to send [01:21:10]OFD Sender: No OFD packet to send [01:21:15]OFD Sender: No OFD packet to send [01:21:20]OFD Sender: No OFD packet to send [01:21:25]OFD Sender: No OFD packet to send [01:21:30]OFD Sender: No OFD packet to send [01:21:35]OFD Sender: No OFD packet to send [01:21:40]OFD Sender: No OFD packet to send [01:21:45]OFD Sender: No OFD packet to send [01:21:50]OFD Sender: No OFD packet to send [01:21:55]OFD Sender: No OFD packet to send [01:22:00]OFD Sender: No OFD packet to send [01:22:05]OFD Sender: No OFD packet to send [01:22:10]OFD Sender: No OFD packet to send [01:22:15]OFD Sender: No OFD packet to send [01:22:20]OFD Sender: No OFD packet to send [01:22:25]OFD Sender: No OFD packet to send [01:22:30]OFD Sender: No OFD packet to send [01:22:35]OFD Sender: No OFD packet to send [01:22:40]OFD Sender: No OFD packet to send [01:22:45]OFD Sender: No OFD packet to send [01:22:50]OFD Sender: No OFD packet to send [01:22:55]OFD Sender: No OFD packet to send [01:23:00]OFD Sender: No OFD packet to send [01:23:05]OFD Sender: No OFD packet to send [01:23:10]OFD Sender: No OFD packet to send [01:23:15]OFD Sender: No OFD packet to send [01:23:20]OFD Sender: No OFD packet to send [01:23:25]OFD Sender: No OFD packet to send [01:23:30]OFD Sender: No OFD packet to send [01:23:35]OFD Sender: No OFD packet to send [01:23:40]OFD Sender: No OFD packet to send [01:23:45]OFD Sender: No OFD packet to send [01:23:50]OFD Sender: No OFD packet to send [01:23:55]OFD Sender: No OFD packet to send [01:24:00]OFD Sender: No OFD packet to send [01:24:05]OFD Sender: No OFD packet to send [01:24:10]OFD Sender: No OFD packet to send [01:24:16]OFD Sender: No OFD packet to send [01:24:21]OFD Sender: No OFD packet to send [01:24:26]OFD Sender: No OFD packet to send [01:24:31]OFD Sender: No OFD packet to send [01:24:36]OFD Sender: No OFD packet to send [01:24:41]OFD Sender: No OFD packet to send [01:24:46]OFD Sender: No OFD packet to send [01:24:46]accept exits with 8 [01:24:46]New connection [01:24:46]New thread 3066924388 created [01:24:46]Thread 3067067748 joined [01:24:46]Waiting for new connection... [01:24:46] Sock 8.Parse request [01:24:46]Sock 8.Check first char [01:24:46]Sock 8.First char is OK [01:24:46]request: POST /json_proto HTTP/1.0 [01:24:46]Method: POST [01:24:46]URL: /json_proto [01:24:46]Method is POST - this is cgi request [01:24:46]url: /json_proto [01:24:46]query_string will be loaded in cgi processing [01:24:46]execute_cgi json_proto POST (null) [01:24:46]execute_cgi path=json_proto method=POST [01:24:46]POST find Content-Length [01:24:46]Host: 172.17.39.4:8080 [01:24:46]Content-Length: 736 [01:24:46]Content-Type: application/json [01:24:46] [01:24:46]POST finish read [01:24:46]Found Content-Length = 736 [01:24:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129570", "tax_sys" : 0, "items" : [ { "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:24:46]execute_script... [01:24:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129570", "tax_sys" : 0, "items" : [ { "code": "6957531032045", "name": "\u041A\u0430\u0431\u0435\u043B\u044C hoco rapid charging X1 type-C 1\u043C", "price" : 271.00, "quantity" : 1.000, "sum" : 271.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 271.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:24:46]POST & json_proto [01:24:46]process_json_proto [01:24:46]json parsed OK: [01:24:46]protocol is kg_v1.0 [01:24:46]action value=close_receipt [01:24:46]process_action close_receipt [01:24:46]cmd_close_receipt [01:24:46]MH_GetDate [01:24:46]Write to MH i2c: F0 00 00 52 04 45 [01:24:46]Write i2c OK [01:24:46]MH_I2C_Read... [01:24:46]Read from MH i2c: F0 [01:24:46]MH_I2C_Read... [01:24:46]Read from MH i2c: F0 09 00 [01:24:46]MH_I2C_Read... [01:24:46]Read from MH i2c: F0 09 00 52 04 00 5F 7A 94 66 2D 25 5D 64 34 [01:24:46]GetLastDocTimeStamp 1721004957 [01:24:46]current date 1721006687 [01:24:46]FM_GetShiftState [01:24:46]SAM_PROTO_GetShiftState [01:24:46]wFMCommunicate request_size=4 [01:24:46]MH_SAM_APDU [01:24:46]CAPDU: 80 13 01 00 [01:24:46]Write to MH i2c: E2 08 00 53 04 80 13 01 00 00 00 00 00 D4 [01:24:46]Write i2c OK [01:24:46]MH_I2C_Read... [01:24:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:24:46]Read from MH i2c: E2 [01:24:46]MH_I2C_Read... [01:24:46]Read from MH i2c: E2 0E 00 [01:24:46]MH_I2C_Read... [01:24:46]Read from MH i2c: E2 0E 00 53 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 4D [01:24:46]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:24:46]wFMCommunicate OK [01:24:46]SAM_PROTO_GetShiftState done [01:24:46]FM_GetShiftState done [01:24:46]opened in 1721003525 [01:24:46]opened+sec_in_day 1721089925 [01:24:46]quantity*price = 27100 [01:24:46]sum+1 = 27101 [01:24:46]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 271.00 НСП 1% : 2.40 НДС 12% : 28.78 Наличными: 271.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 9 15.07.2024 01:24 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57114 ФПД: 175037980276175 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T012447&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57114&fm=175037980276175&tin=02508201610067®Number=0000000000091208&sum=27100 0 [01:24:47]StoreToDocumentArchive [01:24:47]shift 497 fd 57114 [01:24:47]save to /storage/0497/doc_00057114 [01:24:47]save last doc name /storage/0497/doc_00057114 to /storage/kkm_last_doc_name [01:24:47]save OK [01:24:47]Clear old archive folders... [01:24:47]ProcessDocumentItem done err = 0, tmpTLVsize=288 [01:24:47]tlvbuf is 00978140 [01:24:47]SAM_PROTO_ClearQueue [01:24:47]wFMCommunicate request_size=4 [01:24:47]MH_SAM_APDU [01:24:47]CAPDU: 80 09 00 00 [01:24:47]Write to MH i2c: E2 08 00 60 04 80 09 00 00 00 00 00 00 D6 [01:24:47]Write i2c OK [01:24:47]MH_I2C_Read... [01:24:47]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:24:47]Read from MH i2c: E2 [01:24:47]MH_I2C_Read... [01:24:47]Read from MH i2c: E2 03 00 [01:24:47]MH_I2C_Read... [01:24:47]Read from MH i2c: E2 03 00 60 04 00 90 00 D8 [01:24:47]RAPDU: 90 00 [01:24:47]wFMCommunicate OK [01:24:47]SAM_PROTO_ClearQueue done [01:24:47]KKMCreateOFDPacket [01:24:47]OFDProtocolAddRootSTLVToBuf [01:24:47]FM_MakeSignedData [01:24:47]FM_MakeSignedData [01:24:47]SAM_PROTO_SignData [01:24:47]wFMCommunicate request_size=4 [01:24:47]MH_SAM_APDU [01:24:47]CAPDU: 80 0D 01 02 [01:24:47]Write to MH i2c: E2 08 00 61 04 80 0D 01 02 00 00 00 00 DE [01:24:47]Write i2c OK [01:24:47]MH_I2C_Read... [01:24:47]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:24:47]Read from MH i2c: E2 [01:24:47]MH_I2C_Read... [01:24:47]Read from MH i2c: E2 03 00 [01:24:47]MH_I2C_Read... [01:24:47]Read from MH i2c: E2 03 00 61 04 00 90 00 D9 [01:24:47]RAPDU: 90 00 [01:24:47]wFMCommunicate OK [01:24:47]wFMCommunicate request_size=255 [01:24:47]MH_SAM_APDU [01:24:47]CAPDU: 80 0D 02 02 FA 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 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 5F 7A 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 [01:24:47]Write to MH i2c: E2 02 01 62 04 80 0D 02 02 FA 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 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 5F 7A 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 00 00 32 [01:24:47]Write i2c OK [01:24:47]MH_I2C_Read... [01:24:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:24:48]Read from MH i2c: E2 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: E2 03 00 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: E2 03 00 62 04 00 90 00 DA [01:24:48]RAPDU: 90 00 [01:24:48]wFMCommunicate OK [01:24:48]wFMCommunicate request_size=47 [01:24:48]MH_SAM_APDU [01:24:48]CAPDU: 80 0D 02 02 2A 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1A DF 00 00 35 04 06 00 9F 32 34 A2 F5 CF [01:24:48]Write to MH i2c: E2 32 00 63 04 80 0D 02 02 2A 00 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1A DF 00 00 35 04 06 00 9F 32 34 A2 F5 CF 00 00 07 [01:24:48]Write i2c OK [01:24:48]MH_I2C_Read... [01:24:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:24:48]Read from MH i2c: E2 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: E2 03 00 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: E2 03 00 63 04 00 90 00 DB [01:24:48]RAPDU: 90 00 [01:24:48]wFMCommunicate OK [01:24:48]wFMCommunicate request_size=4 [01:24:48]MH_SAM_APDU [01:24:48]CAPDU: 80 0D 03 02 [01:24:48]Write to MH i2c: E2 08 00 64 04 80 0D 03 02 00 00 00 00 E3 [01:24:48]Write i2c OK [01:24:48]MH_I2C_Read... [01:24:48]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:24:48]Read from MH i2c: E2 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: E2 0B 00 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: E2 0B 00 64 04 00 FA FE 42 9A AD B5 A6 A9 90 00 69 [01:24:48]RAPDU: FA FE 42 9A AD B5 A6 A9 90 00 [01:24:48]wFMCommunicate OK [01:24:48]SAM_PROTO_SignData done [01:24:48]FM_MakeSignedData done [01:24:48]CreateOFDProtocolMessage [01:24:48]wFMCommunicate request_size=4 [01:24:48]MH_SAM_APDU [01:24:48]CAPDU: 80 11 00 00 [01:24:48]Write to MH i2c: E2 08 00 65 04 80 11 00 00 00 00 00 00 E3 [01:24:48]Write i2c OK [01:24:48]MH_I2C_Read... [01:24:48]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:24:48]Read from MH i2c: E2 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: E2 17 00 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: E2 17 00 65 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 3D [01:24:48]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:24:48]wFMCommunicate OK [01:24:48]CreateOFDProtocolMessage done [01:24:48]OFDSenderStorePacket 57114 [01:24:48]StoreOFDPacket docnum=57114 [01:24:48]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 34 01 00 00 4E FF 2C 01 62 52 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 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 5F 7A 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1A DF 00 00 35 04 06 00 9F 32 34 A2 F5 CF FA FE 42 9A AD B5 A6 A9 [01:24:48]CheckFolder [01:24:48]dirname=/storage/ofd_packets [01:24:48]CheckFolder done [01:24:48]ProducePacketName [01:24:48]name=ofd_packets/00057114 [01:24:48]NVStorageSaveData ofd_packets/00057114 [01:24:48]File name is /storage/ofd_packets/00057114 [01:24:48]Write 338 bytes [01:24:48]NVStorageSaveData done [01:24:48]OFDSenderStorePacket done [01:24:48]KKMCreateOFDPacket done [01:24:48]NVStorageSaveData kkm_last_timestamp [01:24:48]File name is /storage/kkm_last_timestamp [01:24:48]Write 4 bytes [01:24:48]NVStorageSaveData done [01:24:48]ExternCall_PrintAddStr [01:24:48]wPrintStart [01:24:48]Write to MH i2c: 01 00 00 66 04 6A [01:24:48]Write i2c OK [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: 01 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: 01 07 00 [01:24:48]MH_I2C_Read... [01:24:48]Read from MH i2c: 01 07 00 66 04 00 00 00 00 00 FF 0F 7F [01:24:48]RasterBufferAndPrint [01:24:48]line Счет N : (3)129570 [01:24:48]line ИНН: 02508201610067 [01:24:48]line Контрольно-Кассовый Чек [01:24:48]line ПРОДАЖА [01:24:48]line Товар: 6957531032045 [01:24:48]line Кабель hoco rapid charging X1 type-C 1м [01:24:48]line 1.000 * 271.00 [01:24:48]line = 271.00 [01:24:48]line НДС 12% НСП 1% [01:24:48]line > о реализуемом товаре [01:24:48]line ИТОГО: 271.00 [01:24:48]line НСП 1% : 2.40 [01:24:48]line НДС 12% : 28.78 [01:24:48]line Наличными: 271.00 [01:24:48]line Безнал.: 0.00 [01:24:48]line Место: АЗС № 132 "Партнер Нефть" [01:24:48]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:24:48]line СНО: Общий режим [01:24:48]line Чек 9 15.07.2024 01:24 [01:24:48]line Смена: 497 ФФД: 1.0 [01:24:48]line ЗНМ: 0300000132 [01:24:48]line РНМ: 0000000000091208 [01:24:48]line Версия ККМ: 001 [01:24:48]line ФМ: 0000000000874857 [01:24:48]line ФД: 57114 [01:24:48]line ФПД: 175037980276175 [01:24:48]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T012447&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57114&fm=175037980276175&tin=02508201610067®Number=0000000000091208&sum=27100 [01:24:48]line 0 [01:24:48]OFD Sender: Processing packet 57114 [packets to send 38, broken 37] [01:24:48]ProducePacketName [01:24:48]name=ofd_packets/00057114 [01:24:48]OFD Sender: To server: pG, [01:24:48]CommunicateWithHost lk.salyk.kg:30040 [01:24:48]ConnectInit lk.salyk.kg [01:24:48]written 0, free lines is 4095 [01:24:48]Connected sock=11 [01:24:48]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 34 01 00 00 4E FF 2C 01 62 52 5A 03 01 00 03 00 20 01 1E 04 01 00 01 23 04 72 00 8A 04 0D 00 36 39 35 37 35 33 31 30 33 32 30 34 35 06 04 2E 00 D0 9A D0 B0 D0 B1 D0 B5 D0 BB D1 8C 20 68 6F 63 6F 20 72 61 70 69 64 20 63 68 61 72 67 69 6E 67 20 58 31 20 74 79 70 65 2D 43 20 31 D0 BC FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 DC 69 00 00 00 00 13 04 06 00 DC 69 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 DC 69 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F0 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3E 0B 00 00 00 00 07 04 06 00 DC 69 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 5F 7A 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1A DF 00 00 35 04 06 00 9F 32 34 A2 F5 CF FA FE 42 9A AD B5 A6 A9 [01:24:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 77 CD 47 00 13 B7 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1A DF 00 00 F4 03 04 00 AF 20 94 66 B6 04 01 00 00 DB 13 32 15 2B 1A B3 5D [01:24:49]CommunicateWithHost err = 0 [01:24:49]CheckOFDResponse [01:24:49]1017 (14) - 77093643461234 [01:24:49]1041 (16) - 0000000000874857 [01:24:49]1040 (4) - 57114 [01:24:49]1012 (4) - 14.07.2024 19:02 [01:24:49]1206 (1) - 0 [01:24:49]OFD Sender: Remove packet 57114 [01:24:49]ProducePacketName [01:24:49]name=ofd_packets/00057114 [01:24:49]NVStorageDeleteData [01:24:49]Write to MH i2c: 01 00 00 8F 04 93 [01:24:49]Write i2c OK [01:24:49]MH_I2C_Read... [01:24:49]Read from MH i2c: 01 [01:24:49]MH_I2C_Read... [01:24:49]Read from MH i2c: 01 07 00 [01:24:49]MH_I2C_Read... [01:24:49]Read from MH i2c: 01 07 00 8F 04 00 00 00 00 00 F6 0C 9C [01:24:49]RasterBufferAndPrint [01:24:49]line [01:24:49]line [01:24:49]line [01:24:49]line [01:24:49]line [01:24:49]written 0, free lines is 3324 [01:24:49]MH_Cut [01:24:49]Write to MH i2c: D1 01 00 96 04 01 6C [01:24:49]Write i2c OK [01:24:49]MH_I2C_Read... [01:24:49]Read from MH i2c: D1 [01:24:49]MH_I2C_Read... [01:24:49]Read from MH i2c: D1 01 00 [01:24:49]MH_I2C_Read... [01:24:49]Read from MH i2c: D1 01 00 96 04 00 6B [01:24:49]Write to MH i2c: 01 00 00 97 04 9B [01:24:49]Write i2c OK [01:24:49]MH_I2C_Read... [01:24:49]OFD Sender: No OFD packet to send [01:24:49]*** Cut start [01:24:49]*** Partial cut [01:24:49]*** CUTSNS_PIN = 1 [01:24:49]*** CUTSNS_PIN = 0 [01:24:50]*** Brake cut motor [01:24:50]Read from MH i2c: 01 [01:24:50]MH_I2C_Read... [01:24:50]*** Stop cut motor [01:24:50]*** Cut end [01:24:50]Read from MH i2c: 01 07 00 [01:24:50]MH_I2C_Read... [01:24:50]Read from MH i2c: 01 07 00 97 04 00 00 00 00 00 FF 0F B0 [01:24:50]process_action close_receipt done [01:24:50]requested_data is exist [01:24:50]produce_requested_data [01:24:50]requested_item fm.sn is exist - process it [01:24:50]wFMCommunicate request_size=4 [01:24:50]MH_SAM_APDU [01:24:50]CAPDU: 80 11 00 00 [01:24:50]Write to MH i2c: E2 08 00 98 04 80 11 00 00 00 00 00 00 16 [01:24:50]Write i2c OK [01:24:50]MH_I2C_Read... [01:24:50]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:24:50]Read from MH i2c: E2 [01:24:50]MH_I2C_Read... [01:24:50]Read from MH i2c: E2 17 00 [01:24:50]MH_I2C_Read... [01:24:50]Read from MH i2c: E2 17 00 98 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 70 [01:24:50]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:24:50]wFMCommunicate OK [01:24:50]requested_item fd.num is exist - process it [01:24:50]SAM_PROTO_GetFieldsCounters [01:24:50]wFMCommunicate request_size=4 [01:24:50]MH_SAM_APDU [01:24:50]CAPDU: 80 13 00 00 [01:24:50]Write to MH i2c: E2 08 00 99 04 80 13 00 00 00 00 00 00 19 [01:24:50]Write i2c OK [01:24:50]MH_I2C_Read... [01:24:50]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:24:50]Read from MH i2c: E2 [01:24:50]MH_I2C_Read... [01:24:50]Read from MH i2c: E2 62 00 [01:24:50]MH_I2C_Read... [01:24:50]Read from MH i2c: E2 62 00 99 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1A DF 00 00 0E 04 04 00 F1 01 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 42 [01:24:50]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1A DF 00 00 0E 04 04 00 F1 01 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 [01:24:50]wFMCommunicate OK [01:24:50]SAM_PROTO_GetFieldsCounters done [01:24:50]requested_item shift.num is exist - process it [01:24:50]requested_item shift.opened is exist - process it [01:24:50]req_shift_opened [01:24:50]FM_GetShiftState [01:24:50]SAM_PROTO_GetShiftState [01:24:50]wFMCommunicate request_size=4 [01:24:50]MH_SAM_APDU [01:24:50]CAPDU: 80 13 01 00 [01:24:50]Write to MH i2c: E2 08 00 9A 04 80 13 01 00 00 00 00 00 1B [01:24:50]Write i2c OK [01:24:50]MH_I2C_Read... [01:24:50]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:24:50]Read from MH i2c: E2 [01:24:50]MH_I2C_Read... [01:24:50]Read from MH i2c: E2 0E 00 [01:24:50]MH_I2C_Read... [01:24:50]Read from MH i2c: E2 0E 00 9A 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 94 [01:24:50]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:24:50]wFMCommunicate OK [01:24:50]SAM_PROTO_GetShiftState done [01:24:50]FM_GetShiftState done [01:24:50]req_shift_opened done [01:24:50]requested_item shift.open_date is exist - process it [01:24:50]req_shift_open_date [01:24:50]req_shift_open_date done [01:24:50]requested_item shift.sale.total is exist - process it [01:24:50]SAM_PROTO_GetShiftData [01:24:50]wFMCommunicate request_size=4 [01:24:50]MH_SAM_APDU [01:24:50]CAPDU: 80 13 02 00 [01:24:50]Write to MH i2c: E2 08 00 9B 04 80 13 02 00 00 00 00 00 1D [01:24:50]Write i2c OK [01:24:50]MH_I2C_Read... [01:24:51]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:24:51]Read from MH i2c: E2 [01:24:51]MH_I2C_Read... [01:24:51]Read from MH i2c: E2 FD 00 [01:24:51]MH_I2C_Read... [01:24:51]Read from MH i2c: E2 FD 00 9B 04 00 AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 A9 63 03 70 04 03 00 A4 19 01 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 24 5C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AD 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3F [01:24:51]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 09 00 00 00 69 04 9A 00 6F 04 04 00 09 00 00 00 B1 04 03 00 A9 63 03 70 04 03 00 A4 19 01 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 24 5C EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 AD 07 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:24:51]wFMCommunicate OK [01:24:51]wFMCommunicate request_size=4 [01:24:51]MH_SAM_APDU [01:24:51]CAPDU: 80 17 00 00 [01:24:51]Write to MH i2c: E2 08 00 9C 04 80 17 00 00 00 00 00 00 20 [01:24:51]Write i2c OK [01:24:51]MH_I2C_Read... [01:24:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:24:51]Read from MH i2c: E2 [01:24:51]MH_I2C_Read... [01:24:51]Read from MH i2c: E2 FD 00 [01:24:51]MH_I2C_Read... [01:24:51]Read from MH i2c: E2 FD 00 9C 04 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 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 90 00 32 [01:24:51]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 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 90 00 [01:24:51]wFMCommunicate OK [01:24:51]wFMCommunicate request_size=4 [01:24:51]MH_SAM_APDU [01:24:51]CAPDU: 80 17 00 00 [01:24:51]Write to MH i2c: E2 08 00 9D 04 80 17 00 00 00 00 00 00 21 [01:24:51]Write i2c OK [01:24:51]MH_I2C_Read... [01:24:51]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:24:51]Read from MH i2c: E2 [01:24:51]MH_I2C_Read... [01:24:51]Read from MH i2c: E2 FD 00 [01:24:51]MH_I2C_Read... [01:24:51]Read from MH i2c: E2 FD 00 9D 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E5 [01:24:51]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:24:51]wFMCommunicate OK [01:24:51]wFMCommunicate request_size=4 [01:24:51]MH_SAM_APDU [01:24:51]CAPDU: 80 17 00 00 [01:24:51]Write to MH i2c: E2 08 00 9E 04 80 17 00 00 00 00 00 00 22 [01:24:51]Write i2c OK [01:24:51]MH_I2C_Read... [01:24:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:24:52]Read from MH i2c: E2 [01:24:52]MH_I2C_Read... [01:24:52]Read from MH i2c: E2 FD 00 [01:24:52]MH_I2C_Read... [01:24:52]Read from MH i2c: E2 FD 00 9E 04 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 90 00 97 [01:24:52]RAPDU: 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 90 00 [01:24:52]wFMCommunicate OK [01:24:52]wFMCommunicate request_size=4 [01:24:52]MH_SAM_APDU [01:24:52]CAPDU: 80 17 00 00 [01:24:52]Write to MH i2c: E2 08 00 9F 04 80 17 00 00 00 00 00 00 23 [01:24:52]Write i2c OK [01:24:52]MH_I2C_Read... [01:24:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:24:52]Read from MH i2c: E2 [01:24:52]MH_I2C_Read... [01:24:52]Read from MH i2c: E2 CA 00 [01:24:52]MH_I2C_Read... [01:24:52]Read from MH i2c: E2 CA 00 9F 04 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 08 [01:24:52]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 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 [01:24:52]wFMCommunicate OK [01:24:52]SAM_PROTO_GetShiftData done [01:24:52]requested_item shift.sale.total_cash is exist - process it [01:24:52]requested_item shift.sale_refund.total is exist - process it [01:24:52]requested_item shift.sale_refund.total_cash is exist - process it [01:24:52]produce_requested_data done [01:24:52]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57114,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":2221.21,"shift.sale.total_cash":721.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:24:52]process_action_free close_receipt [01:24:52]json_value_free [01:24:52]json_value_free done [01:24:52]process_json_proto returns [01:24:52]Send response to host [01:24:52]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57114,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":2221.21,"shift.sale.total_cash":721.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:24:52]free response buf [01:24:52]execute_script done [01:24:52]execute_script returns [01:24:52]free content buf [01:24:52]Sock 8.Close socket [01:24:52]Sock 8.Thread stoped [01:24:54]OFD Sender: No OFD packet to send [01:24:59]OFD Sender: No OFD packet to send [01:25:04]OFD Sender: No OFD packet to send [01:25:09]OFD Sender: No OFD packet to send [01:25:14]OFD Sender: No OFD packet to send [01:25:19]OFD Sender: No OFD packet to send [01:25:24]OFD Sender: No OFD packet to send [01:25:29]OFD Sender: No OFD packet to send [01:25:34]OFD Sender: No OFD packet to send [01:25:39]OFD Sender: No OFD packet to send [01:25:44]OFD Sender: No OFD packet to send [01:25:49]OFD Sender: No OFD packet to send [01:25:54]OFD Sender: No OFD packet to send [01:25:59]OFD Sender: No OFD packet to send [01:26:04]OFD Sender: No OFD packet to send [01:26:09]OFD Sender: No OFD packet to send [01:26:14]OFD Sender: No OFD packet to send [01:26:19]OFD Sender: No OFD packet to send [01:26:24]OFD Sender: No OFD packet to send [01:26:29]OFD Sender: No OFD packet to send [01:26:34]OFD Sender: No OFD packet to send [01:26:39]OFD Sender: No OFD packet to send [01:26:44]OFD Sender: No OFD packet to send [01:26:49]OFD Sender: No OFD packet to send [01:26:54]OFD Sender: No OFD packet to send [01:26:59]OFD Sender: No OFD packet to send [01:27:04]OFD Sender: No OFD packet to send [01:27:09]OFD Sender: No OFD packet to send [01:27:14]OFD Sender: No OFD packet to send [01:27:19]OFD Sender: No OFD packet to send [01:27:24]OFD Sender: No OFD packet to send [01:27:29]OFD Sender: No OFD packet to send [01:27:34]OFD Sender: No OFD packet to send [01:27:39]OFD Sender: No OFD packet to send [01:27:44]OFD Sender: No OFD packet to send [01:27:49]OFD Sender: No OFD packet to send [01:27:54]OFD Sender: No OFD packet to send [01:27:59]OFD Sender: No OFD packet to send [01:28:04]OFD Sender: No OFD packet to send [01:28:09]OFD Sender: No OFD packet to send [01:28:14]OFD Sender: No OFD packet to send [01:28:19]OFD Sender: No OFD packet to send [01:28:24]OFD Sender: No OFD packet to send [01:28:29]OFD Sender: No OFD packet to send [01:28:34]OFD Sender: No OFD packet to send [01:28:39]OFD Sender: No OFD packet to send [01:28:44]OFD Sender: No OFD packet to send [01:28:49]OFD Sender: No OFD packet to send [01:28:54]OFD Sender: No OFD packet to send [01:28:59]OFD Sender: No OFD packet to send [01:29:04]OFD Sender: No OFD packet to send [01:29:09]OFD Sender: No OFD packet to send [01:29:14]OFD Sender: No OFD packet to send [01:29:19]OFD Sender: No OFD packet to send [01:29:24]OFD Sender: No OFD packet to send [01:29:29]OFD Sender: No OFD packet to send [01:29:34]OFD Sender: No OFD packet to send [01:29:39]OFD Sender: No OFD packet to send [01:29:44]OFD Sender: No OFD packet to send [01:29:49]OFD Sender: No OFD packet to send [01:29:54]OFD Sender: No OFD packet to send [01:29:59]OFD Sender: No OFD packet to send [01:30:04]OFD Sender: No OFD packet to send [01:30:09]OFD Sender: No OFD packet to send [01:30:14]OFD Sender: No OFD packet to send [01:30:19]OFD Sender: No OFD packet to send [01:30:24]OFD Sender: No OFD packet to send [01:30:29]OFD Sender: No OFD packet to send [01:30:34]OFD Sender: No OFD packet to send [01:30:39]OFD Sender: No OFD packet to send [01:30:44]OFD Sender: No OFD packet to send [01:30:49]OFD Sender: No OFD packet to send [01:30:54]OFD Sender: No OFD packet to send [01:30:59]OFD Sender: No OFD packet to send [01:31:04]OFD Sender: No OFD packet to send [01:31:09]OFD Sender: No OFD packet to send [01:31:14]OFD Sender: No OFD packet to send [01:31:19]OFD Sender: No OFD packet to send [01:31:24]OFD Sender: No OFD packet to send [01:31:29]OFD Sender: No OFD packet to send [01:31:34]OFD Sender: No OFD packet to send [01:31:36]accept exits with 9 [01:31:36]New connection [01:31:36]New thread 3067067748 created [01:31:36]Thread 3066924388 joined [01:31:36]Waiting for new connection... [01:31:36] Sock 9.Parse request [01:31:36]Sock 9.Check first char [01:31:36]Sock 9.First char is OK [01:31:36]request: POST /json_proto HTTP/1.0 [01:31:36]Method: POST [01:31:36]URL: /json_proto [01:31:36]Method is POST - this is cgi request [01:31:36]url: /json_proto [01:31:36]query_string will be loaded in cgi processing [01:31:36]execute_cgi json_proto POST (null) [01:31:36]execute_cgi path=json_proto method=POST [01:31:36]POST find Content-Length [01:31:36]Host: 172.17.39.4:8080 [01:31:36]Content-Length: 1070 [01:31:36]Content-Type: application/json [01:31:36] [01:31:36]POST finish read [01:31:36]Found Content-Length = 1070 [01:31:36]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129571", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:31:36]execute_script... [01:31: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)129571", "tax_sys" : 0, "items" : [ { "code": "4640030091645", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B ESSE Exchange M", "price" : 138.00, "quantity" : 1.000, "sum" : 138.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "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" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 245.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:31:36]POST & json_proto [01:31:36]process_json_proto [01:31:36]json parsed OK: [01:31:36]protocol is kg_v1.0 [01:31:36]action value=close_receipt [01:31:36]process_action close_receipt [01:31:36]cmd_close_receipt [01:31:36]MH_GetDate [01:31:36]Write to MH i2c: F0 00 00 A0 04 93 [01:31:36]Write i2c OK [01:31:36]MH_I2C_Read... [01:31:36]Read from MH i2c: F0 [01:31:36]MH_I2C_Read... [01:31:36]Read from MH i2c: F0 09 00 [01:31:36]MH_I2C_Read... [01:31:36]Read from MH i2c: F0 09 00 A0 04 00 F9 7B 94 66 2D 25 5D 64 1D [01:31:36]GetLastDocTimeStamp 1721006687 [01:31:36]current date 1721007097 [01:31:36]FM_GetShiftState [01:31:36]SAM_PROTO_GetShiftState [01:31:36]wFMCommunicate request_size=4 [01:31:36]MH_SAM_APDU [01:31:36]CAPDU: 80 13 01 00 [01:31:36]Write to MH i2c: E2 08 00 A1 04 80 13 01 00 00 00 00 00 22 [01:31:36]Write i2c OK [01:31:36]MH_I2C_Read... [01:31:36]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:36]Read from MH i2c: E2 [01:31:36]MH_I2C_Read... [01:31:36]Read from MH i2c: E2 0E 00 [01:31:36]MH_I2C_Read... [01:31:36]Read from MH i2c: E2 0E 00 A1 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 9B [01:31:36]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:31:36]wFMCommunicate OK [01:31:36]SAM_PROTO_GetShiftState done [01:31:36]FM_GetShiftState done [01:31:36]opened in 1721003525 [01:31:36]opened+sec_in_day 1721089925 [01:31:36]quantity*price = 13800 [01:31:36]sum+1 = 13801 [01:31:36]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000027474 Напиток FuzeTea зел чай манго,ромашка 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 245.00 НСП 1% : 2.17 НДС 12% : 26.01 Наличными: 245.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 10 15.07.2024 01:31 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57115 ФПД: 245860441915732 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T013137&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57115&fm=245860441915732&tin=02508201610067®Number=0000000000091208&sum=24500 0 [01:31:37]StoreToDocumentArchive [01:31:37]shift 497 fd 57115 [01:31:37]save to /storage/0497/doc_00057115 [01:31:37]save last doc name /storage/0497/doc_00057115 to /storage/kkm_last_doc_name [01:31:37]save OK [01:31:37]Clear old archive folders... [01:31:37]ProcessDocumentItem done err = 0, tmpTLVsize=412 [01:31:37]tlvbuf is 009A5570 [01:31:37]SAM_PROTO_ClearQueue [01:31:37]wFMCommunicate request_size=4 [01:31:37]MH_SAM_APDU [01:31:37]CAPDU: 80 09 00 00 [01:31:37]Write to MH i2c: E2 08 00 AE 04 80 09 00 00 00 00 00 00 24 [01:31:37]Write i2c OK [01:31:37]MH_I2C_Read... [01:31:37]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:31:37]Read from MH i2c: E2 [01:31:37]MH_I2C_Read... [01:31:37]Read from MH i2c: E2 03 00 [01:31:37]MH_I2C_Read... [01:31:37]Read from MH i2c: E2 03 00 AE 04 00 90 00 26 [01:31:37]RAPDU: 90 00 [01:31:37]wFMCommunicate OK [01:31:37]SAM_PROTO_ClearQueue done [01:31:37]KKMCreateOFDPacket [01:31:37]OFDProtocolAddRootSTLVToBuf [01:31:37]FM_MakeSignedData [01:31:37]FM_MakeSignedData [01:31:37]SAM_PROTO_SignData [01:31:37]wFMCommunicate request_size=4 [01:31:37]MH_SAM_APDU [01:31:37]CAPDU: 80 0D 01 02 [01:31:37]Write to MH i2c: E2 08 00 AF 04 80 0D 01 02 00 00 00 00 2C [01:31:37]Write i2c OK [01:31:37]MH_I2C_Read... [01:31:37]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:31:37]Read from MH i2c: E2 [01:31:37]MH_I2C_Read... [01:31:37]Read from MH i2c: E2 03 00 [01:31:37]MH_I2C_Read... [01:31:37]Read from MH i2c: E2 03 00 AF 04 00 90 00 27 [01:31:37]RAPDU: 90 00 [01:31:37]wFMCommunicate OK [01:31:37]wFMCommunicate request_size=255 [01:31:37]MH_SAM_APDU [01:31:37]CAPDU: 80 0D 02 02 FA 03 00 9C 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 [01:31:37]Write to MH i2c: E2 02 01 B0 04 80 0D 02 02 FA 00 03 00 9C 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 00 00 56 [01:31:37]Write i2c OK [01:31:37]MH_I2C_Read... [01:31:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:38]Read from MH i2c: E2 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: E2 03 00 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: E2 03 00 B0 04 00 90 00 28 [01:31:38]RAPDU: 90 00 [01:31:38]wFMCommunicate OK [01:31:38]wFMCommunicate request_size=171 [01:31:38]MH_SAM_APDU [01:31:38]CAPDU: 80 0D 02 02 A6 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 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 F9 7B 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1B DF 00 00 35 04 06 00 DF 9B D8 4E 01 54 [01:31:38]Write to MH i2c: E2 AE 00 B1 04 80 0D 02 02 A6 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 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 F9 7B 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1B DF 00 00 35 04 06 00 DF 9B D8 4E 01 54 00 00 4B [01:31:38]Write i2c OK [01:31:38]MH_I2C_Read... [01:31:38]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:31:38]Read from MH i2c: E2 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: E2 03 00 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: E2 03 00 B1 04 00 90 00 29 [01:31:38]RAPDU: 90 00 [01:31:38]wFMCommunicate OK [01:31:38]wFMCommunicate request_size=4 [01:31:38]MH_SAM_APDU [01:31:38]CAPDU: 80 0D 03 02 [01:31:38]Write to MH i2c: E2 08 00 B2 04 80 0D 03 02 00 00 00 00 31 [01:31:38]Write i2c OK [01:31:38]MH_I2C_Read... [01:31:38]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:31:38]Read from MH i2c: E2 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: E2 0B 00 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: E2 0B 00 B2 04 00 FD 79 7D D0 3B 94 6D FA 90 00 2B [01:31:38]RAPDU: FD 79 7D D0 3B 94 6D FA 90 00 [01:31:38]wFMCommunicate OK [01:31:38]SAM_PROTO_SignData done [01:31:38]FM_MakeSignedData done [01:31:38]CreateOFDProtocolMessage [01:31:38]wFMCommunicate request_size=4 [01:31:38]MH_SAM_APDU [01:31:38]CAPDU: 80 11 00 00 [01:31:38]Write to MH i2c: E2 08 00 B3 04 80 11 00 00 00 00 00 00 31 [01:31:38]Write i2c OK [01:31:38]MH_I2C_Read... [01:31:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:38]Read from MH i2c: E2 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: E2 17 00 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: E2 17 00 B3 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 8B [01:31:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:31:38]wFMCommunicate OK [01:31:38]CreateOFDProtocolMessage done [01:31:38]OFDSenderStorePacket 57115 [01:31:38]StoreOFDPacket docnum=57115 [01:31:38]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B0 01 00 00 5A 21 A8 01 F4 A0 5A 03 01 00 03 00 9C 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 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 F9 7B 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1B DF 00 00 35 04 06 00 DF 9B D8 4E 01 54 FD 79 7D D0 3B 94 6D FA [01:31:38]CheckFolder [01:31:38]dirname=/storage/ofd_packets [01:31:38]CheckFolder done [01:31:38]ProducePacketName [01:31:38]name=ofd_packets/00057115 [01:31:38]NVStorageSaveData ofd_packets/00057115 [01:31:38]File name is /storage/ofd_packets/00057115 [01:31:38]Write 462 bytes [01:31:38]NVStorageSaveData done [01:31:38]OFDSenderStorePacket done [01:31:38]KKMCreateOFDPacket done [01:31:38]NVStorageSaveData kkm_last_timestamp [01:31:38]File name is /storage/kkm_last_timestamp [01:31:38]Write 4 bytes [01:31:38]NVStorageSaveData done [01:31:38]ExternCall_PrintAddStr [01:31:38]wPrintStart [01:31:38]Write to MH i2c: 01 00 00 B4 04 B8 [01:31:38]OFD Sender: Processing packet 57115 [packets to send 38, broken 37] [01:31:38]ProducePacketName [01:31:38]name=ofd_packets/00057115 [01:31:38]OFD Sender: To server: pG, [01:31:38]CommunicateWithHost lk.salyk.kg:30040 [01:31:38]ConnectInit lk.salyk.kg [01:31:38]Write i2c OK [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: 01 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: 01 07 00 [01:31:38]MH_I2C_Read... [01:31:38]Read from MH i2c: 01 07 00 B4 04 00 00 00 00 00 FF 0F CD [01:31:38]RasterBufferAndPrint [01:31:38]line Счет N : (3)129571 [01:31:38]line ИНН: 02508201610067 [01:31:38]line Контрольно-Кассовый Чек [01:31:38]line ПРОДАЖА [01:31:38]line Товар: 4640030091645 [01:31:38]line Сигареты ESSE Exchange M [01:31:38]line 1.000 * 138.00 [01:31:38]line = 138.00 [01:31:38]line НДС 12% НСП 1% [01:31:38]line > о реализуемом товаре [01:31:38]line Товар: 5449000027474 [01:31:38]line Напиток FuzeTea зел чай манго,ромашка 1л [01:31:38]line 1.000 * 107.00 [01:31:38]line = 107.00 [01:31:38]line НДС 12% НСП 1% [01:31:38]line > о реализуемом товаре [01:31:38]line ИТОГО: 245.00 [01:31:38]line НСП 1% : 2.17 [01:31:38]line НДС 12% : 26.01 [01:31:38]line Наличными: 245.00 [01:31:38]line Безнал.: 0.00 [01:31:38]line Место: АЗС № 132 "Партнер Нефть" [01:31:38]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:31:38]line СНО: Общий режим [01:31:38]line Чек 10 15.07.2024 01:31 [01:31:38]line Смена: 497 ФФД: 1.0 [01:31:38]line ЗНМ: 0300000132 [01:31:38]line РНМ: 0000000000091208 [01:31:38]line Версия ККМ: 001 [01:31:38]line ФМ: 0000000000874857 [01:31:38]line ФД: 57115 [01:31:38]line ФПД: 245860441915732 [01:31:38]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T013137&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57115&fm=245860441915732&tin=02508201610067®Number=0000000000091208&sum=24500 [01:31:38]line 0 [01:31:38]written 0, free lines is 4095 [01:31:38]Connected sock=10 [01:31:38]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 B0 01 00 00 5A 21 A8 01 F4 A0 5A 03 01 00 03 00 9C 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 E8 35 00 00 00 00 13 04 06 00 E8 35 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 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 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 5F 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 D9 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 29 0A 00 00 00 00 07 04 06 00 B4 5F 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 F9 7B 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1B DF 00 00 35 04 06 00 DF 9B D8 4E 01 54 FD 79 7D D0 3B 94 6D FA [01:31:39]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B2 29 47 00 33 22 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1B DF 00 00 F4 03 04 00 49 22 94 66 B6 04 01 00 00 E4 2E 7B BD F5 2F B1 C7 [01:31:39]CommunicateWithHost err = 0 [01:31:39]CheckOFDResponse [01:31:39]1017 (14) - 77093643461234 [01:31:39]1041 (16) - 0000000000874857 [01:31:39]1040 (4) - 57115 [01:31:39]1012 (4) - 14.07.2024 19:08 [01:31:39]1206 (1) - 0 [01:31:39]OFD Sender: Remove packet 57115 [01:31:39]ProducePacketName [01:31:39]name=ofd_packets/00057115 [01:31:39]NVStorageDeleteData [01:31:39]Write to MH i2c: 01 00 00 E3 04 E7 [01:31:39]Write i2c OK [01:31:39]MH_I2C_Read... [01:31:39]Read from MH i2c: 01 [01:31:39]MH_I2C_Read... [01:31:39]Read from MH i2c: 01 07 00 [01:31:39]MH_I2C_Read... [01:31:39]Read from MH i2c: 01 07 00 E3 04 00 00 00 00 00 9E 0C 98 [01:31:39]RasterBufferAndPrint [01:31:39]line [01:31:39]line [01:31:39]line [01:31:39]line [01:31:39]line [01:31:39]written 0, free lines is 3238 [01:31:39]MH_Cut [01:31:39]Write to MH i2c: D1 01 00 EA 04 01 C0 [01:31:39]Write i2c OK [01:31:39]MH_I2C_Read... [01:31:39]Read from MH i2c: D1 [01:31:39]MH_I2C_Read... [01:31:39]Read from MH i2c: D1 01 00 [01:31:39]MH_I2C_Read... [01:31:39]Read from MH i2c: D1 01 00 EA 04 00 BF [01:31:39]Write to MH i2c: 01 00 00 EB 04 EF [01:31:39]Write i2c OK [01:31:39]MH_I2C_Read... [01:31:39]OFD Sender: No OFD packet to send [01:31:40]*** Cut start [01:31:40]*** Partial cut [01:31:40]*** CUTSNS_PIN = 1 [01:31:40]*** CUTSNS_PIN = 0 [01:31:40]*** Brake cut motor [01:31:40]Read from MH i2c: 01 [01:31:40]MH_I2C_Read... [01:31:40]*** Stop cut motor [01:31:40]*** Cut end [01:31:40]Read from MH i2c: 01 07 00 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: 01 07 00 EB 04 00 00 00 00 00 FF 0F 04 [01:31:40]process_action close_receipt done [01:31:40]requested_data is exist [01:31:40]produce_requested_data [01:31:40]requested_item fm.sn is exist - process it [01:31:40]wFMCommunicate request_size=4 [01:31:40]MH_SAM_APDU [01:31:40]CAPDU: 80 11 00 00 [01:31:40]Write to MH i2c: E2 08 00 EC 04 80 11 00 00 00 00 00 00 6A [01:31:40]Write i2c OK [01:31:40]MH_I2C_Read... [01:31:40]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:31:40]Read from MH i2c: E2 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: E2 17 00 [01:31:40]MH_I2C_Read... [01:31:40]Read from MH i2c: E2 17 00 EC 04 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C4 [01:31:40]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:31:40]wFMCommunicate OK [01:31:40]requested_item fd.num is exist - process it [01:31:40]SAM_PROTO_GetFieldsCounters [01:31:40]wFMCommunicate request_size=4 [01:31:40]MH_SAM_APDU [01:31:40]CAPDU: 80 13 00 00 [01:31:40]Write to MH i2c: E2 08 00 ED 04 80 13 00 00 00 00 00 00 6D [01:31:40]Write i2c OK [01:31:40]MH_I2C_Read... [01:31:40]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:31:41]Read from MH i2c: E2 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 62 00 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 62 00 ED 04 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1B DF 00 00 0E 04 04 00 F1 01 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 9A [01:31:41]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1B DF 00 00 0E 04 04 00 F1 01 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 [01:31:41]wFMCommunicate OK [01:31:41]SAM_PROTO_GetFieldsCounters done [01:31:41]requested_item shift.num is exist - process it [01:31:41]requested_item shift.opened is exist - process it [01:31:41]req_shift_opened [01:31:41]FM_GetShiftState [01:31:41]SAM_PROTO_GetShiftState [01:31:41]wFMCommunicate request_size=4 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 13 01 00 [01:31:41]Write to MH i2c: E2 08 00 EE 04 80 13 01 00 00 00 00 00 6F [01:31:41]Write i2c OK [01:31:41]MH_I2C_Read... [01:31:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:31:41]Read from MH i2c: E2 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 0E 00 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 0E 00 EE 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E8 [01:31:41]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:31:41]wFMCommunicate OK [01:31:41]SAM_PROTO_GetShiftState done [01:31:41]FM_GetShiftState done [01:31:41]req_shift_opened done [01:31:41]requested_item shift.open_date is exist - process it [01:31:41]req_shift_open_date [01:31:41]req_shift_open_date done [01:31:41]requested_item shift.sale.total is exist - process it [01:31:41]SAM_PROTO_GetShiftData [01:31:41]wFMCommunicate request_size=4 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 13 02 00 [01:31:41]Write to MH i2c: E2 08 00 EF 04 80 13 02 00 00 00 00 00 71 [01:31:41]Write i2c OK [01:31:41]MH_I2C_Read... [01:31:41]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:31:41]Read from MH i2c: E2 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 FD 00 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 FD 00 EF 04 00 AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 5D C3 03 70 04 03 00 58 79 01 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 4D 66 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 86 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 CA [01:31:41]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0A 00 00 00 69 04 9A 00 6F 04 04 00 0A 00 00 00 B1 04 03 00 5D C3 03 70 04 03 00 58 79 01 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 4D 66 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 86 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:31:41]wFMCommunicate OK [01:31:41]wFMCommunicate request_size=4 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 17 00 00 [01:31:41]Write to MH i2c: E2 08 00 F0 04 80 17 00 00 00 00 00 00 74 [01:31:41]Write i2c OK [01:31:41]MH_I2C_Read... [01:31:41]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:31:41]Read from MH i2c: E2 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 FD 00 [01:31:41]MH_I2C_Read... [01:31:41]Read from MH i2c: E2 FD 00 F0 04 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 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 90 00 86 [01:31:41]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 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 90 00 [01:31:41]wFMCommunicate OK [01:31:41]wFMCommunicate request_size=4 [01:31:41]MH_SAM_APDU [01:31:41]CAPDU: 80 17 00 00 [01:31:41]Write to MH i2c: E2 08 00 F1 04 80 17 00 00 00 00 00 00 75 [01:31:41]Write i2c OK [01:31:41]MH_I2C_Read... [01:31:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 FD 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 FD 00 F1 04 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 39 [01:31:42]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:31:42]wFMCommunicate OK [01:31:42]wFMCommunicate request_size=4 [01:31:42]MH_SAM_APDU [01:31:42]CAPDU: 80 17 00 00 [01:31:42]Write to MH i2c: E2 08 00 F2 04 80 17 00 00 00 00 00 00 76 [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 FD 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 FD 00 F2 04 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 90 00 EB [01:31:42]RAPDU: 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 90 00 [01:31:42]wFMCommunicate OK [01:31:42]wFMCommunicate request_size=4 [01:31:42]MH_SAM_APDU [01:31:42]CAPDU: 80 17 00 00 [01:31:42]Write to MH i2c: E2 08 00 F3 04 80 17 00 00 00 00 00 00 77 [01:31:42]Write i2c OK [01:31:42]MH_I2C_Read... [01:31:42]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:31:42]Read from MH i2c: E2 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 CA 00 [01:31:42]MH_I2C_Read... [01:31:42]Read from MH i2c: E2 CA 00 F3 04 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 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 5C [01:31:42]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 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 [01:31:42]wFMCommunicate OK [01:31:42]SAM_PROTO_GetShiftData done [01:31:42]requested_item shift.sale.total_cash is exist - process it [01:31:42]requested_item shift.sale_refund.total is exist - process it [01:31:42]requested_item shift.sale_refund.total_cash is exist - process it [01:31:42]produce_requested_data done [01:31:42]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57115,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":2466.21,"shift.sale.total_cash":966.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:31:42]process_action_free close_receipt [01:31:42]json_value_free [01:31:42]json_value_free done [01:31:42]process_json_proto returns [01:31:42]Send response to host [01:31:42]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57115,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":2466.21,"shift.sale.total_cash":966.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:31:42]free response buf [01:31:42]execute_script done [01:31:42]execute_script returns [01:31:42]free content buf [01:31:42]Sock 9.Close socket [01:31:42]Sock 9.Thread stoped [01:31:44]OFD Sender: No OFD packet to send [01:31:49]OFD Sender: No OFD packet to send [01:31:54]OFD Sender: No OFD packet to send [01:31:59]OFD Sender: No OFD packet to send [01:32:04]OFD Sender: No OFD packet to send [01:32:09]OFD Sender: No OFD packet to send [01:32:14]OFD Sender: No OFD packet to send [01:32: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:50]OFD Sender: No OFD packet to send [01:36:55]OFD Sender: No OFD packet to send [01:37:00]OFD Sender: No OFD packet to send [01:37:05]OFD Sender: No OFD packet to send [01:37:10]OFD Sender: No OFD packet to send [01:37:15]OFD Sender: No OFD packet to send [01:37:20]OFD Sender: No OFD packet to send [01:37:25]OFD Sender: No OFD packet to send [01:37:30]OFD Sender: No OFD packet to send [01:37:35]OFD Sender: No OFD packet to send [01:37:40]OFD Sender: No OFD packet to send [01:37:45]OFD Sender: No OFD packet to send [01:37:50]OFD Sender: No OFD packet to send [01:37:55]OFD Sender: No OFD packet to send [01:38:00]OFD Sender: No OFD packet to send [01:38:05]OFD Sender: No OFD packet to send [01:38:10]OFD Sender: No OFD packet to send [01:38:15]OFD Sender: No OFD packet to send [01:38:20]OFD Sender: No OFD packet to send [01:38:25]OFD Sender: No OFD packet to send [01:38:30]OFD Sender: No OFD packet to send [01:38:35]OFD Sender: No OFD packet to send [01:38:40]OFD Sender: No OFD packet to send [01:38:45]OFD Sender: No OFD packet to send [01:38:50]OFD Sender: No OFD packet to send [01:38:55]OFD Sender: No OFD packet to send [01:39:00]OFD Sender: No OFD packet to send [01:39:05]OFD Sender: No OFD packet to send [01:39:10]OFD Sender: No OFD packet to send [01:39:15]OFD Sender: No OFD packet to send [01:39:20]OFD Sender: No OFD packet to send [01:39:25]OFD Sender: No OFD packet to send [01:39:30]OFD Sender: No OFD packet to send [01:39:34]accept exits with 8 [01:39:34]New connection [01:39:34]New thread 3066924388 created [01:39:34]Thread 3067067748 joined [01:39:34]Waiting for new connection... [01:39:34] Sock 8.Parse request [01:39:34]Sock 8.Check first char [01:39:34]Sock 8.First char is OK [01:39:34]request: POST /json_proto HTTP/1.0 [01:39:34]Method: POST [01:39:34]URL: /json_proto [01:39:34]Method is POST - this is cgi request [01:39:34]url: /json_proto [01:39:34]query_string will be loaded in cgi processing [01:39:34]execute_cgi json_proto POST (null) [01:39:34]execute_cgi path=json_proto method=POST [01:39:34]POST find Content-Length [01:39:34]Host: 172.17.39.4:8080 [01:39:34]Content-Length: 741 [01:39:34]Content-Type: application/json [01:39:34] [01:39:34]POST finish read [01:39:34]Found Content-Length = 741 [01:39:34]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129572", "tax_sys" : 0, "items" : [ { "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:39:34]execute_script... [01:39:34]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129572", "tax_sys" : 0, "items" : [ { "code": "4630007400358", "name": "\u0421\u0435\u043C\u0435\u0447\u043A\u0438 \u0414\u0416\u0418\u041D\u041D 70\u0433", "price" : 70.00, "quantity" : 1.000, "sum" : 70.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 70.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:39:34]POST & json_proto [01:39:34]process_json_proto [01:39:34]json parsed OK: [01:39:34]protocol is kg_v1.0 [01:39:34]action value=close_receipt [01:39:34]process_action close_receipt [01:39:34]cmd_close_receipt [01:39:34]MH_GetDate [01:39:34]Write to MH i2c: F0 00 00 F4 04 E7 [01:39:34]Write i2c OK [01:39:34]MH_I2C_Read... [01:39:34]Read from MH i2c: F0 [01:39:34]MH_I2C_Read... [01:39:34]Read from MH i2c: F0 09 00 [01:39:34]MH_I2C_Read... [01:39:34]Read from MH i2c: F0 09 00 F4 04 00 D7 7D 94 66 2D 25 5D 64 51 [01:39:34]GetLastDocTimeStamp 1721007097 [01:39:34]current date 1721007575 [01:39:34]FM_GetShiftState [01:39:34]SAM_PROTO_GetShiftState [01:39:34]wFMCommunicate request_size=4 [01:39:34]MH_SAM_APDU [01:39:34]CAPDU: 80 13 01 00 [01:39:34]Write to MH i2c: E2 08 00 F5 04 80 13 01 00 00 00 00 00 76 [01:39:34]Write i2c OK [01:39:34]MH_I2C_Read... [01:39:34]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:39:34]Read from MH i2c: E2 [01:39:34]MH_I2C_Read... [01:39:34]Read from MH i2c: E2 0E 00 [01:39:34]MH_I2C_Read... [01:39:34]Read from MH i2c: E2 0E 00 F5 04 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 EF [01:39:34]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:39:34]wFMCommunicate OK [01:39:34]SAM_PROTO_GetShiftState done [01:39:34]FM_GetShiftState done [01:39:34]opened in 1721003525 [01:39:34]opened+sec_in_day 1721089925 [01:39:34]quantity*price = 7000 [01:39:34]sum+1 = 7001 [01:39:34]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 70.00 НСП 1% : 0.62 НДС 12% : 7.43 Наличными: 70.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 11 15.07.2024 01:39 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57116 ФПД: 146903981307852 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T013935&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57116&fm=146903981307852&tin=02508201610067®Number=0000000000091208&sum=7000 0 [01:39:35]StoreToDocumentArchive [01:39:35]shift 497 fd 57116 [01:39:35]save to /storage/0497/doc_00057116 [01:39:35]save last doc name /storage/0497/doc_00057116 to /storage/kkm_last_doc_name [01:39:35]save OK [01:39:35]Clear old archive folders... [01:39:35]ProcessDocumentItem done err = 0, tmpTLVsize=272 [01:39:35]tlvbuf is 00973950 [01:39:35]SAM_PROTO_ClearQueue [01:39:35]wFMCommunicate request_size=4 [01:39:35]MH_SAM_APDU [01:39:35]CAPDU: 80 09 00 00 [01:39:35]Write to MH i2c: E2 08 00 02 05 80 09 00 00 00 00 00 00 79 [01:39:35]Write i2c OK [01:39:35]MH_I2C_Read... [01:39:35]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:39:35]Read from MH i2c: E2 [01:39:35]MH_I2C_Read... [01:39:35]Read from MH i2c: E2 03 00 [01:39:35]MH_I2C_Read... [01:39:35]Read from MH i2c: E2 03 00 02 05 00 90 00 7B [01:39:35]RAPDU: 90 00 [01:39:35]wFMCommunicate OK [01:39:35]SAM_PROTO_ClearQueue done [01:39:35]KKMCreateOFDPacket [01:39:35]OFDProtocolAddRootSTLVToBuf [01:39:35]FM_MakeSignedData [01:39:35]FM_MakeSignedData [01:39:35]SAM_PROTO_SignData [01:39:35]wFMCommunicate request_size=4 [01:39:35]MH_SAM_APDU [01:39:35]CAPDU: 80 0D 01 02 [01:39:35]Write to MH i2c: E2 08 00 03 05 80 0D 01 02 00 00 00 00 81 [01:39:35]Write i2c OK [01:39:35]MH_I2C_Read... [01:39:35]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:39:35]Read from MH i2c: E2 [01:39:35]MH_I2C_Read... [01:39:35]Read from MH i2c: E2 03 00 [01:39:35]MH_I2C_Read... [01:39:35]Read from MH i2c: E2 03 00 03 05 00 90 00 7C [01:39:35]RAPDU: 90 00 [01:39:35]wFMCommunicate OK [01:39:35]wFMCommunicate request_size=255 [01:39:35]MH_SAM_APDU [01:39:35]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 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 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 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 D7 7D 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [01:39:35]Write to MH i2c: E2 02 01 04 05 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 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 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 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 D7 7D 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 C9 [01:39:35]Write i2c OK [01:39:35]MH_I2C_Read... [01:39:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:39:36]Read from MH i2c: E2 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: E2 03 00 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: E2 03 00 04 05 00 90 00 7D [01:39:36]RAPDU: 90 00 [01:39:36]wFMCommunicate OK [01:39:36]wFMCommunicate request_size=31 [01:39:36]MH_SAM_APDU [01:39:36]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 1C DF 00 00 35 04 06 00 85 9B BF 9F 37 CC [01:39:36]Write to MH i2c: E2 22 00 05 05 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 1C DF 00 00 35 04 06 00 85 9B BF 9F 37 CC 00 00 32 [01:39:36]Write i2c OK [01:39:36]MH_I2C_Read... [01:39:36]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:39:36]Read from MH i2c: E2 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: E2 03 00 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: E2 03 00 05 05 00 90 00 7E [01:39:36]RAPDU: 90 00 [01:39:36]wFMCommunicate OK [01:39:36]wFMCommunicate request_size=4 [01:39:36]MH_SAM_APDU [01:39:36]CAPDU: 80 0D 03 02 [01:39:36]Write to MH i2c: E2 08 00 06 05 80 0D 03 02 00 00 00 00 86 [01:39:36]Write i2c OK [01:39:36]MH_I2C_Read... [01:39:36]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:39:36]Read from MH i2c: E2 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: E2 0B 00 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: E2 0B 00 06 05 00 C4 F5 E3 56 B3 06 C4 A0 90 00 96 [01:39:36]RAPDU: C4 F5 E3 56 B3 06 C4 A0 90 00 [01:39:36]wFMCommunicate OK [01:39:36]SAM_PROTO_SignData done [01:39:36]FM_MakeSignedData done [01:39:36]CreateOFDProtocolMessage [01:39:36]wFMCommunicate request_size=4 [01:39:36]MH_SAM_APDU [01:39:36]CAPDU: 80 11 00 00 [01:39:36]Write to MH i2c: E2 08 00 07 05 80 11 00 00 00 00 00 00 86 [01:39:36]Write i2c OK [01:39:36]MH_I2C_Read... [01:39:36]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:39:36]Read from MH i2c: E2 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: E2 17 00 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: E2 17 00 07 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 E0 [01:39:36]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:39:36]wFMCommunicate OK [01:39:36]CreateOFDProtocolMessage done [01:39:36]OFDSenderStorePacket 57116 [01:39:36]StoreOFDPacket docnum=57116 [01:39:36]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 90 1A 1C 01 B1 61 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 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 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 D7 7D 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1C DF 00 00 35 04 06 00 85 9B BF 9F 37 CC C4 F5 E3 56 B3 06 C4 A0 [01:39:36]CheckFolder [01:39:36]dirname=/storage/ofd_packets [01:39:36]CheckFolder done [01:39:36]ProducePacketName [01:39:36]name=ofd_packets/00057116 [01:39:36]NVStorageSaveData ofd_packets/00057116 [01:39:36]File name is /storage/ofd_packets/00057116 [01:39:36]Write 322 bytes [01:39:36]NVStorageSaveData done [01:39:36]OFDSenderStorePacket done [01:39:36]KKMCreateOFDPacket done [01:39:36]NVStorageSaveData kkm_last_timestamp [01:39:36]File name is /storage/kkm_last_timestamp [01:39:36]Write 4 bytes [01:39:36]NVStorageSaveData done [01:39:36]ExternCall_PrintAddStr [01:39:36]wPrintStart [01:39:36]Write to MH i2c: 01 00 00 08 05 0D [01:39:36]Write i2c OK [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: 01 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: 01 07 00 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: 01 07 00 08 05 00 00 00 00 00 FF 0F 22 [01:39:36]RasterBufferAndPrint [01:39:36]line Счет N : (3)129572 [01:39:36]line ИНН: 02508201610067 [01:39:36]line Контрольно-Кассовый Чек [01:39:36]line ПРОДАЖА [01:39:36]line Товар: 4630007400358 [01:39:36]line Семечки ДЖИНН 70г [01:39:36]line 1.000 * 70.00 [01:39:36]line = 70.00 [01:39:36]line НДС 12% НСП 1% [01:39:36]line > о реализуемом товаре [01:39:36]line ИТОГО: 70.00 [01:39:36]line НСП 1% : 0.62 [01:39:36]line НДС 12% : 7.43 [01:39:36]line Наличными: 70.00 [01:39:36]line Безнал.: 0.00 [01:39:36]line Место: АЗС № 132 "Партнер Нефть" [01:39:36]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:39:36]line СНО: Общий режим [01:39:36]line Чек 11 15.07.2024 01:39 [01:39:36]line Смена: 497 ФФД: 1.0 [01:39:36]line ЗНМ: 0300000132 [01:39:36]line РНМ: 0000000000091208 [01:39:36]line Версия ККМ: 001 [01:39:36]line ФМ: 0000000000874857 [01:39:36]line ФД: 57116 [01:39:36]line ФПД: 146903981307852 [01:39:36]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T013935&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57116&fm=146903981307852&tin=02508201610067®Number=0000000000091208&sum=7000 [01:39:36]line 0 [01:39:36]written 0, free lines is 4095 [01:39:36]OFD Sender: Processing packet 57116 [packets to send 38, broken 37] [01:39:36]ProducePacketName [01:39:36]name=ofd_packets/00057116 [01:39:36]OFD Sender: To server: pG, [01:39:36]CommunicateWithHost lk.salyk.kg:30040 [01:39:36]ConnectInit lk.salyk.kg [01:39:36]Connected sock=10 [01:39:36]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 90 1A 1C 01 B1 61 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 36 33 30 30 30 37 34 30 30 33 35 38 06 04 1E 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 37 30 D0 B3 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 58 1B 00 00 00 00 13 04 06 00 58 1B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 58 1B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 3E 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 E7 02 00 00 00 00 07 04 06 00 58 1B 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0B 00 00 00 F4 03 04 00 D7 7D 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1C DF 00 00 35 04 06 00 85 9B BF 9F 37 CC C4 F5 E3 56 B3 06 C4 A0 [01:39:36]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 40 5A 47 00 9F 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 38 37 34 38 35 37 10 04 04 00 1C DF 00 00 F4 03 04 00 27 24 94 66 B6 04 01 00 00 D7 D4 37 E0 58 82 12 F0 [01:39:36]CommunicateWithHost err = 0 [01:39:36]CheckOFDResponse [01:39:36]1017 (14) - 77093643461234 [01:39:36]1041 (16) - 0000000000874857 [01:39:36]1040 (4) - 57116 [01:39:36]1012 (4) - 14.07.2024 19:16 [01:39:36]1206 (1) - 0 [01:39:36]OFD Sender: Remove packet 57116 [01:39:36]ProducePacketName [01:39:36]name=ofd_packets/00057116 [01:39:36]NVStorageDeleteData [01:39:36]Write to MH i2c: 01 00 00 30 05 35 [01:39:36]Write i2c OK [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: 01 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: 01 07 00 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: 01 07 00 30 05 00 00 00 00 00 09 0D 52 [01:39:36]RasterBufferAndPrint [01:39:36]line [01:39:36]line [01:39:36]line [01:39:36]line [01:39:36]line [01:39:36]written 0, free lines is 3346 [01:39:36]MH_Cut [01:39:36]Write to MH i2c: D1 01 00 37 05 01 0E [01:39:36]Write i2c OK [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: D1 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: D1 01 00 [01:39:36]MH_I2C_Read... [01:39:36]Read from MH i2c: D1 01 00 37 05 00 0D [01:39:36]Write to MH i2c: 01 00 00 38 05 3D [01:39:36]Write i2c OK [01:39:36]MH_I2C_Read... [01:39:37]OFD Sender: No OFD packet to send [01:39:37]*** Cut start [01:39:37]*** Partial cut [01:39:37]*** CUTSNS_PIN = 1 [01:39:37]*** CUTSNS_PIN = 0 [01:39:37]*** Brake cut motor [01:39:38]Read from MH i2c: 01 [01:39:38]MH_I2C_Read... [01:39:38]*** Stop cut motor [01:39:38]*** Cut end [01:39:38]Read from MH i2c: 01 07 00 [01:39:38]MH_I2C_Read... [01:39:38]Read from MH i2c: 01 07 00 38 05 00 00 00 00 00 FF 0F 52 [01:39:38]process_action close_receipt done [01:39:38]requested_data is exist [01:39:38]produce_requested_data [01:39:38]requested_item fm.sn is exist - process it [01:39:38]wFMCommunicate request_size=4 [01:39:38]MH_SAM_APDU [01:39:38]CAPDU: 80 11 00 00 [01:39:38]Write to MH i2c: E2 08 00 39 05 80 11 00 00 00 00 00 00 B8 [01:39:38]Write i2c OK [01:39:38]MH_I2C_Read... [01:39:38]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:39:38]Read from MH i2c: E2 [01:39:38]MH_I2C_Read... [01:39:38]Read from MH i2c: E2 17 00 [01:39:38]MH_I2C_Read... [01:39:38]Read from MH i2c: E2 17 00 39 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 12 [01:39:38]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:39:38]wFMCommunicate OK [01:39:38]requested_item fd.num is exist - process it [01:39:38]SAM_PROTO_GetFieldsCounters [01:39:38]wFMCommunicate request_size=4 [01:39:38]MH_SAM_APDU [01:39:38]CAPDU: 80 13 00 00 [01:39:38]Write to MH i2c: E2 08 00 3A 05 80 13 00 00 00 00 00 00 BB [01:39:38]Write i2c OK [01:39:38]MH_I2C_Read... [01:39:38]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:39:38]Read from MH i2c: E2 [01:39:38]MH_I2C_Read... [01:39:38]Read from MH i2c: E2 62 00 [01:39:38]MH_I2C_Read... [01:39:38]Read from MH i2c: E2 62 00 3A 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1C DF 00 00 0E 04 04 00 F1 01 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 EC [01:39:38]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1C DF 00 00 0E 04 04 00 F1 01 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 [01:39:38]wFMCommunicate OK [01:39:38]SAM_PROTO_GetFieldsCounters done [01:39:38]requested_item shift.num is exist - process it [01:39:38]requested_item shift.opened is exist - process it [01:39:38]req_shift_opened [01:39:38]FM_GetShiftState [01:39:38]SAM_PROTO_GetShiftState [01:39:38]wFMCommunicate request_size=4 [01:39:38]MH_SAM_APDU [01:39:38]CAPDU: 80 13 01 00 [01:39:38]Write to MH i2c: E2 08 00 3B 05 80 13 01 00 00 00 00 00 BD [01:39:38]Write i2c OK [01:39:38]MH_I2C_Read... [01:39:38]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:39:38]Read from MH i2c: E2 [01:39:38]MH_I2C_Read... [01:39:38]Read from MH i2c: E2 0E 00 [01:39:38]MH_I2C_Read... [01:39:38]Read from MH i2c: E2 0E 00 3B 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 36 [01:39:38]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:39:38]wFMCommunicate OK [01:39:38]SAM_PROTO_GetShiftState done [01:39:38]FM_GetShiftState done [01:39:38]req_shift_opened done [01:39:38]requested_item shift.open_date is exist - process it [01:39:38]req_shift_open_date [01:39:38]req_shift_open_date done [01:39:38]requested_item shift.sale.total is exist - process it [01:39:38]SAM_PROTO_GetShiftData [01:39:38]wFMCommunicate request_size=4 [01:39:38]MH_SAM_APDU [01:39:38]CAPDU: 80 13 02 00 [01:39:38]Write to MH i2c: E2 08 00 3C 05 80 13 02 00 00 00 00 00 BF [01:39:38]Write i2c OK [01:39:38]MH_I2C_Read... [01:39:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:39:38]Read from MH i2c: E2 [01:39:38]MH_I2C_Read... [01:39:38]Read from MH i2c: E2 FD 00 [01:39:38]MH_I2C_Read... [01:39:38]Read from MH i2c: E2 FD 00 3C 05 00 AD 04 AA 04 A9 04 6E 04 04 00 0B 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 B5 DE 03 70 04 03 00 B0 94 01 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 34 69 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 C4 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 28 [01:39:38]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0B 00 00 00 69 04 9A 00 6F 04 04 00 0B 00 00 00 B1 04 03 00 B5 DE 03 70 04 03 00 B0 94 01 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 34 69 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 C4 08 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:39:38]wFMCommunicate OK [01:39:38]wFMCommunicate request_size=4 [01:39:38]MH_SAM_APDU [01:39:38]CAPDU: 80 17 00 00 [01:39:38]Write to MH i2c: E2 08 00 3D 05 80 17 00 00 00 00 00 00 C2 [01:39:38]Write i2c OK [01:39:38]MH_I2C_Read... [01:39:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:39:39]Read from MH i2c: E2 [01:39:39]MH_I2C_Read... [01:39:39]Read from MH i2c: E2 FD 00 [01:39:39]MH_I2C_Read... [01:39:39]Read from MH i2c: E2 FD 00 3D 05 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 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 90 00 D4 [01:39: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 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 90 00 [01:39:39]wFMCommunicate OK [01:39:39]wFMCommunicate request_size=4 [01:39:39]MH_SAM_APDU [01:39:39]CAPDU: 80 17 00 00 [01:39:39]Write to MH i2c: E2 08 00 3E 05 80 17 00 00 00 00 00 00 C3 [01:39:39]Write i2c OK [01:39:39]MH_I2C_Read... [01:39:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:39:39]Read from MH i2c: E2 [01:39:39]MH_I2C_Read... [01:39:39]Read from MH i2c: E2 FD 00 [01:39:39]MH_I2C_Read... [01:39:39]Read from MH i2c: E2 FD 00 3E 05 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 87 [01:39:39]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:39:39]wFMCommunicate OK [01:39:39]wFMCommunicate request_size=4 [01:39:39]MH_SAM_APDU [01:39:39]CAPDU: 80 17 00 00 [01:39:39]Write to MH i2c: E2 08 00 3F 05 80 17 00 00 00 00 00 00 C4 [01:39:39]Write i2c OK [01:39:39]MH_I2C_Read... [01:39:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:39:39]Read from MH i2c: E2 [01:39:39]MH_I2C_Read... [01:39:39]Read from MH i2c: E2 FD 00 [01:39:39]MH_I2C_Read... [01:39:39]Read from MH i2c: E2 FD 00 3F 05 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 90 00 39 [01:39:39]RAPDU: 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 90 00 [01:39:39]wFMCommunicate OK [01:39:39]wFMCommunicate request_size=4 [01:39:39]MH_SAM_APDU [01:39:39]CAPDU: 80 17 00 00 [01:39:39]Write to MH i2c: E2 08 00 40 05 80 17 00 00 00 00 00 00 C5 [01:39:39]Write i2c OK [01:39:39]MH_I2C_Read... [01:39:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:39:39]Read from MH i2c: E2 [01:39:39]MH_I2C_Read... [01:39:39]Read from MH i2c: E2 CA 00 [01:39:39]MH_I2C_Read... [01:39:39]Read from MH i2c: E2 CA 00 40 05 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 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 AA [01:39:39]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 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 [01:39:40]wFMCommunicate OK [01:39:40]SAM_PROTO_GetShiftData done [01:39:40]requested_item shift.sale.total_cash is exist - process it [01:39:40]requested_item shift.sale_refund.total is exist - process it [01:39:40]requested_item shift.sale_refund.total_cash is exist - process it [01:39:40]produce_requested_data done [01:39:40]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57116,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":2536.21,"shift.sale.total_cash":1036.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:39:40]process_action_free close_receipt [01:39:40]json_value_free [01:39:40]json_value_free done [01:39:40]process_json_proto returns [01:39:40]Send response to host [01:39:40]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57116,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":2536.21,"shift.sale.total_cash":1036.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:39:40]free response buf [01:39:40]execute_script done [01:39:40]execute_script returns [01:39:40]free content buf [01:39:40]Sock 8.Close socket [01:39:40]Sock 8.Thread stoped [01:39:42]OFD Sender: No OFD packet to send [01:39:47]OFD Sender: No OFD packet to send [01:39:52]OFD Sender: No OFD packet to send [01:39:57]OFD Sender: No OFD packet to send [01:40:02]OFD Sender: No OFD packet to send [01:40:07]OFD Sender: No OFD packet to send [01:40:12]OFD Sender: No OFD packet to send [01:40:17]OFD Sender: No OFD packet to send [01:40:22]OFD Sender: No OFD packet to send [01:40:27]OFD Sender: No OFD packet to send [01:40:32]OFD Sender: No OFD packet to send [01:40:37]OFD Sender: No OFD packet to send [01:40:42]OFD Sender: No OFD packet to send [01:40:47]OFD Sender: No OFD packet to send [01:40:52]OFD Sender: No OFD packet to send [01:40:57]OFD Sender: No OFD packet to send [01:41:02]OFD Sender: No OFD packet to send [01:41:07]OFD Sender: No OFD packet to send [01:41:12]OFD Sender: No OFD packet to send [01:41:17]OFD Sender: No OFD packet to send [01:41:22]OFD Sender: No OFD packet to send [01:41:27]OFD Sender: No OFD packet to send [01:41:32]OFD Sender: No OFD packet to send [01:41:37]OFD Sender: No OFD packet to send [01:41:42]OFD Sender: No OFD packet to send [01:41:47]OFD Sender: No OFD packet to send [01:41:52]OFD Sender: No OFD packet to send [01:41:57]OFD Sender: No OFD packet to send [01:42:02]OFD Sender: No OFD packet to send [01:42:07]OFD Sender: No OFD packet to send [01:42:12]OFD Sender: No OFD packet to send [01:42:17]OFD Sender: No OFD packet to send [01:42:22]OFD Sender: No OFD packet to send [01:42:27]OFD Sender: No OFD packet to send [01:42:32]OFD Sender: No OFD packet to send [01:42:37]OFD Sender: No OFD packet to send [01:42:42]OFD Sender: No OFD packet to send [01:42:47]OFD Sender: No OFD packet to send [01:42:52]OFD Sender: No OFD packet to send [01:42:57]OFD Sender: No OFD packet to send [01:43:02]OFD Sender: No OFD packet to send [01:43:07]OFD Sender: No OFD packet to send [01:43:12]OFD Sender: No OFD packet to send [01:43:17]OFD Sender: No OFD packet to send [01:43:22]OFD Sender: No OFD packet to send [01:43:27]OFD Sender: No OFD packet to send [01:43:32]OFD Sender: No OFD packet to send [01:43:37]OFD Sender: No OFD packet to send [01:43:41]accept exits with 9 [01:43:41]New connection [01:43:41]New thread 3067067748 created [01:43:41]Thread 3066924388 joined [01:43:41]Waiting for new connection... [01:43:41] Sock 9.Parse request [01:43:41]Sock 9.Check first char [01:43:41]Sock 9.First char is OK [01:43:41]request: POST /json_proto HTTP/1.0 [01:43:41]Method: POST [01:43:41]URL: /json_proto [01:43:41]Method is POST - this is cgi request [01:43:41]url: /json_proto [01:43:41]query_string will be loaded in cgi processing [01:43:41]execute_cgi json_proto POST (null) [01:43:41]execute_cgi path=json_proto method=POST [01:43:41]POST find Content-Length [01:43:41]Host: 172.17.39.4:8080 [01:43:41]Content-Length: 764 [01:43:41]Content-Type: application/json [01:43:41] [01:43:41]POST finish read [01:43:41]Found Content-Length = 764 [01:43:41]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129573", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:43:41]execute_script... [01:43:41]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129573", "tax_sys" : 0, "items" : [ { "code": "4700002083266", "name": "\u0412\u043E\u0434\u043A\u0430 \u0410\u0442\u0438\u043B\u043B\u0430 \u0413\u0443\u043D\u043D 0,5\u043B", "price" : 450.00, "quantity" : 1.000, "sum" : 450.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 450.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:43:41]POST & json_proto [01:43:41]process_json_proto [01:43:41]json parsed OK: [01:43:41]protocol is kg_v1.0 [01:43:41]action value=close_receipt [01:43:41]process_action close_receipt [01:43:41]cmd_close_receipt [01:43:41]MH_GetDate [01:43:41]Write to MH i2c: F0 00 00 41 05 35 [01:43:41]Write i2c OK [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: F0 [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: F0 09 00 [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: F0 09 00 41 05 00 CE 7E 94 66 2D 25 5D 64 97 [01:43:41]GetLastDocTimeStamp 1721007575 [01:43:41]current date 1721007822 [01:43:41]FM_GetShiftState [01:43:41]SAM_PROTO_GetShiftState [01:43:41]wFMCommunicate request_size=4 [01:43:41]MH_SAM_APDU [01:43:41]CAPDU: 80 13 01 00 [01:43:41]Write to MH i2c: E2 08 00 42 05 80 13 01 00 00 00 00 00 C4 [01:43:41]Write i2c OK [01:43:41]MH_I2C_Read... [01:43:41]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:43:41]Read from MH i2c: E2 [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: E2 0E 00 [01:43:41]MH_I2C_Read... [01:43:41]Read from MH i2c: E2 0E 00 42 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 3D [01:43:41]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:43:41]wFMCommunicate OK [01:43:41]SAM_PROTO_GetShiftState done [01:43:41]FM_GetShiftState done [01:43:41]opened in 1721003525 [01:43:41]opened+sec_in_day 1721089925 [01:43:41]quantity*price = 45000 [01:43:41]sum+1 = 45001 [01:43:41]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 450.00 НСП 1% : 3.98 НДС 12% : 47.79 Наличными: 450.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 12 15.07.2024 01:43 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57117 ФПД: 82954011888216 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T014342&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57117&fm=82954011888216&tin=02508201610067®Number=0000000000091208&sum=45000 0 [01:43:42]StoreToDocumentArchive [01:43:42]shift 497 fd 57117 [01:43:42]save to /storage/0497/doc_00057117 [01:43:42]save last doc name /storage/0497/doc_00057117 to /storage/kkm_last_doc_name [01:43:42]save OK [01:43:42]Clear old archive folders... [01:43:42]ProcessDocumentItem done err = 0, tmpTLVsize=280 [01:43:42]tlvbuf is 00984760 [01:43:42]SAM_PROTO_ClearQueue [01:43:42]wFMCommunicate request_size=4 [01:43:42]MH_SAM_APDU [01:43:42]CAPDU: 80 09 00 00 [01:43:42]Write to MH i2c: E2 08 00 4F 05 80 09 00 00 00 00 00 00 C6 [01:43:42]Write i2c OK [01:43:42]MH_I2C_Read... [01:43:42]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:43:42]OFD Sender: No OFD packet to send [01:43:42]Read from MH i2c: E2 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 03 00 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 03 00 4F 05 00 90 00 C8 [01:43:42]RAPDU: 90 00 [01:43:42]wFMCommunicate OK [01:43:42]SAM_PROTO_ClearQueue done [01:43:42]KKMCreateOFDPacket [01:43:42]OFDProtocolAddRootSTLVToBuf [01:43:42]FM_MakeSignedData [01:43:42]FM_MakeSignedData [01:43:42]SAM_PROTO_SignData [01:43:42]wFMCommunicate request_size=4 [01:43:42]MH_SAM_APDU [01:43:42]CAPDU: 80 0D 01 02 [01:43:42]Write to MH i2c: E2 08 00 50 05 80 0D 01 02 00 00 00 00 CE [01:43:42]Write i2c OK [01:43:42]MH_I2C_Read... [01:43:42]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:43:42]Read from MH i2c: E2 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 03 00 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 03 00 50 05 00 90 00 C9 [01:43:42]RAPDU: 90 00 [01:43:42]wFMCommunicate OK [01:43:42]wFMCommunicate request_size=255 [01:43:42]MH_SAM_APDU [01:43:42]CAPDU: 80 0D 02 02 FA 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 CE 7E 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 [01:43:42]Write to MH i2c: E2 02 01 51 05 80 0D 02 02 FA 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 CE 7E 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 00 00 CF [01:43:42]Write i2c OK [01:43:42]MH_I2C_Read... [01:43:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:43:42]Read from MH i2c: E2 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 03 00 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 03 00 51 05 00 90 00 CA [01:43:42]RAPDU: 90 00 [01:43:42]wFMCommunicate OK [01:43:42]wFMCommunicate request_size=39 [01:43:42]MH_SAM_APDU [01:43:42]CAPDU: 80 0D 02 02 22 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1D DF 00 00 35 04 06 00 4B 72 3C 69 4A 58 [01:43:42]Write to MH i2c: E2 2A 00 52 05 80 0D 02 02 22 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1D DF 00 00 35 04 06 00 4B 72 3C 69 4A 58 00 00 93 [01:43:42]Write i2c OK [01:43:42]MH_I2C_Read... [01:43:42]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:43:42]Read from MH i2c: E2 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 03 00 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 03 00 52 05 00 90 00 CB [01:43:42]RAPDU: 90 00 [01:43:42]wFMCommunicate OK [01:43:42]wFMCommunicate request_size=4 [01:43:42]MH_SAM_APDU [01:43:42]CAPDU: 80 0D 03 02 [01:43:42]Write to MH i2c: E2 08 00 53 05 80 0D 03 02 00 00 00 00 D3 [01:43:42]Write i2c OK [01:43:42]MH_I2C_Read... [01:43:42]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:43:42]Read from MH i2c: E2 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 0B 00 [01:43:42]MH_I2C_Read... [01:43:42]Read from MH i2c: E2 0B 00 53 05 00 3C 29 60 B4 CF 1F A3 4A 90 00 28 [01:43:42]RAPDU: 3C 29 60 B4 CF 1F A3 4A 90 00 [01:43:42]wFMCommunicate OK [01:43:42]SAM_PROTO_SignData done [01:43:42]FM_MakeSignedData done [01:43:42]CreateOFDProtocolMessage [01:43:42]wFMCommunicate request_size=4 [01:43:42]MH_SAM_APDU [01:43:42]CAPDU: 80 11 00 00 [01:43:42]Write to MH i2c: E2 08 00 54 05 80 11 00 00 00 00 00 00 D3 [01:43:42]Write i2c OK [01:43:42]MH_I2C_Read... [01:43:43]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:43:43]Read from MH i2c: E2 [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: E2 17 00 [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: E2 17 00 54 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2D [01:43:43]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:43:43]wFMCommunicate OK [01:43:43]CreateOFDProtocolMessage done [01:43:43]OFDSenderStorePacket 57117 [01:43:43]StoreOFDPacket docnum=57117 [01:43:43]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 A6 96 24 01 4A 08 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 CE 7E 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1D DF 00 00 35 04 06 00 4B 72 3C 69 4A 58 3C 29 60 B4 CF 1F A3 4A [01:43:43]CheckFolder [01:43:43]dirname=/storage/ofd_packets [01:43:43]CheckFolder done [01:43:43]ProducePacketName [01:43:43]name=ofd_packets/00057117 [01:43:43]NVStorageSaveData ofd_packets/00057117 [01:43:43]File name is /storage/ofd_packets/00057117 [01:43:43]Write 330 bytes [01:43:43]NVStorageSaveData done [01:43:43]OFDSenderStorePacket done [01:43:43]KKMCreateOFDPacket done [01:43:43]NVStorageSaveData kkm_last_timestamp [01:43:43]File name is /storage/kkm_last_timestamp [01:43:43]Write 4 bytes [01:43:43]NVStorageSaveData done [01:43:43]ExternCall_PrintAddStr [01:43:43]wPrintStart [01:43:43]Write to MH i2c: 01 00 00 55 05 5A [01:43:43]Write i2c OK [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: 01 [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: 01 07 00 [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: 01 07 00 55 05 00 00 00 00 00 FF 0F 6F [01:43:43]RasterBufferAndPrint [01:43:43]line Счет N : (3)129573 [01:43:43]line ИНН: 02508201610067 [01:43:43]line Контрольно-Кассовый Чек [01:43:43]line ПРОДАЖА [01:43:43]line Товар: 4700002083266 [01:43:43]line Водка Атилла Гунн 0,5л [01:43:43]line 1.000 * 450.00 [01:43:43]line = 450.00 [01:43:43]line НДС 12% НСП 1% [01:43:43]line > о реализуемом товаре [01:43:43]line ИТОГО: 450.00 [01:43:43]line НСП 1% : 3.98 [01:43:43]line НДС 12% : 47.79 [01:43:43]line Наличными: 450.00 [01:43:43]line Безнал.: 0.00 [01:43:43]line Место: АЗС № 132 "Партнер Нефть" [01:43:43]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:43:43]line СНО: Общий режим [01:43:43]line Чек 12 15.07.2024 01:43 [01:43:43]line Смена: 497 ФФД: 1.0 [01:43:43]line ЗНМ: 0300000132 [01:43:43]line РНМ: 0000000000091208 [01:43:43]line Версия ККМ: 001 [01:43:43]line ФМ: 0000000000874857 [01:43:43]line ФД: 57117 [01:43:43]line ФПД: 82954011888216 [01:43:43]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T014342&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57117&fm=82954011888216&tin=02508201610067®Number=0000000000091208&sum=45000 [01:43:43]line 0 [01:43:43]OFD Sender: Processing packet 57117 [packets to send 38, broken 37] [01:43:43]ProducePacketName [01:43:43]name=ofd_packets/00057117 [01:43:43]OFD Sender: To server: pG, [01:43:43]CommunicateWithHost lk.salyk.kg:30040 [01:43:43]ConnectInit lk.salyk.kg [01:43:43]written 0, free lines is 4095 [01:43:43]Connected sock=10 [01:43:43]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 2C 01 00 00 A6 96 24 01 4A 08 5A 03 01 00 03 00 18 01 1E 04 01 00 01 23 04 6A 00 8A 04 0D 00 34 37 30 30 30 30 32 30 38 33 32 36 36 06 04 26 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 90 D1 82 D0 B8 D0 BB D0 BB D0 B0 20 D0 93 D1 83 D0 BD D0 BD 20 30 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 AF 00 00 00 00 13 04 06 00 C8 AF 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 C8 AF 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 8E 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 AB 12 00 00 00 00 07 04 06 00 C8 AF 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 CE 7E 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1D DF 00 00 35 04 06 00 4B 72 3C 69 4A 58 3C 29 60 B4 CF 1F A3 4A [01:43:43]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 B3 B1 47 00 00 1B A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1D DF 00 00 F4 03 04 00 1E 25 94 66 B6 04 01 00 00 EB 30 71 70 99 BC 09 C5 [01:43:43]CommunicateWithHost err = 0 [01:43:43]CheckOFDResponse [01:43:43]1017 (14) - 77093643461234 [01:43:43]1041 (16) - 0000000000874857 [01:43:43]1040 (4) - 57117 [01:43:43]1012 (4) - 14.07.2024 19:21 [01:43:43]1206 (1) - 0 [01:43:43]OFD Sender: Remove packet 57117 [01:43:43]ProducePacketName [01:43:43]name=ofd_packets/00057117 [01:43:43]NVStorageDeleteData [01:43:43]Write to MH i2c: 01 00 00 7D 05 82 [01:43:43]Write i2c OK [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: 01 [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: 01 07 00 [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: 01 07 00 7D 05 00 00 00 00 00 16 0D AC [01:43:43]RasterBufferAndPrint [01:43:43]line [01:43:43]line [01:43:43]line [01:43:43]line [01:43:43]line [01:43:43]written 0, free lines is 3358 [01:43:43]MH_Cut [01:43:43]Write to MH i2c: D1 01 00 84 05 01 5B [01:43:43]Write i2c OK [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: D1 [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: D1 01 00 [01:43:43]MH_I2C_Read... [01:43:43]Read from MH i2c: D1 01 00 84 05 00 5A [01:43:43]Write to MH i2c: 01 00 00 85 05 8A [01:43:43]Write i2c OK [01:43:43]MH_I2C_Read... [01:43:44]OFD Sender: No OFD packet to send [01:43:44]*** Cut start [01:43:44]*** Partial cut [01:43:44]*** CUTSNS_PIN = 1 [01:43:44]*** CUTSNS_PIN = 0 [01:43:44]*** Brake cut motor [01:43:45]Read from MH i2c: 01 [01:43:45]MH_I2C_Read... [01:43:45]*** Stop cut motor [01:43:45]*** Cut end [01:43:45]Read from MH i2c: 01 07 00 [01:43:45]MH_I2C_Read... [01:43:45]Read from MH i2c: 01 07 00 85 05 00 00 00 00 00 FF 0F 9F [01:43:45]process_action close_receipt done [01:43:45]requested_data is exist [01:43:45]produce_requested_data [01:43:45]requested_item fm.sn is exist - process it [01:43:45]wFMCommunicate request_size=4 [01:43:45]MH_SAM_APDU [01:43:45]CAPDU: 80 11 00 00 [01:43:45]Write to MH i2c: E2 08 00 86 05 80 11 00 00 00 00 00 00 05 [01:43:45]Write i2c OK [01:43:45]MH_I2C_Read... [01:43:45]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:43:45]Read from MH i2c: E2 [01:43:45]MH_I2C_Read... [01:43:45]Read from MH i2c: E2 17 00 [01:43:45]MH_I2C_Read... [01:43:45]Read from MH i2c: E2 17 00 86 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5F [01:43:45]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:43:45]wFMCommunicate OK [01:43:45]requested_item fd.num is exist - process it [01:43:45]SAM_PROTO_GetFieldsCounters [01:43:45]wFMCommunicate request_size=4 [01:43:45]MH_SAM_APDU [01:43:45]CAPDU: 80 13 00 00 [01:43:45]Write to MH i2c: E2 08 00 87 05 80 13 00 00 00 00 00 00 08 [01:43:45]Write i2c OK [01:43:45]MH_I2C_Read... [01:43:45]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:43:45]Read from MH i2c: E2 [01:43:45]MH_I2C_Read... [01:43:45]Read from MH i2c: E2 62 00 [01:43:45]MH_I2C_Read... [01:43:45]Read from MH i2c: E2 62 00 87 05 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1D DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 3D [01:43:45]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1D DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 0C 00 00 00 5E 04 04 00 0C 00 00 00 57 04 04 00 0D 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:43:45]wFMCommunicate OK [01:43:45]SAM_PROTO_GetFieldsCounters done [01:43:45]requested_item shift.num is exist - process it [01:43:45]requested_item shift.opened is exist - process it [01:43:45]req_shift_opened [01:43:45]FM_GetShiftState [01:43:45]SAM_PROTO_GetShiftState [01:43:45]wFMCommunicate request_size=4 [01:43:45]MH_SAM_APDU [01:43:45]CAPDU: 80 13 01 00 [01:43:45]Write to MH i2c: E2 08 00 88 05 80 13 01 00 00 00 00 00 0A [01:43:45]Write i2c OK [01:43:45]MH_I2C_Read... [01:43:45]Read from MH i2c: E2 [01:43:45]MH_I2C_Read... [01:43:45]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:43:45]Read from MH i2c: E2 0E 00 [01:43:45]MH_I2C_Read... [01:43:45]Read from MH i2c: E2 0E 00 88 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 83 [01:43:45]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:43:45]wFMCommunicate OK [01:43:45]SAM_PROTO_GetShiftState done [01:43:45]FM_GetShiftState done [01:43:45]req_shift_opened done [01:43:45]requested_item shift.open_date is exist - process it [01:43:45]req_shift_open_date [01:43:45]req_shift_open_date done [01:43:45]requested_item shift.sale.total is exist - process it [01:43:45]SAM_PROTO_GetShiftData [01:43:45]wFMCommunicate request_size=4 [01:43:45]MH_SAM_APDU [01:43:45]CAPDU: 80 13 02 00 [01:43:45]Write to MH i2c: E2 08 00 89 05 80 13 02 00 00 00 00 00 0C [01:43:45]Write i2c OK [01:43:45]MH_I2C_Read... [01:43:45]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:43:45]Read from MH i2c: E2 [01:43:45]MH_I2C_Read... [01:43:45]Read from MH i2c: E2 FD 00 [01:43:45]MH_I2C_Read... [01:43:45]Read from MH i2c: E2 FD 00 89 05 00 AD 04 AA 04 A9 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 7D 8E 04 70 04 03 00 78 44 02 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 DF 7B 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 52 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B6 [01:43:45]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0C 00 00 00 69 04 9A 00 6F 04 04 00 0C 00 00 00 B1 04 03 00 7D 8E 04 70 04 03 00 78 44 02 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 DF 7B 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 52 0A EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:43:45]wFMCommunicate OK [01:43:45]wFMCommunicate request_size=4 [01:43:45]MH_SAM_APDU [01:43:45]CAPDU: 80 17 00 00 [01:43:45]Write to MH i2c: E2 08 00 8A 05 80 17 00 00 00 00 00 00 0F [01:43:45]Write i2c OK [01:43:45]MH_I2C_Read... [01:43:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:43:46]Read from MH i2c: E2 [01:43:46]MH_I2C_Read... [01:43:46]Read from MH i2c: E2 FD 00 [01:43:46]MH_I2C_Read... [01:43:46]Read from MH i2c: E2 FD 00 8A 05 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 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 90 00 21 [01:43:46]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 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 90 00 [01:43:46]wFMCommunicate OK [01:43:46]wFMCommunicate request_size=4 [01:43:46]MH_SAM_APDU [01:43:46]CAPDU: 80 17 00 00 [01:43:46]Write to MH i2c: E2 08 00 8B 05 80 17 00 00 00 00 00 00 10 [01:43:46]Write i2c OK [01:43:46]MH_I2C_Read... [01:43:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:43:46]Read from MH i2c: E2 [01:43:46]MH_I2C_Read... [01:43:46]Read from MH i2c: E2 FD 00 [01:43:46]MH_I2C_Read... [01:43:46]Read from MH i2c: E2 FD 00 8B 05 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D4 [01:43:46]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:43:46]wFMCommunicate OK [01:43:46]wFMCommunicate request_size=4 [01:43:46]MH_SAM_APDU [01:43:46]CAPDU: 80 17 00 00 [01:43:46]Write to MH i2c: E2 08 00 8C 05 80 17 00 00 00 00 00 00 11 [01:43:46]Write i2c OK [01:43:46]MH_I2C_Read... [01:43:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:43:46]Read from MH i2c: E2 [01:43:46]MH_I2C_Read... [01:43:46]Read from MH i2c: E2 FD 00 [01:43:46]MH_I2C_Read... [01:43:46]Read from MH i2c: E2 FD 00 8C 05 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 90 00 86 [01:43:46]RAPDU: 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 90 00 [01:43:46]wFMCommunicate OK [01:43:46]wFMCommunicate request_size=4 [01:43:46]MH_SAM_APDU [01:43:46]CAPDU: 80 17 00 00 [01:43:46]Write to MH i2c: E2 08 00 8D 05 80 17 00 00 00 00 00 00 12 [01:43:46]Write i2c OK [01:43:46]MH_I2C_Read... [01:43:46]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:43:47]Read from MH i2c: E2 [01:43:47]MH_I2C_Read... [01:43:47]Read from MH i2c: E2 CA 00 [01:43:47]MH_I2C_Read... [01:43:47]Read from MH i2c: E2 CA 00 8D 05 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 F7 [01:43:47]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 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 [01:43:47]wFMCommunicate OK [01:43:47]SAM_PROTO_GetShiftData done [01:43:47]requested_item shift.sale.total_cash is exist - process it [01:43:47]requested_item shift.sale_refund.total is exist - process it [01:43:47]requested_item shift.sale_refund.total_cash is exist - process it [01:43:47]produce_requested_data done [01:43:47]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57117,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":2986.21,"shift.sale.total_cash":1486.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:43:47]process_action_free close_receipt [01:43:47]json_value_free [01:43:47]json_value_free done [01:43:47]process_json_proto returns [01:43:47]Send response to host [01:43:47]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57117,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":2986.21,"shift.sale.total_cash":1486.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:43:47]free response buf [01:43:47]execute_script done [01:43:47]execute_script returns [01:43:47]free content buf [01:43:47]Sock 9.Close socket [01:43:47]Sock 9.Thread stoped [01:43:49]OFD Sender: No OFD packet to send [01:43:54]OFD Sender: No OFD packet to send [01:43:59]OFD Sender: No OFD packet to send [01:44:04]OFD Sender: No OFD packet to send [01:44:09]OFD Sender: No OFD packet to send [01:44:14]OFD Sender: No OFD packet to send [01:44:19]OFD Sender: No OFD packet to send [01:44:24]OFD Sender: No OFD packet to send [01:44:29]OFD Sender: No OFD packet to send [01:44:34]OFD Sender: No OFD packet to send [01:44:39]OFD Sender: No OFD packet to send [01:44:44]OFD Sender: No OFD packet to send [01:44:49]OFD Sender: No OFD packet to send [01:44:54]OFD Sender: No OFD packet to send [01:44:59]OFD Sender: No OFD packet to send [01:45:04]OFD Sender: No OFD packet to send [01:45:09]OFD Sender: No OFD packet to send [01:45:14]OFD Sender: No OFD packet to send [01:45:19]OFD Sender: No OFD packet to send [01:45:24]OFD Sender: No OFD packet to send [01:45:29]OFD Sender: No OFD packet to send [01:45:34]OFD Sender: No OFD packet to send [01:45:39]OFD Sender: No OFD packet to send [01:45:44]OFD Sender: No OFD packet to send [01:45:46]accept exits with 8 [01:45:46]New connection [01:45:46]New thread 3066924388 created [01:45:46]Thread 3067067748 joined [01:45:46]Waiting for new connection... [01:45:46] Sock 8.Parse request [01:45:46]Sock 8.Check first char [01:45:46]Sock 8.First char is OK [01:45:46]request: POST /json_proto HTTP/1.0 [01:45:46]Method: POST [01:45:46]URL: /json_proto [01:45:46]Method is POST - this is cgi request [01:45:46]url: /json_proto [01:45:46]query_string will be loaded in cgi processing [01:45:46]execute_cgi json_proto POST (null) [01:45:46]execute_cgi path=json_proto method=POST [01:45:46]POST find Content-Length [01:45:46]Host: 172.17.39.4:8080 [01:45:46]Content-Length: 1290 [01:45:46]Content-Type: application/json [01:45:46] [01:45:46]POST finish read [01:45:46]Found Content-Length = 1290 [01:45:46]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129574", "tax_sys" : 0, "items" : [ { "code": "4600721021627", "name": "\u041F\u0438\u0432\u043E \u0411\u0410\u0414 0,5\u043B \u0441\u0442", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329999", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043B\u0438\u043C\u043E\u043D Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:45:46]execute_script... [01:45:46]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129574", "tax_sys" : 0, "items" : [ { "code": "4600721021627", "name": "\u041F\u0438\u0432\u043E \u0411\u0410\u0414 0,5\u043B \u0441\u0442", "price" : 150.00, "quantity" : 1.000, "sum" : 150.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870002329999", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Lipton IceTea 1\u043B \u043B\u0438\u043C\u043E\u043D Regular", "price" : 130.00, "quantity" : 1.000, "sum" : 130.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "4870022003305", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Gorilla \u044D\u043D \u043D\u0430\u0442 \u0436/\u0431 0,5/0,45\u043B", "price" : 110.00, "quantity" : 1.000, "sum" : 110.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 390.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:45:46]POST & json_proto [01:45:46]process_json_proto [01:45:46]json parsed OK: [01:45:46]protocol is kg_v1.0 [01:45:46]action value=close_receipt [01:45:46]process_action close_receipt [01:45:46]cmd_close_receipt [01:45:46]MH_GetDate [01:45:46]Write to MH i2c: F0 00 00 8E 05 82 [01:45:46]Write i2c OK [01:45:46]MH_I2C_Read... [01:45:46]Read from MH i2c: F0 [01:45:46]MH_I2C_Read... [01:45:46]Read from MH i2c: F0 09 00 [01:45:46]MH_I2C_Read... [01:45:46]Read from MH i2c: F0 09 00 8E 05 00 4C 7F 94 66 2D 25 5D 64 63 [01:45:46]GetLastDocTimeStamp 1721007822 [01:45:46]current date 1721007948 [01:45:46]FM_GetShiftState [01:45:46]SAM_PROTO_GetShiftState [01:45:46]wFMCommunicate request_size=4 [01:45:46]MH_SAM_APDU [01:45:46]CAPDU: 80 13 01 00 [01:45:46]Write to MH i2c: E2 08 00 8F 05 80 13 01 00 00 00 00 00 11 [01:45:46]Write i2c OK [01:45:46]MH_I2C_Read... [01:45:46]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:45:46]Read from MH i2c: E2 [01:45:46]MH_I2C_Read... [01:45:46]Read from MH i2c: E2 0E 00 [01:45:46]MH_I2C_Read... [01:45:46]Read from MH i2c: E2 0E 00 8F 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 8A [01:45:46]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:45:46]wFMCommunicate OK [01:45:46]SAM_PROTO_GetShiftState done [01:45:46]FM_GetShiftState done [01:45:46]opened in 1721003525 [01:45:46]opened+sec_in_day 1721089925 [01:45:46]quantity*price = 15000 [01:45:46]sum+1 = 15001 [01:45:46]Check (price>sum+1) || (price+1sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 4870002329999 Напиток Lipton IceTea 1л лимон Regular 1.000 * 130.00 = 130.00 НДС 12% НСП 1% > о реализуемом товаре Товар: 4870022003305 Напиток Gorilla эн нат ж/б 0,5/0,45л 1.000 * 110.00 = 110.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 390.00 НСП 1% : 3.45 НДС 12% : 41.41 Наличными: 390.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 13 15.07.2024 01:45 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57118 ФПД: 2818828664518 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T014548&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57118&fm=2818828664518&tin=02508201610067®Number=0000000000091208&sum=39000 0 [01:45:48]StoreToDocumentArchive [01:45:48]shift 497 fd 57118 [01:45:48]save to /storage/0497/doc_00057118 [01:45:48]save last doc name /storage/0497/doc_00057118 to /storage/kkm_last_doc_name [01:45:48]save OK [01:45:48]Clear old archive folders... [01:45:48]ProcessDocumentItem done err = 0, tmpTLVsize=514 [01:45:48]tlvbuf is 0099F050 [01:45:48]SAM_PROTO_ClearQueue [01:45:48]wFMCommunicate request_size=4 [01:45:48]MH_SAM_APDU [01:45:48]CAPDU: 80 09 00 00 [01:45:48]Write to MH i2c: E2 08 00 9C 05 80 09 00 00 00 00 00 00 13 [01:45:48]Write i2c OK [01:45:48]MH_I2C_Read... [01:45:48]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:45:48]Read from MH i2c: E2 [01:45:48]MH_I2C_Read... [01:45:48]Read from MH i2c: E2 03 00 [01:45:48]MH_I2C_Read... [01:45:48]Read from MH i2c: E2 03 00 9C 05 00 90 00 15 [01:45:48]RAPDU: 90 00 [01:45:48]wFMCommunicate OK [01:45:48]SAM_PROTO_ClearQueue done [01:45:48]KKMCreateOFDPacket [01:45:48]OFDProtocolAddRootSTLVToBuf [01:45:48]FM_MakeSignedData [01:45:48]FM_MakeSignedData [01:45:48]SAM_PROTO_SignData [01:45:48]wFMCommunicate request_size=4 [01:45:48]MH_SAM_APDU [01:45:48]CAPDU: 80 0D 01 02 [01:45:48]Write to MH i2c: E2 08 00 9D 05 80 0D 01 02 00 00 00 00 1B [01:45:48]Write i2c OK [01:45:48]MH_I2C_Read... [01:45:48]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:45:48]Read from MH i2c: E2 [01:45:48]MH_I2C_Read... [01:45:48]Read from MH i2c: E2 03 00 [01:45:48]MH_I2C_Read... [01:45:48]Read from MH i2c: E2 03 00 9D 05 00 90 00 16 [01:45:48]RAPDU: 90 00 [01:45:48]wFMCommunicate OK [01:45:48]wFMCommunicate request_size=255 [01:45:48]MH_SAM_APDU [01:45:48]CAPDU: 80 0D 02 02 FA 03 00 02 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 36 32 37 06 04 1A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 90 D0 94 20 30 2C 35 D0 BB 20 D1 81 D1 82 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 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 [01:45:48]Write to MH i2c: E2 02 01 9E 05 80 0D 02 02 FA 00 03 00 02 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 36 32 37 06 04 1A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 90 D0 94 20 30 2C 35 D0 BB 20 D1 81 D1 82 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 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 00 00 C2 [01:45:48]Write i2c OK [01:45:48]MH_I2C_Read... [01:45:48]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:45:48]Read from MH i2c: E2 [01:45:48]MH_I2C_Read... [01:45:48]Read from MH i2c: E2 03 00 [01:45:48]MH_I2C_Read... [01:45:48]Read from MH i2c: E2 03 00 9E 05 00 90 00 17 [01:45:48]RAPDU: 90 00 [01:45:48]wFMCommunicate OK [01:45:48]wFMCommunicate request_size=255 [01:45:48]MH_SAM_APDU [01:45:48]CAPDU: 80 0D 02 02 FA 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 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 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 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 58 98 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 4C 7F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 [01:45:48]Write to MH i2c: E2 02 01 9F 05 80 0D 02 02 FA 00 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 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 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 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 58 98 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 4C 7F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 00 00 65 [01:45:48]Write i2c OK [01:45:48]MH_I2C_Read... [01:45:49]Read from MH i2c: E2 [01:45:49]MH_I2C_Read... [01:45:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:45:49]Read from MH i2c: E2 03 00 [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: E2 03 00 9F 05 00 90 00 18 [01:45:49]RAPDU: 90 00 [01:45:49]wFMCommunicate OK [01:45:49]wFMCommunicate request_size=23 [01:45:49]MH_SAM_APDU [01:45:49]CAPDU: 80 0D 02 02 12 10 04 04 00 1E DF 00 00 35 04 06 00 02 90 4F 47 FE C6 [01:45:49]Write to MH i2c: E2 1A 00 A0 05 80 0D 02 02 12 00 10 04 04 00 1E DF 00 00 35 04 06 00 02 90 4F 47 FE C6 00 00 83 [01:45:49]Write i2c OK [01:45:49]MH_I2C_Read... [01:45:49]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:45:49]Read from MH i2c: E2 [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: E2 03 00 [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: E2 03 00 A0 05 00 90 00 19 [01:45:49]RAPDU: 90 00 [01:45:49]wFMCommunicate OK [01:45:49]wFMCommunicate request_size=4 [01:45:49]MH_SAM_APDU [01:45:49]CAPDU: 80 0D 03 02 [01:45:49]Write to MH i2c: E2 08 00 A1 05 80 0D 03 02 00 00 00 00 21 [01:45:49]Write i2c OK [01:45:49]MH_I2C_Read... [01:45:49]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:45:49]Read from MH i2c: E2 [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: E2 0B 00 [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: E2 0B 00 A1 05 00 E8 F1 06 63 94 52 8A 11 90 00 E5 [01:45:49]RAPDU: E8 F1 06 63 94 52 8A 11 90 00 [01:45:49]wFMCommunicate OK [01:45:49]SAM_PROTO_SignData done [01:45:49]FM_MakeSignedData done [01:45:49]CreateOFDProtocolMessage [01:45:49]wFMCommunicate request_size=4 [01:45:49]MH_SAM_APDU [01:45:49]CAPDU: 80 11 00 00 [01:45:49]Write to MH i2c: E2 08 00 A2 05 80 11 00 00 00 00 00 00 21 [01:45:49]Write i2c OK [01:45:49]MH_I2C_Read... [01:45:49]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:45:49]Read from MH i2c: E2 [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: E2 17 00 [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: E2 17 00 A2 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7B [01:45:49]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:45:49]wFMCommunicate OK [01:45:49]CreateOFDProtocolMessage done [01:45:49]OFDSenderStorePacket 57118 [01:45:49]StoreOFDPacket docnum=57118 [01:45:49]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 16 02 00 00 2E A9 0E 02 B1 2F 5A 03 01 00 03 00 02 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 36 32 37 06 04 1A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 90 D0 94 20 30 2C 35 D0 BB 20 D1 81 D1 82 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 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 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 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 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 58 98 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 4C 7F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1E DF 00 00 35 04 06 00 02 90 4F 47 FE C6 E8 F1 06 63 94 52 8A 11 [01:45:49]CheckFolder [01:45:49]dirname=/storage/ofd_packets [01:45:49]CheckFolder done [01:45:49]ProducePacketName [01:45:49]name=ofd_packets/00057118 [01:45:49]NVStorageSaveData ofd_packets/00057118 [01:45:49]File name is /storage/ofd_packets/00057118 [01:45:49]Write 564 bytes [01:45:49]NVStorageSaveData done [01:45:49]OFDSenderStorePacket done [01:45:49]KKMCreateOFDPacket done [01:45:49]NVStorageSaveData kkm_last_timestamp [01:45:49]File name is /storage/kkm_last_timestamp [01:45:49]Write 4 bytes [01:45:49]NVStorageSaveData done [01:45:49]ExternCall_PrintAddStr [01:45:49]wPrintStart [01:45:49]Write to MH i2c: 01 00 00 A3 05 A8 [01:45:49]Write i2c OK [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: 01 [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: 01 07 00 [01:45:49]MH_I2C_Read... [01:45:49]Read from MH i2c: 01 07 00 A3 05 00 00 00 00 00 FF 0F BD [01:45:49]RasterBufferAndPrint [01:45:49]line Счет N : (3)129574 [01:45:49]line ИНН: 02508201610067 [01:45:49]line Контрольно-Кассовый Чек [01:45:49]line ПРОДАЖА [01:45:49]line Товар: 4600721021627 [01:45:49]line Пиво БАД 0,5л ст [01:45:49]line 1.000 * 150.00 [01:45:49]line = 150.00 [01:45:49]line НДС 12% НСП 1% [01:45:49]line > о реализуемом товаре [01:45:49]line Товар: 4870002329999 [01:45:49]line Напиток Lipton IceTea 1л лимон Regular [01:45:49]line 1.000 * 130.00 [01:45:49]line = 130.00 [01:45:49]line НДС 12% НСП 1% [01:45:49]line > о реализуемом товаре [01:45:49]line Товар: 4870022003305 [01:45:49]line Напиток Gorilla эн нат ж/б 0,5/0,45л [01:45:49]line 1.000 * 110.00 [01:45:49]line = 110.00 [01:45:49]line НДС 12% НСП 1% [01:45:49]line > о реализуемом товаре [01:45:49]line ИТОГО: 390.00 [01:45:49]line НСП 1% : 3.45 [01:45:49]line НДС 12% : 41.41 [01:45:49]line Наличными: 390.00 [01:45:49]line Безнал.: 0.00 [01:45:49]line Место: АЗС № 132 "Партнер Нефть" [01:45:49]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:45:49]line СНО: Общий режим [01:45:49]line Чек 13 15.07.2024 01:45 [01:45:49]line Смена: 497 ФФД: 1.0 [01:45:49]line ЗНМ: 0300000132 [01:45:49]line РНМ: 0000000000091208 [01:45:49]line Версия ККМ: 001 [01:45:49]line ФМ: 0000000000874857 [01:45:49]line ФД: 57118 [01:45:49]line ФПД: 2818828664518 [01:45:49]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T014548&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57118&fm=2818828664518&tin=02508201610067®Number=0000000000091208&sum=39000 [01:45:49]line 0 [01:45:49]OFD Sender: Processing packet 57118 [packets to send 38, broken 37] [01:45:49]ProducePacketName [01:45:49]name=ofd_packets/00057118 [01:45:49]OFD Sender: To server: pG, [01:45:49]CommunicateWithHost lk.salyk.kg:30040 [01:45:49]ConnectInit lk.salyk.kg [01:45:49]written 0, free lines is 4095 [01:45:49]Connected sock=10 [01:45:49]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 16 02 00 00 2E A9 0E 02 B1 2F 5A 03 01 00 03 00 02 02 1E 04 01 00 01 23 04 5E 00 8A 04 0D 00 34 36 30 30 37 32 31 30 32 31 36 32 37 06 04 1A 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 91 D0 90 D0 94 20 30 2C 35 D0 BB 20 D1 81 D1 82 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 77 00 8A 04 0D 00 34 38 37 30 30 30 32 33 32 39 39 39 39 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 4C 69 70 74 6F 6E 20 49 63 65 54 65 61 20 31 D0 BB 20 D0 BB D0 B8 D0 BC D0 BE D0 BD 20 52 65 67 75 6C 61 72 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 C8 32 00 00 00 00 13 04 06 00 C8 32 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 77 00 8A 04 0D 00 34 38 37 30 30 32 32 30 30 33 33 30 35 06 04 33 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 47 6F 72 69 6C 6C 61 20 D1 8D D0 BD 20 D0 BD D0 B0 D1 82 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 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 FC 03 06 00 58 98 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 59 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 2D 10 00 00 00 00 07 04 06 00 58 98 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0D 00 00 00 F4 03 04 00 4C 7F 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1E DF 00 00 35 04 06 00 02 90 4F 47 FE C6 E8 F1 06 63 94 52 8A 11 [01:45:49]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 BC 56 47 00 30 02 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1E DF 00 00 F4 03 04 00 9C 25 94 66 B6 04 01 00 00 22 3D B1 CB C9 22 49 05 [01:45:49]CommunicateWithHost err = 0 [01:45:49]CheckOFDResponse [01:45:49]1017 (14) - 77093643461234 [01:45:49]1041 (16) - 0000000000874857 [01:45:49]1040 (4) - 57118 [01:45:49]1012 (4) - 14.07.2024 19:23 [01:45:49]1206 (1) - 0 [01:45:49]OFD Sender: Remove packet 57118 [01:45:49]ProducePacketName [01:45:49]name=ofd_packets/00057118 [01:45:49]NVStorageDeleteData [01:45:50]Write to MH i2c: 01 00 00 D9 05 DE [01:45:50]Write i2c OK [01:45:50]MH_I2C_Read... [01:45:50]Read from MH i2c: 01 [01:45:50]MH_I2C_Read... [01:45:50]Read from MH i2c: 01 07 00 [01:45:50]MH_I2C_Read... [01:45:50]Read from MH i2c: 01 07 00 D9 05 00 00 00 00 00 41 0C 32 [01:45:50]RasterBufferAndPrint [01:45:50]line [01:45:50]line [01:45:50]line [01:45:50]line [01:45:50]line [01:45:50]written 0, free lines is 3147 [01:45:50]MH_Cut [01:45:50]Write to MH i2c: D1 01 00 E0 05 01 B7 [01:45:50]Write i2c OK [01:45:50]MH_I2C_Read... [01:45:50]Read from MH i2c: D1 [01:45:50]MH_I2C_Read... [01:45:50]Read from MH i2c: D1 01 00 [01:45:50]MH_I2C_Read... [01:45:50]Read from MH i2c: D1 01 00 E0 05 00 B6 [01:45:50]Write to MH i2c: 01 00 00 E1 05 E6 [01:45:50]Write i2c OK [01:45:50]MH_I2C_Read... [01:45:50]OFD Sender: No OFD packet to send [01:45:50]*** Cut start [01:45:50]*** Partial cut [01:45:50]*** CUTSNS_PIN = 1 [01:45:50]*** CUTSNS_PIN = 0 [01:45:51]*** Brake cut motor [01:45:51]Read from MH i2c: 01 [01:45:51]MH_I2C_Read... [01:45:51]*** Stop cut motor [01:45:51]*** Cut end [01:45:51]Read from MH i2c: 01 07 00 [01:45:51]MH_I2C_Read... [01:45:51]Read from MH i2c: 01 07 00 E1 05 00 00 00 00 00 FF 0F FB [01:45:51]process_action close_receipt done [01:45:51]requested_data is exist [01:45:51]produce_requested_data [01:45:51]requested_item fm.sn is exist - process it [01:45:51]wFMCommunicate request_size=4 [01:45:51]MH_SAM_APDU [01:45:51]CAPDU: 80 11 00 00 [01:45:51]Write to MH i2c: E2 08 00 E2 05 80 11 00 00 00 00 00 00 61 [01:45:51]Write i2c OK [01:45:51]MH_I2C_Read... [01:45:51]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:45:51]Read from MH i2c: E2 [01:45:51]MH_I2C_Read... [01:45:51]Read from MH i2c: E2 17 00 [01:45:51]MH_I2C_Read... [01:45:51]Read from MH i2c: E2 17 00 E2 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BB [01:45:51]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:45:51]wFMCommunicate OK [01:45:51]requested_item fd.num is exist - process it [01:45:51]SAM_PROTO_GetFieldsCounters [01:45:51]wFMCommunicate request_size=4 [01:45:51]MH_SAM_APDU [01:45:51]CAPDU: 80 13 00 00 [01:45:51]Write to MH i2c: E2 08 00 E3 05 80 13 00 00 00 00 00 00 64 [01:45:51]Write i2c OK [01:45:51]MH_I2C_Read... [01:45:51]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:45:51]Read from MH i2c: E2 [01:45:51]MH_I2C_Read... [01:45:51]Read from MH i2c: E2 62 00 [01:45:51]MH_I2C_Read... [01:45:51]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 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1E DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 9D [01:45:51]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1E DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 0D 00 00 00 5E 04 04 00 0D 00 00 00 57 04 04 00 0E 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:45:51]wFMCommunicate OK [01:45:51]SAM_PROTO_GetFieldsCounters done [01:45:51]requested_item shift.num is exist - process it [01:45:51]requested_item shift.opened is exist - process it [01:45:51]req_shift_opened [01:45:51]FM_GetShiftState [01:45:51]SAM_PROTO_GetShiftState [01:45:51]wFMCommunicate request_size=4 [01:45:51]MH_SAM_APDU [01:45:51]CAPDU: 80 13 01 00 [01:45:51]Write to MH i2c: E2 08 00 E4 05 80 13 01 00 00 00 00 00 66 [01:45:51]Write i2c OK [01:45:51]MH_I2C_Read... [01:45:51]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:45:51]Read from MH i2c: E2 [01:45:51]MH_I2C_Read... [01:45:51]Read from MH i2c: E2 0E 00 [01:45:51]MH_I2C_Read... [01:45:51]Read from MH i2c: E2 0E 00 E4 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 DF [01:45:51]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:45:51]wFMCommunicate OK [01:45:51]SAM_PROTO_GetShiftState done [01:45:51]FM_GetShiftState done [01:45:51]req_shift_opened done [01:45:51]requested_item shift.open_date is exist - process it [01:45:51]req_shift_open_date [01:45:51]req_shift_open_date done [01:45:51]requested_item shift.sale.total is exist - process it [01:45:51]SAM_PROTO_GetShiftData [01:45:51]wFMCommunicate request_size=4 [01:45:51]MH_SAM_APDU [01:45:51]CAPDU: 80 13 02 00 [01:45:51]Write to MH i2c: E2 08 00 E5 05 80 13 02 00 00 00 00 00 68 [01:45:51]Write i2c OK [01:45:51]MH_I2C_Read... [01:45:52]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:45:52]Read from MH i2c: E2 [01:45:52]MH_I2C_Read... [01:45:52]Read from MH i2c: E2 FD 00 [01:45:52]MH_I2C_Read... [01:45:52]Read from MH i2c: E2 FD 00 E5 05 00 AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 D5 26 05 70 04 03 00 D0 DC 02 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 0C 8C 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 AB 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 8D [01:45:52]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0D 00 00 00 69 04 9A 00 6F 04 04 00 0D 00 00 00 B1 04 03 00 D5 26 05 70 04 03 00 D0 DC 02 72 04 03 00 05 4A 02 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 0C 8C 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 AB 0B EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:45:52]wFMCommunicate OK [01:45:52]wFMCommunicate request_size=4 [01:45:52]MH_SAM_APDU [01:45:52]CAPDU: 80 17 00 00 [01:45:52]Write to MH i2c: E2 08 00 E6 05 80 17 00 00 00 00 00 00 6B [01:45:52]Write i2c OK [01:45:52]MH_I2C_Read... [01:45:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:45:52]Read from MH i2c: E2 [01:45:52]MH_I2C_Read... [01:45:52]Read from MH i2c: E2 FD 00 [01:45:52]MH_I2C_Read... [01:45:52]Read from MH i2c: E2 FD 00 E6 05 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 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 90 00 7D [01:45: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 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 90 00 [01:45:52]wFMCommunicate OK [01:45:52]wFMCommunicate request_size=4 [01:45:52]MH_SAM_APDU [01:45:52]CAPDU: 80 17 00 00 [01:45:52]Write to MH i2c: E2 08 00 E7 05 80 17 00 00 00 00 00 00 6C [01:45:52]Write i2c OK [01:45:52]MH_I2C_Read... [01:45:52]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:45:52]Read from MH i2c: E2 [01:45:52]MH_I2C_Read... [01:45:52]Read from MH i2c: E2 FD 00 [01:45:52]MH_I2C_Read... [01:45:52]Read from MH i2c: E2 FD 00 E7 05 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 30 [01:45:52]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:45:52]wFMCommunicate OK [01:45:52]wFMCommunicate request_size=4 [01:45:52]MH_SAM_APDU [01:45:52]CAPDU: 80 17 00 00 [01:45:52]Write to MH i2c: E2 08 00 E8 05 80 17 00 00 00 00 00 00 6D [01:45:52]Write i2c OK [01:45:52]MH_I2C_Read... [01:45:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:45:53]Read from MH i2c: E2 [01:45:53]MH_I2C_Read... [01:45:53]Read from MH i2c: E2 FD 00 [01:45:53]MH_I2C_Read... [01:45:53]Read from MH i2c: E2 FD 00 E8 05 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 90 00 E2 [01:45:53]RAPDU: 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 90 00 [01:45:53]wFMCommunicate OK [01:45:53]wFMCommunicate request_size=4 [01:45:53]MH_SAM_APDU [01:45:53]CAPDU: 80 17 00 00 [01:45:53]Write to MH i2c: E2 08 00 E9 05 80 17 00 00 00 00 00 00 6E [01:45:53]Write i2c OK [01:45:53]MH_I2C_Read... [01:45:53]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:45:53]Read from MH i2c: E2 [01:45:53]MH_I2C_Read... [01:45:53]Read from MH i2c: E2 CA 00 [01:45:53]MH_I2C_Read... [01:45:53]Read from MH i2c: E2 CA 00 E9 05 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 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 53 [01:45:53]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 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 [01:45:53]wFMCommunicate OK [01:45:53]SAM_PROTO_GetShiftData done [01:45:53]requested_item shift.sale.total_cash is exist - process it [01:45:53]requested_item shift.sale_refund.total is exist - process it [01:45:53]requested_item shift.sale_refund.total_cash is exist - process it [01:45:53]produce_requested_data done [01:45:53]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57118,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":3376.21,"shift.sale.total_cash":1876.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:45:53]process_action_free close_receipt [01:45:53]json_value_free [01:45:53]json_value_free done [01:45:53]process_json_proto returns [01:45:53]Send response to host [01:45:53]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57118,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":3376.21,"shift.sale.total_cash":1876.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:45:53]free response buf [01:45:53]execute_script done [01:45:53]execute_script returns [01:45:53]free content buf [01:45:53]Sock 8.Close socket [01:45:53]Sock 8.Thread stoped [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:49:57]accept exits with 9 [01:49:57]New connection [01:49:57]New thread 3067067748 created [01:49:57]Thread 3066924388 joined [01:49:57]Waiting for new connection... [01:49:57] Sock 9.Parse request [01:49:57]Sock 9.Check first char [01:49:57]Sock 9.First char is OK [01:49:57]request: POST /json_proto HTTP/1.0 [01:49:57]Method: POST [01:49:57]URL: /json_proto [01:49:57]Method is POST - this is cgi request [01:49:57]url: /json_proto [01:49:57]query_string will be loaded in cgi processing [01:49:57]execute_cgi json_proto POST (null) [01:49:57]execute_cgi path=json_proto method=POST [01:49:57]POST find Content-Length [01:49:57]Host: 172.17.39.4:8080 [01:49:57]Content-Length: 1210 [01:49:57]Content-Type: application/json [01:49:57] [01:49:57]POST finish read [01:49:57]Found Content-Length = 1210 [01:49:57]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129575", "tax_sys" : 0, "items" : [ { "code": "4620006990387", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,5\u043B", "price" : 550.00, "quantity" : 1.000, "sum" : 550.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 705.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:49:57]execute_script... [01:49: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)129575", "tax_sys" : 0, "items" : [ { "code": "4620006990387", "name": "\u0412\u043E\u0434\u043A\u0430 \u0422\u0430\u043B\u043A\u0430 0,5\u043B", "price" : 550.00, "quantity" : 1.000, "sum" : 550.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000000439", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A \u041A\u043E\u043A\u0430-\u041A\u043E\u043B\u0430 1,5\u043B", "price" : 155.00, "quantity" : 1.000, "sum" : 155.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "pre_footer_text": "\u041F\u043B\u0430\u0442\u0435\u0436\u043D\u0430\u044F \u0441\u0438\u0441\u0442\u0435\u043C\u0430: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 705.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [01:49:57]POST & json_proto [01:49:57]process_json_proto [01:49:57]json parsed OK: [01:49:57]protocol is kg_v1.0 [01:49:57]action value=close_receipt [01:49:57]process_action close_receipt [01:49:57]cmd_close_receipt [01:49:57]MH_GetDate [01:49:57]Write to MH i2c: F0 00 00 EA 05 DE [01:49:57]Write i2c OK [01:49:57]MH_I2C_Read... [01:49:57]Read from MH i2c: F0 [01:49:57]MH_I2C_Read... [01:49:57]Read from MH i2c: F0 09 00 [01:49:57]MH_I2C_Read... [01:49:57]Read from MH i2c: F0 09 00 EA 05 00 47 80 94 66 2D 25 5D 64 BB [01:49:57]GetLastDocTimeStamp 1721007948 [01:49:57]current date 1721008199 [01:49:57]FM_GetShiftState [01:49:57]SAM_PROTO_GetShiftState [01:49:57]wFMCommunicate request_size=4 [01:49:57]MH_SAM_APDU [01:49:57]CAPDU: 80 13 01 00 [01:49:57]Write to MH i2c: E2 08 00 EB 05 80 13 01 00 00 00 00 00 6D [01:49:57]Write i2c OK [01:49:57]MH_I2C_Read... [01:49:57]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:49:57]Read from MH i2c: E2 [01:49:57]MH_I2C_Read... [01:49:57]Read from MH i2c: E2 0E 00 [01:49:57]MH_I2C_Read... [01:49:57]Read from MH i2c: E2 0E 00 EB 05 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 E6 [01:49:57]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:49:57]wFMCommunicate OK [01:49:57]SAM_PROTO_GetShiftState done [01:49:57]FM_GetShiftState done [01:49:57]opened in 1721003525 [01:49:57]opened+sec_in_day 1721089925 [01:49:57]quantity*price = 55000 [01:49:57]sum+1 = 55001 [01:49:57]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000000439 Напиток Кока-Кола 1,5л 1.000 * 155.00 = 155.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 705.00 НСП 1% : 6.24 НДС 12% : 74.87 Наличными: 0.00 Безнал.: 705.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 14 15.07.2024 01:49 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57119 ФПД: 138731591194927 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T014959&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57119&fm=138731591194927&tin=02508201610067®Number=0000000000091208&sum=70500 0 [01:49:58]StoreToDocumentArchive [01:49:58]shift 497 fd 57119 [01:49:58]save to /storage/0497/doc_00057119 [01:49:58]save last doc name /storage/0497/doc_00057119 to /storage/kkm_last_doc_name [01:49:58]save OK [01:49:58]Clear old archive folders... [01:49:59]ProcessDocumentItem done err = 0, tmpTLVsize=379 [01:49:59]tlvbuf is 00984760 [01:49:59]SAM_PROTO_ClearQueue [01:49:59]wFMCommunicate request_size=4 [01:49:59]MH_SAM_APDU [01:49:59]CAPDU: 80 09 00 00 [01:49:59]Write to MH i2c: E2 08 00 F8 05 80 09 00 00 00 00 00 00 6F [01:49:59]Write i2c OK [01:49:59]MH_I2C_Read... [01:49:59]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [01:49:59]Read from MH i2c: E2 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 03 00 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 03 00 F8 05 00 90 00 71 [01:49:59]RAPDU: 90 00 [01:49:59]wFMCommunicate OK [01:49:59]SAM_PROTO_ClearQueue done [01:49:59]KKMCreateOFDPacket [01:49:59]OFDProtocolAddRootSTLVToBuf [01:49:59]FM_MakeSignedData [01:49:59]FM_MakeSignedData [01:49:59]SAM_PROTO_SignData [01:49:59]wFMCommunicate request_size=4 [01:49:59]MH_SAM_APDU [01:49:59]CAPDU: 80 0D 01 02 [01:49:59]Write to MH i2c: E2 08 00 F9 05 80 0D 01 02 00 00 00 00 77 [01:49:59]Write i2c OK [01:49:59]MH_I2C_Read... [01:49:59]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [01:49:59]Read from MH i2c: E2 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 03 00 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 03 00 F9 05 00 90 00 72 [01:49:59]RAPDU: 90 00 [01:49:59]wFMCommunicate OK [01:49:59]wFMCommunicate request_size=255 [01:49:59]MH_SAM_APDU [01:49:59]CAPDU: 80 0D 02 02 FA 03 00 7B 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 13 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 02 00 00 00 [01:49:59]Write to MH i2c: E2 02 01 FA 05 80 0D 02 02 FA 00 03 00 7B 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 13 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 02 00 00 00 00 00 4D [01:49:59]Write i2c OK [01:49:59]MH_I2C_Read... [01:49:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:49:59]Read from MH i2c: E2 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 03 00 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 03 00 FA 05 00 90 00 73 [01:49:59]RAPDU: 90 00 [01:49:59]wFMCommunicate OK [01:49:59]wFMCommunicate request_size=138 [01:49:59]MH_SAM_APDU [01:49:59]CAPDU: 80 0D 02 02 85 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 13 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 47 80 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1F DF 00 00 35 04 06 00 7E 2C F7 36 59 2F [01:49:59]Write to MH i2c: E2 8D 00 FB 05 80 0D 02 02 85 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 13 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 47 80 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1F DF 00 00 35 04 06 00 7E 2C F7 36 59 2F 00 00 A5 [01:49:59]Write i2c OK [01:49:59]MH_I2C_Read... [01:49:59]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [01:49:59]Read from MH i2c: E2 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 03 00 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 03 00 FB 05 00 90 00 74 [01:49:59]RAPDU: 90 00 [01:49:59]wFMCommunicate OK [01:49:59]wFMCommunicate request_size=4 [01:49:59]MH_SAM_APDU [01:49:59]CAPDU: 80 0D 03 02 [01:49:59]Write to MH i2c: E2 08 00 FC 05 80 0D 03 02 00 00 00 00 7C [01:49:59]Write i2c OK [01:49:59]MH_I2C_Read... [01:49:59]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [01:49:59]Read from MH i2c: E2 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 0B 00 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 0B 00 FC 05 00 AB 4C 67 13 2B 85 B2 13 90 00 63 [01:49:59]RAPDU: AB 4C 67 13 2B 85 B2 13 90 00 [01:49:59]wFMCommunicate OK [01:49:59]SAM_PROTO_SignData done [01:49:59]FM_MakeSignedData done [01:49:59]CreateOFDProtocolMessage [01:49:59]wFMCommunicate request_size=4 [01:49:59]MH_SAM_APDU [01:49:59]CAPDU: 80 11 00 00 [01:49:59]Write to MH i2c: E2 08 00 FD 05 80 11 00 00 00 00 00 00 7C [01:49:59]Write i2c OK [01:49:59]MH_I2C_Read... [01:49:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:49:59]Read from MH i2c: E2 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 17 00 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: E2 17 00 FD 05 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 D6 [01:49:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:49:59]wFMCommunicate OK [01:49:59]CreateOFDProtocolMessage done [01:49:59]OFDSenderStorePacket 57119 [01:49:59]StoreOFDPacket docnum=57119 [01:49:59]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 8F 01 00 00 BE 44 87 01 81 B1 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 13 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 13 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 47 80 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1F DF 00 00 35 04 06 00 7E 2C F7 36 59 2F AB 4C 67 13 2B 85 B2 13 [01:49:59]CheckFolder [01:49:59]dirname=/storage/ofd_packets [01:49:59]CheckFolder done [01:49:59]ProducePacketName [01:49:59]name=ofd_packets/00057119 [01:49:59]NVStorageSaveData ofd_packets/00057119 [01:49:59]File name is /storage/ofd_packets/00057119 [01:49:59]Write 429 bytes [01:49:59]NVStorageSaveData done [01:49:59]OFDSenderStorePacket done [01:49:59]KKMCreateOFDPacket done [01:49:59]NVStorageSaveData kkm_last_timestamp [01:49:59]File name is /storage/kkm_last_timestamp [01:49:59]Write 4 bytes [01:49:59]NVStorageSaveData done [01:49:59]ExternCall_PrintAddStr [01:49:59]wPrintStart [01:49:59]Write to MH i2c: 01 00 00 FE 05 03 [01:49:59]Write i2c OK [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: 01 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: 01 07 00 [01:49:59]MH_I2C_Read... [01:49:59]Read from MH i2c: 01 07 00 FE 05 00 00 00 00 00 FF 0F 18 [01:49:59]RasterBufferAndPrint [01:49:59]line Счет N : (3)129575 [01:49:59]line ИНН: 02508201610067 [01:49:59]line Контрольно-Кассовый Чек [01:49:59]line ПРОДАЖА [01:49:59]line Товар: 4620006990387 [01:49:59]line Водка Талка 0,5л [01:49:59]line 1.000 * 550.00 [01:49:59]line = 550.00 [01:49:59]line НДС 12% НСП 1% [01:49:59]line > о реализуемом товаре [01:49:59]line Товар: 5449000000439 [01:49:59]line Напиток Кока-Кола 1,5л [01:49:59]line 1.000 * 155.00 [01:49:59]line = 155.00 [01:49:59]line НДС 12% НСП 1% [01:49:59]line > о реализуемом товаре [01:49:59]line ИТОГО: 705.00 [01:49:59]line НСП 1% : 6.24 [01:49:59]line НДС 12% : 74.87 [01:49:59]line Наличными: 0.00 [01:49:59]line Безнал.: 705.00 [01:49:59]line Место: АЗС № 132 "Партнер Нефть" [01:49:59]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [01:49:59]line СНО: Общий режим [01:49:59]line Чек 14 15.07.2024 01:49 [01:49:59]line Смена: 497 ФФД: 1.0 [01:49:59]line ЗНМ: 0300000132 [01:49:59]line РНМ: 0000000000091208 [01:49:59]line Версия ККМ: 001 [01:49:59]line Платежная система: АКБ Кыргызстан [01:49:59]line ФМ: 0000000000874857 [01:49:59]line ФД: 57119 [01:49:59]line ФПД: 138731591194927 [01:49:59]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T014959&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57119&fm=138731591194927&tin=02508201610067®Number=0000000000091208&sum=70500 [01:49:59]line 0 [01:49:59]written 0, free lines is 4095 [01:50:00]OFD Sender: Processing packet 57119 [packets to send 38, broken 37] [01:50:00]ProducePacketName [01:50:00]name=ofd_packets/00057119 [01:50:00]OFD Sender: To server: pG, [01:50:00]CommunicateWithHost lk.salyk.kg:30040 [01:50:00]ConnectInit lk.salyk.kg [01:50:00]Connected sock=10 [01:50:00]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 8F 01 00 00 BE 44 87 01 81 B1 5A 03 01 00 03 00 7B 01 1E 04 01 00 01 23 04 5F 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 30 33 38 37 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 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 D8 D6 00 00 00 00 13 04 06 00 D8 D6 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 6A 00 8A 04 0D 00 35 34 34 39 30 30 30 30 30 30 34 33 39 06 04 26 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 D0 9A D0 BE D0 BA D0 B0 2D D0 9A D0 BE D0 BB D0 B0 20 31 2C 35 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 8C 3C 00 00 00 00 13 04 06 00 8C 3C 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 64 13 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 70 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 3F 1D 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 64 13 01 00 00 00 1F 04 02 00 01 00 12 04 04 00 0E 00 00 00 F4 03 04 00 47 80 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1F DF 00 00 35 04 06 00 7E 2C F7 36 59 2F AB 4C 67 13 2B 85 B2 13 [01:50:00]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 F5 C2 47 00 12 E5 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 1F DF 00 00 F4 03 04 00 96 26 94 66 B6 04 01 00 00 22 C0 E3 66 83 1E 06 9A [01:50:00]CommunicateWithHost err = 0 [01:50:00]CheckOFDResponse [01:50:00]1017 (14) - 77093643461234 [01:50:00]1041 (16) - 0000000000874857 [01:50:00]1040 (4) - 57119 [01:50:00]1012 (4) - 14.07.2024 19:27 [01:50:00]1206 (1) - 0 [01:50:00]OFD Sender: Remove packet 57119 [01:50:00]ProducePacketName [01:50:00]name=ofd_packets/00057119 [01:50:00]NVStorageDeleteData [01:50:00]Write to MH i2c: 01 00 00 2E 06 34 [01:50:00]Write i2c OK [01:50:00]MH_I2C_Read... [01:50:00]Read from MH i2c: 01 [01:50:00]MH_I2C_Read... [01:50:00]Read from MH i2c: 01 07 00 [01:50:00]MH_I2C_Read... [01:50:00]Read from MH i2c: 01 07 00 2E 06 00 00 00 00 00 BB 0C 02 [01:50:00]RasterBufferAndPrint [01:50:00]line [01:50:00]line [01:50:00]line [01:50:00]line [01:50:00]line [01:50:00]written 0, free lines is 3269 [01:50:00]MH_Cut [01:50:00]Write to MH i2c: D1 01 00 35 06 01 0D [01:50:00]Write i2c OK [01:50:00]MH_I2C_Read... [01:50:00]Read from MH i2c: D1 [01:50:00]MH_I2C_Read... [01:50:00]Read from MH i2c: D1 01 00 [01:50:00]MH_I2C_Read... [01:50:00]Read from MH i2c: D1 01 00 35 06 00 0C [01:50:00]Write to MH i2c: 01 00 00 36 06 3C [01:50:00]Write i2c OK [01:50:00]MH_I2C_Read... [01:50:00]OFD Sender: No OFD packet to send [01:50:01]*** Cut start [01:50:01]*** Partial cut [01:50:01]*** CUTSNS_PIN = 1 [01:50:01]*** CUTSNS_PIN = 0 [01:50:01]*** Brake cut motor [01:50:01]Read from MH i2c: 01 [01:50:01]MH_I2C_Read... [01:50:01]*** Stop cut motor [01:50:01]*** Cut end [01:50:01]Read from MH i2c: 01 07 00 [01:50:01]MH_I2C_Read... [01:50:01]Read from MH i2c: 01 07 00 36 06 00 00 00 00 00 FF 0F 51 [01:50:01]process_action close_receipt done [01:50:01]requested_data is exist [01:50:01]produce_requested_data [01:50:01]requested_item fm.sn is exist - process it [01:50:01]wFMCommunicate request_size=4 [01:50:01]MH_SAM_APDU [01:50:01]CAPDU: 80 11 00 00 [01:50:01]Write to MH i2c: E2 08 00 37 06 80 11 00 00 00 00 00 00 B7 [01:50:01]Write i2c OK [01:50:01]MH_I2C_Read... [01:50:01]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [01:50:01]Read from MH i2c: E2 [01:50:01]MH_I2C_Read... [01:50:01]Read from MH i2c: E2 17 00 [01:50:01]MH_I2C_Read... [01:50:01]Read from MH i2c: E2 17 00 37 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 11 [01:50:01]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [01:50:01]wFMCommunicate OK [01:50:01]requested_item fd.num is exist - process it [01:50:01]SAM_PROTO_GetFieldsCounters [01:50:01]wFMCommunicate request_size=4 [01:50:01]MH_SAM_APDU [01:50:01]CAPDU: 80 13 00 00 [01:50:01]Write to MH i2c: E2 08 00 38 06 80 13 00 00 00 00 00 00 BA [01:50:01]Write i2c OK [01:50:01]MH_I2C_Read... [01:50:02]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [01:50:02]Read from MH i2c: E2 [01:50:02]MH_I2C_Read... [01:50:02]Read from MH i2c: E2 62 00 [01:50:02]MH_I2C_Read... [01:50:02]Read from MH i2c: E2 62 00 38 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1F DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 F7 [01:50:02]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 1F DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 0E 00 00 00 5E 04 04 00 0E 00 00 00 57 04 04 00 0F 00 00 00 19 04 04 00 00 00 00 00 90 00 [01:50:02]wFMCommunicate OK [01:50:02]SAM_PROTO_GetFieldsCounters done [01:50:02]requested_item shift.num is exist - process it [01:50:02]requested_item shift.opened is exist - process it [01:50:02]req_shift_opened [01:50:02]FM_GetShiftState [01:50:02]SAM_PROTO_GetShiftState [01:50:02]wFMCommunicate request_size=4 [01:50:02]MH_SAM_APDU [01:50:02]CAPDU: 80 13 01 00 [01:50:02]Write to MH i2c: E2 08 00 39 06 80 13 01 00 00 00 00 00 BC [01:50:02]Write i2c OK [01:50:02]MH_I2C_Read... [01:50:02]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [01:50:02]Read from MH i2c: E2 [01:50:02]MH_I2C_Read... [01:50:02]Read from MH i2c: E2 0E 00 [01:50:02]MH_I2C_Read... [01:50:02]Read from MH i2c: E2 0E 00 39 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 35 [01:50:02]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [01:50:02]wFMCommunicate OK [01:50:02]SAM_PROTO_GetShiftState done [01:50:02]FM_GetShiftState done [01:50:02]req_shift_opened done [01:50:02]requested_item shift.open_date is exist - process it [01:50:02]req_shift_open_date [01:50:02]req_shift_open_date done [01:50:02]requested_item shift.sale.total is exist - process it [01:50:02]SAM_PROTO_GetShiftData [01:50:02]wFMCommunicate request_size=4 [01:50:02]MH_SAM_APDU [01:50:02]CAPDU: 80 13 02 00 [01:50:02]Write to MH i2c: E2 08 00 3A 06 80 13 02 00 00 00 00 00 BE [01:50:02]Write i2c OK [01:50:02]MH_I2C_Read... [01:50:02]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [01:50:02]Read from MH i2c: E2 [01:50:02]MH_I2C_Read... [01:50:02]Read from MH i2c: E2 FD 00 [01:50:02]MH_I2C_Read... [01:50:02]Read from MH i2c: E2 FD 00 3A 06 00 AD 04 AA 04 A9 04 6E 04 04 00 0E 00 00 00 69 04 9A 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 39 3A 06 70 04 03 00 D0 DC 02 72 04 03 00 69 5D 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 4B A9 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 1B 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 A5 [01:50:02]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0E 00 00 00 69 04 9A 00 6F 04 04 00 0E 00 00 00 B1 04 03 00 39 3A 06 70 04 03 00 D0 DC 02 72 04 03 00 69 5D 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 4B A9 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 1B 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [01:50:02]wFMCommunicate OK [01:50:02]wFMCommunicate request_size=4 [01:50:02]MH_SAM_APDU [01:50:02]CAPDU: 80 17 00 00 [01:50:02]Write to MH i2c: E2 08 00 3B 06 80 17 00 00 00 00 00 00 C1 [01:50:02]Write i2c OK [01:50:02]MH_I2C_Read... [01:50:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:50:02]Read from MH i2c: E2 [01:50:02]MH_I2C_Read... [01:50:02]Read from MH i2c: E2 FD 00 [01:50:02]MH_I2C_Read... [01:50:02]Read from MH i2c: E2 FD 00 3B 06 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 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 90 00 D3 [01:50:02]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 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 90 00 [01:50:02]wFMCommunicate OK [01:50:02]wFMCommunicate request_size=4 [01:50:02]MH_SAM_APDU [01:50:02]CAPDU: 80 17 00 00 [01:50:02]Write to MH i2c: E2 08 00 3C 06 80 17 00 00 00 00 00 00 C2 [01:50:02]Write i2c OK [01:50:02]MH_I2C_Read... [01:50:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:50:03]Read from MH i2c: E2 [01:50:03]MH_I2C_Read... [01:50:03]Read from MH i2c: E2 FD 00 [01:50:03]MH_I2C_Read... [01:50:03]Read from MH i2c: E2 FD 00 3C 06 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 86 [01:50:03]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [01:50:03]wFMCommunicate OK [01:50:03]wFMCommunicate request_size=4 [01:50:03]MH_SAM_APDU [01:50:03]CAPDU: 80 17 00 00 [01:50:03]Write to MH i2c: E2 08 00 3D 06 80 17 00 00 00 00 00 00 C3 [01:50:03]Write i2c OK [01:50:03]MH_I2C_Read... [01:50:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [01:50:03]Read from MH i2c: E2 [01:50:03]MH_I2C_Read... [01:50:03]Read from MH i2c: E2 FD 00 [01:50:03]MH_I2C_Read... [01:50:03]Read from MH i2c: E2 FD 00 3D 06 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 90 00 38 [01:50:03]RAPDU: 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 90 00 [01:50:03]wFMCommunicate OK [01:50:03]wFMCommunicate request_size=4 [01:50:03]MH_SAM_APDU [01:50:03]CAPDU: 80 17 00 00 [01:50:03]Write to MH i2c: E2 08 00 3E 06 80 17 00 00 00 00 00 00 C4 [01:50:03]Write i2c OK [01:50:03]MH_I2C_Read... [01:50:03]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [01:50:03]Read from MH i2c: E2 [01:50:03]MH_I2C_Read... [01:50:03]Read from MH i2c: E2 CA 00 [01:50:03]MH_I2C_Read... [01:50:03]Read from MH i2c: E2 CA 00 3E 06 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 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 A9 [01:50:03]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 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 [01:50:03]wFMCommunicate OK [01:50:03]SAM_PROTO_GetShiftData done [01:50:03]requested_item shift.sale.total_cash is exist - process it [01:50:03]requested_item shift.sale_refund.total is exist - process it [01:50:03]requested_item shift.sale_refund.total_cash is exist - process it [01:50:03]produce_requested_data done [01:50:03]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57119,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":4081.21,"shift.sale.total_cash":1876.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [01:50:03]process_action_free close_receipt [01:50:03]json_value_free [01:50:03]json_value_free done [01:50:03]process_json_proto returns [01:50:03]Send response to host [01:50:03]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57119,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":4081.21,"shift.sale.total_cash":1876.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [01:50:03]free response buf [01:50:03]execute_script done [01:50:03]execute_script returns [01:50:03]free content buf [01:50:03]Sock 9.Close socket [01:50:03]Sock 9.Thread stoped [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:26]OFD Sender: No OFD packet to send [01:52:31]OFD Sender: No OFD packet to send [01:52:36]OFD Sender: No OFD packet to send [01:52:41]OFD Sender: No OFD packet to send [01:52:46]OFD Sender: No OFD packet to send [01:52:51]OFD Sender: No OFD packet to send [01:52:56]OFD Sender: No OFD packet to send [01:53:01]OFD Sender: No OFD packet to send [01:53:06]OFD Sender: No OFD packet to send [01:53:11]OFD Sender: No OFD packet to send [01:53:16]OFD Sender: No OFD packet to send [01:53:21]OFD Sender: No OFD packet to send [01:53:26]OFD Sender: No OFD packet to send [01:53:31]OFD Sender: No OFD packet to send [01:53:36]OFD Sender: No OFD packet to send [01:53:41]OFD Sender: No OFD packet to send [01:53:46]OFD Sender: No OFD packet to send [01:53:51]OFD Sender: No OFD packet to send [01:53:56]OFD Sender: No OFD packet to send [01:54:01]OFD Sender: No OFD packet to send [01:54:06]OFD Sender: No OFD packet to send [01:54:11]OFD Sender: No OFD packet to send [01:54:16]OFD Sender: No OFD packet to send [01:54:21]OFD Sender: No OFD packet to send [01:54:26]OFD Sender: No OFD packet to send [01:54:31]OFD Sender: No OFD packet to send [01:54:36]OFD Sender: No OFD packet to send [01:54:41]OFD Sender: No OFD packet to send [01:54:46]OFD Sender: No OFD packet to send [01:54:51]OFD Sender: No OFD packet to send [01:54:56]OFD Sender: No OFD packet to send [01:55:01]OFD Sender: No OFD packet to send [01:55:06]OFD Sender: No OFD packet to send [01:55:11]OFD Sender: No OFD packet to send [01:55:16]OFD Sender: No OFD packet to send [01:55:21]OFD Sender: No OFD packet to send [01:55:26]OFD Sender: No OFD packet to send [01:55:31]OFD Sender: No OFD packet to send [01:55:36]OFD Sender: No OFD packet to send [01:55:41]OFD Sender: No OFD packet to send [01:55:46]OFD Sender: No OFD packet to send [01:55:51]OFD Sender: No OFD packet to send [01:55:56]OFD Sender: No OFD packet to send [01:56:01]OFD Sender: No OFD packet to send [01:56:06]OFD Sender: No OFD packet to send [01:56:11]OFD Sender: No OFD packet to send [01:56:16]OFD Sender: No OFD packet to send [01:56:21]OFD Sender: No OFD packet to send [01:56:26]OFD Sender: No OFD packet to send [01:56:31]OFD Sender: No OFD packet to send [01:56:36]OFD Sender: No OFD packet to send [01:56:41]OFD Sender: No OFD packet to send [01:56:46]OFD Sender: No OFD packet to send [01:56:51]OFD Sender: No OFD packet to send [01:56:56]OFD Sender: No OFD packet to send [01:57:01]OFD Sender: No OFD packet to send [01:57:06]OFD Sender: No OFD packet to send [01:57:11]OFD Sender: No OFD packet to send [01:57:16]OFD Sender: No OFD packet to send [01:57:21]OFD Sender: No OFD packet to send [01:57:26]OFD Sender: No OFD packet to send [01:57:31]OFD Sender: No OFD packet to send [01:57:36]OFD Sender: No OFD packet to send [01:57:41]OFD Sender: No OFD packet to send [01:57:46]OFD Sender: No OFD packet to send [01:57:51]OFD Sender: No OFD packet to send [01:57:56]OFD Sender: No OFD packet to send [01:58:01]OFD Sender: No OFD packet to send [01:58:06]OFD Sender: No OFD packet to send [01:58:11]OFD Sender: No OFD packet to send [01:58:16]OFD Sender: No OFD packet to send [01:58:21]OFD Sender: No OFD packet to send [01:58:26]OFD Sender: No OFD packet to send [01:58:31]OFD Sender: No OFD packet to send [01:58:36]OFD Sender: No OFD packet to send [01:58:41]OFD Sender: No OFD packet to send [01:58:46]OFD Sender: No OFD packet to send [01:58:51]OFD Sender: No OFD packet to send [01:58:56]OFD Sender: No OFD packet to send [01:59:01]OFD Sender: No OFD packet to send [01:59:06]OFD Sender: No OFD packet to send [01:59:11]OFD Sender: No OFD packet to send [01:59:16]OFD Sender: No OFD packet to send [01:59:21]OFD Sender: No OFD packet to send [01:59:26]OFD Sender: No OFD packet to send [01:59:31]OFD Sender: No OFD packet to send [01:59:36]OFD Sender: No OFD packet to send [01:59:41]OFD Sender: No OFD packet to send [01:59:46]OFD Sender: No OFD packet to send [01:59:51]OFD Sender: No OFD packet to send [01:59:56]OFD Sender: No OFD packet to send [02:00:01]OFD Sender: No OFD packet to send [02:00:06]OFD Sender: No OFD packet to send [02:00:11]OFD Sender: No OFD packet to send [02:00:16]OFD Sender: No OFD packet to send [02:00:21]OFD Sender: No OFD packet to send [02:00:26]OFD Sender: No OFD packet to send [02:00:31]OFD Sender: No OFD packet to send [02:00:36]OFD Sender: No OFD packet to send [02:00:41]OFD Sender: No OFD packet to send [02:00:46]OFD Sender: No OFD packet to send [02:00:51]OFD Sender: No OFD packet to send [02:00:56]OFD Sender: No OFD packet to send [02:01:01]OFD Sender: No OFD packet to send [02:01:06]OFD Sender: No OFD packet to send [02:01:11]OFD Sender: No OFD packet to send [02:01:16]OFD Sender: No OFD packet to send [02:01:21]OFD Sender: No OFD packet to send [02:01:26]OFD Sender: No OFD packet to send [02:01:31]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:24]accept exits with 8 [02:05:24]New connection [02:05:24]New thread 3066924388 created [02:05:24]Thread 3067067748 joined [02:05:24]Waiting for new connection... [02:05:24] Sock 8.Parse request [02:05:24]Sock 8.Check first char [02:05:24]Sock 8.First char is OK [02:05:24]request: POST /json_proto HTTP/1.0 [02:05:24]Method: POST [02:05:24]URL: /json_proto [02:05:24]Method is POST - this is cgi request [02:05:24]url: /json_proto [02:05:24]query_string will be loaded in cgi processing [02:05:24]execute_cgi json_proto POST (null) [02:05:24]execute_cgi path=json_proto method=POST [02:05:24]POST find Content-Length [02:05:24]Host: 172.17.39.4:8080 [02:05:24]Content-Length: 919 [02:05:24]Content-Type: application/json [02:05:24] [02:05:24]POST finish read [02:05:24]Found Content-Length = 919 [02:05:24]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129576", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:05:24]execute_script... [02:05:24]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129576", "tax_sys" : 0, "items" : [ { "code": "4870001570071", "name": "\u041D\u0430\u043F\u0438\u0442\u043E\u043A Pepsi 1\u043B", "price" : 111.00, "quantity" : 1.000, "sum" : 111.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 111.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:05:24]POST & json_proto [02:05:24]process_json_proto [02:05:24]json parsed OK: [02:05:24]protocol is kg_v1.0 [02:05:24]action value=close_receipt [02:05:24]process_action close_receipt [02:05:24]cmd_close_receipt [02:05:24]MH_GetDate [02:05:24]Write to MH i2c: F0 00 00 3F 06 34 [02:05:24]Write i2c OK [02:05:24]MH_I2C_Read... [02:05:24]Read from MH i2c: F0 [02:05:24]MH_I2C_Read... [02:05:24]Read from MH i2c: F0 09 00 [02:05:24]MH_I2C_Read... [02:05:24]Read from MH i2c: F0 09 00 3F 06 00 E5 83 94 66 2D 25 5D 64 B2 [02:05:24]GetLastDocTimeStamp 1721008199 [02:05:24]current date 1721009125 [02:05:24]FM_GetShiftState [02:05:24]SAM_PROTO_GetShiftState [02:05:24]wFMCommunicate request_size=4 [02:05:24]MH_SAM_APDU [02:05:24]CAPDU: 80 13 01 00 [02:05:24]Write to MH i2c: E2 08 00 40 06 80 13 01 00 00 00 00 00 C3 [02:05:24]Write i2c OK [02:05:24]MH_I2C_Read... [02:05:24]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:05:24]Read from MH i2c: E2 [02:05:24]MH_I2C_Read... [02:05:24]Read from MH i2c: E2 0E 00 [02:05:24]MH_I2C_Read... [02:05:24]Read from MH i2c: E2 0E 00 40 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 3C [02:05:24]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [02:05:24]wFMCommunicate OK [02:05:24]SAM_PROTO_GetShiftState done [02:05:24]FM_GetShiftState done [02:05:24]opened in 1721003525 [02:05:24]opened+sec_in_day 1721089925 [02:05:24]quantity*price = 11100 [02:05:24]sum+1 = 11101 [02:05:24]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 111.00 НСП 1% : 0.98 НДС 12% : 11.79 Наличными: 0.00 Безнал.: 111.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 15 15.07.2024 02:05 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57120 ФПД: 277473192180410 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T020525&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57120&fm=277473192180410&tin=02508201610067®Number=0000000000091208&sum=11100 0 [02:05:25]StoreToDocumentArchive [02:05:25]shift 497 fd 57120 [02:05:25]save to /storage/0497/doc_00057120 [02:05:25]save last doc name /storage/0497/doc_00057120 to /storage/kkm_last_doc_name [02:05:25]save OK [02:05:25]Clear old archive folders... [02:05:25]ProcessDocumentItem done err = 0, tmpTLVsize=266 [02:05:25]tlvbuf is 00992C20 [02:05:25]SAM_PROTO_ClearQueue [02:05:25]wFMCommunicate request_size=4 [02:05:25]MH_SAM_APDU [02:05:25]CAPDU: 80 09 00 00 [02:05:25]Write to MH i2c: E2 08 00 4D 06 80 09 00 00 00 00 00 00 C5 [02:05:25]Write i2c OK [02:05:25]MH_I2C_Read... [02:05:25]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:05:25]Read from MH i2c: E2 [02:05:25]MH_I2C_Read... [02:05:25]Read from MH i2c: E2 03 00 [02:05:25]MH_I2C_Read... [02:05:25]Read from MH i2c: E2 03 00 4D 06 00 90 00 C7 [02:05:25]RAPDU: 90 00 [02:05:25]wFMCommunicate OK [02:05:25]SAM_PROTO_ClearQueue done [02:05:25]KKMCreateOFDPacket [02:05:25]OFDProtocolAddRootSTLVToBuf [02:05:25]FM_MakeSignedData [02:05:25]FM_MakeSignedData [02:05:25]SAM_PROTO_SignData [02:05:25]wFMCommunicate request_size=4 [02:05:25]MH_SAM_APDU [02:05:25]CAPDU: 80 0D 01 02 [02:05:25]Write to MH i2c: E2 08 00 4E 06 80 0D 01 02 00 00 00 00 CD [02:05:25]Write i2c OK [02:05:25]MH_I2C_Read... [02:05:25]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:05:25]Read from MH i2c: E2 [02:05:25]MH_I2C_Read... [02:05:25]Read from MH i2c: E2 03 00 [02:05:25]MH_I2C_Read... [02:05:25]Read from MH i2c: E2 03 00 4E 06 00 90 00 C8 [02:05:25]RAPDU: 90 00 [02:05:25]wFMCommunicate OK [02:05:25]wFMCommunicate request_size=255 [02:05:25]MH_SAM_APDU [02:05:25]CAPDU: 80 0D 02 02 FA 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 2B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 E5 83 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 [02:05:25]Write to MH i2c: E2 02 01 4F 06 80 0D 02 02 FA 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 2B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 E5 83 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 00 00 45 [02:05:25]Write i2c OK [02:05:25]MH_I2C_Read... [02:05:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:05:26]Read from MH i2c: E2 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: E2 03 00 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: E2 03 00 4F 06 00 90 00 C9 [02:05:26]RAPDU: 90 00 [02:05:26]wFMCommunicate OK [02:05:26]wFMCommunicate request_size=25 [02:05:26]MH_SAM_APDU [02:05:26]CAPDU: 80 0D 02 02 14 35 37 10 04 04 00 20 DF 00 00 35 04 06 00 FC 5C 43 0D FA BA [02:05:26]Write to MH i2c: E2 1C 00 50 06 80 0D 02 02 14 00 35 37 10 04 04 00 20 DF 00 00 35 04 06 00 FC 5C 43 0D FA BA 00 00 16 [02:05:26]Write i2c OK [02:05:26]MH_I2C_Read... [02:05:26]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:05:26]Read from MH i2c: E2 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: E2 03 00 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: E2 03 00 50 06 00 90 00 CA [02:05:26]RAPDU: 90 00 [02:05:26]wFMCommunicate OK [02:05:26]wFMCommunicate request_size=4 [02:05:26]MH_SAM_APDU [02:05:26]CAPDU: 80 0D 03 02 [02:05:26]Write to MH i2c: E2 08 00 51 06 80 0D 03 02 00 00 00 00 D2 [02:05:26]Write i2c OK [02:05:26]MH_I2C_Read... [02:05:26]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:05:26]Read from MH i2c: E2 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: E2 0B 00 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: E2 0B 00 51 06 00 47 D6 18 02 C6 3D 16 2C 90 00 4F [02:05:26]RAPDU: 47 D6 18 02 C6 3D 16 2C 90 00 [02:05:26]wFMCommunicate OK [02:05:26]SAM_PROTO_SignData done [02:05:26]FM_MakeSignedData done [02:05:26]CreateOFDProtocolMessage [02:05:26]wFMCommunicate request_size=4 [02:05:26]MH_SAM_APDU [02:05:26]CAPDU: 80 11 00 00 [02:05:26]Write to MH i2c: E2 08 00 52 06 80 11 00 00 00 00 00 00 D2 [02:05:26]Write i2c OK [02:05:26]MH_I2C_Read... [02:05:26]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:05:26]Read from MH i2c: E2 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: E2 17 00 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: E2 17 00 52 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 2C [02:05:26]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:05:26]wFMCommunicate OK [02:05:26]CreateOFDProtocolMessage done [02:05:26]OFDSenderStorePacket 57120 [02:05:26]StoreOFDPacket docnum=57120 [02:05:26]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1E 01 00 00 F3 AB 16 01 00 D9 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 2B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 E5 83 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 20 DF 00 00 35 04 06 00 FC 5C 43 0D FA BA 47 D6 18 02 C6 3D 16 2C [02:05:26]CheckFolder [02:05:26]dirname=/storage/ofd_packets [02:05:26]CheckFolder done [02:05:26]ProducePacketName [02:05:26]name=ofd_packets/00057120 [02:05:26]NVStorageSaveData ofd_packets/00057120 [02:05:26]File name is /storage/ofd_packets/00057120 [02:05:26]Write 316 bytes [02:05:26]NVStorageSaveData done [02:05:26]OFDSenderStorePacket done [02:05:26]KKMCreateOFDPacket done [02:05:26]NVStorageSaveData kkm_last_timestamp [02:05:26]File name is /storage/kkm_last_timestamp [02:05:26]Write 4 bytes [02:05:26]NVStorageSaveData done [02:05:26]ExternCall_PrintAddStr [02:05:26]wPrintStart [02:05:26]Write to MH i2c: 01 00 00 53 06 59 [02:05:26]Write i2c OK [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: 01 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: 01 07 00 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: 01 07 00 53 06 00 00 00 00 00 FF 0F 6E [02:05:26]RasterBufferAndPrint [02:05:26]line Счет N : (3)129576 [02:05:26]line ИНН: 02508201610067 [02:05:26]line Контрольно-Кассовый Чек [02:05:26]line ПРОДАЖА [02:05:26]line Товар: 4870001570071 [02:05:26]line Напиток Pepsi 1л [02:05:26]line 1.000 * 111.00 [02:05:26]line = 111.00 [02:05:26]line НДС 12% НСП 1% [02:05:26]line > о реализуемом товаре [02:05:26]line ИТОГО: 111.00 [02:05:26]line НСП 1% : 0.98 [02:05:26]line НДС 12% : 11.79 [02:05:26]line Наличными: 0.00 [02:05:26]line Безнал.: 111.00 [02:05:26]line Место: АЗС № 132 "Партнер Нефть" [02:05:26]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:05:26]line СНО: Общий режим [02:05:26]line Чек 15 15.07.2024 02:05 [02:05:26]line Смена: 497 ФФД: 1.0 [02:05:26]line ЗНМ: 0300000132 [02:05:26]line РНМ: 0000000000091208 [02:05:26]line Версия ККМ: 001 [02:05:26]line Платежная система: АКБ Кыргызстан [02:05:26]line ФМ: 0000000000874857 [02:05:26]line ФД: 57120 [02:05:26]line ФПД: 277473192180410 [02:05:26]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T020525&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57120&fm=277473192180410&tin=02508201610067®Number=0000000000091208&sum=11100 [02:05:26]line 0 [02:05:26]OFD Sender: Processing packet 57120 [packets to send 38, broken 37] [02:05:26]ProducePacketName [02:05:26]name=ofd_packets/00057120 [02:05:26]OFD Sender: To server: pG, [02:05:26]CommunicateWithHost lk.salyk.kg:30040 [02:05:26]ConnectInit lk.salyk.kg [02:05:26]written 0, free lines is 4095 [02:05:26]Connected sock=10 [02:05:26]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 1E 01 00 00 F3 AB 16 01 00 D9 5A 03 01 00 03 00 0A 01 1E 04 01 00 01 23 04 5C 00 8A 04 0D 00 34 38 37 30 30 30 31 35 37 30 30 37 31 06 04 18 00 D0 9D D0 B0 D0 BF D0 B8 D1 82 D0 BE D0 BA 20 50 65 70 73 69 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 5C 2B 00 00 00 00 13 04 06 00 5C 2B 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 5C 2B 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 62 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9B 04 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 5C 2B 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 0F 00 00 00 F4 03 04 00 E5 83 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 20 DF 00 00 35 04 06 00 FC 5C 43 0D FA BA 47 D6 18 02 C6 3D 16 2C [02:05:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 5E C5 47 00 D5 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 38 37 34 38 35 37 10 04 04 00 20 DF 00 00 F4 03 04 00 35 2A 94 66 B6 04 01 00 00 07 A6 E2 44 61 7F 8C 3B [02:05:26]CommunicateWithHost err = 0 [02:05:26]CheckOFDResponse [02:05:26]1017 (14) - 77093643461234 [02:05:26]1041 (16) - 0000000000874857 [02:05:26]1040 (4) - 57120 [02:05:26]1012 (4) - 14.07.2024 19:42 [02:05:26]1206 (1) - 0 [02:05:26]OFD Sender: Remove packet 57120 [02:05:26]ProducePacketName [02:05:26]name=ofd_packets/00057120 [02:05:26]NVStorageDeleteData [02:05:26]Write to MH i2c: 01 00 00 7D 06 83 [02:05:26]Write i2c OK [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: 01 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: 01 07 00 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: 01 07 00 7D 06 00 00 00 00 00 F7 0C 8D [02:05:26]RasterBufferAndPrint [02:05:26]line [02:05:26]line [02:05:26]line [02:05:26]line [02:05:26]line [02:05:26]written 0, free lines is 3328 [02:05:26]MH_Cut [02:05:26]Write to MH i2c: D1 01 00 84 06 01 5C [02:05:26]Write i2c OK [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: D1 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: D1 01 00 [02:05:26]MH_I2C_Read... [02:05:26]Read from MH i2c: D1 01 00 84 06 00 5B [02:05:26]Write to MH i2c: 01 00 00 85 06 8B [02:05:26]Write i2c OK [02:05:26]MH_I2C_Read... [02:05:27]OFD Sender: No OFD packet to send [02:05:27]*** Cut start [02:05:27]*** Partial cut [02:05:27]*** CUTSNS_PIN = 1 [02:05:27]*** CUTSNS_PIN = 0 [02:05:27]*** Brake cut motor [02:05:28]Read from MH i2c: 01 [02:05:28]MH_I2C_Read... [02:05:28]*** Stop cut motor [02:05:28]*** Cut end [02:05:28]Read from MH i2c: 01 07 00 [02:05:28]MH_I2C_Read... [02:05:28]Read from MH i2c: 01 07 00 85 06 00 00 00 00 00 FF 0F A0 [02:05:28]process_action close_receipt done [02:05:28]requested_data is exist [02:05:28]produce_requested_data [02:05:28]requested_item fm.sn is exist - process it [02:05:28]wFMCommunicate request_size=4 [02:05:28]MH_SAM_APDU [02:05:28]CAPDU: 80 11 00 00 [02:05:28]Write to MH i2c: E2 08 00 86 06 80 11 00 00 00 00 00 00 06 [02:05:28]Write i2c OK [02:05:28]MH_I2C_Read... [02:05:28]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:05:28]Read from MH i2c: E2 [02:05:28]MH_I2C_Read... [02:05:28]Read from MH i2c: E2 17 00 [02:05:28]MH_I2C_Read... [02:05:28]Read from MH i2c: E2 17 00 86 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 60 [02:05:28]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:05:28]wFMCommunicate OK [02:05:28]requested_item fd.num is exist - process it [02:05:28]SAM_PROTO_GetFieldsCounters [02:05:28]wFMCommunicate request_size=4 [02:05:28]MH_SAM_APDU [02:05:28]CAPDU: 80 13 00 00 [02:05:28]Write to MH i2c: E2 08 00 87 06 80 13 00 00 00 00 00 00 09 [02:05:28]Write i2c OK [02:05:28]MH_I2C_Read... [02:05:28]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:05:28]Read from MH i2c: E2 [02:05:28]MH_I2C_Read... [02:05:28]Read from MH i2c: E2 62 00 [02:05:28]MH_I2C_Read... [02:05:28]Read from MH i2c: E2 62 00 87 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 20 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 4A [02:05:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 20 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 0F 00 00 00 5E 04 04 00 0F 00 00 00 57 04 04 00 10 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:05:28]wFMCommunicate OK [02:05:28]SAM_PROTO_GetFieldsCounters done [02:05:28]requested_item shift.num is exist - process it [02:05:28]requested_item shift.opened is exist - process it [02:05:28]req_shift_opened [02:05:28]FM_GetShiftState [02:05:28]SAM_PROTO_GetShiftState [02:05:28]wFMCommunicate request_size=4 [02:05:28]MH_SAM_APDU [02:05:28]CAPDU: 80 13 01 00 [02:05:28]Write to MH i2c: E2 08 00 88 06 80 13 01 00 00 00 00 00 0B [02:05:28]Write i2c OK [02:05:28]MH_I2C_Read... [02:05:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:05:28]Read from MH i2c: E2 [02:05:28]MH_I2C_Read... [02:05:28]Read from MH i2c: E2 0E 00 [02:05:28]MH_I2C_Read... [02:05:28]Read from MH i2c: E2 0E 00 88 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 84 [02:05:28]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [02:05:28]wFMCommunicate OK [02:05:28]SAM_PROTO_GetShiftState done [02:05:28]FM_GetShiftState done [02:05:28]req_shift_opened done [02:05:28]requested_item shift.open_date is exist - process it [02:05:28]req_shift_open_date [02:05:28]req_shift_open_date done [02:05:28]requested_item shift.sale.total is exist - process it [02:05:28]SAM_PROTO_GetShiftData [02:05:28]wFMCommunicate request_size=4 [02:05:28]MH_SAM_APDU [02:05:28]CAPDU: 80 13 02 00 [02:05:28]Write to MH i2c: E2 08 00 89 06 80 13 02 00 00 00 00 00 0D [02:05:28]Write i2c OK [02:05:28]MH_I2C_Read... [02:05:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:05:29]Read from MH i2c: E2 [02:05:29]MH_I2C_Read... [02:05:29]Read from MH i2c: E2 FD 00 [02:05:29]MH_I2C_Read... [02:05:29]Read from MH i2c: E2 FD 00 89 06 00 AD 04 AA 04 A9 04 6E 04 04 00 0F 00 00 00 69 04 9A 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 95 65 06 70 04 03 00 D0 DC 02 72 04 03 00 C5 88 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 E6 AD 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 7D 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 05 [02:05:29]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 0F 00 00 00 69 04 9A 00 6F 04 04 00 0F 00 00 00 B1 04 03 00 95 65 06 70 04 03 00 D0 DC 02 72 04 03 00 C5 88 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 E6 AD 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 7D 0E EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 6A 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 90 00 [02:05:29]wFMCommunicate OK [02:05:29]wFMCommunicate request_size=4 [02:05:29]MH_SAM_APDU [02:05:29]CAPDU: 80 17 00 00 [02:05:29]Write to MH i2c: E2 08 00 8A 06 80 17 00 00 00 00 00 00 10 [02:05:29]Write i2c OK [02:05:29]MH_I2C_Read... [02:05:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:05:29]Read from MH i2c: E2 [02:05:29]MH_I2C_Read... [02:05:29]Read from MH i2c: E2 FD 00 [02:05:29]MH_I2C_Read... [02:05:29]Read from MH i2c: E2 FD 00 8A 06 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 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 90 00 22 [02:05:29]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 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 90 00 [02:05:29]wFMCommunicate OK [02:05:29]wFMCommunicate request_size=4 [02:05:29]MH_SAM_APDU [02:05:29]CAPDU: 80 17 00 00 [02:05:29]Write to MH i2c: E2 08 00 8B 06 80 17 00 00 00 00 00 00 11 [02:05:29]Write i2c OK [02:05:29]MH_I2C_Read... [02:05:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:05:29]Read from MH i2c: E2 [02:05:29]MH_I2C_Read... [02:05:29]Read from MH i2c: E2 FD 00 [02:05:29]MH_I2C_Read... [02:05:29]Read from MH i2c: E2 FD 00 8B 06 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 D5 [02:05:29]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [02:05:29]wFMCommunicate OK [02:05:29]wFMCommunicate request_size=4 [02:05:29]MH_SAM_APDU [02:05:29]CAPDU: 80 17 00 00 [02:05:29]Write to MH i2c: E2 08 00 8C 06 80 17 00 00 00 00 00 00 12 [02:05:29]Write i2c OK [02:05:29]MH_I2C_Read... [02:05:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:05:29]Read from MH i2c: E2 [02:05:29]MH_I2C_Read... [02:05:29]Read from MH i2c: E2 FD 00 [02:05:29]MH_I2C_Read... [02:05:29]Read from MH i2c: E2 FD 00 8C 06 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 90 00 87 [02:05:29]RAPDU: 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 90 00 [02:05:29]wFMCommunicate OK [02:05:29]wFMCommunicate request_size=4 [02:05:29]MH_SAM_APDU [02:05:29]CAPDU: 80 17 00 00 [02:05:29]Write to MH i2c: E2 08 00 8D 06 80 17 00 00 00 00 00 00 13 [02:05:29]Write i2c OK [02:05:29]MH_I2C_Read... [02:05:30]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:05:30]Read from MH i2c: E2 [02:05:30]MH_I2C_Read... [02:05:30]Read from MH i2c: E2 CA 00 [02:05:30]MH_I2C_Read... [02:05:30]Read from MH i2c: E2 CA 00 8D 06 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 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 F8 [02:05:30]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 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 [02:05:30]wFMCommunicate OK [02:05:30]SAM_PROTO_GetShiftData done [02:05:30]requested_item shift.sale.total_cash is exist - process it [02:05:30]requested_item shift.sale_refund.total is exist - process it [02:05:30]requested_item shift.sale_refund.total_cash is exist - process it [02:05:30]produce_requested_data done [02:05:30]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57120,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":4192.21,"shift.sale.total_cash":1876.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:05:30]process_action_free close_receipt [02:05:30]json_value_free [02:05:30]json_value_free done [02:05:30]process_json_proto returns [02:05:30]Send response to host [02:05:30]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57120,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":4192.21,"shift.sale.total_cash":1876.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:05:30]free response buf [02:05:30]execute_script done [02:05:30]execute_script returns [02:05:30]free content buf [02:05:30]Sock 8.Close socket [02:05:30]Sock 8.Thread stoped [02:05:32]OFD Sender: No OFD packet to send [02:05:37]OFD Sender: No OFD packet to send [02:05:42]OFD Sender: No OFD packet to send [02:05:47]OFD Sender: No OFD packet to send [02:05:52]OFD Sender: No OFD packet to send [02:05:57]OFD Sender: No OFD packet to send [02:06:02]OFD Sender: No OFD packet to send [02:06:07]OFD Sender: No OFD packet to send [02:06:12]OFD Sender: No OFD packet to send [02:06:17]OFD Sender: No OFD packet to send [02:06:22]OFD Sender: No OFD packet to send [02:06:27]OFD Sender: No OFD packet to send [02:06:32]OFD Sender: No OFD packet to send [02:06:37]OFD Sender: No OFD packet to send [02:06:42]OFD Sender: No OFD packet to send [02:06:47]OFD Sender: No OFD packet to send [02:06:52]OFD Sender: No OFD packet to send [02:06:57]OFD Sender: No OFD packet to send [02:07:02]OFD Sender: No OFD packet to send [02:07:07]OFD Sender: No OFD packet to send [02:07:12]OFD Sender: No OFD packet to send [02:07:17]OFD Sender: No OFD packet to send [02:07:22]OFD Sender: No OFD packet to send [02:07:27]OFD Sender: No OFD packet to send [02:07:32]OFD Sender: No OFD packet to send [02:07:37]OFD Sender: No OFD packet to send [02:07:42]OFD Sender: No OFD packet to send [02:07:47]OFD Sender: No OFD packet to send [02:07:52]OFD Sender: No OFD packet to send [02:07:57]OFD Sender: No OFD packet to send [02:08:02]OFD Sender: No OFD packet to send [02:08:07]OFD Sender: No OFD packet to send [02:08:12]OFD Sender: No OFD packet to send [02:08:17]OFD Sender: No OFD packet to send [02:08:22]OFD Sender: No OFD packet to send [02:08:27]OFD Sender: No OFD packet to send [02:08:32]OFD Sender: No OFD packet to send [02:08:37]OFD Sender: No OFD packet to send [02:08:42]OFD Sender: No OFD packet to send [02:08:47]OFD Sender: No OFD packet to send [02:08:52]OFD Sender: No OFD packet to send [02:08:57]OFD Sender: No OFD packet to send [02:09:02]OFD Sender: No OFD packet to send [02:09:07]OFD Sender: No OFD packet to send [02:09:12]OFD Sender: No OFD packet to send [02:09:17]OFD Sender: No OFD packet to send [02:09:22]OFD Sender: No OFD packet to send [02:09:27]OFD Sender: No OFD packet to send [02:09:32]OFD Sender: No OFD packet to send [02:09:37]OFD Sender: No OFD packet to send [02:09:42]OFD Sender: No OFD packet to send [02:09:47]OFD Sender: No OFD packet to send [02:09:52]OFD Sender: No OFD packet to send [02:09:57]OFD Sender: No OFD packet to send [02:10:02]OFD Sender: No OFD packet to send [02:10:07]OFD Sender: No OFD packet to send [02:10:12]OFD Sender: No OFD packet to send [02:10:17]OFD Sender: No OFD packet to send [02:10:22]OFD Sender: No OFD packet to send [02:10:27]OFD Sender: No OFD packet to send [02:10:32]OFD Sender: No OFD packet to send [02:10:37]OFD Sender: No OFD packet to send [02:10:42]OFD Sender: No OFD packet to send [02:10:47]OFD Sender: No OFD packet to send [02:10:52]OFD Sender: No OFD packet to send [02:10:55]accept exits with 9 [02:10:55]New connection [02:10:55]New thread 3067067748 created [02:10:55]Thread 3066924388 joined [02:10:55]Waiting for new connection... [02:10:55] Sock 9.Parse request [02:10:55]Sock 9.Check first char [02:10:55]Sock 9.First char is OK [02:10:55]request: POST /json_proto HTTP/1.0 [02:10:55]Method: POST [02:10:55]URL: /json_proto [02:10:55]Method is POST - this is cgi request [02:10:55]url: /json_proto [02:10:55]query_string will be loaded in cgi processing [02:10:55]execute_cgi json_proto POST (null) [02:10:55]execute_cgi path=json_proto method=POST [02:10:55]POST find Content-Length [02:10:55]Host: 172.17.39.4:8080 [02:10:55]Content-Length: 740 [02:10:55]Content-Type: application/json [02:10:55] [02:10:55]POST finish read [02:10:55]Found Content-Length = 740 [02:10:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129577", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:10:55]execute_script... [02:10: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)129577", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:10:55]POST & json_proto [02:10:55]process_json_proto [02:10:55]json parsed OK: [02:10:55]protocol is kg_v1.0 [02:10:55]action value=close_receipt [02:10:55]process_action close_receipt [02:10:55]cmd_close_receipt [02:10:55]MH_GetDate [02:10:55]Write to MH i2c: F0 00 00 8E 06 83 [02:10:55]Write i2c OK [02:10:55]MH_I2C_Read... [02:10:55]Read from MH i2c: F0 [02:10:55]MH_I2C_Read... [02:10:55]Read from MH i2c: F0 09 00 [02:10:55]MH_I2C_Read... [02:10:55]Read from MH i2c: F0 09 00 8E 06 00 30 85 94 66 2D 25 5D 64 4E [02:10:55]GetLastDocTimeStamp 1721009125 [02:10:55]current date 1721009456 [02:10:55]FM_GetShiftState [02:10:55]SAM_PROTO_GetShiftState [02:10:55]wFMCommunicate request_size=4 [02:10:55]MH_SAM_APDU [02:10:55]CAPDU: 80 13 01 00 [02:10:55]Write to MH i2c: E2 08 00 8F 06 80 13 01 00 00 00 00 00 12 [02:10:55]Write i2c OK [02:10:55]MH_I2C_Read... [02:10:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:10:55]Read from MH i2c: E2 [02:10:55]MH_I2C_Read... [02:10:55]Read from MH i2c: E2 0E 00 [02:10:55]MH_I2C_Read... [02:10:55]Read from MH i2c: E2 0E 00 8F 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 8B [02:10:55]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [02:10:55]wFMCommunicate OK [02:10:55]SAM_PROTO_GetShiftState done [02:10:55]FM_GetShiftState done [02:10:55]opened in 1721003525 [02:10:55]opened+sec_in_day 1721089925 [02:10:55]quantity*price = 32500 [02:10:55]sum+1 = 32501 [02:10:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.88 НДС 12% : 34.51 Наличными: 325.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 16 15.07.2024 02:10 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57121 ФПД: 101057309740795 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T021057&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57121&fm=101057309740795&tin=02508201610067®Number=0000000000091208&sum=32500 0 [02:10:56]StoreToDocumentArchive [02:10:56]shift 497 fd 57121 [02:10:56]save to /storage/0497/doc_00057121 [02:10:56]save last doc name /storage/0497/doc_00057121 to /storage/kkm_last_doc_name [02:10:56]save OK [02:10:56]Clear old archive folders... [02:10:56]ProcessDocumentItem done err = 0, tmpTLVsize=272 [02:10:56]tlvbuf is 009A24B0 [02:10:56]SAM_PROTO_ClearQueue [02:10:56]wFMCommunicate request_size=4 [02:10:56]MH_SAM_APDU [02:10:56]CAPDU: 80 09 00 00 [02:10:56]Write to MH i2c: E2 08 00 9C 06 80 09 00 00 00 00 00 00 14 [02:10:56]Write i2c OK [02:10:56]MH_I2C_Read... [02:10:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:10:56]Read from MH i2c: E2 [02:10:56]MH_I2C_Read... [02:10:56]Read from MH i2c: E2 03 00 [02:10:56]MH_I2C_Read... [02:10:56]Read from MH i2c: E2 03 00 9C 06 00 90 00 16 [02:10:56]RAPDU: 90 00 [02:10:56]wFMCommunicate OK [02:10:56]SAM_PROTO_ClearQueue done [02:10:56]KKMCreateOFDPacket [02:10:56]OFDProtocolAddRootSTLVToBuf [02:10:56]FM_MakeSignedData [02:10:56]FM_MakeSignedData [02:10:56]SAM_PROTO_SignData [02:10:56]wFMCommunicate request_size=4 [02:10:56]MH_SAM_APDU [02:10:56]CAPDU: 80 0D 01 02 [02:10:56]Write to MH i2c: E2 08 00 9D 06 80 0D 01 02 00 00 00 00 1C [02:10:56]Write i2c OK [02:10:56]MH_I2C_Read... [02:10:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:10:56]Read from MH i2c: E2 [02:10:56]MH_I2C_Read... [02:10:56]Read from MH i2c: E2 03 00 [02:10:56]MH_I2C_Read... [02:10:56]Read from MH i2c: E2 03 00 9D 06 00 90 00 17 [02:10:56]RAPDU: 90 00 [02:10:56]wFMCommunicate OK [02:10:56]wFMCommunicate request_size=255 [02:10:56]MH_SAM_APDU [02:10:56]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 31 85 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [02:10:56]Write to MH i2c: E2 02 01 9E 06 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 31 85 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 36 [02:10:56]Write i2c OK [02:10:56]MH_I2C_Read... [02:10:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:10:57]Read from MH i2c: E2 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: E2 03 00 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: E2 03 00 9E 06 00 90 00 18 [02:10:57]RAPDU: 90 00 [02:10:57]wFMCommunicate OK [02:10:57]wFMCommunicate request_size=31 [02:10:57]MH_SAM_APDU [02:10:57]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 21 DF 00 00 35 04 06 00 5B E9 3D 0C 8E FB [02:10:57]Write to MH i2c: E2 22 00 9F 06 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 21 DF 00 00 35 04 06 00 5B E9 3D 0C 8E FB 00 00 67 [02:10:57]Write i2c OK [02:10:57]MH_I2C_Read... [02:10:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:10:57]Read from MH i2c: E2 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: E2 03 00 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: E2 03 00 9F 06 00 90 00 19 [02:10:57]RAPDU: 90 00 [02:10:57]wFMCommunicate OK [02:10:57]wFMCommunicate request_size=4 [02:10:57]MH_SAM_APDU [02:10:57]CAPDU: 80 0D 03 02 [02:10:57]Write to MH i2c: E2 08 00 A0 06 80 0D 03 02 00 00 00 00 21 [02:10:57]Write i2c OK [02:10:57]MH_I2C_Read... [02:10:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:10:57]Read from MH i2c: E2 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: E2 0B 00 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: E2 0B 00 A0 06 00 EF 9A 1A F7 09 83 CC 6C 90 00 80 [02:10:57]RAPDU: EF 9A 1A F7 09 83 CC 6C 90 00 [02:10:57]wFMCommunicate OK [02:10:57]SAM_PROTO_SignData done [02:10:57]FM_MakeSignedData done [02:10:57]CreateOFDProtocolMessage [02:10:57]wFMCommunicate request_size=4 [02:10:57]MH_SAM_APDU [02:10:57]CAPDU: 80 11 00 00 [02:10:57]Write to MH i2c: E2 08 00 A1 06 80 11 00 00 00 00 00 00 21 [02:10:57]Write i2c OK [02:10:57]MH_I2C_Read... [02:10:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:10:57]Read from MH i2c: E2 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: E2 17 00 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: E2 17 00 A1 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 7B [02:10:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:10:57]wFMCommunicate OK [02:10:57]CreateOFDProtocolMessage done [02:10:57]OFDSenderStorePacket 57121 [02:10:57]StoreOFDPacket docnum=57121 [02:10:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 19 C6 1C 01 56 56 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 31 85 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 21 DF 00 00 35 04 06 00 5B E9 3D 0C 8E FB EF 9A 1A F7 09 83 CC 6C [02:10:57]CheckFolder [02:10:57]dirname=/storage/ofd_packets [02:10:57]CheckFolder done [02:10:57]ProducePacketName [02:10:57]name=ofd_packets/00057121 [02:10:57]NVStorageSaveData ofd_packets/00057121 [02:10:57]File name is /storage/ofd_packets/00057121 [02:10:57]Write 322 bytes [02:10:57]NVStorageSaveData done [02:10:57]OFDSenderStorePacket done [02:10:57]KKMCreateOFDPacket done [02:10:57]NVStorageSaveData kkm_last_timestamp [02:10:57]File name is /storage/kkm_last_timestamp [02:10:57]Write 4 bytes [02:10:57]NVStorageSaveData done [02:10:57]ExternCall_PrintAddStr [02:10:57]wPrintStart [02:10:57]Write to MH i2c: 01 00 00 A2 06 A8 [02:10:57]Write i2c OK [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: 01 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: 01 07 00 [02:10:57]MH_I2C_Read... [02:10:57]Read from MH i2c: 01 07 00 A2 06 00 00 00 00 00 FF 0F BD [02:10:57]RasterBufferAndPrint [02:10:57]line Счет N : (3)129577 [02:10:57]line ИНН: 02508201610067 [02:10:57]line Контрольно-Кассовый Чек [02:10:57]line ПРОДАЖА [02:10:57]line Товар: 4700001610043 [02:10:57]line Пиво Арпа 1,5л ПЭТ [02:10:57]line 1.000 * 325.00 [02:10:57]line = 325.00 [02:10:57]line НДС 12% НСП 1% [02:10:57]line > о реализуемом товаре [02:10:57]line ИТОГО: 325.00 [02:10:57]line НСП 1% : 2.88 [02:10:57]line НДС 12% : 34.51 [02:10:57]line Наличными: 325.00 [02:10:57]line Безнал.: 0.00 [02:10:57]line Место: АЗС № 132 "Партнер Нефть" [02:10:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:10:57]line СНО: Общий режим [02:10:57]line Чек 16 15.07.2024 02:10 [02:10:57]line Смена: 497 ФФД: 1.0 [02:10:57]line ЗНМ: 0300000132 [02:10:57]line РНМ: 0000000000091208 [02:10:57]line Версия ККМ: 001 [02:10:57]line ФМ: 0000000000874857 [02:10:57]line ФД: 57121 [02:10:57]line ФПД: 101057309740795 [02:10:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T021057&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57121&fm=101057309740795&tin=02508201610067®Number=0000000000091208&sum=32500 [02:10:57]OFD Sender: Processing packet 57121 [packets to send 38, broken 37] [02:10:57]ProducePacketName [02:10:57]name=ofd_packets/00057121 [02:10:57]OFD Sender: To server: pG, [02:10:57]CommunicateWithHost lk.salyk.kg:30040 [02:10:57]ConnectInit lk.salyk.kg [02:10:57]line 0 [02:10:57]written 0, free lines is 4095 [02:10:57]Connected sock=10 [02:10:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 19 C6 1C 01 56 56 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 00 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 10 00 00 00 F4 03 04 00 31 85 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 21 DF 00 00 35 04 06 00 5B E9 3D 0C 8E FB EF 9A 1A F7 09 83 CC 6C [02:10:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 E8 61 47 00 EE FB A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 21 DF 00 00 F4 03 04 00 80 2B 94 66 B6 04 01 00 00 49 45 71 2C B1 42 9F 33 [02:10:57]CommunicateWithHost err = 0 [02:10:57]CheckOFDResponse [02:10:57]1017 (14) - 77093643461234 [02:10:57]1041 (16) - 0000000000874857 [02:10:57]1040 (4) - 57121 [02:10:57]1012 (4) - 14.07.2024 19:48 [02:10:57]1206 (1) - 0 [02:10:57]OFD Sender: Remove packet 57121 [02:10:57]ProducePacketName [02:10:57]name=ofd_packets/00057121 [02:10:57]NVStorageDeleteData [02:10:58]Write to MH i2c: 01 00 00 CA 06 D0 [02:10:58]Write i2c OK [02:10:58]MH_I2C_Read... [02:10:58]Read from MH i2c: 01 [02:10:58]MH_I2C_Read... [02:10:58]Read from MH i2c: 01 07 00 [02:10:58]MH_I2C_Read... [02:10:58]Read from MH i2c: 01 07 00 CA 06 00 00 00 00 00 0C 0D F0 [02:10:58]RasterBufferAndPrint [02:10:58]line [02:10:58]line [02:10:58]line [02:10:58]line [02:10:58]line [02:10:58]written 0, free lines is 3347 [02:10:58]MH_Cut [02:10:58]Write to MH i2c: D1 01 00 D1 06 01 A9 [02:10:58]Write i2c OK [02:10:58]MH_I2C_Read... [02:10:58]Read from MH i2c: D1 [02:10:58]MH_I2C_Read... [02:10:58]Read from MH i2c: D1 01 00 [02:10:58]MH_I2C_Read... [02:10:58]Read from MH i2c: D1 01 00 D1 06 00 A8 [02:10:58]Write to MH i2c: 01 00 00 D2 06 D8 [02:10:58]Write i2c OK [02:10:58]MH_I2C_Read... [02:10:58]OFD Sender: No OFD packet to send [02:10:58]*** Cut start [02:10:58]*** Partial cut [02:10:58]*** CUTSNS_PIN = 1 [02:10:58]*** CUTSNS_PIN = 0 [02:10:59]*** Brake cut motor [02:10:59]Read from MH i2c: 01 [02:10:59]MH_I2C_Read... [02:10:59]*** Stop cut motor [02:10:59]*** Cut end [02:10:59]Read from MH i2c: 01 07 00 [02:10:59]MH_I2C_Read... [02:10:59]Read from MH i2c: 01 07 00 D2 06 00 00 00 00 00 FF 0F ED [02:10:59]process_action close_receipt done [02:10:59]requested_data is exist [02:10:59]produce_requested_data [02:10:59]requested_item fm.sn is exist - process it [02:10:59]wFMCommunicate request_size=4 [02:10:59]MH_SAM_APDU [02:10:59]CAPDU: 80 11 00 00 [02:10:59]Write to MH i2c: E2 08 00 D3 06 80 11 00 00 00 00 00 00 53 [02:10:59]Write i2c OK [02:10:59]MH_I2C_Read... [02:10:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:10:59]Read from MH i2c: E2 [02:10:59]MH_I2C_Read... [02:10:59]Read from MH i2c: E2 17 00 [02:10:59]MH_I2C_Read... [02:10:59]Read from MH i2c: E2 17 00 D3 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AD [02:10:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:10:59]wFMCommunicate OK [02:10:59]requested_item fd.num is exist - process it [02:10:59]SAM_PROTO_GetFieldsCounters [02:10:59]wFMCommunicate request_size=4 [02:10:59]MH_SAM_APDU [02:10:59]CAPDU: 80 13 00 00 [02:10:59]Write to MH i2c: E2 08 00 D4 06 80 13 00 00 00 00 00 00 56 [02:10:59]Write i2c OK [02:10:59]MH_I2C_Read... [02:10:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:10:59]Read from MH i2c: E2 [02:10:59]MH_I2C_Read... [02:10:59]Read from MH i2c: E2 62 00 [02:10:59]MH_I2C_Read... [02:10:59]Read from MH i2c: E2 62 00 D4 06 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 21 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 9B [02:10:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 21 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 10 00 00 00 5E 04 04 00 10 00 00 00 57 04 04 00 11 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:10:59]wFMCommunicate OK [02:10:59]SAM_PROTO_GetFieldsCounters done [02:10:59]requested_item shift.num is exist - process it [02:10:59]requested_item shift.opened is exist - process it [02:10:59]req_shift_opened [02:10:59]FM_GetShiftState [02:10:59]SAM_PROTO_GetShiftState [02:10:59]wFMCommunicate request_size=4 [02:10:59]MH_SAM_APDU [02:10:59]CAPDU: 80 13 01 00 [02:10:59]Write to MH i2c: E2 08 00 D5 06 80 13 01 00 00 00 00 00 58 [02:10:59]Write i2c OK [02:10:59]MH_I2C_Read... [02:10:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:10:59]Read from MH i2c: E2 [02:10:59]MH_I2C_Read... [02:10:59]Read from MH i2c: E2 0E 00 [02:10:59]MH_I2C_Read... [02:10:59]Read from MH i2c: E2 0E 00 D5 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D1 [02:10:59]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [02:10:59]wFMCommunicate OK [02:10:59]SAM_PROTO_GetShiftState done [02:10:59]FM_GetShiftState done [02:10:59]req_shift_opened done [02:10:59]requested_item shift.open_date is exist - process it [02:10:59]req_shift_open_date [02:10:59]req_shift_open_date done [02:10:59]requested_item shift.sale.total is exist - process it [02:10:59]SAM_PROTO_GetShiftData [02:10:59]wFMCommunicate request_size=4 [02:10:59]MH_SAM_APDU [02:10:59]CAPDU: 80 13 02 00 [02:10:59]Write to MH i2c: E2 08 00 D6 06 80 13 02 00 00 00 00 00 5A [02:10:59]Write i2c OK [02:10:59]MH_I2C_Read... [02:11:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:11:00]Read from MH i2c: E2 [02:11:00]MH_I2C_Read... [02:11:00]Read from MH i2c: E2 FD 00 [02:11:00]MH_I2C_Read... [02:11:00]Read from MH i2c: E2 FD 00 D6 06 00 AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 89 E4 06 70 04 03 00 C4 5B 03 72 04 03 00 C5 88 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 61 BB EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9D 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 E5 [02:11:00]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 10 00 00 00 69 04 9A 00 6F 04 04 00 10 00 00 00 B1 04 03 00 89 E4 06 70 04 03 00 C4 5B 03 72 04 03 00 C5 88 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 61 BB EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 03 01 00 01 F7 03 02 00 9D 0F EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [02:11:00]wFMCommunicate OK [02:11:00]wFMCommunicate request_size=4 [02:11:00]MH_SAM_APDU [02:11:00]CAPDU: 80 17 00 00 [02:11:00]Write to MH i2c: E2 08 00 D7 06 80 17 00 00 00 00 00 00 5D [02:11:00]Write i2c OK [02:11:00]MH_I2C_Read... [02:11:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:11:00]Read from MH i2c: E2 [02:11:00]MH_I2C_Read... [02:11:00]Read from MH i2c: E2 FD 00 [02:11:00]MH_I2C_Read... [02:11:00]Read from MH i2c: E2 FD 00 D7 06 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 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 90 00 6F [02:11:00]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 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 90 00 [02:11:00]wFMCommunicate OK [02:11:00]wFMCommunicate request_size=4 [02:11:00]MH_SAM_APDU [02:11:00]CAPDU: 80 17 00 00 [02:11:00]Write to MH i2c: E2 08 00 D8 06 80 17 00 00 00 00 00 00 5E [02:11:00]Write i2c OK [02:11:00]MH_I2C_Read... [02:11:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:11:00]Read from MH i2c: E2 [02:11:00]MH_I2C_Read... [02:11:00]Read from MH i2c: E2 FD 00 [02:11:00]MH_I2C_Read... [02:11:00]Read from MH i2c: E2 FD 00 D8 06 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 22 [02:11:00]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [02:11:00]wFMCommunicate OK [02:11:00]wFMCommunicate request_size=4 [02:11:00]MH_SAM_APDU [02:11:00]CAPDU: 80 17 00 00 [02:11:00]Write to MH i2c: E2 08 00 D9 06 80 17 00 00 00 00 00 00 5F [02:11:00]Write i2c OK [02:11:00]MH_I2C_Read... [02:11:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:11:00]Read from MH i2c: E2 [02:11:00]MH_I2C_Read... [02:11:00]Read from MH i2c: E2 FD 00 [02:11:00]MH_I2C_Read... [02:11:01]Read from MH i2c: E2 FD 00 D9 06 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 90 00 D4 [02:11:01]RAPDU: 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 90 00 [02:11:01]wFMCommunicate OK [02:11:01]wFMCommunicate request_size=4 [02:11:01]MH_SAM_APDU [02:11:01]CAPDU: 80 17 00 00 [02:11:01]Write to MH i2c: E2 08 00 DA 06 80 17 00 00 00 00 00 00 60 [02:11:01]Write i2c OK [02:11:01]MH_I2C_Read... [02:11:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:11:01]Read from MH i2c: E2 [02:11:01]MH_I2C_Read... [02:11:01]Read from MH i2c: E2 CA 00 [02:11:01]MH_I2C_Read... [02:11:01]Read from MH i2c: E2 CA 00 DA 06 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 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 45 [02:11:01]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 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 [02:11:01]wFMCommunicate OK [02:11:01]SAM_PROTO_GetShiftData done [02:11:01]requested_item shift.sale.total_cash is exist - process it [02:11:01]requested_item shift.sale_refund.total is exist - process it [02:11:01]requested_item shift.sale_refund.total_cash is exist - process it [02:11:01]produce_requested_data done [02:11:01]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57121,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":4517.21,"shift.sale.total_cash":2201.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:11:01]process_action_free close_receipt [02:11:01]json_value_free [02:11:01]json_value_free done [02:11:01]process_json_proto returns [02:11:01]Send response to host [02:11:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57121,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":4517.21,"shift.sale.total_cash":2201.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:11:01]free response buf [02:11:01]execute_script done [02:11:01]execute_script returns [02:11:01]free content buf [02:11:01]Sock 9.Close socket [02:11:01]Sock 9.Thread stoped [02:11:03]OFD Sender: No OFD packet to send [02:11:08]OFD Sender: No OFD packet to send [02:11:13]OFD Sender: No OFD packet to send [02:11:18]OFD Sender: No OFD packet to send [02:11:23]OFD Sender: No OFD packet to send [02:11:28]OFD Sender: No OFD packet to send [02:11:33]OFD Sender: No OFD packet to send [02:11:38]OFD Sender: No OFD packet to send [02:11:43]OFD Sender: No OFD packet to send [02:11:48]OFD Sender: No OFD packet to send [02:11:53]OFD Sender: No OFD packet to send [02:11:58]OFD Sender: No OFD packet to send [02:12:03]OFD Sender: No OFD packet to send [02:12:08]OFD Sender: No OFD packet to send [02:12:13]OFD Sender: No OFD packet to send [02:12:18]OFD Sender: No OFD packet to send [02:12:23]OFD Sender: No OFD packet to send [02:12:28]OFD Sender: No OFD packet to send [02:12:33]OFD Sender: No OFD packet to send [02:12:38]OFD Sender: No OFD packet to send [02:12:43]OFD Sender: No OFD packet to send [02:12:48]OFD Sender: No OFD packet to send [02:12:53]OFD Sender: No OFD packet to send [02:12:58]OFD Sender: No OFD packet to send [02:13:03]OFD Sender: No OFD packet to send [02:13:08]OFD Sender: No OFD packet to send [02:13:13]OFD Sender: No OFD packet to send [02:13:18]OFD Sender: No OFD packet to send [02:13:23]OFD Sender: No OFD packet to send [02:13:28]OFD Sender: No OFD packet to send [02:13:33]OFD Sender: No OFD packet to send [02:13:38]OFD Sender: No OFD packet to send [02:13:43]OFD Sender: No OFD packet to send [02:13:48]OFD Sender: No OFD packet to send [02:13:53]OFD Sender: No OFD packet to send [02:13:58]OFD Sender: No OFD packet to send [02:14:03]OFD Sender: No OFD packet to send [02:14:08]OFD Sender: No OFD packet to send [02:14: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:56]accept exits with 8 [02:16:56]New connection [02:16:56]New thread 3066924388 created [02:16:56]Thread 3067067748 joined [02:16:56]Waiting for new connection... [02:16:56] Sock 8.Parse request [02:16:56]Sock 8.Check first char [02:16:56]Sock 8.First char is OK [02:16:56]request: POST /json_proto HTTP/1.0 [02:16:56]Method: POST [02:16:56]URL: /json_proto [02:16:56]Method is POST - this is cgi request [02:16:56]url: /json_proto [02:16:56]query_string will be loaded in cgi processing [02:16:56]execute_cgi json_proto POST (null) [02:16:56]execute_cgi path=json_proto method=POST [02:16:56]POST find Content-Length [02:16:56]Host: 172.17.39.4:8080 [02:16:56]Content-Length: 1036 [02:16:56]Content-Type: application/json [02:16:56] [02:16:56]POST finish read [02:16:56]Found Content-Length = 1036 [02:16:56]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129578", "tax_sys" : 0, "items" : [ { "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 437.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:16:56]execute_script... [02:16:56]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129578", "tax_sys" : 0, "items" : [ { "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 437.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:16:56]POST & json_proto [02:16:56]process_json_proto [02:16:56]json parsed OK: [02:16:56]protocol is kg_v1.0 [02:16:56]action value=close_receipt [02:16:56]process_action close_receipt [02:16:56]cmd_close_receipt [02:16:56]MH_GetDate [02:16:56]Write to MH i2c: F0 00 00 DB 06 D0 [02:16:56]Write i2c OK [02:16:56]MH_I2C_Read... [02:16:56]Read from MH i2c: F0 [02:16:56]MH_I2C_Read... [02:16:56]Read from MH i2c: F0 09 00 [02:16:56]MH_I2C_Read... [02:16:56]Read from MH i2c: F0 09 00 DB 06 00 9A 86 94 66 2D 25 5D 64 06 [02:16:56]GetLastDocTimeStamp 1721009457 [02:16:56]current date 1721009818 [02:16:56]FM_GetShiftState [02:16:56]SAM_PROTO_GetShiftState [02:16:56]wFMCommunicate request_size=4 [02:16:56]MH_SAM_APDU [02:16:56]CAPDU: 80 13 01 00 [02:16:56]Write to MH i2c: E2 08 00 DC 06 80 13 01 00 00 00 00 00 5F [02:16:56]Write i2c OK [02:16:56]MH_I2C_Read... [02:16:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:16:56]Read from MH i2c: E2 [02:16:56]MH_I2C_Read... [02:16:56]Read from MH i2c: E2 0E 00 [02:16:56]MH_I2C_Read... [02:16:56]Read from MH i2c: E2 0E 00 DC 06 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 D8 [02:16:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [02:16:56]wFMCommunicate OK [02:16:56]SAM_PROTO_GetShiftState done [02:16:56]FM_GetShiftState done [02:16:56]opened in 1721003525 [02:16:56]opened+sec_in_day 1721089925 [02:16:56]quantity*price = 33000 [02:16:56]sum+1 = 33001 [02:16:56]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 437.00 НСП 1% : 3.87 НДС 12% : 46.40 Наличными: 437.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 17 15.07.2024 02:16 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57122 ФПД: 196091556415697 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T021658&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57122&fm=196091556415697&tin=02508201610067®Number=0000000000091208&sum=43700 0 [02:16:57]StoreToDocumentArchive [02:16:57]shift 497 fd 57122 [02:16:57]save to /storage/0497/doc_00057122 [02:16:57]save last doc name /storage/0497/doc_00057122 to /storage/kkm_last_doc_name [02:16:57]save OK [02:16:57]Clear old archive folders... [02:16:57]ProcessDocumentItem done err = 0, tmpTLVsize=390 [02:16:57]tlvbuf is 00990570 [02:16:57]SAM_PROTO_ClearQueue [02:16:57]wFMCommunicate request_size=4 [02:16:57]MH_SAM_APDU [02:16:57]CAPDU: 80 09 00 00 [02:16:57]Write to MH i2c: E2 08 00 E9 06 80 09 00 00 00 00 00 00 61 [02:16:57]Write i2c OK [02:16:57]MH_I2C_Read... [02:16:57]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:16:57]Read from MH i2c: E2 [02:16:57]MH_I2C_Read... [02:16:57]Read from MH i2c: E2 03 00 [02:16:57]MH_I2C_Read... [02:16:57]Read from MH i2c: E2 03 00 E9 06 00 90 00 63 [02:16:57]RAPDU: 90 00 [02:16:57]wFMCommunicate OK [02:16:57]SAM_PROTO_ClearQueue done [02:16:57]KKMCreateOFDPacket [02:16:57]OFDProtocolAddRootSTLVToBuf [02:16:57]FM_MakeSignedData [02:16:57]FM_MakeSignedData [02:16:57]SAM_PROTO_SignData [02:16:57]wFMCommunicate request_size=4 [02:16:57]MH_SAM_APDU [02:16:57]CAPDU: 80 0D 01 02 [02:16:57]Write to MH i2c: E2 08 00 EA 06 80 0D 01 02 00 00 00 00 69 [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:58]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:16:58]Read from MH i2c: E2 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 03 00 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 03 00 EA 06 00 90 00 64 [02:16:58]RAPDU: 90 00 [02:16:58]wFMCommunicate OK [02:16:58]wFMCommunicate request_size=255 [02:16:58]MH_SAM_APDU [02:16:58]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 AA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [02:16:58]Write to MH i2c: E2 02 01 EB 06 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 AA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 43 [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:16:58]Read from MH i2c: E2 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 03 00 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 03 00 EB 06 00 90 00 65 [02:16:58]RAPDU: 90 00 [02:16:58]wFMCommunicate OK [02:16:58]wFMCommunicate request_size=149 [02:16:58]MH_SAM_APDU [02:16:58]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 12 00 00 00 00 07 04 06 00 B4 AA 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 9A 86 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 22 DF 00 00 35 04 06 00 B2 58 1F 90 48 D1 [02:16:58]Write to MH i2c: E2 98 00 EC 06 80 0D 02 02 90 00 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 12 00 00 00 00 07 04 06 00 B4 AA 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 9A 86 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 22 DF 00 00 35 04 06 00 B2 58 1F 90 48 D1 00 00 C0 [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:58]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:16:58]Read from MH i2c: E2 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 03 00 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 03 00 EC 06 00 90 00 66 [02:16:58]RAPDU: 90 00 [02:16:58]wFMCommunicate OK [02:16:58]wFMCommunicate request_size=4 [02:16:58]MH_SAM_APDU [02:16:58]CAPDU: 80 0D 03 02 [02:16:58]Write to MH i2c: E2 08 00 ED 06 80 0D 03 02 00 00 00 00 6E [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:58]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:16:58]Read from MH i2c: E2 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 0B 00 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 0B 00 ED 06 00 13 5C DB 50 6F 86 53 25 90 00 76 [02:16:58]RAPDU: 13 5C DB 50 6F 86 53 25 90 00 [02:16:58]wFMCommunicate OK [02:16:58]SAM_PROTO_SignData done [02:16:58]FM_MakeSignedData done [02:16:58]CreateOFDProtocolMessage [02:16:58]wFMCommunicate request_size=4 [02:16:58]MH_SAM_APDU [02:16:58]CAPDU: 80 11 00 00 [02:16:58]Write to MH i2c: E2 08 00 EE 06 80 11 00 00 00 00 00 00 6E [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:58]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:16:58]Read from MH i2c: E2 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 17 00 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: E2 17 00 EE 06 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 C8 [02:16:58]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:16:58]wFMCommunicate OK [02:16:58]CreateOFDProtocolMessage done [02:16:58]OFDSenderStorePacket 57122 [02:16:58]StoreOFDPacket docnum=57122 [02:16:58]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 9A 01 00 00 C4 72 92 01 F5 E2 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 AA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 12 00 00 00 00 07 04 06 00 B4 AA 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 9A 86 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 22 DF 00 00 35 04 06 00 B2 58 1F 90 48 D1 13 5C DB 50 6F 86 53 25 [02:16:58]CheckFolder [02:16:58]dirname=/storage/ofd_packets [02:16:58]CheckFolder done [02:16:58]ProducePacketName [02:16:58]name=ofd_packets/00057122 [02:16:58]NVStorageSaveData ofd_packets/00057122 [02:16:58]File name is /storage/ofd_packets/00057122 [02:16:58]Write 440 bytes [02:16:58]NVStorageSaveData done [02:16:58]OFDSenderStorePacket done [02:16:58]KKMCreateOFDPacket done [02:16:58]NVStorageSaveData kkm_last_timestamp [02:16:58]File name is /storage/kkm_last_timestamp [02:16:58]Write 4 bytes [02:16:58]NVStorageSaveData done [02:16:58]ExternCall_PrintAddStr [02:16:58]wPrintStart [02:16:58]Write to MH i2c: 01 00 00 EF 06 F5 [02:16:58]Write i2c OK [02:16:58]MH_I2C_Read... [02:16:58]OFD Sender: Processing packet 57122 [packets to send 38, broken 37] [02:16:58]ProducePacketName [02:16:58]name=ofd_packets/00057122 [02:16:58]OFD Sender: To server: pG, [02:16:58]CommunicateWithHost lk.salyk.kg:30040 [02:16:58]ConnectInit lk.salyk.kg [02:16:58]Read from MH i2c: 01 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: 01 07 00 [02:16:58]MH_I2C_Read... [02:16:58]Read from MH i2c: 01 07 00 EF 06 00 00 00 00 00 FF 0F 0A [02:16:58]RasterBufferAndPrint [02:16:58]line Счет N : (3)129578 [02:16:58]line ИНН: 02508201610067 [02:16:58]line Контрольно-Кассовый Чек [02:16:58]line ПРОДАЖА [02:16:58]line Товар: 4700001060169 [02:16:58]line Коньяк Бишкек 0,2л [02:16:58]line 1.000 * 330.00 [02:16:58]line = 330.00 [02:16:58]line НДС 12% НСП 1% [02:16:58]line > о реализуемом товаре [02:16:58]line Товар: 5449000189332 [02:16:58]line Холодный чай Fuse персик 1л [02:16:58]line 1.000 * 107.00 [02:16:58]line = 107.00 [02:16:58]line НДС 12% НСП 1% [02:16:58]line > о реализуемом товаре [02:16:58]line ИТОГО: 437.00 [02:16:58]line НСП 1% : 3.87 [02:16:58]line НДС 12% : 46.40 [02:16:58]line Наличными: 437.00 [02:16:58]line Безнал.: 0.00 [02:16:58]line Место: АЗС № 132 "Партнер Нефть" [02:16:58]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:16:58]line СНО: Общий режим [02:16:58]line Чек 17 15.07.2024 02:16 [02:16:58]line Смена: 497 ФФД: 1.0 [02:16:58]line ЗНМ: 0300000132 [02:16:58]line РНМ: 0000000000091208 [02:16:58]line Версия ККМ: 001 [02:16:58]line ФМ: 0000000000874857 [02:16:58]line ФД: 57122 [02:16:58]line ФПД: 196091556415697 [02:16:58]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T021658&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57122&fm=196091556415697&tin=02508201610067®Number=0000000000091208&sum=43700 [02:16:58]line 0 [02:16:58]written 0, free lines is 4095 [02:16:59]Connected sock=10 [02:16:59]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 9A 01 00 00 C4 72 92 01 F5 E2 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 AA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 12 00 00 00 00 07 04 06 00 B4 AA 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 9A 86 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 22 DF 00 00 35 04 06 00 B2 58 1F 90 48 D1 13 5C DB 50 6F 86 53 25 [02:16:59]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 6F 1C 47 00 1E 94 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 22 DF 00 00 F4 03 04 00 E9 2C 94 66 B6 04 01 00 00 A6 42 B5 90 08 C5 B4 B7 [02:16:59]CommunicateWithHost err = 0 [02:16:59]CheckOFDResponse [02:16:59]1017 (14) - 77093643461234 [02:16:59]1041 (16) - 0000000000874857 [02:16:59]1040 (4) - 57122 [02:16:59]1012 (4) - 14.07.2024 19:54 [02:16:59]1206 (1) - 0 [02:16:59]OFD Sender: Remove packet 57122 [02:16:59]ProducePacketName [02:16:59]name=ofd_packets/00057122 [02:16:59]NVStorageDeleteData [02:16:59]Write to MH i2c: 01 00 00 1D 07 24 [02:16:59]Write i2c OK [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: 01 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: 01 07 00 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: 01 07 00 1D 07 00 00 00 00 00 B3 0C EA [02:16:59]RasterBufferAndPrint [02:16:59]line [02:16:59]line [02:16:59]line [02:16:59]line [02:16:59]line [02:16:59]written 0, free lines is 3256 [02:16:59]MH_Cut [02:16:59]Write to MH i2c: D1 01 00 24 07 01 FD [02:16:59]Write i2c OK [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: D1 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: D1 01 00 [02:16:59]MH_I2C_Read... [02:16:59]Read from MH i2c: D1 01 00 24 07 00 FC [02:16:59]Write to MH i2c: 01 00 00 25 07 2C [02:16:59]Write i2c OK [02:16:59]MH_I2C_Read... [02:16:59]OFD Sender: No OFD packet to send [02:17:00]*** Cut start [02:17:00]*** Partial cut [02:17:00]*** CUTSNS_PIN = 1 [02:17:00]*** CUTSNS_PIN = 0 [02:17:00]*** Brake cut motor [02:17:00]Read from MH i2c: 01 [02:17:00]MH_I2C_Read... [02:17:00]*** Stop cut motor [02:17:00]*** Cut end [02:17:00]Read from MH i2c: 01 07 00 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: 01 07 00 25 07 00 00 00 00 00 FF 0F 41 [02:17:00]process_action close_receipt done [02:17:00]requested_data is exist [02:17:00]produce_requested_data [02:17:00]requested_item fm.sn is exist - process it [02:17:00]wFMCommunicate request_size=4 [02:17:00]MH_SAM_APDU [02:17:00]CAPDU: 80 11 00 00 [02:17:00]Write to MH i2c: E2 08 00 26 07 80 11 00 00 00 00 00 00 A7 [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:17:00]Read from MH i2c: E2 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 17 00 [02:17:00]MH_I2C_Read... [02:17:00]Read from MH i2c: E2 17 00 26 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 01 [02:17:00]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:17:00]wFMCommunicate OK [02:17:00]requested_item fd.num is exist - process it [02:17:00]SAM_PROTO_GetFieldsCounters [02:17:00]wFMCommunicate request_size=4 [02:17:00]MH_SAM_APDU [02:17:00]CAPDU: 80 13 00 00 [02:17:00]Write to MH i2c: E2 08 00 27 07 80 13 00 00 00 00 00 00 AA [02:17:00]Write i2c OK [02:17:00]MH_I2C_Read... [02:17:00]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:17:01]Read from MH i2c: E2 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 62 00 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 62 00 27 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 22 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 F3 [02:17:01]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 22 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 11 00 00 00 5E 04 04 00 11 00 00 00 57 04 04 00 12 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:17:01]wFMCommunicate OK [02:17:01]SAM_PROTO_GetFieldsCounters done [02:17:01]requested_item shift.num is exist - process it [02:17:01]requested_item shift.opened is exist - process it [02:17:01]req_shift_opened [02:17:01]FM_GetShiftState [02:17:01]SAM_PROTO_GetShiftState [02:17:01]wFMCommunicate request_size=4 [02:17:01]MH_SAM_APDU [02:17:01]CAPDU: 80 13 01 00 [02:17:01]Write to MH i2c: E2 08 00 28 07 80 13 01 00 00 00 00 00 AC [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:01]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:17:01]Read from MH i2c: E2 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 0E 00 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 0E 00 28 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 25 [02:17:01]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [02:17:01]wFMCommunicate OK [02:17:01]SAM_PROTO_GetShiftState done [02:17:01]FM_GetShiftState done [02:17:01]req_shift_opened done [02:17:01]requested_item shift.open_date is exist - process it [02:17:01]req_shift_open_date [02:17:01]req_shift_open_date done [02:17:01]requested_item shift.sale.total is exist - process it [02:17:01]SAM_PROTO_GetShiftData [02:17:01]wFMCommunicate request_size=4 [02:17:01]MH_SAM_APDU [02:17:01]CAPDU: 80 13 02 00 [02:17:01]Write to MH i2c: E2 08 00 29 07 80 13 02 00 00 00 00 00 AE [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:01]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:17:01]Read from MH i2c: E2 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 FD 00 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 FD 00 29 07 00 AD 04 AA 04 A9 04 6E 04 04 00 11 00 00 00 69 04 9A 00 6F 04 04 00 11 00 00 00 B1 04 03 00 3D 8F 07 70 04 03 00 78 06 04 72 04 03 00 C5 88 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 81 CD 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 20 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B2 [02:17:01]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 11 00 00 00 69 04 9A 00 6F 04 04 00 11 00 00 00 B1 04 03 00 3D 8F 07 70 04 03 00 78 06 04 72 04 03 00 C5 88 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 81 CD 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 20 11 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [02:17:01]wFMCommunicate OK [02:17:01]wFMCommunicate request_size=4 [02:17:01]MH_SAM_APDU [02:17:01]CAPDU: 80 17 00 00 [02:17:01]Write to MH i2c: E2 08 00 2A 07 80 17 00 00 00 00 00 00 B1 [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:17:01]Read from MH i2c: E2 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 FD 00 [02:17:01]MH_I2C_Read... [02:17:01]Read from MH i2c: E2 FD 00 2A 07 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 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 90 00 C3 [02:17:01]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 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 90 00 [02:17:01]wFMCommunicate OK [02:17:01]wFMCommunicate request_size=4 [02:17:01]MH_SAM_APDU [02:17:01]CAPDU: 80 17 00 00 [02:17:01]Write to MH i2c: E2 08 00 2B 07 80 17 00 00 00 00 00 00 B2 [02:17:01]Write i2c OK [02:17:01]MH_I2C_Read... [02:17:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:17:02]Read from MH i2c: E2 [02:17:02]MH_I2C_Read... [02:17:02]Read from MH i2c: E2 FD 00 [02:17:02]MH_I2C_Read... [02:17:02]Read from MH i2c: E2 FD 00 2B 07 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 76 [02:17:02]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [02:17:02]wFMCommunicate OK [02:17:02]wFMCommunicate request_size=4 [02:17:02]MH_SAM_APDU [02:17:02]CAPDU: 80 17 00 00 [02:17:02]Write to MH i2c: E2 08 00 2C 07 80 17 00 00 00 00 00 00 B3 [02:17:02]Write i2c OK [02:17:02]MH_I2C_Read... [02:17:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:17:02]Read from MH i2c: E2 [02:17:02]MH_I2C_Read... [02:17:02]Read from MH i2c: E2 FD 00 [02:17:02]MH_I2C_Read... [02:17:02]Read from MH i2c: E2 FD 00 2C 07 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 90 00 28 [02:17:02]RAPDU: 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 90 00 [02:17:02]wFMCommunicate OK [02:17:02]wFMCommunicate request_size=4 [02:17:02]MH_SAM_APDU [02:17:02]CAPDU: 80 17 00 00 [02:17:02]Write to MH i2c: E2 08 00 2D 07 80 17 00 00 00 00 00 00 B4 [02:17:02]Write i2c OK [02:17:02]MH_I2C_Read... [02:17:02]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:17:02]Read from MH i2c: E2 [02:17:02]MH_I2C_Read... [02:17:02]Read from MH i2c: E2 CA 00 [02:17:02]MH_I2C_Read... [02:17:02]Read from MH i2c: E2 CA 00 2D 07 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 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 99 [02:17:02]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 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 [02:17:02]wFMCommunicate OK [02:17:02]SAM_PROTO_GetShiftData done [02:17:02]requested_item shift.sale.total_cash is exist - process it [02:17:02]requested_item shift.sale_refund.total is exist - process it [02:17:02]requested_item shift.sale_refund.total_cash is exist - process it [02:17:02]produce_requested_data done [02:17:02]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57122,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":4954.21,"shift.sale.total_cash":2638.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:17:02]process_action_free close_receipt [02:17:02]json_value_free [02:17:02]json_value_free done [02:17:02]process_json_proto returns [02:17:02]Send response to host [02:17:02]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57122,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":4954.21,"shift.sale.total_cash":2638.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:17:02]free response buf [02:17:02]execute_script done [02:17:02]execute_script returns [02:17:02]free content buf [02:17:02]Sock 8.Close socket [02:17:02]Sock 8.Thread stoped [02:17:04]OFD Sender: No OFD packet to send [02:17:09]OFD Sender: No OFD packet to send [02:17:14]OFD Sender: No OFD packet to send [02:17:19]OFD Sender: No OFD packet to send [02:17:24]OFD Sender: No OFD packet to send [02:17:29]OFD Sender: No OFD packet to send [02:17:34]OFD Sender: No OFD packet to send [02:17:39]OFD Sender: No OFD packet to send [02:17:44]OFD Sender: No OFD packet to send [02:17:49]OFD Sender: No OFD packet to send [02:17:54]OFD Sender: No OFD packet to send [02:17:59]OFD Sender: No OFD packet to send [02:18:04]OFD Sender: No OFD packet to send [02:18:09]OFD Sender: No OFD packet to send [02:18:14]OFD Sender: No OFD packet to send [02:18:19]OFD Sender: No OFD packet to send [02:18:24]OFD Sender: No OFD packet to send [02:18:29]OFD Sender: No OFD packet to send [02:18:34]OFD Sender: No OFD packet to send [02:18:39]OFD Sender: No OFD packet to send [02:18:44]OFD Sender: No OFD packet to send [02:18:49]OFD Sender: No OFD packet to send [02:18:54]OFD Sender: No OFD packet to send [02:18:59]OFD Sender: No OFD packet to send [02:19:04]OFD Sender: No OFD packet to send [02:19:09]OFD Sender: No OFD packet to send [02:19:14]OFD Sender: No OFD packet to send [02:19:19]OFD Sender: No OFD packet to send [02:19:24]OFD Sender: No OFD packet to send [02:19:29]OFD Sender: No OFD packet to send [02:19:34]OFD Sender: No OFD packet to send [02:19:39]OFD Sender: No OFD packet to send [02:19:44]OFD Sender: No OFD packet to send [02:19:49]OFD Sender: No OFD packet to send [02:19:54]OFD Sender: No OFD packet to send [02:19:59]OFD Sender: No OFD packet to send [02:20:04]OFD Sender: No OFD packet to send [02:20:09]OFD Sender: No OFD packet to send [02:20:14]OFD Sender: No OFD packet to send [02:20:19]OFD Sender: No OFD packet to send [02:20:24]OFD Sender: No OFD packet to send [02:20:29]OFD Sender: No OFD packet to send [02:20:34]OFD Sender: No OFD packet to send [02:20:40]OFD Sender: No OFD packet to send [02:20:45]OFD Sender: No OFD packet to send [02:20:50]OFD Sender: No OFD packet to send [02:20:55]OFD Sender: No OFD packet to send [02:21:00]OFD Sender: No OFD packet to send [02:21:05]OFD Sender: No OFD packet to send [02:21:10]OFD Sender: No OFD packet to send [02:21:15]OFD Sender: No OFD packet to send [02:21:20]OFD Sender: No OFD packet to send [02:21:25]OFD Sender: No OFD packet to send [02:21:30]OFD Sender: No OFD packet to send [02:21:35]OFD Sender: No OFD packet to send [02:21:40]OFD Sender: No OFD packet to send [02:21:45]OFD Sender: No OFD packet to send [02:21:50]OFD Sender: No OFD packet to send [02:21:55]OFD Sender: No OFD packet to send [02:22:00]OFD Sender: No OFD packet to send [02:22:05]OFD Sender: No OFD packet to send [02:22:10]OFD Sender: No OFD packet to send [02:22:15]OFD Sender: No OFD packet to send [02:22:20]OFD Sender: No OFD packet to send [02:22:25]OFD Sender: No OFD packet to send [02:22:30]OFD Sender: No OFD packet to send [02:22:35]OFD Sender: No OFD packet to send [02:22:40]OFD Sender: No OFD packet to send [02:22:45]OFD Sender: No OFD packet to send [02:22:50]OFD Sender: No OFD packet to send [02:22:55]OFD Sender: No OFD packet to send [02:23:00]OFD Sender: No OFD packet to send [02:23:05]OFD Sender: No OFD packet to send [02:23:10]OFD Sender: No OFD packet to send [02:23:15]OFD Sender: No OFD packet to send [02:23:20]OFD Sender: No OFD packet to send [02:23:25]OFD Sender: No OFD packet to send [02:23:30]OFD Sender: No OFD packet to send [02:23:35]OFD Sender: No OFD packet to send [02:23:40]OFD Sender: No OFD packet to send [02:23:45]OFD Sender: No OFD packet to send [02:23:50]OFD Sender: No OFD packet to send [02:23:55]OFD Sender: No OFD packet to send [02:24:00]OFD Sender: No OFD packet to send [02:24:05]OFD Sender: No OFD packet to send [02:24:10]OFD Sender: No OFD packet to send [02:24:15]OFD Sender: No OFD packet to send [02:24:20]OFD Sender: No OFD packet to send [02:24:25]OFD Sender: No OFD packet to send [02:24:30]OFD Sender: No OFD packet to send [02:24:35]OFD Sender: No OFD packet to send [02:24:40]OFD Sender: No OFD packet to send [02:24:45]OFD Sender: No OFD packet to send [02:24:50]OFD Sender: No OFD packet to send [02:24:55]OFD Sender: No OFD packet to send [02:25:00]OFD Sender: No OFD packet to send [02:25:05]OFD Sender: No OFD packet to send [02:25:10]OFD Sender: No OFD packet to send [02:25:15]OFD Sender: No OFD packet to send [02:25:20]OFD Sender: No OFD packet to send [02:25:25]OFD Sender: No OFD packet to send [02:25:30]OFD Sender: No OFD packet to send [02:25:35]OFD Sender: No OFD packet to send [02:25:40]OFD Sender: No OFD packet to send [02:25:45]OFD Sender: No OFD packet to send [02:25:50]OFD Sender: No OFD packet to send [02:25:55]OFD Sender: No OFD packet to send [02:26:00]OFD Sender: No OFD packet to send [02:26:05]OFD Sender: No OFD packet to send [02:26:10]OFD Sender: No OFD packet to send [02:26:15]OFD Sender: No OFD packet to send [02:26:20]OFD Sender: No OFD packet to send [02:26:25]OFD Sender: No OFD packet to send [02:26:30]OFD Sender: No OFD packet to send [02:26:35]OFD Sender: No OFD packet to send [02:26:40]OFD Sender: No OFD packet to send [02:26:45]OFD Sender: No OFD packet to send [02:26:50]OFD Sender: No OFD packet to send [02:26:55]OFD Sender: No OFD packet to send [02:27:00]OFD Sender: No OFD packet to send [02:27:05]OFD Sender: No OFD packet to send [02:27:10]OFD Sender: No OFD packet to send [02:27:15]OFD Sender: No OFD packet to send [02:27:20]OFD Sender: No OFD packet to send [02:27:25]OFD Sender: No OFD packet to send [02:27:30]OFD Sender: No OFD packet to send [02:27:35]OFD Sender: No OFD packet to send [02:27:40]OFD Sender: No OFD packet to send [02:27:45]OFD Sender: No OFD packet to send [02:27:50]OFD Sender: No OFD packet to send [02:27:55]OFD Sender: No OFD packet to send [02:28:00]OFD Sender: No OFD packet to send [02:28:05]OFD Sender: No OFD packet to send [02:28:10]OFD Sender: No OFD packet to send [02:28:15]OFD Sender: No OFD packet to send [02:28:20]OFD Sender: No OFD packet to send [02:28:25]OFD Sender: No OFD packet to send [02:28:30]OFD Sender: No OFD packet to send [02:28:35]OFD Sender: No OFD packet to send [02:28:40]OFD Sender: No OFD packet to send [02:28:45]OFD Sender: No OFD packet to send [02:28:50]OFD Sender: No OFD packet to send [02:28:55]OFD Sender: No OFD packet to send [02:29:00]OFD Sender: No OFD packet to send [02:29:05]OFD Sender: No OFD packet to send [02:29:10]OFD Sender: No OFD packet to send [02:29:15]OFD Sender: No OFD packet to send [02:29:20]OFD Sender: No OFD packet to send [02:29:25]OFD Sender: No OFD packet to send [02:29:30]OFD Sender: No OFD packet to send [02:29:35]OFD Sender: No OFD packet to send [02:29:40]OFD Sender: No OFD packet to send [02:29:45]OFD Sender: No OFD packet to send [02:29:50]OFD Sender: No OFD packet to send [02:29:55]OFD Sender: No OFD packet to send [02:30:00]OFD Sender: No OFD packet to send [02:30:05]OFD Sender: No OFD packet to send [02:30:10]OFD Sender: No OFD packet to send [02:30:15]OFD Sender: No OFD packet to send [02:30:20]OFD Sender: No OFD packet to send [02:30:25]OFD Sender: No OFD packet to send [02:30:30]OFD Sender: No OFD packet to send [02:30:35]OFD Sender: No OFD packet to send [02:30:40]OFD Sender: No OFD packet to send [02:30:45]OFD Sender: No OFD packet to send [02:30:50]OFD Sender: No OFD packet to send [02:30:55]OFD Sender: No OFD packet to send [02:31:00]OFD Sender: No OFD packet to send [02:31:05]OFD Sender: No OFD packet to send [02:31:10]OFD Sender: No OFD packet to send [02:31:15]OFD Sender: No OFD packet to send [02:31:20]OFD Sender: No OFD packet to send [02:31:25]OFD Sender: No OFD packet to send [02:31:30]OFD Sender: No OFD packet to send [02:31:35]OFD Sender: No OFD packet to send [02:31:40]OFD Sender: No OFD packet to send [02:31:45]OFD Sender: No OFD packet to send [02:31:50]OFD Sender: No OFD packet to send [02:31:55]OFD Sender: No OFD packet to send [02:32:00]OFD Sender: No OFD packet to send [02:32:05]OFD Sender: No OFD packet to send [02:32:10]OFD Sender: No OFD packet to send [02:32:15]OFD Sender: No OFD packet to send [02:32:20]OFD Sender: No OFD packet to send [02:32:25]OFD Sender: No OFD packet to send [02:32:30]OFD Sender: No OFD packet to send [02:32:35]OFD Sender: No OFD packet to send [02:32:40]OFD Sender: No OFD packet to send [02:32:45]OFD Sender: No OFD packet to send [02:32:50]OFD Sender: No OFD packet to send [02:32:55]OFD Sender: No OFD packet to send [02:33:00]OFD Sender: No OFD packet to send [02:33:05]OFD Sender: No OFD packet to send [02:33:10]OFD Sender: No OFD packet to send [02:33:15]OFD Sender: No OFD packet to send [02:33:20]OFD Sender: No OFD packet to send [02:33:25]OFD Sender: No OFD packet to send [02:33:30]OFD Sender: No OFD packet to send [02:33:35]OFD Sender: No OFD packet to send [02:33:40]OFD Sender: No OFD packet to send [02:33:45]OFD Sender: No OFD packet to send [02:33:50]OFD Sender: No OFD packet to send [02:33:55]OFD Sender: No OFD packet to send [02:34:00]OFD Sender: No OFD packet to send [02:34:05]OFD Sender: No OFD packet to send [02:34:10]OFD Sender: No OFD packet to send [02:34:15]OFD Sender: No OFD packet to send [02:34:20]OFD Sender: No OFD packet to send [02:34:25]OFD Sender: No OFD packet to send [02:34:30]OFD Sender: No OFD packet to send [02:34:35]OFD Sender: No OFD packet to send [02:34:40]OFD Sender: No OFD packet to send [02:34:45]OFD Sender: No OFD packet to send [02:34:50]OFD Sender: No OFD packet to send [02:34:55]OFD Sender: No OFD packet to send [02:35:00]OFD Sender: No OFD packet to send [02:35:05]OFD Sender: No OFD packet to send [02:35:10]OFD Sender: No OFD packet to send [02:35:15]OFD Sender: No OFD packet to send [02:35:20]OFD Sender: No OFD packet to send [02:35:25]OFD Sender: No OFD packet to send [02:35:30]OFD Sender: No OFD packet to send [02:35:35]OFD Sender: No OFD packet to send [02:35:40]OFD Sender: No OFD packet to send [02:35:45]OFD Sender: No OFD packet to send [02:35:50]OFD Sender: No OFD packet to send [02:35:55]OFD Sender: No OFD packet to send [02:36:00]OFD Sender: No OFD packet to send [02:36:05]OFD Sender: No OFD packet to send [02:36:10]OFD Sender: No OFD packet to send [02:36:15]OFD Sender: No OFD packet to send [02:36:20]OFD Sender: No OFD packet to send [02:36:25]OFD Sender: No OFD packet to send [02:36:30]OFD Sender: No OFD packet to send [02:36:35]OFD Sender: No OFD packet to send [02:36:40]OFD Sender: No OFD packet to send [02:36:45]OFD Sender: No OFD packet to send [02:36:50]OFD Sender: No OFD packet to send [02:36:55]OFD Sender: No OFD packet to send [02:37:00]OFD Sender: No OFD packet to send [02:37:05]OFD Sender: No OFD packet to send [02:37:10]OFD Sender: No OFD packet to send [02:37:15]OFD Sender: No OFD packet to send [02:37:20]OFD Sender: No OFD packet to send [02:37:25]OFD Sender: No OFD packet to send [02:37:30]OFD Sender: No OFD packet to send [02:37:35]OFD Sender: No OFD packet to send [02:37:40]OFD Sender: No OFD packet to send [02:37:45]OFD Sender: No OFD packet to send [02:37:50]OFD Sender: No OFD packet to send [02:37:55]OFD Sender: No OFD packet to send [02:38:00]OFD Sender: No OFD packet to send [02:38:05]OFD Sender: No OFD packet to send [02:38:10]OFD Sender: No OFD packet to send [02:38:15]OFD Sender: No OFD packet to send [02:38:20]OFD Sender: No OFD packet to send [02:38:25]OFD Sender: No OFD packet to send [02:38:30]OFD Sender: No OFD packet to send [02:38:35]OFD Sender: No OFD packet to send [02:38:40]OFD Sender: No OFD packet to send [02:38:45]OFD Sender: No OFD packet to send [02:38:50]OFD Sender: No OFD packet to send [02:38:55]OFD Sender: No OFD packet to send [02:39:00]OFD Sender: No OFD packet to send [02:39:05]OFD Sender: No OFD packet to send [02:39:10]OFD Sender: No OFD packet to send [02:39:15]OFD Sender: No OFD packet to send [02:39:20]OFD Sender: No OFD packet to send [02:39:25]OFD Sender: No OFD packet to send [02:39:30]OFD Sender: No OFD packet to send [02:39:35]OFD Sender: No OFD packet to send [02:39:40]OFD Sender: No OFD packet to send [02:39:45]OFD Sender: No OFD packet to send [02:39:51]OFD Sender: No OFD packet to send [02:39:56]OFD Sender: No OFD packet to send [02:40:01]OFD Sender: No OFD packet to send [02:40:06]OFD Sender: No OFD packet to send [02:40:11]OFD Sender: No OFD packet to send [02:40:16]OFD Sender: No OFD packet to send [02:40:21]OFD Sender: No OFD packet to send [02:40:26]OFD Sender: No OFD packet to send [02:40:31]OFD Sender: No OFD packet to send [02:40:36]OFD Sender: No OFD packet to send [02:40:41]OFD Sender: No OFD packet to send [02:40:46]OFD Sender: No OFD packet to send [02:40:51]OFD Sender: No OFD packet to send [02:40:56]OFD Sender: No OFD packet to send [02:41:01]OFD Sender: No OFD packet to send [02:41:06]OFD Sender: No OFD packet to send [02:41:11]OFD Sender: No OFD packet to send [02:41:16]OFD Sender: No OFD packet to send [02:41:21]OFD Sender: No OFD packet to send [02:41:26]OFD Sender: No OFD packet to send [02:41:31]OFD Sender: No OFD packet to send [02:41:36]OFD Sender: No OFD packet to send [02:41:41]OFD Sender: No OFD packet to send [02:41:46]OFD Sender: No OFD packet to send [02:41:51]OFD Sender: No OFD packet to send [02:41:56]OFD Sender: No OFD packet to send [02:42:01]OFD Sender: No OFD packet to send [02:42:06]OFD Sender: No OFD packet to send [02:42:11]OFD Sender: No OFD packet to send [02:42:16]OFD Sender: No OFD packet to send [02:42:21]OFD Sender: No OFD packet to send [02:42:26]OFD Sender: No OFD packet to send [02:42:31]OFD Sender: No OFD packet to send [02:42:36]OFD Sender: No OFD packet to send [02:42:41]OFD Sender: No OFD packet to send [02:42:46]OFD Sender: No OFD packet to send [02:42:51]OFD Sender: No OFD packet to send [02:42:56]OFD Sender: No OFD packet to send [02:43:01]OFD Sender: No OFD packet to send [02:43:06]OFD Sender: No OFD packet to send [02:43:11]OFD Sender: No OFD packet to send [02:43:16]OFD Sender: No OFD packet to send [02:43:21]OFD Sender: No OFD packet to send [02:43:26]OFD Sender: No OFD packet to send [02:43:31]OFD Sender: No OFD packet to send [02:43:36]OFD Sender: No OFD packet to send [02:43:41]OFD Sender: No OFD packet to send [02:43:46]OFD Sender: No OFD packet to send [02:43:51]OFD Sender: No OFD packet to send [02:43:56]OFD Sender: No OFD packet to send [02:44:01]OFD Sender: No OFD packet to send [02:44:06]OFD Sender: No OFD packet to send [02:44:11]OFD Sender: No OFD packet to send [02:44:16]OFD Sender: No OFD packet to send [02:44:21]OFD Sender: No OFD packet to send [02:44:26]OFD Sender: No OFD packet to send [02:44:31]OFD Sender: No OFD packet to send [02:44:36]OFD Sender: No OFD packet to send [02:44:41]OFD Sender: No OFD packet to send [02:44:46]OFD Sender: No OFD packet to send [02:44:51]OFD Sender: No OFD packet to send [02:44:56]OFD Sender: No OFD packet to send [02:45:01]OFD Sender: No OFD packet to send [02:45:06]OFD Sender: No OFD packet to send [02:45:11]OFD Sender: No OFD packet to send [02:45:16]OFD Sender: No OFD packet to send [02:45:21]OFD Sender: No OFD packet to send [02:45:26]OFD Sender: No OFD packet to send [02:45:31]OFD Sender: No OFD packet to send [02:45:36]OFD Sender: No OFD packet to send [02:45:41]OFD Sender: No OFD packet to send [02:45:46]OFD Sender: No OFD packet to send [02:45:51]OFD Sender: No OFD packet to send [02:45:56]OFD Sender: No OFD packet to send [02:46:01]OFD Sender: No OFD packet to send [02:46:06]OFD Sender: No OFD packet to send [02:46:11]OFD Sender: No OFD packet to send [02:46:16]OFD Sender: No OFD packet to send [02:46:21]OFD Sender: No OFD packet to send [02:46:26]OFD Sender: No OFD packet to send [02:46:31]OFD Sender: No OFD packet to send [02:46:36]OFD Sender: No OFD packet to send [02:46:41]OFD Sender: No OFD packet to send [02:46:46]OFD Sender: No OFD packet to send [02:46:51]OFD Sender: No OFD packet to send [02:46:56]OFD Sender: No OFD packet to send [02:47:01]OFD Sender: No OFD packet to send [02:47:06]OFD Sender: No OFD packet to send [02:47:11]OFD Sender: No OFD packet to send [02:47:16]OFD Sender: No OFD packet to send [02:47:21]OFD Sender: No OFD packet to send [02:47:26]OFD Sender: No OFD packet to send [02:47:31]OFD Sender: No OFD packet to send [02:47:36]OFD Sender: No OFD packet to send [02:47:41]OFD Sender: No OFD packet to send [02:47:46]OFD Sender: No OFD packet to send [02:47:51]OFD Sender: No OFD packet to send [02:47:55]accept exits with 9 [02:47:55]New connection [02:47:55]New thread 3067067748 created [02:47:55]Thread 3066924388 joined [02:47:55]Waiting for new connection... [02:47:55] Sock 9.Parse request [02:47:55]Sock 9.Check first char [02:47:55]Sock 9.First char is OK [02:47:55]request: POST /json_proto HTTP/1.0 [02:47:55]Method: POST [02:47:55]URL: /json_proto [02:47:55]Method is POST - this is cgi request [02:47:55]url: /json_proto [02:47:55]query_string will be loaded in cgi processing [02:47:55]execute_cgi json_proto POST (null) [02:47:55]execute_cgi path=json_proto method=POST [02:47:55]POST find Content-Length [02:47:55]Host: 172.17.39.4:8080 [02:47:55]Content-Length: 725 [02:47:55]Content-Type: application/json [02:47:55] [02:47:55]POST finish read [02:47:55]Found Content-Length = 725 [02:47:55]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129579", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:47:55]execute_script... [02:47: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)129579", "tax_sys" : 0, "items" : [ { "code": "48747059", "name": "\u0421\u0438\u0433\u0430\u0440\u0435\u0442\u044B Winston Legend Blue", "price" : 140.00, "quantity" : 2.000, "sum" : 280.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 280.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [02:47:55]POST & json_proto [02:47:55]process_json_proto [02:47:55]json parsed OK: [02:47:55]protocol is kg_v1.0 [02:47:55]action value=close_receipt [02:47:55]process_action close_receipt [02:47:55]cmd_close_receipt [02:47:55]MH_GetDate [02:47:55]Write to MH i2c: F0 00 00 2E 07 24 [02:47:55]Write i2c OK [02:47:55]MH_I2C_Read... [02:47:55]Read from MH i2c: F0 [02:47:55]MH_I2C_Read... [02:47:55]Read from MH i2c: F0 09 00 [02:47:55]MH_I2C_Read... [02:47:55]Read from MH i2c: F0 09 00 2E 07 00 DD 8D 94 66 2D 25 5D 64 A4 [02:47:55]GetLastDocTimeStamp 1721009818 [02:47:55]current date 1721011677 [02:47:55]FM_GetShiftState [02:47:55]SAM_PROTO_GetShiftState [02:47:55]wFMCommunicate request_size=4 [02:47:55]MH_SAM_APDU [02:47:55]CAPDU: 80 13 01 00 [02:47:55]Write to MH i2c: E2 08 00 2F 07 80 13 01 00 00 00 00 00 B3 [02:47:55]Write i2c OK [02:47:55]MH_I2C_Read... [02:47:55]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:47:55]Read from MH i2c: E2 [02:47:55]MH_I2C_Read... [02:47:55]Read from MH i2c: E2 0E 00 [02:47:55]MH_I2C_Read... [02:47:55]Read from MH i2c: E2 0E 00 2F 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 2C [02:47:55]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [02:47:55]wFMCommunicate OK [02:47:55]SAM_PROTO_GetShiftState done [02:47:55]FM_GetShiftState done [02:47:55]opened in 1721003525 [02:47:55]opened+sec_in_day 1721089925 [02:47:55]quantity*price = 28000 [02:47:55]sum+1 = 28001 [02:47:55]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 280.00 НСП 1% : 2.48 НДС 12% : 29.73 Наличными: 280.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 18 15.07.2024 02:47 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57123 ФПД: 221364644692813 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T024757&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57123&fm=221364644692813&tin=02508201610067®Number=0000000000091208&sum=28000 0 [02:47:56]StoreToDocumentArchive [02:47:56]shift 497 fd 57123 [02:47:56]save to /storage/0497/doc_00057123 [02:47:56]save last doc name /storage/0497/doc_00057123 to /storage/kkm_last_doc_name [02:47:56]save OK [02:47:56]Clear old archive folders... [02:47:56]ProcessDocumentItem done err = 0, tmpTLVsize=273 [02:47:56]tlvbuf is 00974390 [02:47:56]SAM_PROTO_ClearQueue [02:47:56]wFMCommunicate request_size=4 [02:47:56]MH_SAM_APDU [02:47:56]CAPDU: 80 09 00 00 [02:47:56]Write to MH i2c: E2 08 00 3C 07 80 09 00 00 00 00 00 00 B5 [02:47:56]Write i2c OK [02:47:56]MH_I2C_Read... [02:47:56]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [02:47:56]Read from MH i2c: E2 [02:47:56]MH_I2C_Read... [02:47:56]Read from MH i2c: E2 03 00 [02:47:56]MH_I2C_Read... [02:47:56]Read from MH i2c: E2 03 00 3C 07 00 90 00 B7 [02:47:56]RAPDU: 90 00 [02:47:56]wFMCommunicate OK [02:47:56]SAM_PROTO_ClearQueue done [02:47:56]KKMCreateOFDPacket [02:47:56]OFDProtocolAddRootSTLVToBuf [02:47:56]FM_MakeSignedData [02:47:56]FM_MakeSignedData [02:47:56]SAM_PROTO_SignData [02:47:56]wFMCommunicate request_size=4 [02:47:56]MH_SAM_APDU [02:47:56]CAPDU: 80 0D 01 02 [02:47:56]Write to MH i2c: E2 08 00 3D 07 80 0D 01 02 00 00 00 00 BD [02:47:56]Write i2c OK [02:47:56]MH_I2C_Read... [02:47:56]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [02:47:56]Read from MH i2c: E2 [02:47:56]MH_I2C_Read... [02:47:56]Read from MH i2c: E2 03 00 [02:47:56]MH_I2C_Read... [02:47:56]Read from MH i2c: E2 03 00 3D 07 00 90 00 B8 [02:47:56]RAPDU: 90 00 [02:47:56]wFMCommunicate OK [02:47:56]wFMCommunicate request_size=255 [02:47:56]MH_SAM_APDU [02:47:56]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 DD 8D 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [02:47:56]Write to MH i2c: E2 02 01 3E 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 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 DD 8D 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 F2 [02:47:56]Write i2c OK [02:47:56]MH_I2C_Read... [02:47:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:47:57]Read from MH i2c: E2 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: E2 03 00 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: E2 03 00 3E 07 00 90 00 B9 [02:47:57]RAPDU: 90 00 [02:47:57]wFMCommunicate OK [02:47:57]wFMCommunicate request_size=32 [02:47:57]MH_SAM_APDU [02:47:57]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 23 DF 00 00 35 04 06 00 C9 54 79 03 43 4D [02:47:57]Write to MH i2c: E2 23 00 3F 07 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 23 DF 00 00 35 04 06 00 C9 54 79 03 43 4D 00 00 4F [02:47:57]Write i2c OK [02:47:57]MH_I2C_Read... [02:47:57]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [02:47:57]Read from MH i2c: E2 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: E2 03 00 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: E2 03 00 3F 07 00 90 00 BA [02:47:57]RAPDU: 90 00 [02:47:57]wFMCommunicate OK [02:47:57]wFMCommunicate request_size=4 [02:47:57]MH_SAM_APDU [02:47:57]CAPDU: 80 0D 03 02 [02:47:57]Write to MH i2c: E2 08 00 40 07 80 0D 03 02 00 00 00 00 C2 [02:47:57]Write i2c OK [02:47:57]MH_I2C_Read... [02:47:57]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [02:47:57]Read from MH i2c: E2 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: E2 0B 00 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: E2 0B 00 40 07 00 53 66 45 8C 70 79 B8 C6 90 00 B4 [02:47:57]RAPDU: 53 66 45 8C 70 79 B8 C6 90 00 [02:47:57]wFMCommunicate OK [02:47:57]SAM_PROTO_SignData done [02:47:57]FM_MakeSignedData done [02:47:57]CreateOFDProtocolMessage [02:47:57]wFMCommunicate request_size=4 [02:47:57]MH_SAM_APDU [02:47:57]CAPDU: 80 11 00 00 [02:47:57]Write to MH i2c: E2 08 00 41 07 80 11 00 00 00 00 00 00 C2 [02:47:57]Write i2c OK [02:47:57]MH_I2C_Read... [02:47:57]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:47:57]Read from MH i2c: E2 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: E2 17 00 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: E2 17 00 41 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 1C [02:47:57]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:47:57]wFMCommunicate OK [02:47:57]CreateOFDProtocolMessage done [02:47:57]OFDSenderStorePacket 57123 [02:47:57]StoreOFDPacket docnum=57123 [02:47:57]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 17 8B 1D 01 A6 2A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 DD 8D 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 23 DF 00 00 35 04 06 00 C9 54 79 03 43 4D 53 66 45 8C 70 79 B8 C6 [02:47:57]CheckFolder [02:47:57]dirname=/storage/ofd_packets [02:47:57]CheckFolder done [02:47:57]ProducePacketName [02:47:57]name=ofd_packets/00057123 [02:47:57]NVStorageSaveData ofd_packets/00057123 [02:47:57]File name is /storage/ofd_packets/00057123 [02:47:57]Write 323 bytes [02:47:57]NVStorageSaveData done [02:47:57]OFDSenderStorePacket done [02:47:57]KKMCreateOFDPacket done [02:47:57]NVStorageSaveData kkm_last_timestamp [02:47:57]File name is /storage/kkm_last_timestamp [02:47:57]Write 4 bytes [02:47:57]NVStorageSaveData done [02:47:57]ExternCall_PrintAddStr [02:47:57]wPrintStart [02:47:57]Write to MH i2c: 01 00 00 42 07 49 [02:47:57]Write i2c OK [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: 01 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: 01 07 00 [02:47:57]MH_I2C_Read... [02:47:57]Read from MH i2c: 01 07 00 42 07 00 00 00 00 00 FF 0F 5E [02:47:57]RasterBufferAndPrint [02:47:57]line Счет N : (3)129579 [02:47:57]line ИНН: 02508201610067 [02:47:57]line Контрольно-Кассовый Чек [02:47:57]line ПРОДАЖА [02:47:57]line Товар: 48747059 [02:47:57]line Сигареты Winston Legend Blue [02:47:57]line 2.000 * 140.00 [02:47:57]line = 280.00 [02:47:57]line НДС 12% НСП 1% [02:47:57]line > о реализуемом товаре [02:47:57]line ИТОГО: 280.00 [02:47:57]line НСП 1% : 2.48 [02:47:57]line НДС 12% : 29.73 [02:47:57]line Наличными: 280.00 [02:47:57]line Безнал.: 0.00 [02:47:57]line Место: АЗС № 132 "Партнер Нефть" [02:47:57]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [02:47:57]line СНО: Общий режим [02:47:57]line Чек 18 15.07.2024 02:47 [02:47:57]line Смена: 497 ФФД: 1.0 [02:47:57]line ЗНМ: 0300000132 [02:47:57]line РНМ: 0000000000091208 [02:47:57]line Версия ККМ: 001 [02:47:57]line ФМ: 0000000000874857 [02:47:57]line ФД: 57123 [02:47:57]line ФПД: 221364644692813 [02:47:57]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T024757&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57123&fm=221364644692813&tin=02508201610067®Number=0000000000091208&sum=28000 [02:47:57]line 0 [02:47:57]written 0, free lines is 4095 [02:47:57]OFD Sender: Processing packet 57123 [packets to send 38, broken 37] [02:47:57]ProducePacketName [02:47:57]name=ofd_packets/00057123 [02:47:57]OFD Sender: To server: pG, [02:47:57]CommunicateWithHost lk.salyk.kg:30040 [02:47:57]ConnectInit lk.salyk.kg [02:47:57]Connected sock=10 [02:47:57]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 17 8B 1D 01 A6 2A 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 08 00 34 38 37 34 37 30 35 39 06 04 24 00 D0 A1 D0 B8 D0 B3 D0 B0 D1 80 D0 B5 D1 82 D1 8B 20 57 69 6E 73 74 6F 6E 20 4C 65 67 65 6E 64 20 42 6C 75 65 FF 03 08 00 03 D0 07 00 00 00 00 00 37 04 06 00 B0 36 00 00 00 00 13 04 06 00 60 6D 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 60 6D 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 F8 00 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 9D 0B 00 00 00 00 07 04 06 00 60 6D 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 DD 8D 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 23 DF 00 00 35 04 06 00 C9 54 79 03 43 4D 53 66 45 8C 70 79 B8 C6 [02:47:57]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 33 31 47 00 2A 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 38 37 34 38 35 37 10 04 04 00 23 DF 00 00 F4 03 04 00 2C 34 94 66 B6 04 01 00 00 17 51 1E 81 1A 9F 2E 21 [02:47:57]CommunicateWithHost err = 0 [02:47:57]CheckOFDResponse [02:47:57]1017 (14) - 77093643461234 [02:47:57]1041 (16) - 0000000000874857 [02:47:57]1040 (4) - 57123 [02:47:57]1012 (4) - 14.07.2024 20:25 [02:47:57]1206 (1) - 0 [02:47:57]OFD Sender: Remove packet 57123 [02:47:57]ProducePacketName [02:47:57]name=ofd_packets/00057123 [02:47:57]NVStorageDeleteData [02:47:58]Write to MH i2c: 01 00 00 6B 07 72 [02:47:58]Write i2c OK [02:47:58]MH_I2C_Read... [02:47:58]Read from MH i2c: 01 [02:47:58]MH_I2C_Read... [02:47:58]Read from MH i2c: 01 07 00 [02:47:58]MH_I2C_Read... [02:47:58]Read from MH i2c: 01 07 00 6B 07 00 00 00 00 00 DA 0C 5F [02:47:58]RasterBufferAndPrint [02:47:58]line [02:47:58]line [02:47:58]line [02:47:58]line [02:47:58]line [02:47:58]written 0, free lines is 3297 [02:47:58]MH_Cut [02:47:58]Write to MH i2c: D1 01 00 72 07 01 4B [02:47:58]Write i2c OK [02:47:58]MH_I2C_Read... [02:47:58]Read from MH i2c: D1 [02:47:58]MH_I2C_Read... [02:47:58]Read from MH i2c: D1 01 00 [02:47:58]MH_I2C_Read... [02:47:58]Read from MH i2c: D1 01 00 72 07 00 4A [02:47:58]Write to MH i2c: 01 00 00 73 07 7A [02:47:58]Write i2c OK [02:47:58]MH_I2C_Read... [02:47:58]OFD Sender: No OFD packet to send [02:47:58]*** Cut start [02:47:58]*** Partial cut [02:47:58]*** CUTSNS_PIN = 1 [02:47:58]*** CUTSNS_PIN = 0 [02:47:59]*** Brake cut motor [02:47:59]Read from MH i2c: 01 [02:47:59]MH_I2C_Read... [02:47:59]*** Stop cut motor [02:47:59]*** Cut end [02:47:59]Read from MH i2c: 01 07 00 [02:47:59]MH_I2C_Read... [02:47:59]Read from MH i2c: 01 07 00 73 07 00 00 00 00 00 FF 0F 8F [02:47:59]process_action close_receipt done [02:47:59]requested_data is exist [02:47:59]produce_requested_data [02:47:59]requested_item fm.sn is exist - process it [02:47:59]wFMCommunicate request_size=4 [02:47:59]MH_SAM_APDU [02:47:59]CAPDU: 80 11 00 00 [02:47:59]Write to MH i2c: E2 08 00 74 07 80 11 00 00 00 00 00 00 F5 [02:47:59]Write i2c OK [02:47:59]MH_I2C_Read... [02:47:59]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [02:47:59]Read from MH i2c: E2 [02:47:59]MH_I2C_Read... [02:47:59]Read from MH i2c: E2 17 00 [02:47:59]MH_I2C_Read... [02:47:59]Read from MH i2c: E2 17 00 74 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 4F [02:47:59]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [02:47:59]wFMCommunicate OK [02:47:59]requested_item fd.num is exist - process it [02:47:59]SAM_PROTO_GetFieldsCounters [02:47:59]wFMCommunicate request_size=4 [02:47:59]MH_SAM_APDU [02:47:59]CAPDU: 80 13 00 00 [02:47:59]Write to MH i2c: E2 08 00 75 07 80 13 00 00 00 00 00 00 F8 [02:47:59]Write i2c OK [02:47:59]MH_I2C_Read... [02:47:59]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [02:47:59]Read from MH i2c: E2 [02:47:59]MH_I2C_Read... [02:47:59]Read from MH i2c: E2 62 00 [02:47:59]MH_I2C_Read... [02:47:59]Read from MH i2c: E2 62 00 75 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 23 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [02:47:59]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 23 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 12 00 00 00 5E 04 04 00 12 00 00 00 57 04 04 00 13 00 00 00 19 04 04 00 00 00 00 00 90 00 [02:47:59]wFMCommunicate OK [02:47:59]SAM_PROTO_GetFieldsCounters done [02:47:59]requested_item shift.num is exist - process it [02:47:59]requested_item shift.opened is exist - process it [02:47:59]req_shift_opened [02:47:59]FM_GetShiftState [02:47:59]SAM_PROTO_GetShiftState [02:47:59]wFMCommunicate request_size=4 [02:47:59]MH_SAM_APDU [02:47:59]CAPDU: 80 13 01 00 [02:47:59]Write to MH i2c: E2 08 00 76 07 80 13 01 00 00 00 00 00 FA [02:47:59]Write i2c OK [02:47:59]MH_I2C_Read... [02:47:59]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [02:47:59]Read from MH i2c: E2 [02:47:59]MH_I2C_Read... [02:47:59]Read from MH i2c: E2 0E 00 [02:47:59]MH_I2C_Read... [02:47:59]Read from MH i2c: E2 0E 00 76 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 73 [02:47:59]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [02:47:59]wFMCommunicate OK [02:47:59]SAM_PROTO_GetShiftState done [02:47:59]FM_GetShiftState done [02:47:59]req_shift_opened done [02:47:59]requested_item shift.open_date is exist - process it [02:47:59]req_shift_open_date [02:47:59]req_shift_open_date done [02:47:59]requested_item shift.sale.total is exist - process it [02:47:59]SAM_PROTO_GetShiftData [02:47:59]wFMCommunicate request_size=4 [02:47:59]MH_SAM_APDU [02:47:59]CAPDU: 80 13 02 00 [02:47:59]Write to MH i2c: E2 08 00 77 07 80 13 02 00 00 00 00 00 FC [02:47:59]Write i2c OK [02:47:59]MH_I2C_Read... [02:48:00]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [02:48:00]Read from MH i2c: E2 [02:48:00]MH_I2C_Read... [02:48:00]Read from MH i2c: E2 FD 00 [02:48:00]MH_I2C_Read... [02:48:00]Read from MH i2c: E2 FD 00 77 07 00 AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 9D FC 07 70 04 03 00 D8 73 04 72 04 03 00 C5 88 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 1E D9 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 18 12 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 3E [02:48:00]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 12 00 00 00 69 04 9A 00 6F 04 04 00 12 00 00 00 B1 04 03 00 9D FC 07 70 04 03 00 D8 73 04 72 04 03 00 C5 88 03 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 1E D9 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 18 12 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [02:48:00]wFMCommunicate OK [02:48:00]wFMCommunicate request_size=4 [02:48:00]MH_SAM_APDU [02:48:00]CAPDU: 80 17 00 00 [02:48:00]Write to MH i2c: E2 08 00 78 07 80 17 00 00 00 00 00 00 FF [02:48:00]Write i2c OK [02:48:00]MH_I2C_Read... [02:48:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:48:00]Read from MH i2c: E2 [02:48:00]MH_I2C_Read... [02:48:00]Read from MH i2c: E2 FD 00 [02:48:00]MH_I2C_Read... [02:48:00]Read from MH i2c: E2 FD 00 78 07 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 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 90 00 11 [02:48:00]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 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 90 00 [02:48:00]wFMCommunicate OK [02:48:00]wFMCommunicate request_size=4 [02:48:00]MH_SAM_APDU [02:48:00]CAPDU: 80 17 00 00 [02:48:00]Write to MH i2c: E2 08 00 79 07 80 17 00 00 00 00 00 00 00 [02:48:00]Write i2c OK [02:48:00]MH_I2C_Read... [02:48:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:48:00]Read from MH i2c: E2 [02:48:00]MH_I2C_Read... [02:48:00]Read from MH i2c: E2 FD 00 [02:48:00]MH_I2C_Read... [02:48:00]Read from MH i2c: E2 FD 00 79 07 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C4 [02:48:00]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [02:48:00]wFMCommunicate OK [02:48:00]wFMCommunicate request_size=4 [02:48:00]MH_SAM_APDU [02:48:00]CAPDU: 80 17 00 00 [02:48:00]Write to MH i2c: E2 08 00 7A 07 80 17 00 00 00 00 00 00 01 [02:48:00]Write i2c OK [02:48:00]MH_I2C_Read... [02:48:00]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [02:48:00]Read from MH i2c: E2 [02:48:00]MH_I2C_Read... [02:48:00]Read from MH i2c: E2 FD 00 [02:48:00]MH_I2C_Read... [02:48:00]Read from MH i2c: E2 FD 00 7A 07 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 90 00 76 [02:48:00]RAPDU: 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 90 00 [02:48:00]wFMCommunicate OK [02:48:00]wFMCommunicate request_size=4 [02:48:00]MH_SAM_APDU [02:48:00]CAPDU: 80 17 00 00 [02:48:00]Write to MH i2c: E2 08 00 7B 07 80 17 00 00 00 00 00 00 02 [02:48:00]Write i2c OK [02:48:00]MH_I2C_Read... [02:48:01]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [02:48:01]Read from MH i2c: E2 [02:48:01]MH_I2C_Read... [02:48:01]Read from MH i2c: E2 CA 00 [02:48:01]MH_I2C_Read... [02:48:01]Read from MH i2c: E2 CA 00 7B 07 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 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 E7 [02:48:01]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 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 [02:48:01]wFMCommunicate OK [02:48:01]SAM_PROTO_GetShiftData done [02:48:01]requested_item shift.sale.total_cash is exist - process it [02:48:01]requested_item shift.sale_refund.total is exist - process it [02:48:01]requested_item shift.sale_refund.total_cash is exist - process it [02:48:01]produce_requested_data done [02:48:01]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57123,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":5234.21,"shift.sale.total_cash":2918.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [02:48:01]process_action_free close_receipt [02:48:01]json_value_free [02:48:01]json_value_free done [02:48:01]process_json_proto returns [02:48:01]Send response to host [02:48:01]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57123,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":5234.21,"shift.sale.total_cash":2918.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [02:48:01]free response buf [02:48:01]execute_script done [02:48:01]execute_script returns [02:48:01]free content buf [02:48:01]Sock 9.Close socket [02:48:01]Sock 9.Thread stoped [02:48:03]OFD Sender: No OFD packet to send [02:48:08]OFD Sender: No OFD packet to send [02:48:13]OFD Sender: No OFD packet to send [02:48:18]OFD Sender: No OFD packet to send [02:48:23]OFD Sender: No OFD packet to send [02:48:28]OFD Sender: No OFD packet to send [02:48:33]OFD Sender: No OFD packet to send [02:48:38]OFD Sender: No OFD packet to send [02:48:43]OFD Sender: No OFD packet to send [02:48:48]OFD Sender: No OFD packet to send [02:48:53]OFD Sender: No OFD packet to send [02:48:58]OFD Sender: No OFD packet to send [02:49:03]OFD Sender: No OFD packet to send [02:49:08]OFD Sender: No OFD packet to send [02:49:13]OFD Sender: No OFD packet to send [02:49:18]OFD Sender: No OFD packet to send [02:49:23]OFD Sender: No OFD packet to send [02:49:28]OFD Sender: No OFD packet to send [02:49:33]OFD Sender: No OFD packet to send [02:49:38]OFD Sender: No OFD packet to send [02:49:43]OFD Sender: No OFD packet to send [02:49:48]OFD Sender: No OFD packet to send [02:49:53]OFD Sender: No OFD packet to send [02:49:58]OFD Sender: No OFD packet to send [02:50:03]OFD Sender: No OFD packet to send [02:50:08]OFD Sender: No OFD packet to send [02:50:13]OFD Sender: No OFD packet to send [02:50:18]OFD Sender: No OFD packet to send [02:50:23]OFD Sender: No OFD packet to send [02:50:28]OFD Sender: No OFD packet to send [02:50:33]OFD Sender: No OFD packet to send [02:50:38]OFD Sender: No OFD packet to send [02:50:43]OFD Sender: No OFD packet to send [02:50:48]OFD Sender: No OFD packet to send [02:50:53]OFD Sender: No OFD packet to send [02:50:58]OFD Sender: No OFD packet to send [02:51:03]OFD Sender: No OFD packet to send [02:51:08]OFD Sender: No OFD packet to send [02:51:13]OFD Sender: No OFD packet to send [02:51:18]OFD Sender: No OFD packet to send [02:51:23]OFD Sender: No OFD packet to send [02:51:28]OFD Sender: No OFD packet to send [02:51:33]OFD Sender: No OFD packet to send [02:51:38]OFD Sender: No OFD packet to send [02:51:43]OFD Sender: No OFD packet to send [02:51:48]OFD Sender: No OFD packet to send [02:51:53]OFD Sender: No OFD packet to send [02:51:58]OFD Sender: No OFD packet to send [02:52:03]OFD Sender: No OFD packet to send [02:52:08]OFD Sender: No OFD packet to send [02:52:13]OFD Sender: No OFD packet to send [02:52:18]OFD Sender: No OFD packet to send [02:52:23]OFD Sender: No OFD packet to send [02:52:28]OFD Sender: No OFD packet to send [02:52:33]OFD Sender: No OFD packet to send [02:52:38]OFD Sender: No OFD packet to send [02:52:43]OFD Sender: No OFD packet to send [02:52:48]OFD Sender: No OFD packet to send [02:52:53]OFD Sender: No OFD packet to send [02:52:58]OFD Sender: No OFD packet to send [02:53:03]OFD Sender: No OFD packet to send [02:53:08]OFD Sender: No OFD packet to send [02:53:13]OFD Sender: No OFD packet to send [02:53:18]OFD Sender: No OFD packet to send [02:53:23]OFD Sender: No OFD packet to send [02:53:28]OFD Sender: No OFD packet to send [02:53:33]OFD Sender: No OFD packet to send [02:53:38]OFD Sender: No OFD packet to send [02:53:43]OFD Sender: No OFD packet to send [02:53:48]OFD Sender: No OFD packet to send [02:53:53]OFD Sender: No OFD packet to send [02:53:58]OFD Sender: No OFD packet to send [02:54:03]OFD Sender: No OFD packet to send [02:54:08]OFD Sender: No OFD packet to send [02:54:13]OFD Sender: No OFD packet to send [02:54:18]OFD Sender: No OFD packet to send [02:54:23]OFD Sender: No OFD packet to send [02:54:28]OFD Sender: No OFD packet to send [02:54:33]OFD Sender: No OFD packet to send [02:54:38]OFD Sender: No OFD packet to send [02:54:43]OFD Sender: No OFD packet to send [02:54:48]OFD Sender: No OFD packet to send [02:54:53]OFD Sender: No OFD packet to send [02:54:58]OFD Sender: No OFD packet to send [02:55:03]OFD Sender: No OFD packet to send [02:55:08]OFD Sender: No OFD packet to send [02:55:13]OFD Sender: No OFD packet to send [02:55:18]OFD Sender: No OFD packet to send [02:55:23]OFD Sender: No OFD packet to send [02:55:28]OFD Sender: No OFD packet to send [02:55:33]OFD Sender: No OFD packet to send [02:55:38]OFD Sender: No OFD packet to send [02:55:43]OFD Sender: No OFD packet to send [02:55:48]OFD Sender: No OFD packet to send [02:55:53]OFD Sender: No OFD packet to send [02:55:58]OFD Sender: No OFD packet to send [02:56:03]OFD Sender: No OFD packet to send [02:56:08]OFD Sender: No OFD packet to send [02:56:13]OFD Sender: No OFD packet to send [02:56:18]OFD Sender: No OFD packet to send [02:56:23]OFD Sender: No OFD packet to send [02:56:28]OFD Sender: No OFD packet to send [02:56:33]OFD Sender: No OFD packet to send [02:56:38]OFD Sender: No OFD packet to send [02:56:43]OFD Sender: No OFD packet to send [02:56:48]OFD Sender: No OFD packet to send [02:56:53]OFD Sender: No OFD packet to send [02:56:58]OFD Sender: No OFD packet to send [02:57:03]OFD Sender: No OFD packet to send [02:57:08]OFD Sender: No OFD packet to send [02:57:13]OFD Sender: No OFD packet to send [02:57:18]OFD Sender: No OFD packet to send [02:57:23]OFD Sender: No OFD packet to send [02:57:28]OFD Sender: No OFD packet to send [02:57:33]OFD Sender: No OFD packet to send [02:57:38]OFD Sender: No OFD packet to send [02:57:43]OFD Sender: No OFD packet to send [02:57:48]OFD Sender: No OFD packet to send [02:57:53]OFD Sender: No OFD packet to send [02:57:58]OFD Sender: No OFD packet to send [02:58:03]OFD Sender: No OFD packet to send [02:58:08]OFD Sender: No OFD packet to send [02:58:13]OFD Sender: No OFD packet to send [02:58:18]OFD Sender: No OFD packet to send [02:58:23]OFD Sender: No OFD packet to send [02:58:28]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 [03:06:24]OFD Sender: No OFD packet to send [03:06:29]OFD Sender: No OFD packet to send [03:06:34]OFD Sender: No OFD packet to send [03:06:39]OFD Sender: No OFD packet to send [03:06:44]OFD Sender: No OFD packet to send [03:06:49]OFD Sender: No OFD packet to send [03:06:54]OFD Sender: No OFD packet to send [03:06:59]OFD Sender: No OFD packet to send [03:07:04]OFD Sender: No OFD packet to send [03:07:09]OFD Sender: No OFD packet to send [03:07:14]OFD Sender: No OFD packet to send [03:07:19]OFD Sender: No OFD packet to send [03:07:24]OFD Sender: No OFD packet to send [03:07:29]OFD Sender: No OFD packet to send [03:07:34]OFD Sender: No OFD packet to send [03:07:39]OFD Sender: No OFD packet to send [03:07:44]OFD Sender: No OFD packet to send [03:07:49]OFD Sender: No OFD packet to send [03:07:54]OFD Sender: No OFD packet to send [03:07:59]OFD Sender: No OFD packet to send [03:08:04]OFD Sender: No OFD packet to send [03:08:09]OFD Sender: No OFD packet to send [03:08:14]OFD Sender: No OFD packet to send [03:08:19]OFD Sender: No OFD packet to send [03:08:24]OFD Sender: No OFD packet to send [03:08:29]OFD Sender: No OFD packet to send [03:08:34]OFD Sender: No OFD packet to send [03:08:39]OFD Sender: No OFD packet to send [03:08:44]OFD Sender: No OFD packet to send [03:08:49]OFD Sender: No OFD packet to send [03:08:54]OFD Sender: No OFD packet to send [03:08:59]OFD Sender: No OFD packet to send [03:09:04]OFD Sender: No OFD packet to send [03:09:09]OFD Sender: No OFD packet to send [03:09:14]OFD Sender: No OFD packet to send [03:09:19]OFD Sender: No OFD packet to send [03:09:24]OFD Sender: No OFD packet to send [03:09:29]OFD Sender: No OFD packet to send [03:09:34]OFD Sender: No OFD packet to send [03:09:39]OFD Sender: No OFD packet to send [03:09:44]OFD Sender: No OFD packet to send [03:09:49]OFD Sender: No OFD packet to send [03:09:54]OFD Sender: No OFD packet to send [03:09:59]OFD Sender: No OFD packet to send [03:10:04]OFD Sender: No OFD packet to send [03:10:09]OFD Sender: No OFD packet to send [03:10:14]OFD Sender: No OFD packet to send [03:10:19]OFD Sender: No OFD packet to send [03:10:24]OFD Sender: No OFD packet to send [03:10:29]OFD Sender: No OFD packet to send [03:10:34]OFD Sender: No OFD packet to send [03:10:39]OFD Sender: No OFD packet to send [03:10:44]OFD Sender: No OFD packet to send [03:10:49]OFD Sender: No OFD packet to send [03:10:54]OFD Sender: No OFD packet to send [03:10:59]OFD Sender: No OFD packet to send [03:11:04]OFD Sender: No OFD packet to send [03:11:09]OFD Sender: No OFD packet to send [03:11:14]OFD Sender: No OFD packet to send [03:11:19]OFD Sender: No OFD packet to send [03:11:23]accept exits with 8 [03:11:23]New connection [03:11:23]New thread 3066924388 created [03:11:23]Thread 3067067748 joined [03:11:23]Waiting for new connection... [03:11:23] Sock 8.Parse request [03:11:23]Sock 8.Check first char [03:11:23]Sock 8.First char is OK [03:11:23]request: POST /json_proto HTTP/1.0 [03:11:23]Method: POST [03:11:23]URL: /json_proto [03:11:23]Method is POST - this is cgi request [03:11:23]url: /json_proto [03:11:23]query_string will be loaded in cgi processing [03:11:23]execute_cgi json_proto POST (null) [03:11:23]execute_cgi path=json_proto method=POST [03:11:23]POST find Content-Length [03:11:23]Host: 172.17.39.4:8080 [03:11:23]Content-Length: 1237 [03:11:23]Content-Type: application/json [03:11:23] [03:11:23]POST finish read [03:11:23]Found Content-Length = 1237 [03:11:23]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129580", "tax_sys" : 0, "items" : [ { "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 437.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:11:23]execute_script... [03:11: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)129580", "tax_sys" : 0, "items" : [ { "code": "4700001060169", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,2\u043B", "price" : 330.00, "quantity" : 1.000, "sum" : 330.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ,{ "code": "5449000189332", "name": "\u0425\u043E\u043B\u043E\u0434\u043D\u044B\u0439 \u0447\u0430\u0439 Fuse \u043F\u0435\u0440\u0441\u0438\u043A 1\u043B", "price" : 107.00, "quantity" : 1.000, "sum" : 107.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: \u0410\u041A\u0411 \u041A\u044B\u0440\u0433\u044B\u0437\u0441\u0442\u0430\u043D", "payments": [ { "type": 1, "sum" : 437.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:11:23]POST & json_proto [03:11:23]process_json_proto [03:11:23]json parsed OK: [03:11:23]protocol is kg_v1.0 [03:11:23]action value=close_receipt [03:11:23]process_action close_receipt [03:11:23]cmd_close_receipt [03:11:23]MH_GetDate [03:11:23]Write to MH i2c: F0 00 00 7C 07 72 [03:11:23]Write i2c OK [03:11:23]MH_I2C_Read... [03:11:23]Read from MH i2c: F0 [03:11:23]MH_I2C_Read... [03:11:23]Read from MH i2c: F0 09 00 [03:11:23]MH_I2C_Read... [03:11:23]Read from MH i2c: F0 09 00 7C 07 00 5D 93 94 66 2D 25 5D 64 78 [03:11:23]GetLastDocTimeStamp 1721011677 [03:11:23]current date 1721013085 [03:11:23]FM_GetShiftState [03:11:23]SAM_PROTO_GetShiftState [03:11:23]wFMCommunicate request_size=4 [03:11:23]MH_SAM_APDU [03:11:23]CAPDU: 80 13 01 00 [03:11:23]Write to MH i2c: E2 08 00 7D 07 80 13 01 00 00 00 00 00 01 [03:11:23]Write i2c OK [03:11:23]MH_I2C_Read... [03:11:23]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:11:23]Read from MH i2c: E2 [03:11:23]MH_I2C_Read... [03:11:23]Read from MH i2c: E2 0E 00 [03:11:23]MH_I2C_Read... [03:11:23]Read from MH i2c: E2 0E 00 7D 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 7A [03:11:23]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:11:23]wFMCommunicate OK [03:11:23]SAM_PROTO_GetShiftState done [03:11:23]FM_GetShiftState done [03:11:23]opened in 1721003525 [03:11:23]opened+sec_in_day 1721089925 [03:11:23]quantity*price = 33000 [03:11:23]sum+1 = 33001 [03:11:23]Check (price>sum+1) || (price+1sum+1) || (price+1 о реализуемом товаре Товар: 5449000189332 Холодный чай Fuse персик 1л 1.000 * 107.00 = 107.00 НДС 12% НСП 1% > о реализуемом товаре ИТОГО: 437.00 НСП 1% : 3.87 НДС 12% : 46.40 Наличными: 0.00 Безнал.: 437.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 19 15.07.2024 03:11 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 Платежная система: АКБ Кыргызстан ФМ: 0000000000874857 ФД: 57124 ФПД: 153895658415649 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T031125&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57124&fm=153895658415649&tin=02508201610067®Number=0000000000091208&sum=43700 0 [03:11:24]StoreToDocumentArchive [03:11:24]shift 497 fd 57124 [03:11:24]save to /storage/0497/doc_00057124 [03:11:24]save last doc name /storage/0497/doc_00057124 to /storage/kkm_last_doc_name [03:11:24]save OK [03:11:24]Clear old archive folders... [03:11:24]ProcessDocumentItem done err = 0, tmpTLVsize=390 [03:11:24]tlvbuf is 00991230 [03:11:24]SAM_PROTO_ClearQueue [03:11:24]wFMCommunicate request_size=4 [03:11:24]MH_SAM_APDU [03:11:24]CAPDU: 80 09 00 00 [03:11:24]Write to MH i2c: E2 08 00 8A 07 80 09 00 00 00 00 00 00 03 [03:11:24]Write i2c OK [03:11:24]MH_I2C_Read... [03:11:24]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:11:24]Read from MH i2c: E2 [03:11:24]MH_I2C_Read... [03:11:24]Read from MH i2c: E2 03 00 [03:11:24]MH_I2C_Read... [03:11:24]Read from MH i2c: E2 03 00 8A 07 00 90 00 05 [03:11:24]RAPDU: 90 00 [03:11:24]wFMCommunicate OK [03:11:24]SAM_PROTO_ClearQueue done [03:11:24]KKMCreateOFDPacket [03:11:24]OFDProtocolAddRootSTLVToBuf [03:11:24]FM_MakeSignedData [03:11:24]FM_MakeSignedData [03:11:24]SAM_PROTO_SignData [03:11:24]wFMCommunicate request_size=4 [03:11:24]MH_SAM_APDU [03:11:24]CAPDU: 80 0D 01 02 [03:11:24]Write to MH i2c: E2 08 00 8B 07 80 0D 01 02 00 00 00 00 0B [03:11:24]Write i2c OK [03:11:24]MH_I2C_Read... [03:11:24]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:11:24]Read from MH i2c: E2 [03:11:24]MH_I2C_Read... [03:11:24]Read from MH i2c: E2 03 00 [03:11:24]MH_I2C_Read... [03:11:24]Read from MH i2c: E2 03 00 8B 07 00 90 00 06 [03:11:24]RAPDU: 90 00 [03:11:24]wFMCommunicate OK [03:11:24]wFMCommunicate request_size=255 [03:11:24]MH_SAM_APDU [03:11:24]CAPDU: 80 0D 02 02 FA 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 AA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 [03:11:24]Write to MH i2c: E2 02 01 8C 07 80 0D 02 02 FA 00 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 AA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 00 E5 [03:11:24]Write i2c OK [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: E2 [03:11:25]MH_I2C_Read... [03:11:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:11:25]Read from MH i2c: E2 03 00 [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: E2 03 00 8C 07 00 90 00 07 [03:11:25]RAPDU: 90 00 [03:11:25]wFMCommunicate OK [03:11:25]wFMCommunicate request_size=149 [03:11:25]MH_SAM_APDU [03:11:25]CAPDU: 80 0D 02 02 90 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 AA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 5D 93 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 24 DF 00 00 35 04 06 00 8B F7 A0 0D 66 21 [03:11:25]Write to MH i2c: E2 98 00 8D 07 80 0D 02 02 90 00 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 AA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 5D 93 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 24 DF 00 00 35 04 06 00 8B F7 A0 0D 66 21 00 00 1A [03:11:25]Write i2c OK [03:11:25]MH_I2C_Read... [03:11:25]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:11:25]Read from MH i2c: E2 [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: E2 03 00 [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: E2 03 00 8D 07 00 90 00 08 [03:11:25]RAPDU: 90 00 [03:11:25]wFMCommunicate OK [03:11:25]wFMCommunicate request_size=4 [03:11:25]MH_SAM_APDU [03:11:25]CAPDU: 80 0D 03 02 [03:11:25]Write to MH i2c: E2 08 00 8E 07 80 0D 03 02 00 00 00 00 10 [03:11:25]Write i2c OK [03:11:25]MH_I2C_Read... [03:11:25]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:11:25]Read from MH i2c: E2 [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: E2 0B 00 [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: E2 0B 00 8E 07 00 24 61 17 D6 2E C6 54 7C 90 00 47 [03:11:25]RAPDU: 24 61 17 D6 2E C6 54 7C 90 00 [03:11:25]wFMCommunicate OK [03:11:25]SAM_PROTO_SignData done [03:11:25]FM_MakeSignedData done [03:11:25]CreateOFDProtocolMessage [03:11:25]wFMCommunicate request_size=4 [03:11:25]MH_SAM_APDU [03:11:25]CAPDU: 80 11 00 00 [03:11:25]Write to MH i2c: E2 08 00 8F 07 80 11 00 00 00 00 00 00 10 [03:11:25]Write i2c OK [03:11:25]MH_I2C_Read... [03:11:25]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:11:25]Read from MH i2c: E2 [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: E2 17 00 [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: E2 17 00 8F 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 6A [03:11:25]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:11:25]wFMCommunicate OK [03:11:25]CreateOFDProtocolMessage done [03:11:25]OFDSenderStorePacket 57124 [03:11:25]StoreOFDPacket docnum=57124 [03:11:25]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 9A 01 00 00 C7 EE 92 01 C9 E7 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 AA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 AA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 5D 93 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 24 DF 00 00 35 04 06 00 8B F7 A0 0D 66 21 24 61 17 D6 2E C6 54 7C [03:11:25]CheckFolder [03:11:25]dirname=/storage/ofd_packets [03:11:25]CheckFolder done [03:11:25]ProducePacketName [03:11:25]name=ofd_packets/00057124 [03:11:25]NVStorageSaveData ofd_packets/00057124 [03:11:25]File name is /storage/ofd_packets/00057124 [03:11:25]Write 440 bytes [03:11:25]NVStorageSaveData done [03:11:25]OFDSenderStorePacket done [03:11:25]KKMCreateOFDPacket done [03:11:25]NVStorageSaveData kkm_last_timestamp [03:11:25]File name is /storage/kkm_last_timestamp [03:11:25]Write 4 bytes [03:11:25]NVStorageSaveData done [03:11:25]ExternCall_PrintAddStr [03:11:25]wPrintStart [03:11:25]Write to MH i2c: 01 00 00 90 07 97 [03:11:25]Write i2c OK [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: 01 [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: 01 07 00 [03:11:25]MH_I2C_Read... [03:11:25]Read from MH i2c: 01 07 00 90 07 00 00 00 00 00 FF 0F AC [03:11:25]RasterBufferAndPrint [03:11:25]line Счет N : (3)129580 [03:11:25]line ИНН: 02508201610067 [03:11:25]line Контрольно-Кассовый Чек [03:11:25]line ПРОДАЖА [03:11:25]line Товар: 4700001060169 [03:11:25]line Коньяк Бишкек 0,2л [03:11:25]line 1.000 * 330.00 [03:11:25]line = 330.00 [03:11:25]line НДС 12% НСП 1% [03:11:25]line > о реализуемом товаре [03:11:25]line Товар: 5449000189332 [03:11:25]line Холодный чай Fuse персик 1л [03:11:25]line 1.000 * 107.00 [03:11:25]line = 107.00 [03:11:25]line НДС 12% НСП 1% [03:11:25]line > о реализуемом товаре [03:11:25]line ИТОГО: 437.00 [03:11:25]line НСП 1% : 3.87 [03:11:25]line НДС 12% : 46.40 [03:11:25]line Наличными: 0.00 [03:11:25]line Безнал.: 437.00 [03:11:25]line Место: АЗС № 132 "Партнер Нефть" [03:11:25]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:11:25]line СНО: Общий режим [03:11:25]line Чек 19 15.07.2024 03:11 [03:11:25]line Смена: 497 ФФД: 1.0 [03:11:25]line ЗНМ: 0300000132 [03:11:25]line РНМ: 0000000000091208 [03:11:25]line Версия ККМ: 001 [03:11:25]line Платежная система: АКБ Кыргызстан [03:11:25]line ФМ: 0000000000874857 [03:11:25]line ФД: 57124 [03:11:25]line ФПД: 153895658415649 [03:11:25]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T031125&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57124&fm=153895658415649&tin=02508201610067®Number=0000000000091208&sum=43700 [03:11:25]line 0 [03:11:25]written 0, free lines is 4095 [03:11:25]OFD Sender: Processing packet 57124 [packets to send 38, broken 37] [03:11:25]ProducePacketName [03:11:25]name=ofd_packets/00057124 [03:11:25]OFD Sender: To server: pG, [03:11:25]CommunicateWithHost lk.salyk.kg:30040 [03:11:25]ConnectInit lk.salyk.kg [03:11:25]Connected sock=10 [03:11:25]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 9A 01 00 00 C7 EE 92 01 C9 E7 5A 03 01 00 03 00 86 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 36 39 06 04 1F 00 D0 9A D0 BE D0 BD D1 8C D1 8F D0 BA 20 D0 91 D0 B8 D1 88 D0 BA D0 B5 D0 BA 20 30 2C 32 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 E8 80 00 00 00 00 13 04 06 00 E8 80 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 23 04 71 00 8A 04 0D 00 35 34 34 39 30 30 30 31 38 39 33 33 32 06 04 2D 00 D0 A5 D0 BE D0 BB D0 BE D0 B4 D0 BD D1 8B D0 B9 20 D1 87 D0 B0 D0 B9 20 46 75 73 65 20 D0 BF D0 B5 D1 80 D1 81 D0 B8 D0 BA 20 31 D0 BB FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 CC 29 00 00 00 00 13 04 06 00 CC 29 00 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 B4 AA 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 83 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 20 12 00 00 00 00 07 04 06 00 00 00 00 00 00 00 39 04 06 00 B4 AA 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 13 00 00 00 F4 03 04 00 5D 93 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 24 DF 00 00 35 04 06 00 8B F7 A0 0D 66 21 24 61 17 D6 2E C6 54 7C [03:11:26]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 5E 78 47 00 B4 E1 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 24 DF 00 00 F4 03 04 00 AC 39 94 66 B6 04 01 00 00 9F C2 09 D9 62 33 72 FC [03:11:26]CommunicateWithHost err = 0 [03:11:26]CheckOFDResponse [03:11:26]1017 (14) - 77093643461234 [03:11:26]1041 (16) - 0000000000874857 [03:11:26]1040 (4) - 57124 [03:11:26]1012 (4) - 14.07.2024 20:48 [03:11:26]1206 (1) - 0 [03:11:26]OFD Sender: Remove packet 57124 [03:11:26]ProducePacketName [03:11:26]name=ofd_packets/00057124 [03:11:26]NVStorageDeleteData [03:11:26]Write to MH i2c: 01 00 00 C0 07 C7 [03:11:26]Write i2c OK [03:11:26]MH_I2C_Read... [03:11:26]Read from MH i2c: 01 [03:11:26]MH_I2C_Read... [03:11:26]Read from MH i2c: 01 07 00 [03:11:26]MH_I2C_Read... [03:11:26]Read from MH i2c: 01 07 00 C0 07 00 00 00 00 00 88 0C 62 [03:11:26]RasterBufferAndPrint [03:11:26]line [03:11:26]line [03:11:26]line [03:11:26]line [03:11:26]line [03:11:26]written 0, free lines is 3213 [03:11:26]MH_Cut [03:11:26]Write to MH i2c: D1 01 00 C7 07 01 A0 [03:11:26]Write i2c OK [03:11:26]MH_I2C_Read... [03:11:26]Read from MH i2c: D1 [03:11:26]MH_I2C_Read... [03:11:26]Read from MH i2c: D1 01 00 [03:11:26]MH_I2C_Read... [03:11:26]Read from MH i2c: D1 01 00 C7 07 00 9F [03:11:26]Write to MH i2c: 01 00 00 C8 07 CF [03:11:26]Write i2c OK [03:11:26]MH_I2C_Read... [03:11:26]OFD Sender: No OFD packet to send [03:11:27]*** Cut start [03:11:27]*** Partial cut [03:11:27]*** CUTSNS_PIN = 1 [03:11:27]*** CUTSNS_PIN = 0 [03:11:27]*** Brake cut motor [03:11:27]Read from MH i2c: 01 [03:11:27]MH_I2C_Read... [03:11:27]Read from MH i2c: 01 07 00 [03:11:27]MH_I2C_Read... [03:11:27]*** Stop cut motor [03:11:27]*** Cut end [03:11:27]Read from MH i2c: 01 07 00 C8 07 00 00 00 00 00 FF 0F E4 [03:11:27]process_action close_receipt done [03:11:27]requested_data is exist [03:11:27]produce_requested_data [03:11:27]requested_item fm.sn is exist - process it [03:11:27]wFMCommunicate request_size=4 [03:11:27]MH_SAM_APDU [03:11:27]CAPDU: 80 11 00 00 [03:11:27]Write to MH i2c: E2 08 00 C9 07 80 11 00 00 00 00 00 00 4A [03:11:27]Write i2c OK [03:11:27]MH_I2C_Read... [03:11:27]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:11:27]Read from MH i2c: E2 [03:11:27]MH_I2C_Read... [03:11:27]Read from MH i2c: E2 17 00 [03:11:27]MH_I2C_Read... [03:11:27]Read from MH i2c: E2 17 00 C9 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 A4 [03:11:27]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:11:27]wFMCommunicate OK [03:11:27]requested_item fd.num is exist - process it [03:11:27]SAM_PROTO_GetFieldsCounters [03:11:27]wFMCommunicate request_size=4 [03:11:27]MH_SAM_APDU [03:11:27]CAPDU: 80 13 00 00 [03:11:27]Write to MH i2c: E2 08 00 CA 07 80 13 00 00 00 00 00 00 4D [03:11:27]Write i2c OK [03:11:27]MH_I2C_Read... [03:11:27]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:11:27]Read from MH i2c: E2 [03:11:27]MH_I2C_Read... [03:11:27]Read from MH i2c: E2 62 00 [03:11:27]MH_I2C_Read... [03:11:27]Read from MH i2c: E2 62 00 CA 07 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 24 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 9E [03:11:28]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 24 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 13 00 00 00 5E 04 04 00 13 00 00 00 57 04 04 00 14 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:11:28]wFMCommunicate OK [03:11:28]SAM_PROTO_GetFieldsCounters done [03:11:28]requested_item shift.num is exist - process it [03:11:28]requested_item shift.opened is exist - process it [03:11:28]req_shift_opened [03:11:28]FM_GetShiftState [03:11:28]SAM_PROTO_GetShiftState [03:11:28]wFMCommunicate request_size=4 [03:11:28]MH_SAM_APDU [03:11:28]CAPDU: 80 13 01 00 [03:11:28]Write to MH i2c: E2 08 00 CB 07 80 13 01 00 00 00 00 00 4F [03:11:28]Write i2c OK [03:11:28]MH_I2C_Read... [03:11:28]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:11:28]Read from MH i2c: E2 [03:11:28]MH_I2C_Read... [03:11:28]Read from MH i2c: E2 0E 00 [03:11:28]MH_I2C_Read... [03:11:28]Read from MH i2c: E2 0E 00 CB 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 C8 [03:11:28]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:11:28]wFMCommunicate OK [03:11:28]SAM_PROTO_GetShiftState done [03:11:28]FM_GetShiftState done [03:11:28]req_shift_opened done [03:11:28]requested_item shift.open_date is exist - process it [03:11:28]req_shift_open_date [03:11:28]req_shift_open_date done [03:11:28]requested_item shift.sale.total is exist - process it [03:11:28]SAM_PROTO_GetShiftData [03:11:28]wFMCommunicate request_size=4 [03:11:28]MH_SAM_APDU [03:11:28]CAPDU: 80 13 02 00 [03:11:28]Write to MH i2c: E2 08 00 CC 07 80 13 02 00 00 00 00 00 51 [03:11:28]Write i2c OK [03:11:28]MH_I2C_Read... [03:11:28]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:11:28]Read from MH i2c: E2 [03:11:28]MH_I2C_Read... [03:11:28]Read from MH i2c: E2 FD 00 [03:11:28]MH_I2C_Read... [03:11:28]Read from MH i2c: E2 FD 00 CC 07 00 AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 51 A7 08 70 04 03 00 D8 73 04 72 04 03 00 79 33 04 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3E EB 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 9B 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 0B [03:11:28]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 13 00 00 00 69 04 9A 00 6F 04 04 00 13 00 00 00 B1 04 03 00 51 A7 08 70 04 03 00 D8 73 04 72 04 03 00 79 33 04 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 3E EB 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 9B 13 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:11:28]wFMCommunicate OK [03:11:28]wFMCommunicate request_size=4 [03:11:28]MH_SAM_APDU [03:11:28]CAPDU: 80 17 00 00 [03:11:28]Write to MH i2c: E2 08 00 CD 07 80 17 00 00 00 00 00 00 54 [03:11:28]Write i2c OK [03:11:28]MH_I2C_Read... [03:11:28]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:11:28]Read from MH i2c: E2 [03:11:28]MH_I2C_Read... [03:11:28]Read from MH i2c: E2 FD 00 [03:11:28]MH_I2C_Read... [03:11:28]Read from MH i2c: E2 FD 00 CD 07 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 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 90 00 66 [03: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 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 90 00 [03:11:28]wFMCommunicate OK [03:11:28]wFMCommunicate request_size=4 [03:11:28]MH_SAM_APDU [03:11:28]CAPDU: 80 17 00 00 [03:11:28]Write to MH i2c: E2 08 00 CE 07 80 17 00 00 00 00 00 00 55 [03:11:28]Write i2c OK [03:11:28]MH_I2C_Read... [03:11:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:11:29]Read from MH i2c: E2 [03:11:29]MH_I2C_Read... [03:11:29]Read from MH i2c: E2 FD 00 [03:11:29]MH_I2C_Read... [03:11:29]Read from MH i2c: E2 FD 00 CE 07 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 19 [03:11:29]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:11:29]wFMCommunicate OK [03:11:29]wFMCommunicate request_size=4 [03:11:29]MH_SAM_APDU [03:11:29]CAPDU: 80 17 00 00 [03:11:29]Write to MH i2c: E2 08 00 CF 07 80 17 00 00 00 00 00 00 56 [03:11:29]Write i2c OK [03:11:29]MH_I2C_Read... [03:11:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:11:29]Read from MH i2c: E2 [03:11:29]MH_I2C_Read... [03:11:29]Read from MH i2c: E2 FD 00 [03:11:29]MH_I2C_Read... [03:11:29]Read from MH i2c: E2 FD 00 CF 07 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 90 00 CB [03:11:29]RAPDU: 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 90 00 [03:11:29]wFMCommunicate OK [03:11:29]wFMCommunicate request_size=4 [03:11:29]MH_SAM_APDU [03:11:29]CAPDU: 80 17 00 00 [03:11:29]Write to MH i2c: E2 08 00 D0 07 80 17 00 00 00 00 00 00 57 [03:11:29]Write i2c OK [03:11:29]MH_I2C_Read... [03:11:29]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [03:11:29]Read from MH i2c: E2 [03:11:29]MH_I2C_Read... [03:11:29]Read from MH i2c: E2 CA 00 [03:11:29]MH_I2C_Read... [03:11:29]Read from MH i2c: E2 CA 00 D0 07 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 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 3C [03:11:29]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:11:29]wFMCommunicate OK [03:11:29]SAM_PROTO_GetShiftData done [03:11:29]requested_item shift.sale.total_cash is exist - process it [03:11:29]requested_item shift.sale_refund.total is exist - process it [03:11:29]requested_item shift.sale_refund.total_cash is exist - process it [03:11:29]produce_requested_data done [03:11:29]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57124,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":5671.21,"shift.sale.total_cash":2918.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [03:11:29]process_action_free close_receipt [03:11:29]json_value_free [03:11:29]json_value_free done [03:11:29]process_json_proto returns [03:11:29]Send response to host [03:11:29]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57124,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":5671.21,"shift.sale.total_cash":2918.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [03:11:29]free response buf [03:11:29]execute_script done [03:11:29]execute_script returns [03:11:29]free content buf [03:11:29]Sock 8.Close socket [03:11:29]Sock 8.Thread stoped [03:11:31]OFD Sender: No OFD packet to send [03:11:36]OFD Sender: No OFD packet to send [03:11:41]OFD Sender: No OFD packet to send [03:11:46]OFD Sender: No OFD packet to send [03:11:51]OFD Sender: No OFD packet to send [03:11:56]OFD Sender: No OFD packet to send [03:12:01]OFD Sender: No OFD packet to send [03:12:06]OFD Sender: No OFD packet to send [03:12:11]OFD Sender: No OFD packet to send [03:12:16]OFD Sender: No OFD packet to send [03:12:21]OFD Sender: No OFD packet to send [03:12:26]OFD Sender: No OFD packet to send [03:12:31]OFD Sender: No OFD packet to send [03:12:36]OFD Sender: No OFD packet to send [03:12:41]OFD Sender: No OFD packet to send [03:12:46]OFD Sender: No OFD packet to send [03:12:51]OFD Sender: No OFD packet to send [03:12:56]OFD Sender: No OFD packet to send [03:13:01]OFD Sender: No OFD packet to send [03:13:06]OFD Sender: No OFD packet to send [03:13:11]OFD Sender: No OFD packet to send [03:13:16]OFD Sender: No OFD packet to send [03:13:21]OFD Sender: No OFD packet to send [03:13:26]OFD Sender: No OFD packet to send [03:13:31]OFD Sender: No OFD packet to send [03:13:36]OFD Sender: No OFD packet to send [03:13:41]OFD Sender: No OFD packet to send [03:13:46]OFD Sender: No OFD packet to send [03:13:51]OFD Sender: No OFD packet to send [03:13:56]OFD Sender: No OFD packet to send [03:14:01]OFD Sender: No OFD packet to send [03:14:06]OFD Sender: No OFD packet to send [03:14:11]OFD Sender: No OFD packet to send [03:14:16]OFD Sender: No OFD packet to send [03:14:21]OFD Sender: No OFD packet to send [03:14:26]OFD Sender: No OFD packet to send [03:14:27]accept exits with 9 [03:14:27]New connection [03:14:27]New thread 3067067748 created [03:14:27]Thread 3066924388 joined [03:14:27]Waiting for new connection... [03:14:27] Sock 9.Parse request [03:14:27]Sock 9.Check first char [03:14:27]Sock 9.First char is OK [03:14:27]request: POST /json_proto HTTP/1.0 [03:14:27]Method: POST [03:14:27]URL: /json_proto [03:14:27]Method is POST - this is cgi request [03:14:27]url: /json_proto [03:14:27]query_string will be loaded in cgi processing [03:14:27]execute_cgi json_proto POST (null) [03:14:27]execute_cgi path=json_proto method=POST [03:14:27]POST find Content-Length [03:14:27]Host: 172.17.39.4:8080 [03:14:27]Content-Length: 740 [03:14:27]Content-Type: application/json [03:14:27] [03:14:27]POST finish read [03:14:27]Found Content-Length = 740 [03:14:27]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129581", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:14:27]execute_script... [03:14:27]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129581", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:14:27]POST & json_proto [03:14:27]process_json_proto [03:14:27]json parsed OK: [03:14:27]protocol is kg_v1.0 [03:14:27]action value=close_receipt [03:14:27]process_action close_receipt [03:14:27]cmd_close_receipt [03:14:27]MH_GetDate [03:14:27]Write to MH i2c: F0 00 00 D1 07 C7 [03:14:27]Write i2c OK [03:14:27]MH_I2C_Read... [03:14:27]Read from MH i2c: F0 [03:14:27]MH_I2C_Read... [03:14:27]Read from MH i2c: F0 09 00 [03:14:27]MH_I2C_Read... [03:14:27]Read from MH i2c: F0 09 00 D1 07 00 14 94 94 66 2D 25 5D 64 85 [03:14:27]GetLastDocTimeStamp 1721013085 [03:14:27]current date 1721013268 [03:14:27]FM_GetShiftState [03:14:27]SAM_PROTO_GetShiftState [03:14:27]wFMCommunicate request_size=4 [03:14:27]MH_SAM_APDU [03:14:27]CAPDU: 80 13 01 00 [03:14:27]Write to MH i2c: E2 08 00 D2 07 80 13 01 00 00 00 00 00 56 [03:14:27]Write i2c OK [03:14:27]MH_I2C_Read... [03:14:27]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:14:27]Read from MH i2c: E2 [03:14:27]MH_I2C_Read... [03:14:27]Read from MH i2c: E2 0E 00 [03:14:27]MH_I2C_Read... [03:14:27]Read from MH i2c: E2 0E 00 D2 07 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 CF [03:14:27]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:14:27]wFMCommunicate OK [03:14:27]SAM_PROTO_GetShiftState done [03:14:27]FM_GetShiftState done [03:14:27]opened in 1721003525 [03:14:27]opened+sec_in_day 1721089925 [03:14:27]quantity*price = 32500 [03:14:27]sum+1 = 32501 [03:14:27]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.88 НДС 12% : 34.51 Наличными: 325.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 20 15.07.2024 03:14 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57125 ФПД: 84746454893076 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T031429&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57125&fm=84746454893076&tin=02508201610067®Number=0000000000091208&sum=32500 0 [03:14:28]StoreToDocumentArchive [03:14:28]shift 497 fd 57125 [03:14:28]save to /storage/0497/doc_00057125 [03:14:28]save last doc name /storage/0497/doc_00057125 to /storage/kkm_last_doc_name [03:14:28]save OK [03:14:28]Clear old archive folders... [03:14:28]ProcessDocumentItem done err = 0, tmpTLVsize=272 [03:14:28]tlvbuf is 00973D00 [03:14:28]SAM_PROTO_ClearQueue [03:14:28]wFMCommunicate request_size=4 [03:14:28]MH_SAM_APDU [03:14:28]CAPDU: 80 09 00 00 [03:14:28]Write to MH i2c: E2 08 00 DF 07 80 09 00 00 00 00 00 00 58 [03:14:28]Write i2c OK [03:14:28]MH_I2C_Read... [03:14:28]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:14:28]Read from MH i2c: E2 [03:14:28]MH_I2C_Read... [03:14:28]Read from MH i2c: E2 03 00 [03:14:28]MH_I2C_Read... [03:14:28]Read from MH i2c: E2 03 00 DF 07 00 90 00 5A [03:14:28]RAPDU: 90 00 [03:14:28]wFMCommunicate OK [03:14:28]SAM_PROTO_ClearQueue done [03:14:28]KKMCreateOFDPacket [03:14:28]OFDProtocolAddRootSTLVToBuf [03:14:28]FM_MakeSignedData [03:14:28]FM_MakeSignedData [03:14:28]SAM_PROTO_SignData [03:14:28]wFMCommunicate request_size=4 [03:14:28]MH_SAM_APDU [03:14:28]CAPDU: 80 0D 01 02 [03:14:28]Write to MH i2c: E2 08 00 E0 07 80 0D 01 02 00 00 00 00 60 [03:14:28]Write i2c OK [03:14:28]MH_I2C_Read... [03:14:28]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:14:28]Read from MH i2c: E2 [03:14:28]MH_I2C_Read... [03:14:28]Read from MH i2c: E2 03 00 [03:14:28]MH_I2C_Read... [03:14:28]Read from MH i2c: E2 03 00 E0 07 00 90 00 5B [03:14:28]RAPDU: 90 00 [03:14:28]wFMCommunicate OK [03:14:28]wFMCommunicate request_size=255 [03:14:28]MH_SAM_APDU [03:14:28]CAPDU: 80 0D 02 02 FA 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 [03:14:28]Write to MH i2c: E2 02 01 E1 07 80 0D 02 02 FA 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 00 00 71 [03:14:28]Write i2c OK [03:14:28]MH_I2C_Read... [03:14:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:14:28]Read from MH i2c: E2 [03:14:28]MH_I2C_Read... [03:14:28]Read from MH i2c: E2 03 00 [03:14:28]MH_I2C_Read... [03:14:28]Read from MH i2c: E2 03 00 E1 07 00 90 00 5C [03:14:28]RAPDU: 90 00 [03:14:28]wFMCommunicate OK [03:14:28]wFMCommunicate request_size=31 [03:14:28]MH_SAM_APDU [03:14:28]CAPDU: 80 0D 02 02 1A 30 30 38 37 34 38 35 37 10 04 04 00 25 DF 00 00 35 04 06 00 4D 13 92 57 02 14 [03:14:28]Write to MH i2c: E2 22 00 E2 07 80 0D 02 02 1A 00 30 30 38 37 34 38 35 37 10 04 04 00 25 DF 00 00 35 04 06 00 4D 13 92 57 02 14 00 00 F8 [03:14:28]Write i2c OK [03:14:28]MH_I2C_Read... [03:14:28]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:14:29]Read from MH i2c: E2 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: E2 03 00 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: E2 03 00 E2 07 00 90 00 5D [03:14:29]RAPDU: 90 00 [03:14:29]wFMCommunicate OK [03:14:29]wFMCommunicate request_size=4 [03:14:29]MH_SAM_APDU [03:14:29]CAPDU: 80 0D 03 02 [03:14:29]Write to MH i2c: E2 08 00 E3 07 80 0D 03 02 00 00 00 00 65 [03:14:29]Write i2c OK [03:14:29]MH_I2C_Read... [03:14:29]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:14:29]Read from MH i2c: E2 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: E2 0B 00 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: E2 0B 00 E3 07 00 2E 2E 49 B8 25 42 A3 4D 90 00 1A [03:14:29]RAPDU: 2E 2E 49 B8 25 42 A3 4D 90 00 [03:14:29]wFMCommunicate OK [03:14:29]SAM_PROTO_SignData done [03:14:29]FM_MakeSignedData done [03:14:29]CreateOFDProtocolMessage [03:14:29]wFMCommunicate request_size=4 [03:14:29]MH_SAM_APDU [03:14:29]CAPDU: 80 11 00 00 [03:14:29]Write to MH i2c: E2 08 00 E4 07 80 11 00 00 00 00 00 00 65 [03:14:29]Write i2c OK [03:14:29]MH_I2C_Read... [03:14:29]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:14:29]Read from MH i2c: E2 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: E2 17 00 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: E2 17 00 E4 07 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 BF [03:14:29]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:14:29]wFMCommunicate OK [03:14:29]CreateOFDProtocolMessage done [03:14:29]OFDSenderStorePacket 57125 [03:14:29]StoreOFDPacket docnum=57125 [03:14:29]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 3C A4 1C 01 FA E8 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 25 DF 00 00 35 04 06 00 4D 13 92 57 02 14 2E 2E 49 B8 25 42 A3 4D [03:14:29]CheckFolder [03:14:29]dirname=/storage/ofd_packets [03:14:29]CheckFolder done [03:14:29]ProducePacketName [03:14:29]name=ofd_packets/00057125 [03:14:29]NVStorageSaveData ofd_packets/00057125 [03:14:29]File name is /storage/ofd_packets/00057125 [03:14:29]Write 322 bytes [03:14:29]NVStorageSaveData done [03:14:29]OFDSenderStorePacket done [03:14:29]KKMCreateOFDPacket done [03:14:29]NVStorageSaveData kkm_last_timestamp [03:14:29]File name is /storage/kkm_last_timestamp [03:14:29]Write 4 bytes [03:14:29]NVStorageSaveData done [03:14:29]ExternCall_PrintAddStr [03:14:29]wPrintStart [03:14:29]Write to MH i2c: 01 00 00 E5 07 EC [03:14:29]Write i2c OK [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: 01 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: 01 07 00 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: 01 07 00 E5 07 00 00 00 00 00 FF 0F 01 [03:14:29]RasterBufferAndPrint [03:14:29]line Счет N : (3)129581 [03:14:29]line ИНН: 02508201610067 [03:14:29]line Контрольно-Кассовый Чек [03:14:29]line ПРОДАЖА [03:14:29]line Товар: 4700001610043 [03:14:29]line Пиво Арпа 1,5л ПЭТ [03:14:29]line 1.000 * 325.00 [03:14:29]line = 325.00 [03:14:29]line НДС 12% НСП 1% [03:14:29]line > о реализуемом товаре [03:14:29]line ИТОГО: 325.00 [03:14:29]line НСП 1% : 2.88 [03:14:29]line НДС 12% : 34.51 [03:14:29]line Наличными: 325.00 [03:14:29]line Безнал.: 0.00 [03:14:29]line Место: АЗС № 132 "Партнер Нефть" [03:14:29]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:14:29]line СНО: Общий режим [03:14:29]line Чек 20 15.07.2024 03:14 [03:14:29]line Смена: 497 ФФД: 1.0 [03:14:29]line ЗНМ: 0300000132 [03:14:29]line РНМ: 0000000000091208 [03:14:29]line Версия ККМ: 001 [03:14:29]line ФМ: 0000000000874857 [03:14:29]line ФД: 57125 [03:14:29]line ФПД: 84746454893076 [03:14:29]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T031429&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57125&fm=84746454893076&tin=02508201610067®Number=0000000000091208&sum=32500 [03:14:29]line 0 [03:14:29]written 0, free lines is 4095 [03:14:29]OFD Sender: Processing packet 57125 [packets to send 38, broken 37] [03:14:29]ProducePacketName [03:14:29]name=ofd_packets/00057125 [03:14:29]OFD Sender: To server: pG, [03:14:29]CommunicateWithHost lk.salyk.kg:30040 [03:14:29]ConnectInit lk.salyk.kg [03:14:29]Write to MH i2c: 01 00 00 0D 08 15 [03:14:29]Write i2c OK [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: 01 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: 01 07 00 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: 01 07 00 0D 08 00 00 00 00 00 06 0D 2F [03:14:29]RasterBufferAndPrint [03:14:29]line [03:14:29]line [03:14:29]line [03:14:29]line [03:14:29]line [03:14:29]written 0, free lines is 3340 [03:14:29]Connected sock=10 [03:14:29]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 24 01 00 00 3C A4 1C 01 FA E8 5A 03 01 00 03 00 10 01 1E 04 01 00 01 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 25 DF 00 00 35 04 06 00 4D 13 92 57 02 14 2E 2E 49 B8 25 42 A3 4D [03:14:29]MH_Cut [03:14:29]Write to MH i2c: D1 01 00 14 08 01 EE [03:14:29]Write i2c OK [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: D1 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: D1 01 00 [03:14:29]MH_I2C_Read... [03:14:29]Read from MH i2c: D1 01 00 14 08 00 ED [03:14:29]Write to MH i2c: 01 00 00 15 08 1D [03:14:29]Write i2c OK [03:14:29]MH_I2C_Read... [03:14:29]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 87 2A 47 00 33 A9 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 25 DF 00 00 F4 03 04 00 64 3A 94 66 B6 04 01 00 00 EA 66 78 8E EE 91 FD 00 [03:14:29]CommunicateWithHost err = 0 [03:14:29]CheckOFDResponse [03:14:29]1017 (14) - 77093643461234 [03:14:29]1041 (16) - 0000000000874857 [03:14:29]1040 (4) - 57125 [03:14:29]1012 (4) - 14.07.2024 20:51 [03:14:29]1206 (1) - 0 [03:14:29]OFD Sender: Remove packet 57125 [03:14:29]ProducePacketName [03:14:29]name=ofd_packets/00057125 [03:14:29]NVStorageDeleteData [03:14:30]*** Cut start [03:14:30]*** Partial cut [03:14:30]*** CUTSNS_PIN = 1 [03:14:30]*** CUTSNS_PIN = 0 [03:14:30]OFD Sender: No OFD packet to send [03:14:30]*** Brake cut motor [03:14:30]Read from MH i2c: 01 [03:14:30]MH_I2C_Read... [03:14:30]*** Stop cut motor [03:14:30]*** Cut end [03:14:30]Read from MH i2c: 01 07 00 [03:14:30]MH_I2C_Read... [03:14:30]Read from MH i2c: 01 07 00 15 08 00 00 00 00 00 FF 0F 32 [03:14:30]process_action close_receipt done [03:14:30]requested_data is exist [03:14:30]produce_requested_data [03:14:30]requested_item fm.sn is exist - process it [03:14:30]wFMCommunicate request_size=4 [03:14:30]MH_SAM_APDU [03:14:30]CAPDU: 80 11 00 00 [03:14:30]Write to MH i2c: E2 08 00 16 08 80 11 00 00 00 00 00 00 98 [03:14:30]Write i2c OK [03:14:30]MH_I2C_Read... [03:14:30]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:14:30]Read from MH i2c: E2 [03:14:30]MH_I2C_Read... [03:14:30]Read from MH i2c: E2 17 00 [03:14:30]MH_I2C_Read... [03:14:30]Read from MH i2c: E2 17 00 16 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 F2 [03:14:30]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:14:30]wFMCommunicate OK [03:14:30]requested_item fd.num is exist - process it [03:14:30]SAM_PROTO_GetFieldsCounters [03:14:30]wFMCommunicate request_size=4 [03:14:30]MH_SAM_APDU [03:14:30]CAPDU: 80 13 00 00 [03:14:30]Write to MH i2c: E2 08 00 17 08 80 13 00 00 00 00 00 00 9B [03:14:30]Write i2c OK [03:14:30]MH_I2C_Read... [03:14:31]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:14:31]Read from MH i2c: E2 [03:14:31]MH_I2C_Read... [03:14:31]Read from MH i2c: E2 62 00 [03:14:31]MH_I2C_Read... [03:14:31]Read from MH i2c: E2 62 00 17 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 25 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 F0 [03:14:31]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 25 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 14 00 00 00 5E 04 04 00 14 00 00 00 57 04 04 00 15 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:14:31]wFMCommunicate OK [03:14:31]SAM_PROTO_GetFieldsCounters done [03:14:31]requested_item shift.num is exist - process it [03:14:31]requested_item shift.opened is exist - process it [03:14:31]req_shift_opened [03:14:31]FM_GetShiftState [03:14:31]SAM_PROTO_GetShiftState [03:14:31]wFMCommunicate request_size=4 [03:14:31]MH_SAM_APDU [03:14:31]CAPDU: 80 13 01 00 [03:14:31]Write to MH i2c: E2 08 00 18 08 80 13 01 00 00 00 00 00 9D [03:14:31]Write i2c OK [03:14:31]MH_I2C_Read... [03:14:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:14:31]Read from MH i2c: E2 [03:14:31]MH_I2C_Read... [03:14:31]Read from MH i2c: E2 0E 00 [03:14:31]MH_I2C_Read... [03:14:31]Read from MH i2c: E2 0E 00 18 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 16 [03:14:31]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:14:31]wFMCommunicate OK [03:14:31]SAM_PROTO_GetShiftState done [03:14:31]FM_GetShiftState done [03:14:31]req_shift_opened done [03:14:31]requested_item shift.open_date is exist - process it [03:14:31]req_shift_open_date [03:14:31]req_shift_open_date done [03:14:31]requested_item shift.sale.total is exist - process it [03:14:31]SAM_PROTO_GetShiftData [03:14:31]wFMCommunicate request_size=4 [03:14:31]MH_SAM_APDU [03:14:31]CAPDU: 80 13 02 00 [03:14:31]Write to MH i2c: E2 08 00 19 08 80 13 02 00 00 00 00 00 9F [03:14:31]Write i2c OK [03:14:31]MH_I2C_Read... [03:14:31]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:14:31]Read from MH i2c: E2 [03:14:31]MH_I2C_Read... [03:14:31]Read from MH i2c: E2 FD 00 [03:14:31]MH_I2C_Read... [03:14:31]Read from MH i2c: E2 FD 00 19 08 00 AD 04 AA 04 A9 04 6E 04 04 00 14 00 00 00 69 04 9A 00 6F 04 04 00 14 00 00 00 B1 04 03 00 45 26 09 70 04 03 00 CC F2 04 72 04 03 00 79 33 04 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B9 F8 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 BB 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 EB [03:14:31]RAPDU: AD 04 AA 04 A9 04 6E 04 04 00 14 00 00 00 69 04 9A 00 6F 04 04 00 14 00 00 00 B1 04 03 00 45 26 09 70 04 03 00 CC F2 04 72 04 03 00 79 33 04 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B9 F8 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 BB 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:14:31]wFMCommunicate OK [03:14:31]wFMCommunicate request_size=4 [03:14:31]MH_SAM_APDU [03:14:31]CAPDU: 80 17 00 00 [03:14:31]Write to MH i2c: E2 08 00 1A 08 80 17 00 00 00 00 00 00 A2 [03:14:31]Write i2c OK [03:14:31]MH_I2C_Read... [03:14:31]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:14:31]Read from MH i2c: E2 [03:14:31]MH_I2C_Read... [03:14:31]Read from MH i2c: E2 FD 00 [03:14:31]MH_I2C_Read... [03:14:31]Read from MH i2c: E2 FD 00 1A 08 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 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 90 00 B4 [03:14:31]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 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 90 00 [03:14:31]wFMCommunicate OK [03:14:31]wFMCommunicate request_size=4 [03:14:31]MH_SAM_APDU [03:14:31]CAPDU: 80 17 00 00 [03:14:31]Write to MH i2c: E2 08 00 1B 08 80 17 00 00 00 00 00 00 A3 [03:14:31]Write i2c OK [03:14:31]MH_I2C_Read... [03:14:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:14:32]Read from MH i2c: E2 [03:14:32]MH_I2C_Read... [03:14:32]Read from MH i2c: E2 FD 00 [03:14:32]MH_I2C_Read... [03:14:32]Read from MH i2c: E2 FD 00 1B 08 00 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 67 [03:14:32]RAPDU: 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:14:32]wFMCommunicate OK [03:14:32]wFMCommunicate request_size=4 [03:14:32]MH_SAM_APDU [03:14:32]CAPDU: 80 17 00 00 [03:14:32]Write to MH i2c: E2 08 00 1C 08 80 17 00 00 00 00 00 00 A4 [03:14:32]Write i2c OK [03:14:32]MH_I2C_Read... [03:14:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:14:32]Read from MH i2c: E2 [03:14:32]MH_I2C_Read... [03:14:32]Read from MH i2c: E2 FD 00 [03:14:32]MH_I2C_Read... [03:14:32]Read from MH i2c: E2 FD 00 1C 08 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 90 00 19 [03:14:32]RAPDU: 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 90 00 [03:14:32]wFMCommunicate OK [03:14:32]wFMCommunicate request_size=4 [03:14:32]MH_SAM_APDU [03:14:32]CAPDU: 80 17 00 00 [03:14:32]Write to MH i2c: E2 08 00 1D 08 80 17 00 00 00 00 00 00 A5 [03:14:32]Write i2c OK [03:14:32]MH_I2C_Read... [03:14:32]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 199! [03:14:32]Read from MH i2c: E2 [03:14:32]MH_I2C_Read... [03:14:32]Read from MH i2c: E2 CA 00 [03:14:32]MH_I2C_Read... [03:14:32]Read from MH i2c: E2 CA 00 1D 08 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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 8A [03:14:32]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 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:14:32]wFMCommunicate OK [03:14:32]SAM_PROTO_GetShiftData done [03:14:32]requested_item shift.sale.total_cash is exist - process it [03:14:32]requested_item shift.sale_refund.total is exist - process it [03:14:32]requested_item shift.sale_refund.total_cash is exist - process it [03:14:32]produce_requested_data done [03:14:32]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57125,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":5996.21,"shift.sale.total_cash":3243.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00} [03:14:32]process_action_free close_receipt [03:14:32]json_value_free [03:14:32]json_value_free done [03:14:32]process_json_proto returns [03:14:32]Send response to host [03:14:32]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57125,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":5996.21,"shift.sale.total_cash":3243.00,"shift.sale_refund.total":0.00,"shift.sale_refund.total_cash":0.00}}} [03:14:32]free response buf [03:14:32]execute_script done [03:14:32]execute_script returns [03:14:32]free content buf [03:14:32]Sock 9.Close socket [03:14:32]Sock 9.Thread stoped [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:33]accept exits with 8 [03:15:33]New connection [03:15:33]New thread 3066924388 created [03:15:33]Thread 3067067748 joined [03:15:33]Waiting for new connection... [03:15:33] Sock 8.Parse request [03:15:33]Sock 8.Check first char [03:15:33]Sock 8.First char is OK [03:15:33]request: POST /json_proto HTTP/1.0 [03:15:33]Method: POST [03:15:33]URL: /json_proto [03:15:33]Method is POST - this is cgi request [03:15:33]url: /json_proto [03:15:33]query_string will be loaded in cgi processing [03:15:33]execute_cgi json_proto POST (null) [03:15:33]execute_cgi path=json_proto method=POST [03:15:33]POST find Content-Length [03:15:33]Host: 172.17.39.4:8080 [03:15:33]Content-Length: 800 [03:15:33]Content-Type: application/json [03:15:33] [03:15:33]POST finish read [03:15:33]Found Content-Length = 800 [03:15:33]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 57125, "base_FM": "0000000000874857", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129581", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "57125" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:15:33]execute_script... [03:15:33]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale_refund", "base_FD": 57125, "base_FM": "0000000000874857", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129581", "tax_sys" : 0, "items" : [ { "code": "4700001610043", "name": "\u041F\u0438\u0432\u043E \u0410\u0440\u043F\u0430 1,5\u043B \u041F\u042D\u0422", "price" : 325.00, "quantity" : 1.000, "sum" : 325.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 325.00 } ], "post_footer_text": "57125" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:15:33]POST & json_proto [03:15:33]process_json_proto [03:15:33]json parsed OK: [03:15:33]protocol is kg_v1.0 [03:15:33]action value=close_receipt [03:15:33]process_action close_receipt [03:15:33]cmd_close_receipt [03:15:33]MH_GetDate [03:15:33]Write to MH i2c: F0 00 00 1E 08 15 [03:15:33]Write i2c OK [03:15:33]MH_I2C_Read... [03:15:33]Read from MH i2c: F0 [03:15:33]MH_I2C_Read... [03:15:33]Read from MH i2c: F0 09 00 [03:15:33]MH_I2C_Read... [03:15:33]Read from MH i2c: F0 09 00 1E 08 00 56 94 94 66 2D 25 5D 64 15 [03:15:33]GetLastDocTimeStamp 1721013269 [03:15:33]current date 1721013334 [03:15:33]FM_GetShiftState [03:15:33]SAM_PROTO_GetShiftState [03:15:33]wFMCommunicate request_size=4 [03:15:33]MH_SAM_APDU [03:15:33]CAPDU: 80 13 01 00 [03:15:33]Write to MH i2c: E2 08 00 1F 08 80 13 01 00 00 00 00 00 A4 [03:15:33]Write i2c OK [03:15:33]MH_I2C_Read... [03:15:33]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:15:33]Read from MH i2c: E2 [03:15:33]MH_I2C_Read... [03:15:33]Read from MH i2c: E2 0E 00 [03:15:33]MH_I2C_Read... [03:15:33]Read from MH i2c: E2 0E 00 1F 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 1D [03:15:33]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:15:33]wFMCommunicate OK [03:15:33]SAM_PROTO_GetShiftState done [03:15:33]FM_GetShiftState done [03:15:33]opened in 1721003525 [03:15:33]opened+sec_in_day 1721089925 [03:15:33]quantity*price = 32500 [03:15:33]sum+1 = 32501 [03:15:33]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 325.00 НСП 1% : 2.88 НДС 12% : 34.51 Наличными: 325.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 21 15.07.2024 03:15 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФД осн.: 57125 ФМ осн.: 0000000000874857 ФМ: 0000000000874857 ФД: 57126 ФПД: 74620741339238 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T031534&type=2&operation_type=1&fn_number=0000000000874857&fd_number=57126&fm=74620741339238&tin=02508201610067®Number=0000000000091208&sum=32500 57125 [03:15:34]StoreToDocumentArchive [03:15:34]shift 497 fd 57126 [03:15:34]save to /storage/0497/doc_00057126 [03:15:34]save last doc name /storage/0497/doc_00057126 to /storage/kkm_last_doc_name [03:15:34]save OK [03:15:34]Clear old archive folders... [03:15:34]ProcessDocumentItem done err = 0, tmpTLVsize=300 [03:15:34]tlvbuf is 009964E0 [03:15:34]SAM_PROTO_ClearQueue [03:15:34]wFMCommunicate request_size=4 [03:15:34]MH_SAM_APDU [03:15:34]CAPDU: 80 09 00 00 [03:15:34]Write to MH i2c: E2 08 00 2E 08 80 09 00 00 00 00 00 00 A8 [03:15:34]Write i2c OK [03:15:34]MH_I2C_Read... [03:15:34]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:15:34]Read from MH i2c: E2 [03:15:34]MH_I2C_Read... [03:15:34]Read from MH i2c: E2 03 00 [03:15:34]MH_I2C_Read... [03:15:34]Read from MH i2c: E2 03 00 2E 08 00 90 00 AA [03:15:34]RAPDU: 90 00 [03:15:34]wFMCommunicate OK [03:15:34]SAM_PROTO_ClearQueue done [03:15:34]KKMCreateOFDPacket [03:15:34]OFDProtocolAddRootSTLVToBuf [03:15:34]FM_MakeSignedData [03:15:34]FM_MakeSignedData [03:15:34]SAM_PROTO_SignData [03:15:34]wFMCommunicate request_size=4 [03:15:34]MH_SAM_APDU [03:15:34]CAPDU: 80 0D 01 02 [03:15:34]Write to MH i2c: E2 08 00 2F 08 80 0D 01 02 00 00 00 00 B0 [03:15:34]Write i2c OK [03:15:34]MH_I2C_Read... [03:15:34]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:15:34]Read from MH i2c: E2 [03:15:34]MH_I2C_Read... [03:15:34]Read from MH i2c: E2 03 00 [03:15:34]MH_I2C_Read... [03:15:34]Read from MH i2c: E2 03 00 2F 08 00 90 00 AB [03:15:34]RAPDU: 90 00 [03:15:34]wFMCommunicate OK [03:15:34]wFMCommunicate request_size=255 [03:15:34]MH_SAM_APDU [03:15:34]CAPDU: 80 0D 02 02 FA 03 00 2C 01 1E 04 01 00 02 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 56 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 27 04 04 00 25 DF 00 00 28 04 10 00 [03:15:34]Write to MH i2c: E2 02 01 30 08 80 0D 02 02 FA 00 03 00 2C 01 1E 04 01 00 02 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 56 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 27 04 04 00 25 DF 00 00 28 04 10 00 00 00 EA [03:15:34]Write i2c OK [03:15:34]MH_I2C_Read... [03:15:34]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:15:34]Read from MH i2c: E2 [03:15:34]MH_I2C_Read... [03:15:34]Read from MH i2c: E2 03 00 [03:15:34]MH_I2C_Read... [03:15:34]Read from MH i2c: E2 03 00 30 08 00 90 00 AC [03:15:34]RAPDU: 90 00 [03:15:34]wFMCommunicate OK [03:15:34]wFMCommunicate request_size=59 [03:15:34]MH_SAM_APDU [03:15:34]CAPDU: 80 0D 02 02 36 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 26 DF 00 00 35 04 06 00 43 DD FE C7 C8 66 [03:15:34]Write to MH i2c: E2 3E 00 31 08 80 0D 02 02 36 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 26 DF 00 00 35 04 06 00 43 DD FE C7 C8 66 00 00 01 [03:15:34]Write i2c OK [03:15:34]MH_I2C_Read... [03:15:35]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:15:35]Read from MH i2c: E2 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: E2 03 00 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: E2 03 00 31 08 00 90 00 AD [03:15:35]RAPDU: 90 00 [03:15:35]wFMCommunicate OK [03:15:35]wFMCommunicate request_size=4 [03:15:35]MH_SAM_APDU [03:15:35]CAPDU: 80 0D 03 02 [03:15:35]Write to MH i2c: E2 08 00 32 08 80 0D 03 02 00 00 00 00 B5 [03:15:35]Write i2c OK [03:15:35]MH_I2C_Read... [03:15:35]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:15:35]Read from MH i2c: E2 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: E2 0B 00 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: E2 0B 00 32 08 00 11 69 01 F2 BD 57 EE B4 90 00 D9 [03:15:35]RAPDU: 11 69 01 F2 BD 57 EE B4 90 00 [03:15:35]wFMCommunicate OK [03:15:35]SAM_PROTO_SignData done [03:15:35]FM_MakeSignedData done [03:15:35]CreateOFDProtocolMessage [03:15:35]wFMCommunicate request_size=4 [03:15:35]MH_SAM_APDU [03:15:35]CAPDU: 80 11 00 00 [03:15:35]Write to MH i2c: E2 08 00 33 08 80 11 00 00 00 00 00 00 B5 [03:15:35]Write i2c OK [03:15:35]MH_I2C_Read... [03:15:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:15:35]Read from MH i2c: E2 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: E2 17 00 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: E2 17 00 33 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 0F [03:15:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:15:35]wFMCommunicate OK [03:15:35]CreateOFDProtocolMessage done [03:15:35]OFDSenderStorePacket 57126 [03:15:35]StoreOFDPacket docnum=57126 [03:15:35]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 40 01 00 00 AE 25 38 01 10 7A 5A 03 01 00 03 00 2C 01 1E 04 01 00 02 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 56 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 27 04 04 00 25 DF 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 26 DF 00 00 35 04 06 00 43 DD FE C7 C8 66 11 69 01 F2 BD 57 EE B4 [03:15:35]CheckFolder [03:15:35]dirname=/storage/ofd_packets [03:15:35]CheckFolder done [03:15:35]ProducePacketName [03:15:35]name=ofd_packets/00057126 [03:15:35]NVStorageSaveData ofd_packets/00057126 [03:15:35]File name is /storage/ofd_packets/00057126 [03:15:35]Write 350 bytes [03:15:35]NVStorageSaveData done [03:15:35]OFDSenderStorePacket done [03:15:35]KKMCreateOFDPacket done [03:15:35]NVStorageSaveData kkm_last_timestamp [03:15:35]File name is /storage/kkm_last_timestamp [03:15:35]Write 4 bytes [03:15:35]NVStorageSaveData done [03:15:35]ExternCall_PrintAddStr [03:15:35]wPrintStart [03:15:35]Write to MH i2c: 01 00 00 34 08 3C [03:15:35]Write i2c OK [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: 01 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: 01 07 00 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: 01 07 00 34 08 00 00 00 00 00 FF 0F 51 [03:15:35]RasterBufferAndPrint [03:15:35]line Счет N : (3)129581 [03:15:35]line ИНН: 02508201610067 [03:15:35]line Контрольно-Кассовый Чек [03:15:35]line ВОЗВРАТ ПРОДАЖИ [03:15:35]line Товар: 4700001610043 [03:15:35]line Пиво Арпа 1,5л ПЭТ [03:15:35]line 1.000 * 325.00 [03:15:35]line = 325.00 [03:15:35]line НДС 12% НСП 1% [03:15:35]line > о реализуемом товаре [03:15:35]line ИТОГО: 325.00 [03:15:35]line НСП 1% : 2.88 [03:15:35]line НДС 12% : 34.51 [03:15:35]line Наличными: 325.00 [03:15:35]line Безнал.: 0.00 [03:15:35]line Место: АЗС № 132 "Партнер Нефть" [03:15:35]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:15:35]line СНО: Общий режим [03:15:35]line Чек 21 15.07.2024 03:15 [03:15:35]line Смена: 497 ФФД: 1.0 [03:15:35]line ЗНМ: 0300000132 [03:15:35]line РНМ: 0000000000091208 [03:15:35]line Версия ККМ: 001 [03:15:35]line ФД осн.: 57125 [03:15:35]line ФМ осн.: 0000000000874857 [03:15:35]line ФМ: 0000000000874857 [03:15:35]line ФД: 57126 [03:15:35]line ФПД: 74620741339238 [03:15:35]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T031534&type=2&operation_type=1&fn_number=0000000000874857&fd_number=57126&fm=74620741339238&tin=02508201610067®Number=0000000000091208&sum=32500 [03:15:35]line 57125 [03:15:35]OFD Sender: Processing packet 57126 [packets to send 38, broken 37] [03:15:35]ProducePacketName [03:15:35]name=ofd_packets/00057126 [03:15:35]OFD Sender: To server: pG, [03:15:35]CommunicateWithHost lk.salyk.kg:30040 [03:15:35]ConnectInit lk.salyk.kg [03:15:35]written 0, free lines is 4095 [03:15:35]Connected sock=10 [03:15:35]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 40 01 00 00 AE 25 38 01 10 7A 5A 03 01 00 03 00 2C 01 1E 04 01 00 02 23 04 62 00 8A 04 0D 00 34 37 30 30 30 30 31 36 31 30 30 34 33 06 04 1E 00 D0 9F D0 B8 D0 B2 D0 BE 20 D0 90 D1 80 D0 BF D0 B0 20 31 2C 35 D0 BB 20 D0 9F D0 AD D0 A2 FF 03 08 00 03 E8 03 00 00 00 00 00 37 04 06 00 F4 7E 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 FC 03 06 00 F4 7E 00 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 20 01 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 7B 0D 00 00 00 00 07 04 06 00 F4 7E 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 56 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 27 04 04 00 25 DF 00 00 28 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 26 DF 00 00 35 04 06 00 43 DD FE C7 C8 66 11 69 01 F2 BD 57 EE B4 [03:15:35]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 BE 23 47 00 51 00 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 26 DF 00 00 F4 03 04 00 A6 3A 94 66 B6 04 01 00 00 C5 68 56 B1 A1 A3 06 EA [03:15:35]CommunicateWithHost err = 0 [03:15:35]CheckOFDResponse [03:15:35]1017 (14) - 77093643461234 [03:15:35]1041 (16) - 0000000000874857 [03:15:35]1040 (4) - 57126 [03:15:35]1012 (4) - 14.07.2024 20:52 [03:15:35]1206 (1) - 0 [03:15:35]OFD Sender: Remove packet 57126 [03:15:35]ProducePacketName [03:15:35]name=ofd_packets/00057126 [03:15:35]NVStorageDeleteData [03:15:35]Write to MH i2c: 01 00 00 5E 08 66 [03:15:35]Write i2c OK [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: 01 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: 01 07 00 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: 01 07 00 5E 08 00 00 00 00 00 F7 0C 70 [03:15:35]RasterBufferAndPrint [03:15:35]line [03:15:35]line [03:15:35]line [03:15:35]line [03:15:35]line [03:15:35]written 0, free lines is 3328 [03:15:35]MH_Cut [03:15:35]Write to MH i2c: D1 01 00 65 08 01 3F [03:15:35]Write i2c OK [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: D1 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: D1 01 00 [03:15:35]MH_I2C_Read... [03:15:35]Read from MH i2c: D1 01 00 65 08 00 3E [03:15:35]Write to MH i2c: 01 00 00 66 08 6E [03:15:35]Write i2c OK [03:15:35]MH_I2C_Read... [03:15:36]OFD Sender: No OFD packet to send [03:15:36]*** Cut start [03:15:36]*** Partial cut [03:15:36]*** CUTSNS_PIN = 1 [03:15:36]*** CUTSNS_PIN = 0 [03:15:36]*** Brake cut motor [03:15:37]Read from MH i2c: 01 [03:15:37]MH_I2C_Read... [03:15:37]*** Stop cut motor [03:15:37]*** Cut end [03:15:37]Read from MH i2c: 01 07 00 [03:15:37]MH_I2C_Read... [03:15:37]Read from MH i2c: 01 07 00 66 08 00 00 00 00 00 FF 0F 83 [03:15:37]process_action close_receipt done [03:15:37]requested_data is exist [03:15:37]produce_requested_data [03:15:37]requested_item fm.sn is exist - process it [03:15:37]wFMCommunicate request_size=4 [03:15:37]MH_SAM_APDU [03:15:37]CAPDU: 80 11 00 00 [03:15:37]Write to MH i2c: E2 08 00 67 08 80 11 00 00 00 00 00 00 E9 [03:15:37]Write i2c OK [03:15:37]MH_I2C_Read... [03:15:37]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:15:37]Read from MH i2c: E2 [03:15:37]MH_I2C_Read... [03:15:37]Read from MH i2c: E2 17 00 [03:15:37]MH_I2C_Read... [03:15:37]Read from MH i2c: E2 17 00 67 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 43 [03:15:37]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:15:37]wFMCommunicate OK [03:15:37]requested_item fd.num is exist - process it [03:15:37]SAM_PROTO_GetFieldsCounters [03:15:37]wFMCommunicate request_size=4 [03:15:37]MH_SAM_APDU [03:15:37]CAPDU: 80 13 00 00 [03:15:37]Write to MH i2c: E2 08 00 68 08 80 13 00 00 00 00 00 00 EC [03:15:37]Write i2c OK [03:15:37]MH_I2C_Read... [03:15:37]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:15:37]Read from MH i2c: E2 [03:15:37]MH_I2C_Read... [03:15:37]Read from MH i2c: E2 62 00 [03:15:37]MH_I2C_Read... [03:15:37]Read from MH i2c: E2 62 00 68 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 26 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 45 [03:15:37]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 26 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 15 00 00 00 5E 04 04 00 15 00 00 00 57 04 04 00 16 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:15:37]wFMCommunicate OK [03:15:37]SAM_PROTO_GetFieldsCounters done [03:15:37]requested_item shift.num is exist - process it [03:15:37]requested_item shift.opened is exist - process it [03:15:37]req_shift_opened [03:15:37]FM_GetShiftState [03:15:37]SAM_PROTO_GetShiftState [03:15:37]wFMCommunicate request_size=4 [03:15:37]MH_SAM_APDU [03:15:37]CAPDU: 80 13 01 00 [03:15:37]Write to MH i2c: E2 08 00 69 08 80 13 01 00 00 00 00 00 EE [03:15:37]Write i2c OK [03:15:37]MH_I2C_Read... [03:15:37]Read from MH i2c: E2 [03:15:37]MH_I2C_Read... [03:15:37]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:15:37]Read from MH i2c: E2 0E 00 [03:15:37]MH_I2C_Read... [03:15:37]Read from MH i2c: E2 0E 00 69 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 67 [03:15:37]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:15:37]wFMCommunicate OK [03:15:37]SAM_PROTO_GetShiftState done [03:15:37]FM_GetShiftState done [03:15:37]req_shift_opened done [03:15:37]requested_item shift.open_date is exist - process it [03:15:37]req_shift_open_date [03:15:37]req_shift_open_date done [03:15:37]requested_item shift.sale.total is exist - process it [03:15:37]SAM_PROTO_GetShiftData [03:15:37]wFMCommunicate request_size=4 [03:15:37]MH_SAM_APDU [03:15:37]CAPDU: 80 13 02 00 [03:15:37]Write to MH i2c: E2 08 00 6A 08 80 13 02 00 00 00 00 00 F0 [03:15:37]Write i2c OK [03:15:37]MH_I2C_Read... [03:15:38]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:15:38]Read from MH i2c: E2 [03:15:38]MH_I2C_Read... [03:15:38]Read from MH i2c: E2 FD 00 [03:15:38]MH_I2C_Read... [03:15:38]Read from MH i2c: E2 FD 00 6A 08 00 B5 04 AA 04 B1 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 14 00 00 00 B1 04 03 00 45 26 09 70 04 03 00 CC F2 04 72 04 03 00 79 33 04 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B9 F8 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 BB 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7B 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 90 00 D1 [03:15:38]RAPDU: B5 04 AA 04 B1 04 6E 04 04 00 15 00 00 00 69 04 9A 00 6F 04 04 00 14 00 00 00 B1 04 03 00 45 26 09 70 04 03 00 CC F2 04 72 04 03 00 79 33 04 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 B9 F8 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 BB 14 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7B 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 F6 90 00 [03:15:38]wFMCommunicate OK [03:15:38]wFMCommunicate request_size=4 [03:15:38]MH_SAM_APDU [03:15:38]CAPDU: 80 17 00 00 [03:15:38]Write to MH i2c: E2 08 00 6B 08 80 17 00 00 00 00 00 00 F3 [03:15:38]Write i2c OK [03:15:38]MH_I2C_Read... [03:15:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:15:38]Read from MH i2c: E2 [03:15:38]MH_I2C_Read... [03:15:38]Read from MH i2c: E2 FD 00 [03:15:38]MH_I2C_Read... [03:15:38]Read from MH i2c: E2 FD 00 6B 08 00 03 01 00 01 F7 03 02 00 20 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 35 [03:15:38]RAPDU: 03 01 00 01 F7 03 02 00 20 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:15:38]wFMCommunicate OK [03:15:38]wFMCommunicate request_size=4 [03:15:38]MH_SAM_APDU [03:15:38]CAPDU: 80 17 00 00 [03:15:38]Write to MH i2c: E2 08 00 6C 08 80 17 00 00 00 00 00 00 F4 [03:15:38]Write i2c OK [03:15:38]MH_I2C_Read... [03:15:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:15:38]Read from MH i2c: E2 [03:15:38]MH_I2C_Read... [03:15:38]Read from MH i2c: E2 FD 00 [03:15:38]MH_I2C_Read... [03:15:38]Read from MH i2c: E2 FD 00 6C 08 00 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 B1 [03:15:38]RAPDU: 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:15:38]wFMCommunicate OK [03:15:38]wFMCommunicate request_size=4 [03:15:38]MH_SAM_APDU [03:15:38]CAPDU: 80 17 00 00 [03:15:38]Write to MH i2c: E2 08 00 6D 08 80 17 00 00 00 00 00 00 F5 [03:15:38]Write i2c OK [03:15:38]MH_I2C_Read... [03:15:38]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:15:38]Read from MH i2c: E2 [03:15:38]MH_I2C_Read... [03:15:38]Read from MH i2c: E2 FD 00 [03:15:38]MH_I2C_Read... [03:15:38]Read from MH i2c: E2 FD 00 6D 08 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 90 00 6D [03:15:38]RAPDU: 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 90 00 [03:15:38]wFMCommunicate OK [03:15:38]wFMCommunicate request_size=4 [03:15:38]MH_SAM_APDU [03:15:38]CAPDU: 80 17 00 00 [03:15:38]Write to MH i2c: E2 08 00 6E 08 80 17 00 00 00 00 00 00 F6 [03:15:38]Write i2c OK [03:15:38]MH_I2C_Read... [03:15:39]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 207! [03:15:39]Read from MH i2c: E2 [03:15:39]MH_I2C_Read... [03:15:39]Read from MH i2c: E2 D2 00 [03:15:39]MH_I2C_Read... [03:15:39]Read from MH i2c: E2 D2 00 6E 08 00 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 D9 [03:15:39]RAPDU: 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:15:39]wFMCommunicate OK [03:15:39]SAM_PROTO_GetShiftData done [03:15:39]requested_item shift.sale.total_cash is exist - process it [03:15:39]requested_item shift.sale_refund.total is exist - process it [03:15:39]requested_item shift.sale_refund.total_cash is exist - process it [03:15:39]produce_requested_data done [03:15:39]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57126,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":5996.21,"shift.sale.total_cash":3243.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [03:15:39]process_action_free close_receipt [03:15:39]json_value_free [03:15:39]json_value_free done [03:15:39]process_json_proto returns [03:15:39]Send response to host [03:15:39]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57126,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":5996.21,"shift.sale.total_cash":3243.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [03:15:39]free response buf [03:15:39]execute_script done [03:15:39]execute_script returns [03:15:39]free content buf [03:15:39]Sock 8.Close socket [03:15:39]Sock 8.Thread stoped [03:15:41]OFD Sender: No OFD packet to send [03:15:46]OFD Sender: No OFD packet to send [03:15:51]OFD Sender: No OFD packet to send [03:15:52]accept exits with 9 [03:15:52]New connection [03:15:52]New thread 3067067748 created [03:15:52]Thread 3066924388 joined [03:15:52]Waiting for new connection... [03:15:52] Sock 9.Parse request [03:15:52]Sock 9.Check first char [03:15:52]Sock 9.First char is OK [03:15:52]request: POST /json_proto HTTP/1.0 [03:15:52]Method: POST [03:15:52]URL: /json_proto [03:15:52]Method is POST - this is cgi request [03:15:52]url: /json_proto [03:15:52]query_string will be loaded in cgi processing [03:15:52]execute_cgi json_proto POST (null) [03:15:52]execute_cgi path=json_proto method=POST [03:15:52]POST find Content-Length [03:15:52]Host: 172.17.39.4:8080 [03:15:52]Content-Length: 776 [03:15:52]Content-Type: application/json [03:15:52] [03:15:52]POST finish read [03:15:52]Found Content-Length = 776 [03:15:52]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129582", "tax_sys" : 0, "items" : [ { "code": "4620006995702", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u0435\u043B\u0435\u043D\u0430\u044F \u041C\u0430\u0440\u043A\u0430 0,1\u043B", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:15:52]execute_script... [03:15: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)129582", "tax_sys" : 0, "items" : [ { "code": "4620006995702", "name": "\u0412\u043E\u0434\u043A\u0430 \u0417\u0435\u043B\u0435\u043D\u0430\u044F \u041C\u0430\u0440\u043A\u0430 0,1\u043B", "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", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:15:52]POST & json_proto [03:15:52]process_json_proto [03:15:52]json parsed OK: [03:15:52]protocol is kg_v1.0 [03:15:52]action value=close_receipt [03:15:52]process_action close_receipt [03:15:52]cmd_close_receipt [03:15:52]MH_GetDate [03:15:52]Write to MH i2c: F0 00 00 6F 08 66 [03:15:52]Write i2c OK [03:15:52]MH_I2C_Read... [03:15:52]Read from MH i2c: F0 [03:15:52]MH_I2C_Read... [03:15:52]Read from MH i2c: F0 09 00 [03:15:52]MH_I2C_Read... [03:15:52]Read from MH i2c: F0 09 00 6F 08 00 6A 94 94 66 2D 25 5D 64 7A [03:15:52]GetLastDocTimeStamp 1721013334 [03:15:52]current date 1721013354 [03:15:52]FM_GetShiftState [03:15:52]SAM_PROTO_GetShiftState [03:15:52]wFMCommunicate request_size=4 [03:15:52]MH_SAM_APDU [03:15:52]CAPDU: 80 13 01 00 [03:15:52]Write to MH i2c: E2 08 00 70 08 80 13 01 00 00 00 00 00 F5 [03:15:52]Write i2c OK [03:15:52]MH_I2C_Read... [03:15:52]Read from MH i2c: E2 [03:15:52]MH_I2C_Read... [03:15:52]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:15:52]Read from MH i2c: E2 0E 00 [03:15:52]MH_I2C_Read... [03:15:52]Read from MH i2c: E2 0E 00 70 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 6E [03:15:52]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:15:52]wFMCommunicate OK [03:15:52]SAM_PROTO_GetShiftState done [03:15:52]FM_GetShiftState done [03:15:52]opened in 1721003525 [03:15:52]opened+sec_in_day 1721089925 [03:15:52]quantity*price = 26000 [03:15:52]sum+1 = 26001 [03:15:52]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 260.00 НСП 1% : 2.30 НДС 12% : 27.61 Наличными: 260.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 22 15.07.2024 03:15 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57127 ФПД: 274491135948797 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T031554&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57127&fm=274491135948797&tin=02508201610067®Number=0000000000091208&sum=26000 0 [03:15:53]StoreToDocumentArchive [03:15:53]shift 497 fd 57127 [03:15:53]save to /storage/0497/doc_00057127 [03:15:53]save last doc name /storage/0497/doc_00057127 to /storage/kkm_last_doc_name [03:15:53]save OK [03:15:53]Clear old archive folders... [03:15:53]ProcessDocumentItem done err = 0, tmpTLVsize=284 [03:15:53]tlvbuf is 00978620 [03:15:53]SAM_PROTO_ClearQueue [03:15:53]wFMCommunicate request_size=4 [03:15:53]MH_SAM_APDU [03:15:53]CAPDU: 80 09 00 00 [03:15:53]Write to MH i2c: E2 08 00 7D 08 80 09 00 00 00 00 00 00 F7 [03:15:53]Write i2c OK [03:15:53]MH_I2C_Read... [03:15:53]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:15:53]Read from MH i2c: E2 [03:15:53]MH_I2C_Read... [03:15:53]Read from MH i2c: E2 03 00 [03:15:53]MH_I2C_Read... [03:15:53]Read from MH i2c: E2 03 00 7D 08 00 90 00 F9 [03:15:53]RAPDU: 90 00 [03:15:53]wFMCommunicate OK [03:15:53]SAM_PROTO_ClearQueue done [03:15:53]KKMCreateOFDPacket [03:15:53]OFDProtocolAddRootSTLVToBuf [03:15:53]FM_MakeSignedData [03:15:53]FM_MakeSignedData [03:15:53]SAM_PROTO_SignData [03:15:53]wFMCommunicate request_size=4 [03:15:53]MH_SAM_APDU [03:15:53]CAPDU: 80 0D 01 02 [03:15:53]Write to MH i2c: E2 08 00 7E 08 80 0D 01 02 00 00 00 00 FF [03:15:53]Write i2c OK [03:15:53]MH_I2C_Read... [03:15:53]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:15:53]Read from MH i2c: E2 [03:15:53]MH_I2C_Read... [03:15:53]Read from MH i2c: E2 03 00 [03:15:53]MH_I2C_Read... [03:15:53]Read from MH i2c: E2 03 00 7E 08 00 90 00 FA [03:15:53]RAPDU: 90 00 [03:15:53]wFMCommunicate OK [03:15:53]wFMCommunicate request_size=255 [03:15:53]MH_SAM_APDU [03:15:53]CAPDU: 80 0D 02 02 FA 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB 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 16 00 00 00 F4 03 04 00 6A 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 [03:15:53]Write to MH i2c: E2 02 01 7F 08 80 0D 02 02 FA 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB 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 16 00 00 00 F4 03 04 00 6A 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 00 00 0F [03:15:53]Write i2c OK [03:15:53]MH_I2C_Read... [03:15:53]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:15:53]Read from MH i2c: E2 [03:15:53]MH_I2C_Read... [03:15:53]Read from MH i2c: E2 03 00 [03:15:53]MH_I2C_Read... [03:15:53]Read from MH i2c: E2 03 00 7F 08 00 90 00 FB [03:15:53]RAPDU: 90 00 [03:15:53]wFMCommunicate OK [03:15:53]wFMCommunicate request_size=43 [03:15:53]MH_SAM_APDU [03:15:53]CAPDU: 80 0D 02 02 26 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 27 DF 00 00 35 04 06 00 F9 A5 F2 A6 F7 FD [03:15:53]Write to MH i2c: E2 2E 00 80 08 80 0D 02 02 26 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 27 DF 00 00 35 04 06 00 F9 A5 F2 A6 F7 FD 00 00 21 [03:15:54]Write i2c OK [03:15:54]MH_I2C_Read... [03:15:54]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:15:54]Read from MH i2c: E2 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: E2 03 00 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: E2 03 00 80 08 00 90 00 FC [03:15:54]RAPDU: 90 00 [03:15:54]wFMCommunicate OK [03:15:54]wFMCommunicate request_size=4 [03:15:54]MH_SAM_APDU [03:15:54]CAPDU: 80 0D 03 02 [03:15:54]Write to MH i2c: E2 08 00 81 08 80 0D 03 02 00 00 00 00 04 [03:15:54]Write i2c OK [03:15:54]MH_I2C_Read... [03:15:54]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:15:54]Read from MH i2c: E2 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: E2 0B 00 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: E2 0B 00 81 08 00 B9 E1 B6 6D 67 16 07 B8 90 00 FE [03:15:54]RAPDU: B9 E1 B6 6D 67 16 07 B8 90 00 [03:15:54]wFMCommunicate OK [03:15:54]SAM_PROTO_SignData done [03:15:54]FM_MakeSignedData done [03:15:54]CreateOFDProtocolMessage [03:15:54]wFMCommunicate request_size=4 [03:15:54]MH_SAM_APDU [03:15:54]CAPDU: 80 11 00 00 [03:15:54]Write to MH i2c: E2 08 00 82 08 80 11 00 00 00 00 00 00 04 [03:15:54]Write i2c OK [03:15:54]MH_I2C_Read... [03:15:54]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:15:54]Read from MH i2c: E2 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: E2 17 00 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: E2 17 00 82 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 5E [03:15:54]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:15:54]wFMCommunicate OK [03:15:54]CreateOFDProtocolMessage done [03:15:54]OFDSenderStorePacket 57127 [03:15:54]StoreOFDPacket docnum=57127 [03:15:54]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 30 01 00 00 72 32 28 01 97 A6 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB 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 16 00 00 00 F4 03 04 00 6A 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 27 DF 00 00 35 04 06 00 F9 A5 F2 A6 F7 FD B9 E1 B6 6D 67 16 07 B8 [03:15:54]CheckFolder [03:15:54]dirname=/storage/ofd_packets [03:15:54]CheckFolder done [03:15:54]ProducePacketName [03:15:54]name=ofd_packets/00057127 [03:15:54]NVStorageSaveData ofd_packets/00057127 [03:15:54]File name is /storage/ofd_packets/00057127 [03:15:54]Write 334 bytes [03:15:54]NVStorageSaveData done [03:15:54]OFDSenderStorePacket done [03:15:54]KKMCreateOFDPacket done [03:15:54]NVStorageSaveData kkm_last_timestamp [03:15:54]File name is /storage/kkm_last_timestamp [03:15:54]Write 4 bytes [03:15:54]NVStorageSaveData done [03:15:54]ExternCall_PrintAddStr [03:15:54]wPrintStart [03:15:54]Write to MH i2c: 01 00 00 83 08 8B [03:15:54]Write i2c OK [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: 01 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: 01 07 00 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: 01 07 00 83 08 00 00 00 00 00 FF 0F A0 [03:15:54]RasterBufferAndPrint [03:15:54]line Счет N : (3)129582 [03:15:54]line ИНН: 02508201610067 [03:15:54]line Контрольно-Кассовый Чек [03:15:54]line ПРОДАЖА [03:15:54]line Товар: 4620006995702 [03:15:54]line Водка Зеленая Марка 0,1л [03:15:54]line 2.000 * 130.00 [03:15:54]line = 260.00 [03:15:54]line НДС 12% НСП 1% [03:15:54]line > о реализуемом товаре [03:15:54]line ИТОГО: 260.00 [03:15:54]line НСП 1% : 2.30 [03:15:54]line НДС 12% : 27.61 [03:15:54]line Наличными: 260.00 [03:15:54]line Безнал.: 0.00 [03:15:54]line Место: АЗС № 132 "Партнер Нефть" [03:15:54]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:15:54]line СНО: Общий режим [03:15:54]line Чек 22 15.07.2024 03:15 [03:15:54]line Смена: 497 ФФД: 1.0 [03:15:54]line ЗНМ: 0300000132 [03:15:54]line РНМ: 0000000000091208 [03:15:54]line Версия ККМ: 001 [03:15:54]line ФМ: 0000000000874857 [03:15:54]line ФД: 57127 [03:15:54]line ФПД: 274491135948797 [03:15:54]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T031554&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57127&fm=274491135948797&tin=02508201610067®Number=0000000000091208&sum=26000 [03:15:54]line 0 [03:15:54]written 0, free lines is 4095 [03:15:54]OFD Sender: Processing packet 57127 [packets to send 38, broken 37] [03:15:54]ProducePacketName [03:15:54]name=ofd_packets/00057127 [03:15:54]OFD Sender: To server: pG, [03:15:54]CommunicateWithHost lk.salyk.kg:30040 [03:15:54]ConnectInit lk.salyk.kg [03:15:54]Connected sock=10 [03:15:54]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 30 01 00 00 72 32 28 01 97 A6 5A 03 01 00 03 00 1C 01 1E 04 01 00 01 23 04 6E 00 8A 04 0D 00 34 36 32 30 30 30 36 39 39 35 37 30 32 06 04 2A 00 D0 92 D0 BE D0 B4 D0 BA D0 B0 20 D0 97 D0 B5 D0 BB D0 B5 D0 BD D0 B0 D1 8F 20 D0 9C D0 B0 D1 80 D0 BA D0 B0 20 30 2C 31 D0 BB 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 16 00 00 00 F4 03 04 00 6A 94 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 27 DF 00 00 35 04 06 00 F9 A5 F2 A6 F7 FD B9 E1 B6 6D 67 16 07 B8 [03:15:54]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 A4 36 47 00 47 0C A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 27 DF 00 00 F4 03 04 00 B9 3A 94 66 B6 04 01 00 00 9D E8 0E 7B 8B D6 46 C3 [03:15:54]CommunicateWithHost err = 0 [03:15:54]CheckOFDResponse [03:15:54]1017 (14) - 77093643461234 [03:15:54]1041 (16) - 0000000000874857 [03:15:54]1040 (4) - 57127 [03:15:54]1012 (4) - 14.07.2024 20:53 [03:15:54]1206 (1) - 0 [03:15:54]OFD Sender: Remove packet 57127 [03:15:54]ProducePacketName [03:15:54]name=ofd_packets/00057127 [03:15:54]NVStorageDeleteData [03:15:54]Write to MH i2c: 01 00 00 AB 08 B3 [03:15:54]Write i2c OK [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: 01 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: 01 07 00 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: 01 07 00 AB 08 00 00 00 00 00 15 0D DC [03:15:54]RasterBufferAndPrint [03:15:54]line [03:15:54]line [03:15:54]line [03:15:54]line [03:15:54]line [03:15:54]written 0, free lines is 3362 [03:15:54]MH_Cut [03:15:54]Write to MH i2c: D1 01 00 B2 08 01 8C [03:15:54]Write i2c OK [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: D1 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: D1 01 00 [03:15:54]MH_I2C_Read... [03:15:54]Read from MH i2c: D1 01 00 B2 08 00 8B [03:15:54]Write to MH i2c: 01 00 00 B3 08 BB [03:15:54]Write i2c OK [03:15:54]MH_I2C_Read... [03:15:55]OFD Sender: No OFD packet to send [03:15:55]*** Cut start [03:15:55]*** Partial cut [03:15:55]*** CUTSNS_PIN = 1 [03:15:55]*** CUTSNS_PIN = 0 [03:15:55]*** Brake cut motor [03:15:55]Read from MH i2c: 01 [03:15:55]MH_I2C_Read... [03:15:55]*** Stop cut motor [03:15:55]*** Cut end [03:15:55]Read from MH i2c: 01 07 00 [03:15:55]MH_I2C_Read... [03:15:55]Read from MH i2c: 01 07 00 B3 08 00 00 00 00 00 FF 0F D0 [03:15:55]process_action close_receipt done [03:15:55]requested_data is exist [03:15:55]produce_requested_data [03:15:55]requested_item fm.sn is exist - process it [03:15:55]wFMCommunicate request_size=4 [03:15:55]MH_SAM_APDU [03:15:55]CAPDU: 80 11 00 00 [03:15:55]Write to MH i2c: E2 08 00 B4 08 80 11 00 00 00 00 00 00 36 [03:15:55]Write i2c OK [03:15:55]MH_I2C_Read... [03:15:55]Read from MH i2c: E2 [03:15:56]MH_I2C_Read... [03:15:56]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:15:56]Read from MH i2c: E2 17 00 [03:15:56]MH_I2C_Read... [03:15:56]Read from MH i2c: E2 17 00 B4 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 90 [03:15:56]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:15:56]wFMCommunicate OK [03:15:56]requested_item fd.num is exist - process it [03:15:56]SAM_PROTO_GetFieldsCounters [03:15:56]wFMCommunicate request_size=4 [03:15:56]MH_SAM_APDU [03:15:56]CAPDU: 80 13 00 00 [03:15:56]Write to MH i2c: E2 08 00 B5 08 80 13 00 00 00 00 00 00 39 [03:15:56]Write i2c OK [03:15:56]MH_I2C_Read... [03:15:56]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:15:56]Read from MH i2c: E2 [03:15:56]MH_I2C_Read... [03:15:56]Read from MH i2c: E2 62 00 [03:15:56]MH_I2C_Read... [03:15:56]Read from MH i2c: E2 62 00 B5 08 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 27 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 96 [03:15:56]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 27 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 16 00 00 00 5E 04 04 00 16 00 00 00 57 04 04 00 17 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:15:56]wFMCommunicate OK [03:15:56]SAM_PROTO_GetFieldsCounters done [03:15:56]requested_item shift.num is exist - process it [03:15:56]requested_item shift.opened is exist - process it [03:15:56]req_shift_opened [03:15:56]FM_GetShiftState [03:15:56]SAM_PROTO_GetShiftState [03:15:56]wFMCommunicate request_size=4 [03:15:56]MH_SAM_APDU [03:15:56]CAPDU: 80 13 01 00 [03:15:56]Write to MH i2c: E2 08 00 B6 08 80 13 01 00 00 00 00 00 3B [03:15:56]Write i2c OK [03:15:56]MH_I2C_Read... [03:15:56]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:15:56]Read from MH i2c: E2 [03:15:56]MH_I2C_Read... [03:15:56]Read from MH i2c: E2 0E 00 [03:15:56]MH_I2C_Read... [03:15:56]Read from MH i2c: E2 0E 00 B6 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 B4 [03:15:56]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:15:56]wFMCommunicate OK [03:15:56]SAM_PROTO_GetShiftState done [03:15:56]FM_GetShiftState done [03:15:56]req_shift_opened done [03:15:56]requested_item shift.open_date is exist - process it [03:15:56]req_shift_open_date [03:15:56]req_shift_open_date done [03:15:56]requested_item shift.sale.total is exist - process it [03:15:56]SAM_PROTO_GetShiftData [03:15:56]wFMCommunicate request_size=4 [03:15:56]MH_SAM_APDU [03:15:56]CAPDU: 80 13 02 00 [03:15:56]Write to MH i2c: E2 08 00 B7 08 80 13 02 00 00 00 00 00 3D [03:15:56]Write i2c OK [03:15:56]MH_I2C_Read... [03:15:56]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:15:56]Read from MH i2c: E2 [03:15:56]MH_I2C_Read... [03:15:56]Read from MH i2c: E2 FD 00 [03:15:56]MH_I2C_Read... [03:15:56]Read from MH i2c: E2 FD 00 B7 08 00 B6 04 AA 04 B2 04 6E 04 04 00 16 00 00 00 69 04 9B 00 6F 04 04 00 15 00 00 00 B1 04 03 00 D5 8B 09 70 04 03 00 5C 58 05 72 04 03 00 79 33 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 03 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 A1 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7B 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 D8 [03:15:56]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 16 00 00 00 69 04 9B 00 6F 04 04 00 15 00 00 00 B1 04 03 00 D5 8B 09 70 04 03 00 5C 58 05 72 04 03 00 79 33 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 82 03 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 A1 15 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7B 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [03:15:56]wFMCommunicate OK [03:15:56]wFMCommunicate request_size=4 [03:15:56]MH_SAM_APDU [03:15:56]CAPDU: 80 17 00 00 [03:15:56]Write to MH i2c: E2 08 00 B8 08 80 17 00 00 00 00 00 00 40 [03:15:56]Write i2c OK [03:15:56]MH_I2C_Read... [03:15:56]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:15:56]Read from MH i2c: E2 [03:15:56]MH_I2C_Read... [03:15:56]Read from MH i2c: E2 FD 00 [03:15:56]MH_I2C_Read... [03:15:56]Read from MH i2c: E2 FD 00 B8 08 00 F6 03 01 00 01 F7 03 02 00 20 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 75 [03:15:56]RAPDU: F6 03 01 00 01 F7 03 02 00 20 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:15:57]wFMCommunicate OK [03:15:57]wFMCommunicate request_size=4 [03:15:57]MH_SAM_APDU [03:15:57]CAPDU: 80 17 00 00 [03:15:57]Write to MH i2c: E2 08 00 B9 08 80 17 00 00 00 00 00 00 41 [03:15:57]Write i2c OK [03:15:57]MH_I2C_Read... [03:15:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:15:57]Read from MH i2c: E2 [03:15:57]MH_I2C_Read... [03:15:57]Read from MH i2c: E2 FD 00 [03:15:57]MH_I2C_Read... [03:15:57]Read from MH i2c: E2 FD 00 B9 08 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 01 [03:15:57]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:15:57]wFMCommunicate OK [03:15:57]wFMCommunicate request_size=4 [03:15:57]MH_SAM_APDU [03:15:57]CAPDU: 80 17 00 00 [03:15:57]Write to MH i2c: E2 08 00 BA 08 80 17 00 00 00 00 00 00 42 [03:15:57]Write i2c OK [03:15:57]MH_I2C_Read... [03:15:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:15:57]Read from MH i2c: E2 [03:15:57]MH_I2C_Read... [03:15:57]Read from MH i2c: E2 FD 00 [03:15:57]MH_I2C_Read... [03:15:57]Read from MH i2c: E2 FD 00 BA 08 00 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 90 00 B1 [03:15:57]RAPDU: 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 90 00 [03:15:57]wFMCommunicate OK [03:15:57]wFMCommunicate request_size=4 [03:15:57]MH_SAM_APDU [03:15:57]CAPDU: 80 17 00 00 [03:15:57]Write to MH i2c: E2 08 00 BB 08 80 17 00 00 00 00 00 00 43 [03:15:57]Write i2c OK [03:15:57]MH_I2C_Read... [03:15:57]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [03:15:57]Read from MH i2c: E2 [03:15:57]MH_I2C_Read... [03:15:57]Read from MH i2c: E2 D3 00 [03:15:57]MH_I2C_Read... [03:15:57]Read from MH i2c: E2 D3 00 BB 08 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 30 [03:15:57]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:15:57]wFMCommunicate OK [03:15:57]SAM_PROTO_GetShiftData done [03:15:57]requested_item shift.sale.total_cash is exist - process it [03:15:57]requested_item shift.sale_refund.total is exist - process it [03:15:57]requested_item shift.sale_refund.total_cash is exist - process it [03:15:57]produce_requested_data done [03:15:57]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57127,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":6256.21,"shift.sale.total_cash":3503.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [03:15:57]process_action_free close_receipt [03:15:57]json_value_free [03:15:57]json_value_free done [03:15:57]process_json_proto returns [03:15:57]Send response to host [03:15:57]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57127,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":6256.21,"shift.sale.total_cash":3503.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [03:15:57]free response buf [03:15:57]execute_script done [03:15:57]execute_script returns [03:15:57]free content buf [03:15:57]Sock 9.Close socket [03:15:57]Sock 9.Thread stoped [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:31]accept exits with 8 [03:21:31]New connection [03:21:31]New thread 3066924388 created [03:21:31]Thread 3067067748 joined [03:21:31]Waiting for new connection... [03:21:31] Sock 8.Parse request [03:21:31]Sock 8.Check first char [03:21:31]Sock 8.First char is OK [03:21:31]request: POST /json_proto HTTP/1.0 [03:21:31]Method: POST [03:21:31]URL: /json_proto [03:21:31]Method is POST - this is cgi request [03:21:31]url: /json_proto [03:21:31]query_string will be loaded in cgi processing [03:21:31]execute_cgi json_proto POST (null) [03:21:31]execute_cgi path=json_proto method=POST [03:21:31]POST find Content-Length [03:21:31]Host: 172.17.39.4:8080 [03:21:31]Content-Length: 745 [03:21:31]Content-Type: application/json [03:21:31] [03:21:31]POST finish read [03:21:31]Found Content-Length = 745 [03:21:31]post body = { "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129583", "tax_sys" : 0, "items" : [ { "code": "4700001060152", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,5\u043B", "price" : 660.00, "quantity" : 1.000, "sum" : 660.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 660.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:21:31]execute_script... [03:21:31]execute_script path=json_proto method=POST query_string={ "protocol" : "kg_v1.0", "request" : { "action" : "close_receipt", "params" : { "type" : "sale", "pre_header_text": "\u0421\u0447\u0435\u0442 N : (3)129583", "tax_sys" : 0, "items" : [ { "code": "4700001060152", "name": "\u041A\u043E\u043D\u044C\u044F\u043A \u0411\u0438\u0448\u043A\u0435\u043A 0,5\u043B", "price" : 660.00, "quantity" : 1.000, "sum" : 660.00, "attribute": 0, "vats" : [ {"type": 0, "rate": 1 }, { "type": 1, "rate": 1 }]} ], "payments": [ { "type": 0, "sum" : 660.00 } ], "post_footer_text": "0" } , "requested_data" : [ "fm.sn", "fd.num", "shift.num", "shift.opened", "shift.open_date", "shift.sale.total", "shift.sale.total_cash", "shift.sale_refund.total", "shift.sale_refund.total_cash" ] } } [03:21:31]POST & json_proto [03:21:31]process_json_proto [03:21:31]json parsed OK: [03:21:31]protocol is kg_v1.0 [03:21:31]action value=close_receipt [03:21:31]process_action close_receipt [03:21:31]cmd_close_receipt [03:21:31]MH_GetDate [03:21:31]Write to MH i2c: F0 00 00 BC 08 B3 [03:21:31]Write i2c OK [03:21:31]MH_I2C_Read... [03:21:31]Read from MH i2c: F0 [03:21:31]MH_I2C_Read... [03:21:31]Read from MH i2c: F0 09 00 [03:21:31]MH_I2C_Read... [03:21:31]Read from MH i2c: F0 09 00 BC 08 00 BC 95 94 66 2D 25 5D 64 1A [03:21:31]GetLastDocTimeStamp 1721013354 [03:21:31]current date 1721013692 [03:21:31]FM_GetShiftState [03:21:31]SAM_PROTO_GetShiftState [03:21:31]wFMCommunicate request_size=4 [03:21:31]MH_SAM_APDU [03:21:31]CAPDU: 80 13 01 00 [03:21:31]Write to MH i2c: E2 08 00 BD 08 80 13 01 00 00 00 00 00 42 [03:21:31]Write i2c OK [03:21:31]MH_I2C_Read... [03:21:31]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:21:31]Read from MH i2c: E2 [03:21:31]MH_I2C_Read... [03:21:31]Read from MH i2c: E2 0E 00 [03:21:31]MH_I2C_Read... [03:21:31]Read from MH i2c: E2 0E 00 BD 08 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 BB [03:21:31]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:21:31]wFMCommunicate OK [03:21:31]SAM_PROTO_GetShiftState done [03:21:31]FM_GetShiftState done [03:21:31]opened in 1721003525 [03:21:31]opened+sec_in_day 1721089925 [03:21:31]quantity*price = 66000 [03:21:31]sum+1 = 66001 [03:21:31]Check (price>sum+1) || (price+1 о реализуемом товаре ИТОГО: 660.00 НСП 1% : 5.84 НДС 12% : 70.09 Наличными: 660.00 Безнал.: 0.00 Место: АЗС № 132 "Партнер Нефть" Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 СНО: Общий режим Чек 23 15.07.2024 03:21 Смена: 497 ФФД: 1.0 ЗНМ: 0300000132 РНМ: 0000000000091208 Версия ККМ: 001 ФМ: 0000000000874857 ФД: 57128 ФПД: 15516226937692 https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T032132&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57128&fm=15516226937692&tin=02508201610067®Number=0000000000091208&sum=66000 0 [03:21:32]StoreToDocumentArchive [03:21:32]shift 497 fd 57128 [03:21:32]save to /storage/0497/doc_00057128 [03:21:32]save last doc name /storage/0497/doc_00057128 to /storage/kkm_last_doc_name [03:21:32]save OK [03:21:32]Clear old archive folders... [03:21:32]ProcessDocumentItem done err = 0, tmpTLVsize=273 [03:21:32]tlvbuf is 009739F0 [03:21:32]SAM_PROTO_ClearQueue [03:21:32]wFMCommunicate request_size=4 [03:21:32]MH_SAM_APDU [03:21:32]CAPDU: 80 09 00 00 [03:21:32]Write to MH i2c: E2 08 00 CA 08 80 09 00 00 00 00 00 00 44 [03:21:32]Write i2c OK [03:21:32]MH_I2C_Read... [03:21:32]*** iso7816_exchange 80 09 00 00... Resp OK rsp.len_out = 0! [03:21:32]Read from MH i2c: E2 [03:21:32]MH_I2C_Read... [03:21:32]Read from MH i2c: E2 03 00 [03:21:32]MH_I2C_Read... [03:21:32]Read from MH i2c: E2 03 00 CA 08 00 90 00 46 [03:21:32]RAPDU: 90 00 [03:21:32]wFMCommunicate OK [03:21:32]SAM_PROTO_ClearQueue done [03:21:32]KKMCreateOFDPacket [03:21:32]OFDProtocolAddRootSTLVToBuf [03:21:32]FM_MakeSignedData [03:21:32]FM_MakeSignedData [03:21:32]SAM_PROTO_SignData [03:21:32]wFMCommunicate request_size=4 [03:21:32]MH_SAM_APDU [03:21:32]CAPDU: 80 0D 01 02 [03:21:32]Write to MH i2c: E2 08 00 CB 08 80 0D 01 02 00 00 00 00 4C [03:21:32]Write i2c OK [03:21:32]MH_I2C_Read... [03:21:32]*** iso7816_exchange 80 0D 01 02... Resp OK rsp.len_out = 0! [03:21:32]Read from MH i2c: E2 [03:21:32]MH_I2C_Read... [03:21:32]Read from MH i2c: E2 03 00 [03:21:32]MH_I2C_Read... [03:21:32]Read from MH i2c: E2 03 00 CB 08 00 90 00 47 [03:21:32]RAPDU: 90 00 [03:21:32]wFMCommunicate OK [03:21:32]wFMCommunicate request_size=255 [03:21:32]MH_SAM_APDU [03:21:32]CAPDU: 80 0D 02 02 FA 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 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 D0 01 01 00 00 00 13 04 06 00 D0 01 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 1B 00 00 00 00 07 04 06 00 D0 01 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 BC 95 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 [03:21:32]Write to MH i2c: E2 02 01 CC 08 80 0D 02 02 FA 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 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 D0 01 01 00 00 00 13 04 06 00 D0 01 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 1B 00 00 00 00 07 04 06 00 D0 01 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 BC 95 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 00 00 D9 [03:21:32]Write i2c OK [03:21:32]MH_I2C_Read... [03:21:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:21:32]Read from MH i2c: E2 [03:21:32]MH_I2C_Read... [03:21:32]Read from MH i2c: E2 03 00 [03:21:32]MH_I2C_Read... [03:21:32]Read from MH i2c: E2 03 00 CC 08 00 90 00 48 [03:21:32]RAPDU: 90 00 [03:21:32]wFMCommunicate OK [03:21:32]wFMCommunicate request_size=32 [03:21:32]MH_SAM_APDU [03:21:32]CAPDU: 80 0D 02 02 1B 30 30 30 38 37 34 38 35 37 10 04 04 00 28 DF 00 00 35 04 06 00 0E 1C A7 31 E3 5C [03:21:32]Write to MH i2c: E2 23 00 CD 08 80 0D 02 02 1B 00 30 30 30 38 37 34 38 35 37 10 04 04 00 28 DF 00 00 35 04 06 00 0E 1C A7 31 E3 5C 00 00 FB [03:21:32]Write i2c OK [03:21:32]MH_I2C_Read... [03:21:32]*** iso7816_exchange 80 0D 02 02... Resp OK rsp.len_out = 0! [03:21:32]Read from MH i2c: E2 [03:21:32]MH_I2C_Read... [03:21:32]Read from MH i2c: E2 03 00 [03:21:32]MH_I2C_Read... [03:21:32]Read from MH i2c: E2 03 00 CD 08 00 90 00 49 [03:21:32]RAPDU: 90 00 [03:21:32]wFMCommunicate OK [03:21:32]wFMCommunicate request_size=4 [03:21:32]MH_SAM_APDU [03:21:32]CAPDU: 80 0D 03 02 [03:21:32]Write to MH i2c: E2 08 00 CE 08 80 0D 03 02 00 00 00 00 51 [03:21:32]Write i2c OK [03:21:32]MH_I2C_Read... [03:21:32]*** iso7816_exchange 80 0D 03 02... Resp OK rsp.len_out = 8! [03:21:33]Read from MH i2c: E2 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: E2 0B 00 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: E2 0B 00 CE 08 00 FD 30 DE 48 99 C9 6F 63 90 00 D9 [03:21:33]RAPDU: FD 30 DE 48 99 C9 6F 63 90 00 [03:21:33]wFMCommunicate OK [03:21:33]SAM_PROTO_SignData done [03:21:33]FM_MakeSignedData done [03:21:33]CreateOFDProtocolMessage [03:21:33]wFMCommunicate request_size=4 [03:21:33]MH_SAM_APDU [03:21:33]CAPDU: 80 11 00 00 [03:21:33]Write to MH i2c: E2 08 00 CF 08 80 11 00 00 00 00 00 00 51 [03:21:33]Write i2c OK [03:21:33]MH_I2C_Read... [03:21:33]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:21:33]Read from MH i2c: E2 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: E2 17 00 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: E2 17 00 CF 08 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 AB [03:21:33]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:21:33]wFMCommunicate OK [03:21:33]CreateOFDProtocolMessage done [03:21:33]OFDSenderStorePacket 57128 [03:21:33]StoreOFDPacket docnum=57128 [03:21:33]87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 30 E4 1D 01 DA 26 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 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 D0 01 01 00 00 00 13 04 06 00 D0 01 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 1B 00 00 00 00 07 04 06 00 D0 01 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 BC 95 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 28 DF 00 00 35 04 06 00 0E 1C A7 31 E3 5C FD 30 DE 48 99 C9 6F 63 [03:21:33]CheckFolder [03:21:33]dirname=/storage/ofd_packets [03:21:33]CheckFolder done [03:21:33]ProducePacketName [03:21:33]name=ofd_packets/00057128 [03:21:33]NVStorageSaveData ofd_packets/00057128 [03:21:33]File name is /storage/ofd_packets/00057128 [03:21:33]Write 323 bytes [03:21:33]NVStorageSaveData done [03:21:33]OFDSenderStorePacket done [03:21:33]KKMCreateOFDPacket done [03:21:33]NVStorageSaveData kkm_last_timestamp [03:21:33]File name is /storage/kkm_last_timestamp [03:21:33]Write 4 bytes [03:21:33]NVStorageSaveData done [03:21:33]ExternCall_PrintAddStr [03:21:33]wPrintStart [03:21:33]Write to MH i2c: 01 00 00 D0 08 D8 [03:21:33]Write i2c OK [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: 01 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: 01 07 00 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: 01 07 00 D0 08 00 00 00 00 00 FF 0F ED [03:21:33]RasterBufferAndPrint [03:21:33]line Счет N : (3)129583 [03:21:33]line ИНН: 02508201610067 [03:21:33]line Контрольно-Кассовый Чек [03:21:33]line ПРОДАЖА [03:21:33]line Товар: 4700001060152 [03:21:33]line Коньяк Бишкек 0,5л [03:21:33]line 1.000 * 660.00 [03:21:33]line = 660.00 [03:21:33]line НДС 12% НСП 1% [03:21:33]line > о реализуемом товаре [03:21:33]line ИТОГО: 660.00 [03:21:33]line НСП 1% : 5.84 [03:21:33]line НДС 12% : 70.09 [03:21:33]line Наличными: 660.00 [03:21:33]line Безнал.: 0.00 [03:21:33]line Место: АЗС № 132 "Партнер Нефть" [03:21:33]line Адрес: 720001, с. Кызыл Сай, ул. Кочоркул 16, 42.558333, 71.929667 [03:21:33]line СНО: Общий режим [03:21:33]line Чек 23 15.07.2024 03:21 [03:21:33]line Смена: 497 ФФД: 1.0 [03:21:33]line ЗНМ: 0300000132 [03:21:33]line РНМ: 0000000000091208 [03:21:33]line Версия ККМ: 001 [03:21:33]line ФМ: 0000000000874857 [03:21:33]line ФД: 57128 [03:21:33]line ФПД: 15516226937692 [03:21:33]line https://tax.salyk.kg/tax-web-control/client/api/v1/ticket?/tax-web-control/client/api/v1/ticket?date=20240715T032132&type=1&operation_type=1&fn_number=0000000000874857&fd_number=57128&fm=15516226937692&tin=02508201610067®Number=0000000000091208&sum=66000 [03:21:33]line 0 [03:21:33]written 0, free lines is 4095 [03:21:33]OFD Sender: Processing packet 57128 [packets to send 38, broken 37] [03:21:33]ProducePacketName [03:21:33]name=ofd_packets/00057128 [03:21:33]OFD Sender: To server: pG, [03:21:33]CommunicateWithHost lk.salyk.kg:30040 [03:21:33]ConnectInit lk.salyk.kg [03:21:33]Connected sock=11 [03:21:33]Data to sent: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 25 01 00 00 30 E4 1D 01 DA 26 5A 03 01 00 03 00 11 01 1E 04 01 00 01 23 04 63 00 8A 04 0D 00 34 37 30 30 30 30 31 30 36 30 31 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 D0 01 01 00 00 00 13 04 06 00 D0 01 01 00 00 00 F2 03 01 00 01 F6 03 01 00 01 BC 04 01 00 01 FC 03 06 00 D0 01 01 00 00 00 EB 03 26 00 EF 03 0F 00 F6 03 01 00 01 F7 03 06 00 48 02 00 00 00 00 EE 03 0F 00 F2 03 01 00 01 F3 03 06 00 61 1B 00 00 00 00 07 04 06 00 D0 01 01 00 00 00 39 04 06 00 00 00 00 00 00 00 1F 04 02 00 01 00 12 04 04 00 17 00 00 00 F4 03 04 00 BC 95 94 66 0E 04 04 00 F1 01 00 00 B9 04 01 00 01 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 28 DF 00 00 35 04 06 00 0E 1C A7 31 E3 5C FD 30 DE 48 99 C9 6F 63 [03:21:33]Received data: 87 95 F6 70 47 2C 01 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 4F 00 00 00 95 A4 47 00 D9 79 A5 07 01 00 07 00 3B 00 F9 03 0E 00 37 37 30 39 33 36 34 33 34 36 31 32 33 34 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 10 04 04 00 28 DF 00 00 F4 03 04 00 0C 3C 94 66 B6 04 01 00 00 AD DB CC BD FB 35 55 C2 [03:21:33]CommunicateWithHost err = 0 [03:21:33]CheckOFDResponse [03:21:33]1017 (14) - 77093643461234 [03:21:33]1041 (16) - 0000000000874857 [03:21:33]1040 (4) - 57128 [03:21:33]1012 (4) - 14.07.2024 20:58 [03:21:33]1206 (1) - 0 [03:21:33]OFD Sender: Remove packet 57128 [03:21:33]ProducePacketName [03:21:33]name=ofd_packets/00057128 [03:21:33]NVStorageDeleteData [03:21:33]Write to MH i2c: 01 00 00 F8 08 00 [03:21:33]Write i2c OK [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: 01 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: 01 07 00 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: 01 07 00 F8 08 00 00 00 00 00 12 0D 26 [03:21:33]RasterBufferAndPrint [03:21:33]line [03:21:33]line [03:21:33]line [03:21:33]line [03:21:33]line [03:21:33]written 0, free lines is 3353 [03:21:33]MH_Cut [03:21:33]Write to MH i2c: D1 01 00 FF 08 01 D9 [03:21:33]Write i2c OK [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: D1 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: D1 01 00 [03:21:33]MH_I2C_Read... [03:21:33]Read from MH i2c: D1 01 00 FF 08 00 D8 [03:21:33]Write to MH i2c: 01 00 00 00 09 09 [03:21:33]Write i2c OK [03:21:33]MH_I2C_Read... [03:21:34]OFD Sender: No OFD packet to send [03:21:34]*** Cut start [03:21:34]*** Partial cut [03:21:34]*** CUTSNS_PIN = 1 [03:21:34]*** CUTSNS_PIN = 0 [03:21:34]*** Brake cut motor [03:21:35]Read from MH i2c: 01 [03:21:35]MH_I2C_Read... [03:21:35]*** Stop cut motor [03:21:35]*** Cut end [03:21:35]Read from MH i2c: 01 07 00 [03:21:35]MH_I2C_Read... [03:21:35]Read from MH i2c: 01 07 00 00 09 00 00 00 00 00 FF 0F 1E [03:21:35]process_action close_receipt done [03:21:35]requested_data is exist [03:21:35]produce_requested_data [03:21:35]requested_item fm.sn is exist - process it [03:21:35]wFMCommunicate request_size=4 [03:21:35]MH_SAM_APDU [03:21:35]CAPDU: 80 11 00 00 [03:21:35]Write to MH i2c: E2 08 00 01 09 80 11 00 00 00 00 00 00 84 [03:21:35]Write i2c OK [03:21:35]MH_I2C_Read... [03:21:35]*** iso7816_exchange 80 11 00 00... Resp OK rsp.len_out = 20! [03:21:35]Read from MH i2c: E2 [03:21:35]MH_I2C_Read... [03:21:35]Read from MH i2c: E2 17 00 [03:21:35]MH_I2C_Read... [03:21:35]Read from MH i2c: E2 17 00 01 09 00 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 DE [03:21:35]RAPDU: 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 90 00 [03:21:35]wFMCommunicate OK [03:21:35]requested_item fd.num is exist - process it [03:21:35]SAM_PROTO_GetFieldsCounters [03:21:35]wFMCommunicate request_size=4 [03:21:35]MH_SAM_APDU [03:21:35]CAPDU: 80 13 00 00 [03:21:35]Write to MH i2c: E2 08 00 02 09 80 13 00 00 00 00 00 00 87 [03:21:35]Write i2c OK [03:21:35]MH_I2C_Read... [03:21:35]*** iso7816_exchange 80 13 00 00... Resp OK rsp.len_out = 95! [03:21:35]Read from MH i2c: E2 [03:21:35]MH_I2C_Read... [03:21:35]Read from MH i2c: E2 62 00 [03:21:35]MH_I2C_Read... [03:21:35]Read from MH i2c: E2 62 00 02 09 00 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 28 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 E8 [03:21:35]RAPDU: 5D 00 B9 04 01 00 01 11 04 10 00 30 30 30 30 30 30 30 30 30 30 38 37 34 38 35 37 0D 04 10 00 30 30 30 30 30 30 30 30 30 30 30 39 31 32 30 38 10 04 04 00 28 DF 00 00 0E 04 04 00 F1 01 00 00 12 04 04 00 17 00 00 00 5E 04 04 00 17 00 00 00 57 04 04 00 18 00 00 00 19 04 04 00 00 00 00 00 90 00 [03:21:35]wFMCommunicate OK [03:21:35]SAM_PROTO_GetFieldsCounters done [03:21:35]requested_item shift.num is exist - process it [03:21:35]requested_item shift.opened is exist - process it [03:21:35]req_shift_opened [03:21:35]FM_GetShiftState [03:21:35]SAM_PROTO_GetShiftState [03:21:35]wFMCommunicate request_size=4 [03:21:35]MH_SAM_APDU [03:21:35]CAPDU: 80 13 01 00 [03:21:35]Write to MH i2c: E2 08 00 03 09 80 13 01 00 00 00 00 00 89 [03:21:35]Write i2c OK [03:21:35]MH_I2C_Read... [03:21:35]*** iso7816_exchange 80 13 01 00... Resp OK rsp.len_out = 11! [03:21:35]Read from MH i2c: E2 [03:21:35]MH_I2C_Read... [03:21:35]Read from MH i2c: E2 0E 00 [03:21:35]MH_I2C_Read... [03:21:35]Read from MH i2c: E2 0E 00 03 09 00 09 00 01 05 6E 94 66 00 00 00 00 90 00 02 [03:21:35]RAPDU: 09 00 01 05 6E 94 66 00 00 00 00 90 00 [03:21:35]wFMCommunicate OK [03:21:35]SAM_PROTO_GetShiftState done [03:21:35]FM_GetShiftState done [03:21:35]req_shift_opened done [03:21:35]requested_item shift.open_date is exist - process it [03:21:35]req_shift_open_date [03:21:35]req_shift_open_date done [03:21:35]requested_item shift.sale.total is exist - process it [03:21:35]SAM_PROTO_GetShiftData [03:21:35]wFMCommunicate request_size=4 [03:21:35]MH_SAM_APDU [03:21:35]CAPDU: 80 13 02 00 [03:21:35]Write to MH i2c: E2 08 00 04 09 80 13 02 00 00 00 00 00 8B [03:21:35]Write i2c OK [03:21:35]MH_I2C_Read... [03:21:35]*** iso7816_exchange 80 13 02 00... Resp OK rsp.len_out = 250! [03:21:35]Read from MH i2c: E2 [03:21:35]MH_I2C_Read... [03:21:35]Read from MH i2c: E2 FD 00 [03:21:35]MH_I2C_Read... [03:21:35]Read from MH i2c: E2 FD 00 04 09 00 B6 04 AA 04 B2 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 16 00 00 00 B1 04 03 00 A5 8D 0A 70 04 03 00 2C 5A 06 72 04 03 00 79 33 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E3 1E 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 E9 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 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7B 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 94 [03:21:35]RAPDU: B6 04 AA 04 B2 04 6E 04 04 00 17 00 00 00 69 04 9B 00 6F 04 04 00 16 00 00 00 B1 04 03 00 A5 8D 0A 70 04 03 00 2C 5A 06 72 04 03 00 79 33 04 00 04 7A 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0C 00 F2 03 01 00 01 F3 03 03 00 E3 1E 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 E9 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 6A 04 95 00 6F 04 04 00 01 00 00 00 B1 04 02 00 F4 7E 70 04 02 00 F4 7E 72 04 00 00 00 04 79 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 0B 00 F2 03 01 00 01 F3 03 02 00 7B 0D EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 0B 00 90 00 [03:21:35]wFMCommunicate OK [03:21:35]wFMCommunicate request_size=4 [03:21:35]MH_SAM_APDU [03:21:35]CAPDU: 80 17 00 00 [03:21:35]Write to MH i2c: E2 08 00 05 09 80 17 00 00 00 00 00 00 8E [03:21:35]Write i2c OK [03:21:35]MH_I2C_Read... [03:21:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:21:36]Read from MH i2c: E2 [03:21:36]MH_I2C_Read... [03:21:36]Read from MH i2c: E2 FD 00 [03:21:36]MH_I2C_Read... [03:21:36]Read from MH i2c: E2 FD 00 05 09 00 F6 03 01 00 01 F7 03 02 00 20 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 C3 [03:21:36]RAPDU: F6 03 01 00 01 F7 03 02 00 20 01 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:21:36]wFMCommunicate OK [03:21:36]wFMCommunicate request_size=4 [03:21:36]MH_SAM_APDU [03:21:36]CAPDU: 80 17 00 00 [03:21:36]Write to MH i2c: E2 08 00 06 09 80 17 00 00 00 00 00 00 8F [03:21:36]Write i2c OK [03:21:36]MH_I2C_Read... [03:21:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:21:36]Read from MH i2c: E2 [03:21:36]MH_I2C_Read... [03:21:36]Read from MH i2c: E2 FD 00 [03:21:36]MH_I2C_Read... [03:21:36]Read from MH i2c: E2 FD 00 06 09 00 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 4F [03:21:36]RAPDU: 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 90 00 [03:21:36]wFMCommunicate OK [03:21:36]wFMCommunicate request_size=4 [03:21:36]MH_SAM_APDU [03:21:36]CAPDU: 80 17 00 00 [03:21:36]Write to MH i2c: E2 08 00 07 09 80 17 00 00 00 00 00 00 90 [03:21:36]Write i2c OK [03:21:36]MH_I2C_Read... [03:21:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 250! [03:21:36]Read from MH i2c: E2 [03:21:36]MH_I2C_Read... [03:21:36]Read from MH i2c: E2 FD 00 [03:21:36]MH_I2C_Read... [03:21:36]Read from MH i2c: E2 FD 00 07 09 00 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 90 00 FF [03:21:36]RAPDU: 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 90 00 [03:21:36]wFMCommunicate OK [03:21:36]wFMCommunicate request_size=4 [03:21:36]MH_SAM_APDU [03:21:36]CAPDU: 80 17 00 00 [03:21:36]Write to MH i2c: E2 08 00 08 09 80 17 00 00 00 00 00 00 91 [03:21:36]Write i2c OK [03:21:36]MH_I2C_Read... [03:21:36]*** iso7816_exchange 80 17 00 00... Resp OK rsp.len_out = 208! [03:21:36]Read from MH i2c: E2 [03:21:36]MH_I2C_Read... [03:21:36]Read from MH i2c: E2 D3 00 [03:21:36]MH_I2C_Read... [03:21:36]Read from MH i2c: E2 D3 00 08 09 00 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 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 7E [03:21:36]RAPDU: 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 D1 04 8D 00 6F 04 04 00 00 00 00 00 B1 04 00 00 70 04 00 00 72 04 00 00 00 04 75 00 EE 03 09 00 F2 03 01 00 00 F3 03 00 00 EE 03 09 00 F2 03 01 00 01 F3 03 00 00 EF 03 09 00 F6 03 01 00 00 F7 03 00 00 EF 03 09 00 F6 03 01 00 01 F7 03 00 00 EF 03 09 00 F6 03 01 00 02 F7 03 00 00 EF 03 09 00 F6 03 01 00 03 F7 03 00 00 EF 03 09 00 F6 03 01 00 04 F7 03 00 00 EF 03 09 00 F6 03 01 00 05 F7 03 00 00 EF 03 09 00 F6 03 01 00 06 F7 03 00 00 90 00 [03:21:37]wFMCommunicate OK [03:21:37]SAM_PROTO_GetShiftData done [03:21:37]requested_item shift.sale.total_cash is exist - process it [03:21:37]requested_item shift.sale_refund.total is exist - process it [03:21:37]requested_item shift.sale_refund.total_cash is exist - process it [03:21:37]produce_requested_data done [03:21:37]produce_requested_data return {"fm.sn":"0000000000874857","fd.num":57128,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":6916.21,"shift.sale.total_cash":4163.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00} [03:21:37]process_action_free close_receipt [03:21:37]json_value_free [03:21:37]json_value_free done [03:21:37]process_json_proto returns [03:21:37]Send response to host [03:21:37]{"protocol":"kg_v1.0","response":{"error":0,"error_desc":"OK","data":{"fm.sn":"0000000000874857","fd.num":57128,"shift.num":497,"shift.opened":1,"shift.open_date":1721003525,"shift.sale.total":6916.21,"shift.sale.total_cash":4163.00,"shift.sale_refund.total":325.00,"shift.sale_refund.total_cash":325.00}}} [03:21:37]free response buf [03:21:37]execute_script done [03:21:37]execute_script returns [03:21:37]free content buf [03:21:37]Sock 8.Close socket [03:21:37]Sock 8.Thread stoped [03:21:39]OFD Sender: No OFD packet to send [03:21:44]OFD Sender: No OFD packet to send [03:21:49]OFD Sender: No OFD packet to send [03:21:54]OFD Sender: No OFD packet to send [03:21:59]OFD Sender: No OFD packet to send [03:22:04]OFD Sender: No OFD packet to send [03:22:09]OFD Sender: No OFD packet to send [03:22:14]OFD Sender: No OFD packet to send [03:22:19]OFD Sender: No OFD packet to send [03:22:24]OFD Sender: No OFD packet to send [03:22:29]OFD Sender: No OFD packet to send [03:22:34]OFD Sender: No OFD packet to send